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

huangapple go评论83阅读模式
英文:

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 &lt;volume-name&gt;

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

huangapple
  • 本文由 发表于 2023年4月10日 22:33:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/75978005.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定