User Tools

Site Tools


software:elasticsearch

This is an old revision of the document!


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. replace the ES container image with the next major version, latest minor
  6. repeat steps 3 and 4
  7. turn off the kibana server if you don't use it and if it is not properly secured
software/elasticsearch.1704667793.txt · Last modified: (external edit)