#1
Goslingmqhibuajjg
报错错误:Error: rebuild topic main category search index: Meilisearch is configured but unavailable
0.2.60以下都正常没有报错
Meilisearch这个0.2.60以下都有吧?
#2
abandon1a2b
回复 @weilaimeng
启动失败了么。 Meilisearch 是默认的搜索引擎,感觉像是迁移导致的。
#3
abandon1a2b
回复 @weilaimeng
我晚点检查一下,如果 meilisearch 迁移会导致启动失败的话,我把这个跳过一下。
#4
Goslingmqhibuajjg
是的,不过我下了Meilisearch安装启动就正常了,之前0.2.60以下没有默认为这个Meilisearch的搜索吗
#5
Goslingmqhibuajjg
搜索后是空的
日志看到错误如下:
2026-08-25T05:53:50.773983Z INFO HTTP request{method=GET host=“localhost:7700” route=/health query_parameters= user_agent=Meilisearch Go (v0.36.3) status_code=200}: meilisearch: close time.busy=6.36ms time.idle=1.54ms
2026-08-25T05:53:50.792534Z WARN HTTP request{method=POST host=“localhost:7700” route=/indexes/topics/search query_parameters= user_agent=Meilisearch Go (v0.36.3) status_code=404 error=Index topics not found.}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: ResponseError { code: 404, message: “Index topics not found.”, error_code: “index_not_found”, error_type: “invalid_request”, error_link: “https://docs.meilisearch.com/errors#index_not_found" }
2026-08-25T05:53:50.793899Z INFO HTTP request{method=POST host=“localhost:7700” route=/indexes/topics/search query_parameters= user_agent=Meilisearch Go (v0.36.3) status_code=404 error=Index topics not found.}: meilisearch: close time.busy=14.8ms time.idle=3.55ms
#6
abandon1a2b
回复 @weilaimeng
#7
Goslingmqhibuajjg
回复 @weilaimeng
这个我也安装上了,问题是搜索后没反应看了日志才知道“报错”,我用curl http://127.0.0.1:7700/indexes查了{“results”:[],“offset”:0,“limit”:20,“total”:0}没有索引,主密钥什么的都填上了还是没用
#8
Goslingmqhibuajjg
重启Meilisearch和删除数据库重装就好啦…
#9
Goslingmqhibuajjg
这个Meilisearch安装后没有记录老数据库之前的信息,新文章发布后才会记录,这是出现提示发布较多明天再发布的原因。。我以为已经有记录了就搞Meilisearch怎么弄,就是这么回事-_-
#10
abandon1a2b
回复 @weilaimeng
如果 meilisearch 是后安装的,需要重建内容的话,可以执行 GooseForum rebuild-search-index meilisearch 的配置配置后需要重启才会生效。配置文件里的配置不是热重载的。
#11
Goslingmqhibuajjg