英文:
Meilisearch version [Error: Your database version (1.0.2) is incompatible with your current engine version (1.1.0).]
问题
当我启动运行Docker和Meilisearch容器时,出现以下错误:
2023-04-10 17:23:44 错误:您的数据库版本(1.0.2)与当前引擎版本(1.1.0)不兼容。
2023-04-10 17:23:44 要在Meilisearch版本之间迁移数据,请按照我们的指南进行操作:https://docs.meilisearch.com/learn/update_and_migration/updating.html
昨天运行我的项目一切正常,但今天我无法启动Meilisearch。
英文:
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.
答案1
得分: 3
我在删除过时的 Meilisearch Docker 镜像(getmeili/meilisearch)并下载新镜像后遇到了相同的错误。由于旧镜像创建了 Meilisearch 卷/数据库,所以它也已经过时,这就是为什么您会收到此不兼容的错误。为了解决此问题,我使用 docker volume rm <volume-name>
命令删除了卷(您可以使用 docker volume ls
命令列出所有卷)。
英文:
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
)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论