1

When I start the run docker and meilisearch container doesn't run with this error :

2023-04-10 17:23:44 Error: Your database version (1.0.2) is incompatible with your current engine version (1.1.0). 2023-04-10 17:23:44 To migrate data between Meilisearch versions, please follow our guide on https://docs.meilisearch.com/learn/update_and_migration/updating.html

When I run my project yesterday everything was good but today I can't start the run meilisearch.

AnderCover
  • 2,488
  • 3
  • 23
  • 42
Eren Tın
  • 13
  • 5
  • Please provide enough code so others can better understand or reproduce the problem. – Community Apr 11 '23 at 07:44
  • Are you using `meilisearch:latest` for your docker container? If so your container was probably updated but your index is still the older version. – paul41 Apr 16 '23 at 00:09
  • @paul41 I am running into the same issue after doing a `sail down --rmi all`, then `sail up -d` to start fresh. If the "index" (whatever that is) is still the older version, how can we fix it? – Sturm May 06 '23 at 14:14
  • You can update with a dump https://www.meilisearch.com/docs/learn/advanced/dumps. – paul41 May 06 '23 at 17:45

1 Answers1

2

I got the same error after having an outdated docker image of meilisearch (getmeili/meilisearch) and deleting it to fetch the new one. As the meilisearch volume/database was created using the old image, it was also outdated and this is why you are getting this incompatibility error. In order to fix it, I removed the volume using docker volume rm <volume-name>

(you can list all the volumes with docker volume ls)

LucasB
  • 36
  • 2