Skip to content

Upgrade Elasticsearch from 6.x to 7.x

Yuki Takei edited this page Mar 24, 2022 · 2 revisions

Note

  • GROWI v4.5 or below can use only Elasticsearch 6.x
  • GROWI v5.0 can use both of Elasticsearch 6.x and 7.x

Procedure

# go to growi-docker-compose workdir
cd growi

# stop
docker-compose stop

# remove current app container and image
docker-compose rm app
docker rmi weseek/growi:4

# remove current elasticsearch container, image and volume
docker-compose rm elasticsearch
docker rmi growi_elasticsearch:latest
docker volume rm growi_es_data

# rebuild container images
git pull
docker-compose -f docker-compose.v50x-es7.yml build

# start
docker-compose -f docker-compose.v50x-es7.yml up
Clone this wiki locally