/blog/dulucy.log 2>&1 &\n之前是使用docker安装的2.17版本,后来升级后改用jar\n隔几天就会自动停止\n\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2865],{"name":2866,"color":2867},"triage/needs-information","d455d0",7054,"halo-dev","halo","open","使用jar的方式启动,没有设置jvm的启动参数,过几天就会自动停掉,日志也不打印报错的原因","2024-11-20T04:33:42Z","https://github.com/halo-dev/halo/issues/7054",0.67677397,{"description":2877,"labels":2878,"number":2880,"owner":2869,"repository":2870,"state":2871,"title":2881,"updated_at":2882,"url":2883,"score":2884},"### 系统信息\r\n\r\n- 外部访问地址: https://blog.tuboshu233.top\r\n- 启动时间: 2024-07-24 21:17\r\n- 版本: 2.17.2\r\n- 构建时间: 2024-07-15 18:19\r\n- Git Commit: 6d4bedd\r\n- Java: IBM Semeru Runtime Open Edition / 21.0.3+9-LTS\r\n- 数据库: Source distribution / 5.7.44-log\r\n- 操作系统: Linux / 5.4.0-182-generic\r\n- 已激活主题: [Theme-Stack 2.2.6](https://github.com/jiewenhuang/halo-theme-stack)\r\n- 已启动插件:\r\n - [Sitemap 1.1.2](https://github.com/halo-dev/plugin-sitemap)\r\n - [搜索组件 1.4.0](https://github.com/halo-dev/plugin-search-widget)\r\n - [RSS 1.3.0](https://github.com/halo-dev/plugin-feed)\r\n - [评论组件 2.3.1](https://github.com/halo-dev/plugin-comment-widget)\r\n - [应用市场 1.3.0](https://www.halo.run/store/apps/app-VYJbF)\r\n\r\n### 使用的哪种方式运行?\r\n\r\nDocker (Compose)\r\n\r\n### 发生了什么?\r\n\r\n按照文档操作后,主页样式仍然丢失,后来直接无法找到对应网页了\r\n\r\n\r\n\r\n### 复现步骤\r\n\r\n打开博客对应域名主页错误,通过ip访问一切正常,已经按照文档的常见问题操作,仍然无效\r\n\r\n\r\n\r\n### 相关日志输出\r\n\r\n```shell\r\nhalo-1 | 2024-07-25T20:50:52.371+08:00 WARN 6 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations : [ccac0aea, L:/[0:0:0:0:0:0:0:1%0]:8090 - R:/[0:0:0:0:0:0:0:1%0]:49050] Decoding failed: FULL_REQUEST(decodeResult: failure(java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))\r\nhalo-1 | GET /bad-request HTTP/1.0\r\nhalo-1 | 2024-07-25T20:50:52.377+08:00 WARN 6 --- [or-http-epoll-4] r.n.http.server.HttpServerOperations : [dd58fbf2, L:/127.0.0.1:8090 - R:/127.0.0.1:42294] Decoding failed: FULL_REQUEST(decodeResult: failure(java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))\r\nhalo-1 | GET /bad-request HTTP/1.0\r\n```\r\n\r\n\r\n### 附加信息\r\n\r\n_No response_",[2879],{"name":2866,"color":2867},6383,"主页样式丢失","2024-10-28T11:40:06Z","https://github.com/halo-dev/halo/issues/6383",0.689942,{"labels":2886,"number":2888,"owner":2869,"repository":2870,"state":2871,"title":2889,"updated_at":2890,"url":2891,"score":2892},[2887],{"name":2866,"color":2867},7224,"无法打开发布后的文章","2025-02-08T04:04:36Z","https://github.com/halo-dev/halo/issues/7224",0.7035097,{"description":2894,"labels":2895,"number":2898,"owner":2869,"repository":2870,"state":2899,"title":2900,"updated_at":2901,"url":2902,"score":2903},"### 系统信息\n\n- 外部访问地址: \n- 启动时间: 2024-10-28 16:11\n- 版本: 2.19.3\n- 构建时间: 2024-09-10 17:45\n- Git Commit: 9ffb1bb\n- Java: IBM Semeru Runtime Open Edition / 21.0.4+7-LTS\n- 数据库: H2 / 2.2.224\n- 操作系统: Linux / 3.10.0-1062.1.1.el7.x86_64\n- 已激活主题: [Apex 企业官网主题 1.3.0](https://www.halo.run/store/apps/app-OTFHl)\n- 已启动插件:\n - [PostChat 1.1.0](https://github.com/zhheo/halo-plugin-postchat)\n - 联系表单 1.0.2\n - [图库管理 1.4.0](https://github.com/halo-sigs/plugin-photos)\n - [Sitemap 1.1.2](https://github.com/halo-dev/plugin-sitemap)\n - [搜索组件 1.6.2](https://github.com/halo-dev/plugin-search-widget)\n - [RSS 1.3.0](https://github.com/halo-dev/plugin-feed)\n - [评论组件 2.4.0](https://github.com/halo-dev/plugin-comment-widget)\n - [应用市场 1.4.0](https://www.halo.run/store/apps/app-VYJbF)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n增加展示卡片配置参数,主题报错 500,halo 正常\n\n### 复现步骤\n\n1.打开Apex 企业官网主题\n2.在“首页配置”中,“展示卡片配置参数”栏增加一个卡片后保存\n3.点击预览报错 500\n4.删除刚添加的卡片,预览正常的\n\n### 相关日志输出\n\n```java\n2024-10-30T11:44:04.369+08:00 ERROR 7 --- [boundedElastic-214] o.t.spring6.SpringWebFluxTemplateEngine : [THYMELEAF][boundedElastic-214] Exception processing template \"index\": Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"modules/layout\" - line 3, col 3)\n\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"modules/layout\" - line 3, col 3)\n\tat org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:141) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.util.ProcessorConfigurationUtils$ElementModelProcessorWrapper.process(ProcessorConfigurationUtils.java:649) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1510) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:290) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.GatheringModelProcessable.process(GatheringModelProcessable.java:78) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:592) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:4576) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Thread.run(Unknown Source) ~[na:na]\nCaused by: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException\n\tat reactor.core.Exceptions$ReactiveException.fillInStackTrace(Exceptions.java:736) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Exception.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.RuntimeException.\u003Cinit>(Unknown Source) ~[na:na]\n\tat reactor.core.Exceptions$ReactiveException.\u003Cinit>(Exceptions.java:726) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.Exceptions.propagate(Exceptions.java:410) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:96) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.Mono.block(Mono.java:1779) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat run.halo.app.theme.dialect.GlobalHeadInjectionProcessor.doProcess(GlobalHeadInjectionProcessor.java:76) ~[classes/:2.19.3]\n\tat org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:98) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\t... 26 common frames omitted\nCaused by: java.lang.InterruptedException: null\n\tat java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.CountDownLatch.await(Unknown Source) ~[na:na]\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:91) ~[reactor-core-3.6.9.jar:3.6.9]\n\t... 29 common frames omitted\n```\n\n### 附加信息\n\n\u003C!-- Failed to upload \"添加卡片.png\" -->\n\u003C!-- Failed to upload \"预览报错500.png\" -->\n",[2896],{"name":2897,"color":2867},"triage/duplicate",6970,"closed","Apex 企业官网主题报错500","2024-10-30T04:03:01Z","https://github.com/halo-dev/halo/issues/6970",0.6119673,{"description":2905,"labels":2906,"number":2908,"owner":2869,"repository":2870,"state":2899,"title":2909,"updated_at":2910,"url":2911,"score":2912},"### System information\n\n1\n\n### What is the project operation method?\n\nDocker\n\n### What happened?\n\n2024-11-01T18:33:31.925+08:00 ERROR 7 --- [boundedElastic-10] org.thymeleaf.TemplateEngine : [THYMELEAF][boundedElastic-10] Exception processing throttled template \"index\": Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"modules/layout\" - line 3, col 1)\n\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"modules/layout\" - line 3, col 1)\n\tat org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:141) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.util.ProcessorConfigurationUtils$ElementModelProcessorWrapper.process(ProcessorConfigurationUtils.java:649) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1510) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:300) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.GatheringModelProcessable.process(GatheringModelProcessable.java:78) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.queueProcessable(ProcessorTemplateHandler.java:2106) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1642) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:300) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTagModelProcessable.process(OpenElementTagModelProcessable.java:110) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.queueProcessable(ProcessorTemplateHandler.java:2106) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1559) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:155) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ThrottledTemplateProcessor.process(ThrottledTemplateProcessor.java:235) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ThrottledTemplateProcessor.process(ThrottledTemplateProcessor.java:200) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine$StreamThrottledTemplateProcessor.process(SpringWebFluxTemplateEngine.java:720) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\n\n### Reproduce Steps\n\n_No response_\n\n### Relevant log output\n\n_No response_\n\n### Additional information\n\n_No response_",[2907],{"name":2897,"color":2867},6989,"换了一台服务器部署,为什么用备份恢复后,首页报500呢,以下是运行日志","2024-11-04T02:10:46Z","https://github.com/halo-dev/halo/issues/6989",0.6210748,{"description":2914,"labels":2915,"number":2922,"owner":2869,"repository":2870,"state":2899,"title":2923,"updated_at":2924,"url":2925,"score":2926},"### 你当前使用的版本\r\n\r\n2.18.0\r\n\r\n### 描述一下此特性\r\n\r\n目前访问一个系统存在的路由,但主题没有实现对应的模板,这个时候就会抛出如下异常:\r\n\r\n```\r\n2024-08-23T12:49:54.848+08:00 ERROR 7 --- [loomBoundedElastic-35626] o.t.spring6.SpringWebFluxTemplateEngine : [THYMELEAF][loomBoundedElastic-35626] Exception processing template \"categories\": Error resolving template [categories], template might not exist or might not be accessible by any of the configured Template Resolvers\r\n\r\norg.thymeleaf.exceptions.TemplateInputException: Error resolving template [categories], template might not exist or might not be accessible by any of the configured Template Resolvers\r\n\tat org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:4568) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\tat reactor.core.scheduler.BoundedElasticThreadPerTaskScheduler$SchedulerTask.run(BoundedElasticThreadPerTaskScheduler.java:1013) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\tat java.base/java.lang.VirtualThread.run(Unknown Source) ~[na:na]\r\n\r\n2024-08-23T12:49:54.849+08:00 ERROR 7 --- [loomBoundedElastic-35626] a.w.r.e.AbstractErrorWebExceptionHandler : [a8fa5a39-31142] 500 Server Error for HTTP GET \"/categories?preview-theme=theme-earth\"\r\n\r\norg.thymeleaf.exceptions.TemplateInputException: Error resolving template [categories], template might not exist or might not be accessible by any of the configured Template Resolvers\r\n\tat org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tSuppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: \r\nError has been observed at the following site(s):\r\n\t*__checkpoint ⇢ Handler run.halo.app.theme.router.factories.CategoriesRouteFactory$$Lambda/0x00000000cf83ea08@2df4ea6c [DispatcherHandler]\r\n\t*__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.security.device.DeviceSessionFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthorizationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ExceptionTranslationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ LogoutWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ServerRequestCacheWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ LogoutPageGeneratingWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AnonymousAuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ TotpAuthenticationFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ CsrfWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ CorsWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.comment.widget.captcha.CommentCaptchaFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.oauth.Oauth2Authenticator [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.oauth.Oauth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.webfilter.AdditionalWebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ HTTP GET \"/categories?preview-theme=theme-earth\" [ExceptionHandlingWebHandler]\r\nOriginal Stack Trace:\r\n\t\tat org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\t\tat reactor.core.publisher.Mono.subscribe(Mono.java:4568) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\t\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\t\tat reactor.core.scheduler.BoundedElasticThreadPerTaskScheduler$SchedulerTask.run(BoundedElasticThreadPerTaskScheduler.java:1013) ~[reactor-core-3.6.7.jar:3.6.7]\r\n\t\tat java.base/java.lang.VirtualThread.run(Unknown Source) ~[na:na]\r\n```\r\n\r\n并且异常页面显示的是 500:\r\n\r\n\u003Cimg width=\"989\" alt=\"image\" src=\"https://github.com/user-attachments/assets/621e5d21-4534-4059-8c2f-d41844e79ec8\">\r\n\r\n期望能够对此优化,理由如下:\r\n\r\n1. 对于用户或者访客来说,没有页面提示 500 不符合预期,应该是 404。\r\n2. 模板找不到的异常日志没有意义,并会对日志查阅造成困扰。目前我们并没有要求主题实现所有的模板,因为不同的主题有不同的使用场景,部分模板可能并不会实现。\r\n\r\n/area core\r\n/kind improvement\r\n\r\n### 附加信息\r\n\r\n_No response_",[2916,2919],{"name":2917,"color":2918},"area/core","0052cc",{"name":2920,"color":2921},"kind/improvement","f714c6",6501,"建议忽略掉主题模板找不到的异常","2024-08-26T07:48:40Z","https://github.com/halo-dev/halo/issues/6501",0.6534604,{"description":2928,"labels":2929,"number":2932,"owner":2869,"repository":2870,"state":2899,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### 系统信息\n\nDebian 12 有宝塔waf(已设置成观察模式)\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 在线站点地址\n\nwww.a12x.cn\n\n### 发生了什么?\n\n\r\n\n\n### 相关日志输出\n\n```shell\n2023-12-05T18:33:39.717+08:00 ERROR 8 --- [boundedElastic-70] o.t.spring6.SpringWebFluxTemplateEngine : [THYMELEAF][boundedElastic-70] Exception processing template \"post\": Error during execution of processor 'org.thymeleaf.standard.processor.StandardWithTagProcessor' (template: \"post\" - line 123, col 5)\r\n\r\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.standard.processor.StandardWithTagProcessor' (template: \"post\" - line 123, col 5)\r\n\tat org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:592) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:4512) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]\r\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]\r\n\tat java.base/java.lang.Thread.run(Unknown Source) ~[na:na]\r\nCaused by: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException\r\n\tat reactor.core.Exceptions$ReactiveException.fillInStackTrace(Exceptions.java:734) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\r\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\r\n\tat java.base/java.lang.Exception.\u003Cinit>(Unknown Source) ~[na:na]\r\n\tat java.base/java.lang.RuntimeException.\u003Cinit>(Unknown Source) ~[na:na]\r\n\tat reactor.core.Exceptions$ReactiveException.\u003Cinit>(Exceptions.java:724) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.Exceptions.propagate(Exceptions.java:408) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:95) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat reactor.core.publisher.Mono.block(Mono.java:1728) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\tat run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:37) ~[classes/:2.11.1]\r\n\tat org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tat org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t... 25 common frames omitted\r\nCaused by: java.lang.InterruptedException: null\r\n\tat java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source) ~[na:na]\r\n\tat java.base/java.util.concurrent.CountDownLatch.await(Unknown Source) ~[na:na]\r\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:90) ~[reactor-core-3.6.0.jar:3.6.0]\r\n\t... 34 common frames omitted\r\n\r\n2023-12-05T21:08:33.062+08:00 INFO 8 --- [reactor-tcp-epoll-3] run.halo.toolbench.util.PostUtil : raw -> \u003Ch1 style=\"\" id=\"heading-1\">随机动漫\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=dongman&px= \" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\u003Ch1 style=\"\" id=\"heading-2\">随机风景\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=fengjing&px= \" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\u003Ch1 style=\"\" id=\"heading-3\">随机小姐姐\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=meinv&px=\" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\r\n\r\n2023-12-05T21:08:33.088+08:00 INFO 8 --- [reactor-tcp-epoll-3] run.halo.toolbench.util.PostUtil : raw -> \u003Ch1 style=\"\" id=\"heading-1\">随机动漫\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=dongman&px= \" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\u003Ch1 style=\"\" id=\"heading-2\">随机风景\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=fengjing&px= \" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\u003Ch1 style=\"\" id=\"heading-3\">随机小姐姐\u003C/h1>\u003Cp style=\"\">\u003Ciframe src=\"https://tuapi.eees.cc/api.php?category=meinv&px=\" width=\"100%\" height=\"1000px\" frameborder=\"0\" allowfullscreen=\"true\" framespacing=\"0\" style=\"display: inline-block\">\u003C/iframe>\u003C/p>\n```\n\n\n### 附加信息\n\n_No response_",[2930],{"name":2931,"color":2867},"kind/support",4998,"附件上传不了","2023-12-06T06:24:49Z","https://github.com/halo-dev/halo/issues/4998",0.6555736,{"description":2938,"labels":2939,"number":2943,"owner":2869,"repository":2870,"state":2899,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### 系统信息\n\n- 外部访问地址: \n- 启动时间: 2024-10-17 15:09\n- 版本: 2.19.3\n- 构建时间: 2024-09-10 17:45\n- Git Commit: 9ffb1bb\n- Java: IBM Semeru Runtime Open Edition / 21.0.4+7-LTS\n- 数据库: H2 / 2.2.224\n- 操作系统: Linux / 3.10.0-1062.1.1.el7.x86_64\n- 已激活主题: [FIT2BLOG 1.3.0](https://www.halo.run/store/apps/app-TXBPo)\n- 已启动插件:\n - [Sitemap 1.1.2](https://github.com/halo-dev/plugin-sitemap)\n - [搜索组件 1.6.2](https://github.com/halo-dev/plugin-search-widget)\n - [RSS 1.3.0](https://github.com/halo-dev/plugin-feed)\n - [评论组件 2.4.0](https://github.com/halo-dev/plugin-comment-widget)\n - [应用市场 1.4.0](https://www.halo.run/store/apps/app-VYJbF)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n为啥点击首页下边的页码出现请求错误(//page/2),但上下页是正常的(/page/2)?\n博客链接:\n[http://119.254.155.137:29999/?preview-theme=theme-fit2blog](url)\n\n### 复现步骤\n\n1.打开博客首页\n2.往下滚动至最下方,点击页码,请第 2页\n3.打开新窗口链接,出现 404 报错(错误地址://page/2),错误内容是No static resource page/1.,正常页面是地址是/page/2\n\n### 相关日志输出\n\n2024-10-24T14:40:02.669+08:00 ERROR 7 --- [boundedElastic-356] o.t.spring6.SpringWebFluxTemplateEngine : [THYMELEAF][boundedElastic-356] Exception processing template \"index\": Error during execution of processor 'org.thymeleaf.standard.processor.StandardWithTagProcessor' (template: \"modules/category-filter-bar\" - line 16, col 13)\n\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.standard.processor.StandardWithTagProcessor' (template: \"modules/category-filter-bar\" - line 16, col 13)\n\tat org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:117) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:592) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:4576) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Thread.run(Unknown Source) ~[na:na]\nCaused by: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException\n\tat reactor.core.Exceptions$ReactiveException.fillInStackTrace(Exceptions.java:736) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Throwable.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.Exception.\u003Cinit>(Unknown Source) ~[na:na]\n\tat java.base/java.lang.RuntimeException.\u003Cinit>(Unknown Source) ~[na:na]\n\tat reactor.core.Exceptions$ReactiveException.\u003Cinit>(Exceptions.java:726) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.Exceptions.propagate(Exceptions.java:410) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:96) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat reactor.core.publisher.Mono.block(Mono.java:1779) ~[reactor-core-3.6.9.jar:3.6.9]\n\tat run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:40) ~[classes/:2.19.3]\n\tat org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\t... 28 common frames omitted\nCaused by: java.lang.InterruptedException: null\n\tat java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source) ~[na:na]\n\tat java.base/java.util.concurrent.CountDownLatch.await(Unknown Source) ~[na:na]\n\tat reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:91) ~[reactor-core-3.6.9.jar:3.6.9]\n\t... 37 common frames omitted\n\n\n### 附加信息\n\n\u003C!-- Failed to upload \"博客 正确请求页面.png\" -->\n\u003C!-- Failed to upload \"博客 请求错误页面 页码点击.png\" -->\n\u003C!-- Failed to upload \"博客 请求错误页面.png\" -->\n",[2940,2941],{"name":2931,"color":2867},{"name":2942,"color":2918},"area/theme",6941,"FIT2BLOG 博客中,为啥点击首页下边的页码出现请求错误(//page/2),但上下页是正常的(/page/2)","2024-10-29T07:51:19Z","https://github.com/halo-dev/halo/issues/6941",0.65762293,{"description":2949,"labels":2950,"number":2957,"owner":2869,"repository":2870,"state":2899,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### 是什么版本出现了此问题?\n\nhalo:2.10.0-alpha.1\n\n### 使用的什么数据库?\n\nH2\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 在线站点地址\n\nhttps://blog.chiyustudio.link/\n\n### 发生了什么?\n\n从2.9.0升级到2.10.0后,博客所有前台页面状态码为500,但console可以正常访问。\r\n从Docker的日志看,好像和SLF4J有关。\n\n### 相关日志输出\n\n```shell\n……\r\nSLF4J: A SLF4J service provider failed to instantiate:\r\norg.slf4j.spi.SLF4JServiceProvider: ch.qos.logback.classic.spi.LogbackServiceProvider not a subtype\r\nSLF4J: No SLF4J providers were found.\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.\r\n……\r\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"layout\" - line 3, col 3)\r\n……\r\nCaused by: java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class com.fasterxml.jackson.databind.JsonNode (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @87aac27; com.fasterxml.jackson.databind.JsonNode is in unnamed module of loader org.pf4j.PluginClassLoader @742ba594)\r\n……\r\n2023-09-29T14:34:31.265+08:00 ERROR 7 --- [oundedElastic-2] o.t.spring6.SpringWebFluxTemplateEngine : [THYMELEAF][boundedElastic-2] Exception processing template \"index\": Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"layout\" - line 3, col 3)\r\n……\r\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"layout\" - line 3, col 3)\r\n……\r\nCaused by: java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class com.fasterxml.jackson.databind.JsonNode (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @87aac27; com.fasterxml.jackson.databind.JsonNode is in unnamed module of loader org.pf4j.PluginClassLoader @742ba594)\r\n……\r\n2023-09-29T14:34:31.356+08:00 ERROR 7 --- [oundedElastic-2] a.w.r.e.AbstractErrorWebExceptionHandler : [619d0223-3] 500 Server Error for HTTP GET \"/\"\r\n\r\norg.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: \"layout\" - line 3, col 3)\r\n\tat org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:141) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\tSuppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: \r\nError has been observed at the following site(s):\r\n\t*__checkpoint ⇢ Handler run.halo.app.theme.router.factories.IndexRouteFactory$$Lambda$2429/0x00007f819fa98450@291be803 [DispatcherHandler]\r\n\t*__checkpoint ⇢ run.halo.app.cache.PageCacheWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.security.authentication.login.UsernamePasswordLogoutHandler [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.security.authentication.login.DelegatingLogoutPageGeneratingWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ run.halo.app.security.authentication.login.UsernamePasswordAuthenticator [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ AuthorizationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ExceptionTranslationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ LogoutWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ServerRequestCacheWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ HaloAnonymousAuthenticationWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ CsrfWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ org.springframework.web.filter.reactive.ServerHttpObservationFilter [DefaultWebFilterChain]\r\n\t*__checkpoint ⇢ HTTP GET \"/\" [ExceptionHandlingWebHandler]\r\nOriginal Stack Trace:\r\n\t\tat org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:141) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.util.ProcessorConfigurationUtils$ElementModelProcessorWrapper.process(ProcessorConfigurationUtils.java:649) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1510) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.Model.process(Model.java:290) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.GatheringModelProcessable.process(GatheringModelProcessable.java:78) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n\t\tat reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58) ~[reactor-core-3.5.10.jar:3.5.10]\r\n\t\tat reactor.core.publisher.Mono.subscribe(Mono.java:4495) ~[reactor-core-3.5.10.jar:3.5.10]\r\n\t\tat reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.5.10.jar:3.5.10]\r\n\t\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.5.10.jar:3.5.10]\r\n\t\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.5.10.jar:3.5.10]\r\n\t\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]\r\n\t\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]\r\n\t\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]\r\n\t\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]\r\n\t\tat java.base/java.lang.Thread.run(Unknown Source) ~[na:na]\r\nCaused by: java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class com.fasterxml.jackson.databind.JsonNode (com.fasterxml.jackson.databind.node.ObjectNode is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @87aac27; com.fasterxml.jackson.databind.JsonNode is in unnamed module of loader org.pf4j.PluginClassLoader @742ba594)\r\n\tat java.base/java.lang.Iterable.forEach(Unknown Source) ~[na:na]\n```\n\n\n### 附加信息\n\n_No response_",[2951,2954,2955],{"name":2952,"color":2953},"kind/bug","e11d21",{"name":2917,"color":2918},{"name":2956,"color":2953},"priority/critical-urgent",4673,"从2.9.0升级到2.10.0后,博客所有前台页面状态码为500,但console可以正常访问","2023-10-10T10:13:41Z","https://github.com/halo-dev/halo/issues/4673",0.6708685,{"description":2963,"labels":2964,"number":2966,"owner":2869,"repository":2870,"state":2899,"title":2967,"updated_at":2968,"url":2969,"score":2970},"### 系统信息\r\n\r\n- 外部访问地址: https://www.2tuan.site/\r\n- 启动时间: 2024-05-20 13:39\r\n- 版本: 2.15.2\r\n- 构建时间: 2024-05-10 14:17\r\n- Git Commit: 9a4c41a\r\n- Java: IBM Semeru Runtime Open Edition / 21.0.2+13-LTS\r\n- 数据库: MySQL Community Server - GPL / 8.0.28\r\n- 操作系统: Linux / 5.15.0-107-generic\r\n- 已激活主题: [Earth](https://github.com/halo-dev/theme-earth.git)\r\n- 已启动插件:\r\n - [站点推送插件](https://github.com/Stonewuu/halo-plugin-sitepush)\r\n - [对象存储(Amazon S3 协议)](https://github.com/halo-dev/plugin-s3)\r\n - [应用市场](https://www.halo.run/store/apps/app-VYJbF)\r\n - [Sitemap](https://github.com/halo-dev/plugin-sitemap)\r\n - [评论组件](https://github.com/halo-dev/plugin-comment-widget)\r\n - [搜索组件](https://github.com/halo-dev/plugin-search-widget)\r\n - [RSS](https://github.com/halo-dev/plugin-feed)\r\n\r\n### 使用的哪种方式运行?\r\n\r\nDocker Compose\r\n\r\n### 发生了什么?\r\n\r\n访问https://www.2tuan.site/categories页面出现500错误,网站页面设置如下所示:\r\n\r\n\r\n\r\n### 相关日志输出\r\n\r\n```shell\r\n2024-05-20T13:44:10.568+08:00 ERROR 6 --- [boundedElastic-2] a.w.r.e.AbstractErrorWebExceptionHandler : [0976bf1d-171] 500 Server Error for HTTP GET \"/categories\"\r\n\r\norg.thymeleaf.exceptions.TemplateInputException: Error resolving template [categories], template might not exist or might not be accessible by any of the configured Template Resolvers\r\n at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:\r\nError has been observed at the following site(s):\r\n *__checkpoint ⇢ Handler run.halo.app.theme.router.factories.CategoriesRouteFactory$$Lambda/0x00000000cb4fbed0@645125b2 [DispatcherHandler]\r\n *__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ AuthorizationWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ ExceptionTranslationWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ LogoutWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ ServerRequestCacheWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ HaloAnonymousAuthenticationWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ CsrfWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]\r\n *__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]\r\n *__checkpoint ⇢ run.halo.app.webfilter.AdditionalWebFilterChainProxy [DefaultWebFilterChain]\r\n *__checkpoint ⇢ HTTP GET \"/categories\" [ExceptionHandlingWebHandler]\r\nOriginal Stack Trace:\r\n at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:607) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\r\n at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61) ~[reactor-core-3.6.5.jar:3.6.5]\r\n at reactor.core.publisher.Mono.subscribe(Mono.java:4568) ~[reactor-core-3.6.5.jar:3.6.5]\r\n at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.6.5.jar:3.6.5]\r\n at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.6.5.jar:3.6.5]\r\n at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.6.5.jar:3.6.5]\r\n at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]\r\n at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]\r\n at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]\r\n at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]\r\n at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]\r\n```\r\n\r\n\r\n### 附加信息\r\n\r\n在网站的sitemap.xml页面中,提供了/categories访问路径。\r\n```xml\r\n\u003Curl>\r\n \u003Cloc>https://www.2tuan.site/categories\u003C/loc>\r\n \u003Clastmod>2024-05-20T14:05:22+08:00\u003C/lastmod>\r\n \u003Cchangefreq>daily\u003C/changefreq>\r\n \u003Cpriority>0.5\u003C/priority>\r\n\u003C/url>\r\n```",[2965],{"name":2897,"color":2867},5952,"访问分类页面报500错误","2024-05-20T09:20:28Z","https://github.com/halo-dev/halo/issues/5952",0.6766481,["Reactive",2972],{},["Set"],["ShallowReactive",2975],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fKPqkvrLVM_TtcoexgN1rbUZU4XoStkwC3E6hBwy4R2g":-1},"/halo-dev/halo/6273"]