laraveldockerlaravel-10meilisearch

Meilisearch version [Error: Your database version (1.0.2) is incompatible with your current engine version (1.1.0).]


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.


Solution

  • 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)