version: "3.8"
services:
halo:
image: halohub/halo:2.20
container_name: halo_dev
restart: always
ports:
- "7031:7031"
volumes:
- /digital_human_server/docker/halo_data:/root/.halo2
environment:
- JVM_OPTS=-Xmx512m -Xms512m
command:
- --spring.r2dbc.url=r2dbc:pool:mysql://192.168.2.151:3306/halo_dev
- --spring.r2dbc.username=dev
- --spring.r2dbc.password=dev_241210__
- --spring.sql.init.platform=mysql
- --halo.external-url=http://0.0.0.0:7031/
- --server.port=7031
宿主机的挂载目录是空的,为什么全是报错
2024-12-10T14:52:41.729+08:00 ERROR 7 --- [oundedElastic-1] org.thymeleaf.TemplateEngine : [THYMELEAF][boundedElastic-1] Exception preparing throttled template "index": 404 NOT_FOUND "Template index was not found."
run.halo.app.infra.exception.NotFoundException: 404 NOT_FOUND "Template index was not found."
at run.halo.app.theme.CompositeTemplateResolver.lambda$resolveTemplate$1(CompositeTemplateResolver.java:59) ~[classes/:2.20.11]
at java.base/java.util.Optional.orElseThrow(Unknown Source) ~[na:na]
at run.halo.app.theme.CompositeTemplateResolver.resolveTemplate(CompositeTemplateResolver.java:59) ~[classes/:2.20.11]
at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:845) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.thymeleaf.engine.TemplateManager.parseAndProcessThrottled(TemplateManager.java:757) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.thymeleaf.TemplateEngine.processThrottled(TemplateEngine.java:1189) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.thymeleaf.TemplateEngine.processThrottled(TemplateEngine.java:1163) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createChunkedStream$1(SpringWebFluxTemplateEngine.java:245) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at reactor.core.publisher.FluxGenerate.subscribe(FluxGenerate.java:80) ~[reactor-core-3.7.0.jar:3.7.0]
at reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:68) ~[reactor-core-3.7.0.jar:3.7.0]
at reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194) ~[reactor-core-3.7.0.jar:3.7.0]
at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.7.0.jar:3.7.0]
at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.7.0.jar:3.7.0]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.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]
2024-12-10T14:53:18.677+08:00 INFO 7 --- [nReconciler-t-1] r.h.a.core.reconciler.PluginReconciler : Loading plugin app-store-integration from file:///root/.halo2/plugins/app-store-integration-1.8.0.jar
2024-12-10T14:53:18.700+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.IllegalArgumentException: Specified plugin /root/.halo2/plugins/app-store-integration-1.8.0.jar does not exist!
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.13.0.jar:3.13.0]
at run.halo.app.core.reconciler.PluginReconciler.loadOrReload(PluginReconciler.java:557) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$1(PluginReconciler.java:147) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$7(PluginReconciler.java:160) ~[classes/:2.20.11]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:115) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:76) ~[classes/:2.20.11]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.20.11.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]
2024-12-10T14:53:18.740+08:00 INFO 7 --- [nReconciler-t-1] r.h.a.core.reconciler.PluginReconciler : Loading plugin PluginCommentWidget from file:///root/.halo2/plugins/PluginCommentWidget-2.5.1.jar
2024-12-10T14:53:18.743+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.IllegalArgumentException: Specified plugin /root/.halo2/plugins/PluginCommentWidget-2.5.1.jar does not exist!
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.13.0.jar:3.13.0]
at run.halo.app.core.reconciler.PluginReconciler.loadOrReload(PluginReconciler.java:557) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$1(PluginReconciler.java:147) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$7(PluginReconciler.java:160) ~[classes/:2.20.11]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:115) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:76) ~[classes/:2.20.11]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.20.11.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]
2024-12-10T14:53:18.747+08:00 INFO 7 --- [nReconciler-t-1] r.h.a.core.reconciler.PluginReconciler : Loading plugin PluginFeed from file:///root/.halo2/plugins/PluginFeed-1.3.0.jar
2024-12-10T14:53:18.750+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.IllegalArgumentException: Specified plugin /root/.halo2/plugins/PluginFeed-1.3.0.jar does not exist!
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.13.0.jar:3.13.0]
at run.halo.app.core.reconciler.PluginReconciler.loadOrReload(PluginReconciler.java:557) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$1(PluginReconciler.java:147) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$7(PluginReconciler.java:160) ~[classes/:2.20.11]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:115) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:76) ~[classes/:2.20.11]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.20.11.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]
2024-12-10T14:53:18.760+08:00 INFO 7 --- [nReconciler-t-1] r.h.a.core.reconciler.PluginReconciler : Loading plugin PluginSearchWidget from file:///root/.halo2/plugins/PluginSearchWidget-1.6.2.jar
2024-12-10T14:53:18.763+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.IllegalArgumentException: Specified plugin /root/.halo2/plugins/PluginSearchWidget-1.6.2.jar does not exist!
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.13.0.jar:3.13.0]
at run.halo.app.core.reconciler.PluginReconciler.loadOrReload(PluginReconciler.java:557) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$1(PluginReconciler.java:147) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$7(PluginReconciler.java:160) ~[classes/:2.20.11]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:115) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:76) ~[classes/:2.20.11]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.20.11.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]
2024-12-10T14:53:18.767+08:00 INFO 7 --- [nReconciler-t-1] r.h.a.core.reconciler.PluginReconciler : Loading plugin PluginSitemap from file:///root/.halo2/plugins/PluginSitemap-1.1.2.jar
2024-12-10T14:53:18.770+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.IllegalArgumentException: Specified plugin /root/.halo2/plugins/PluginSitemap-1.1.2.jar does not exist!
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.13.0.jar:3.13.0]
at run.halo.app.core.reconciler.PluginReconciler.loadOrReload(PluginReconciler.java:557) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$1(PluginReconciler.java:147) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.lambda$reconcile$7(PluginReconciler.java:160) ~[classes/:2.20.11]
at java.base/java.util.Optional.map(Unknown Source) ~[na:na]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:115) ~[classes/:2.20.11]
at run.halo.app.core.reconciler.PluginReconciler.reconcile(PluginReconciler.java:76) ~[classes/:2.20.11]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:163) ~[api-2.20.11.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]