Open roshammar opened 2 years ago
Hello @roshammar
I moved this issue to the documentation repo so that the documentation team gets your feedback 😄
We are already aware the current guide to upgrading Meilisearch is not really appropriate for the GCP/AWS/DO users, sorry for this, but this might change! We indeed opened an issue about this: https://github.com/meilisearch/documentation/issues/1849
I ping @alallema who could maybe help you with your last question!
Hi, @roshammar,
You are right the Meilisearch image inGCP
, AWS
or DigitalOcean
that we provide is set up differently. Meilisearch
is run as a service with systemctl
. If you want to upgrade your version you can try the migration script or you can do it yourself using systemctl
command:
Meilisearch
with:
systemctl status meilisearch
systemctl stop meilisearch
meilisearch-linux-amd64
, and exchange the binary of Meilisearch
who is here /usr/bin/meilisearch
(rename it to meilisearch
).systemctl restart meilisearch
If you had an error to recover your data or Meilisearch
doesn't want to restart you have to move your data.ms who is there
/var/lib/meilisearch/data.ms
then restarts Meilisearch
with your dump like:
./meilisearch --db-path /var/lib/meilisearch/data.ms --env production --import-dump "/var/opt/meilisearch/dumps/{{dump_id}}"
systemctl
status command.
Hope it will help you don't hesitate if something isn't clear or if you encounter any problems.Edit:
After check you will need a dump if your upgrade you Meilisearch
in any case so you can skip and directly move your data.ms
launch Meilisearch
with your dump
Thank you @alallema and @curquiza for your assistance! Using your instructions, I was able to upgrade without any problems!
Hi,
First of all, thank you for a great product!
I am running meilisearch v 0.27 in production on a GCP VM.
I followed the official instructions to set his up.
Now I want to upgrade this instance to v 0.28.
I have seen the general instructions for upgrading meilisearch. However, these instructions are for the case where you have installed the binary with
This is not really the case for the GCP image, which has this set up automatically.
What would be the recommended way of stopping meili, upgrading to the latest version, and restarting, while keeping the current HTTPS settings, etc?