software:elasticsearch
Table of Contents
Elasticsearch
How-Tos
Upgrade to a newer major version single node (Docker)
- if you didn't already, update your elasticsearch to the latest minor version available for the major you are using
- if you don't have it yet, add a kibana container with the matching version of your ES server
docker run --name kibana --net nextcloud -e 'ELASTICSEARCH_HOSTS=["http://nextcloud_elasticsearch:9200"]' -p 5601:5601 docker.elastic.co/kibana/kibana:7.17.16
- open the kibana dashboard and navigate to
Stack Management > Upgrade Assistant
- check if there is any pending item for the ES server, initiate the process and wait until it ends
- check if there is any other warning (for example configuration options that you should add)
- replace the ES container image with the next major version, latest minor
- repeat steps 3 and 4 for any other major version you need to upgrade to
- turn off the kibana server if you don't use it and if it is not properly secured
software/elasticsearch.txt · Last modified: 2024/01/08 02:30 by Michele Porelli