meilisearch / documentation

Meilisearch documentation
https://docs.meilisearch.com
MIT License
146 stars 241 forks source link

Improve documentation on how to upgrade meilisearch on GCP #1897

Open roshammar opened 2 years ago

roshammar commented 2 years ago

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

curl -L https://install.meilisearch.com | sh

./meilisearch

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?

curquiza commented 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!

alallema commented 2 years ago

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:

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

roshammar commented 2 years ago

Thank you @alallema and @curquiza for your assistance! Using your instructions, I was able to upgrade without any problems!