\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2919,2922],{"name":2920,"color":2921},"kind/bug","e11d21",{"name":2923,"color":2924},"area/core","0052cc",7385,"closed","/actuator/startup 端点 404","2025-04-25T04:41:54Z","https://github.com/halo-dev/halo/issues/7385",0.67643857,{"description":2932,"labels":2933,"number":2936,"owner":2868,"repository":2869,"state":2926,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### 前置条件\n\n- [x] 已经在 [issues](https://github.com/halo-dev/halo/issues) 列表中搜索了相关问题。\n- [x] 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 [Discussions](https://github.com/halo-dev/halo/discussions) 提交。\n- [x] 已经尝试过停用所有的插件,排除是插件导致的问题。\n- [x] 如果是插件和主题的问题,请在对应的插件和主题仓库提交。\n\n### 系统信息\n\n- 外部访问地址: http://lnjweb.top:80/\n- 启动时间: 2024-11-18 14:01\n- 版本: 2.20.9\n- 构建时间: 2024-11-12 06:43\n- Git Commit: 06f3c28\n- Java: IBM Semeru Runtime Open Edition / 21.0.4+7-LTS\n- 数据库: MySQL Community Server - GPL / 8.4.3\n- 操作系统: Linux / 5.15.0-106-generic\n- 已激活主题: [Earth 1.11.1](https://github.com/halo-dev/theme-earth)\n- 已启动插件:\n - [评论组件 2.5.1](https://github.com/halo-dev/plugin-comment-widget)\n - [RSS 1.3.0](https://github.com/halo-dev/plugin-feed)\n - [搜索组件 1.6.2](https://github.com/halo-dev/plugin-search-widget)\n - [highlight.js 代码高亮 1.3.2](https://github.com/halo-sigs/plugin-highlightjs)\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 发生了什么?\n\n2.20.0版本更新2.20.9版本后首页打不开,显示 404 NOT_FOUND \"Template index was not found.\",但能手动修改地址进入console后台。最后解决方法,在后台卸载默认主题后从官网的应用商店下载默认主题,上传到自己的halo中。整了好久终于能用新版了。不想再回去复现一遍了。管理可以把这个问题关闭,希望给其他人一点思路。\n\n### 复现步骤\n\n\n先安装2.20版本,,后修改版本号为2.20.9,执行docker-compose up -d 问题即可复现。\n安装的插件如下\n\n\n\n### 相关日志输出\n\n```shell\n2024-11-18T14:10:38.127+08:00 ERROR 7 --- [oundedElastic-3] org.thymeleaf.TemplateEngine : [THYMELEAF][boundedElastic-3] Exception preparing throttled template \"index\": 404 NOT_FOUND \"Template index was not found.\"\n\nrun.halo.app.infra.exception.NotFoundException: 404 NOT_FOUND \"Template index was not found.\"\n\tat run.halo.app.theme.CompositeTemplateResolver.lambda$resolveTemplate$1(CompositeTemplateResolver.java:59) ~[classes/:2.20.9]\n\tat java.base/java.util.Optional.orElseThrow(Unknown Source) ~[na:na]\n\tat run.halo.app.theme.CompositeTemplateResolver.resolveTemplate(CompositeTemplateResolver.java:59) ~[classes/:2.20.9]\n\tat org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:845) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.engine.TemplateManager.parseAndProcessThrottled(TemplateManager.java:757) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.processThrottled(TemplateEngine.java:1189) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.TemplateEngine.processThrottled(TemplateEngine.java:1163) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createChunkedStream$1(SpringWebFluxTemplateEngine.java:245) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE]\n\tat reactor.core.publisher.FluxGenerate.subscribe(FluxGenerate.java:80) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]\n\tat reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:68) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]\n\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]\n\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]\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]\n```\n\n### 附加信息\n\n_No response_",[2934],{"name":2935,"color":2880},"triage/needs-information",7048,"2.20.0版本更新2.20.9版本后首页打不开,能手动修改地址进入console后台。,默认主题,已关闭额外插件,且已经通过手动重装主题修复","2024-11-20T03:02:17Z","https://github.com/halo-dev/halo/issues/7048",0.6847432,{"description":2942,"labels":2943,"number":2948,"owner":2868,"repository":2869,"state":2926,"title":2949,"updated_at":2950,"url":2951,"score":2952},"### 系统信息\r\n\r\nvideo被包裹在`\u003Cp style=\"text-align: center\">`中,实际效果并没有起到居中居右的效果。需要调整下元素设置生成的策略。这部分是在主题模块还是在核心模块呢?\r\n\r\n### 使用的哪种方式运行?\r\n\r\nDocker\r\n\r\n### 发生了什么?\r\n\r\nvideo被包裹在`\u003Cp style=\"text-align: center\">`中,实际效果并没有起到居中居右的效果\r\n\r\n### 复现步骤\r\n\r\n1. 编辑器中添加一个视频\r\n2. 设置视频居中\r\n3. 预览/直接访问页面\r\n\r\n### 相关日志输出\r\n\r\n_No response_\r\n\r\n### 附加信息\r\n\r\n_No response_",[2944,2946],{"name":2945,"color":2880},"kind/support",{"name":2947,"color":2924},"area/theme",6557,"视频元素无法正确居中","2024-09-12T08:55:58Z","https://github.com/halo-dev/halo/issues/6557",0.7151936,{"description":2954,"labels":2955,"number":2958,"owner":2868,"repository":2869,"state":2926,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### 前置条件\n\n- [x] 已经在 [issues](https://github.com/halo-dev/halo/issues) 列表中搜索了相关问题。\n- [x] 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 [Discussions](https://github.com/halo-dev/halo/discussions) 提交。\n- [x] 已经尝试过停用所有的插件,排除是插件导致的问题。\n- [x] 如果是插件和主题的问题,请在对应的插件和主题仓库提交。\n\n### 系统信息\n\n- 版本:2.20.9\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 发生了什么?\n\n多个空格只显示一个\n\n### 复现步骤\n\n创建一个文章,随便输入几个字符,中间输入多个空格\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2956],{"name":2957,"color":2880},"triage/duplicate",7026,"默认编辑器多个空格只显示一个","2024-12-13T05:53:29Z","https://github.com/halo-dev/halo/issues/7026",0.7207439,{"description":2964,"labels":2965,"number":2966,"owner":2868,"repository":2869,"state":2926,"title":2967,"updated_at":2968,"url":2969,"score":2970},"### 系统信息\n\n操作系统:windows10 22H2\n版本:2.20.8\n数据库:h2\n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 发生了什么?\n\n使用源码根据文档构建完整的fat jar包,到前端ui时报出错误,改为手动只编译ui报同样错误\npnpm build:packages 、 pnpm dev本地测试正常\n运行pnpm build就会报错,报错信息放在了日志输出\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n> vue-tsc --noEmit -p tsconfig.app.json --composite false && vite build --config ./vite.config.ts\n\nconsole-src/composables/use-global-info.ts:3:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import axios from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/contents/pages/SinglePageEditor.vue:35:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n35 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/contents/posts/PostEditor.vue:37:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n37 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/system/backup/tabs/Restore.vue:17:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n17 import axios from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/system/overview/Overview.vue:24:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n24 import axios from \"axios\";\n ~~~~~~~\n\nsrc/components/alerts/H2WarningAlert.vue:5:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n5 import axios from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/components/EditorLinkObtain.vue:9:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n9 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/DefaultEditor.vue:71:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n71 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/audio/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/image/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/video/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/utils/upload.ts:5:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n5 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/formkit/inputs/select/SelectMain.vue:6:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n6 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/setup/setupApiClient.ts:4:33 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n4 import type { AxiosError } from \"axios\";\n ~~~~~~~\n\nsrc/stores/global-info.ts:2:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n2 import axios from \"axios\";\n ~~~~~~~\n\nuc-src/modules/contents/posts/PostEditor.vue:32:53 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n32 import { AxiosError, type AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nuc-src/modules/contents/posts/PostEditor.vue:408:39 - error TS2339: Property 'response' does not exist on type 'Error'.\n\n408 const { detail, title } = error.response?.data || {};\n ~~~~~~~~\n\nuc-src/modules/profile/tabs/Detail.vue:16:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n16 import axios from \"axios\";\n ~~~~~~~\n\n\nFound 18 errors in 17 files.\n\nErrors Files\n 1 console-src/composables/use-global-info.ts:3\n 1 console-src/modules/contents/pages/SinglePageEditor.vue:35\n 1 console-src/modules/contents/posts/PostEditor.vue:37\n 1 console-src/modules/system/backup/tabs/Restore.vue:17\n 1 console-src/modules/system/overview/Overview.vue:24\n 1 src/components/alerts/H2WarningAlert.vue:5\n 1 src/components/editor/components/EditorLinkObtain.vue:9\n 1 src/components/editor/DefaultEditor.vue:71\n 1 src/components/editor/extensions/audio/index.ts:3\n 1 src/components/editor/extensions/image/index.ts:3\n 1 src/components/editor/extensions/video/index.ts:3\n 1 src/components/editor/utils/upload.ts:5\n 1 src/formkit/inputs/select/SelectMain.vue:6\n 1 src/setup/setupApiClient.ts:4\n 1 src/stores/global-info.ts:2\n 2 uc-src/modules/contents/posts/PostEditor.vue:32\n 1 uc-src/modules/profile/tabs/Detail.vue:16\n ELIFECYCLE Command failed with exit code 2.\nERROR: \"build:console\" exited with 2.\n ELIFECYCLE Command failed with exit code 1.\n\n\n### 附加信息\n\n_No response_",[],7004,"手动构建前端ui报错","2024-11-05T08:15:03Z","https://github.com/halo-dev/halo/issues/7004",0.7225552,["Reactive",2972],{},["Set"],["ShallowReactive",2975],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fNAMQNN-Jp3GxW2bc32JQdbAtUZScDC0TLSBmoDzNqVk":-1},"/halo-dev/halo/7047"]