User Tools

Site Tools


software:elasticsearch

Elasticsearch

How-Tos

Upgrade to a newer major version single node (Docker)

  1. if you didn't already, update your elasticsearch to the latest minor version available for the major you are using
  2. 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
  3. open the kibana dashboard and navigate to
    Stack Management > Upgrade Assistant
  4. check if there is any pending item for the ES server, initiate the process and wait until it ends
  5. check if there is any other warning (for example configuration options that you should add)
  6. replace the ES container image with the next major version, latest minor
  7. repeat steps 3 and 4 for any other major version you need to upgrade to
  8. 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