2.7
使用的什么数据库?MySQL 8.x
使用的哪种方式部署?Docker Compose
在线站点地址sopp.top
发生了什么?您好,我使用官网的docker-compose的mysql示例,构建halo的容器环境,初次运行,就会出现这个错误。错误信息为:
500 Server Error for HTTP POST "/apis/api.console.halo.run/v1alpha1/plugins/install"
,
这个时候,仍然可以正常运行,比如这个时候,我进行安装主题的操作,也是正确的。
然后完成过后,我将docker容器关闭,使用docker-compose down的命令来关闭并删除,mysql的对应数据也已经保存到mysql数据库表中,但是当我下一次启动的时候,会报错说找不到对应插件。
例如这种错误信息:
run.halo.app.core.extension.reconciler.PluginReconciler$DoNotRetryException: Plugin PluginCommentWidget not found in plugin manager
run.halo.app.core.extension.reconciler.PluginReconciler$DoNotRetryException: Plugin PluginCommentWidget not found in plugin manager.
at run.halo.app.core.extension.reconciler.PluginReconciler.getPluginWrapper(PluginReconciler.java:370) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$readinessDetection$3(PluginReconciler.java:149) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.readinessDetection(PluginReconciler.java:138) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:101) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:93) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:75) ~[classes/:2.7.0]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.7.0.jar:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
2023-07-16T17:38:02.115+08:00 ERROR 6 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler : Failed to reconcile plugin: [PluginSitemap]
run.halo.app.core.extension.reconciler.PluginReconciler$DoNotRetryException: Plugin PluginSitemap not found in plugin manager.
at run.halo.app.core.extension.reconciler.PluginReconciler.getPluginWrapper(PluginReconciler.java:370) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$readinessDetection$3(PluginReconciler.java:149) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.readinessDetection(PluginReconciler.java:138) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:101) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:93) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:75) ~[classes/:2.7.0]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.7.0.jar:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
2023-07-16T17:38:02.280+08:00 ERROR 6 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler : Failed to reconcile plugin: [PluginSearchWidget]
run.halo.app.core.extension.reconciler.PluginReconciler$DoNotRetryException: Plugin PluginSearchWidget not found in plugin manager.
at run.halo.app.core.extension.reconciler.PluginReconciler.getPluginWrapper(PluginReconciler.java:370) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$readinessDetection$3(PluginReconciler.java:149) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.readinessDetection(PluginReconciler.java:138) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:101) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:93) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:75) ~[classes/:2.7.0]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.7.0.jar:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
2023-07-16T17:38:02.378+08:00 ERROR 6 --- [nReconciler-t-1] r.h.a.c.e.reconciler.PluginReconciler : Failed to reconcile plugin: [PluginFeed]
run.halo.app.core.extension.reconciler.PluginReconciler$DoNotRetryException: Plugin PluginFeed not found in plugin manager.
at run.halo.app.core.extension.reconciler.PluginReconciler.getPluginWrapper(PluginReconciler.java:370) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lookupPluginSetting(PluginReconciler.java:177) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.waitForSettingCreation(PluginReconciler.java:216) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$readinessDetection$3(PluginReconciler.java:139) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.readinessDetection(PluginReconciler.java:138) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:101) ~[classes/:2.7.0]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:93) ~[classes/:2.7.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:75) ~[classes/:2.7.0]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.7.0.jar:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]