\n\n### Reproduce Steps\n\n_No response_\n\n### Relevant log output\n\n```shell\n\n```\n\n### Additional information\n\n_No response_",[],7622,"halo-dev","halo","open","Inaccurate Results When Querying by Index","2025-07-11T04:19:39Z","https://github.com/halo-dev/halo/issues/7622",0.75073653,{"description":3028,"labels":3029,"number":3030,"owner":3020,"repository":3021,"state":3031,"title":3032,"updated_at":3033,"url":3034,"score":3035},"### System information\n\nfffff\n\n### What is the project operation method?\n\nDocker\n\n### Your site address.\n\n_No response_\n\n### What happened?\n\nversion: \"3\"\r\n\r\nservices:\r\n halo:\r\n image: halohub/halo:2.11\r\n container_name: halo\r\n restart: on-failure:3\r\n depends_on:\r\n halodb:\r\n condition: service_healthy\r\n networks:\r\n halo_network:\r\n volumes:\r\n - ./halo2:/root/.halo2\r\n ports:\r\n - \"8066:8066\"\r\n healthcheck:\r\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8066/actuator/health/readiness\"]\r\n interval: 30s\r\n timeout: 5s\r\n retries: 5\r\n start_period: 30s\r\n command:\r\n - --spring.r2dbc.url=r2dbc:pool:postgresql://halodb/halo\r\n - --spring.r2dbc.username=halo\r\n # PostgreSQL 的密码,请保证与下方 POSTGRES_PASSWORD 的变量值一致。\r\n - --spring.r2dbc.password=openpostgresql\r\n - --spring.sql.init.platform=postgresql\r\n # 外部访问地址,请根据实际需要修改\r\n - --halo.external-url=http://localhost:8066/\r\n halodb:\r\n image: postgres:15.4\r\n container_name: halodb\r\n restart: on-failure:3\r\n networks:\r\n halo_network:\r\n volumes:\r\n - ./db:/var/lib/postgresql/data\r\n ports:\r\n - \"5432:5432\"\r\n healthcheck:\r\n test: [ \"CMD\", \"pg_isready\" ]\r\n interval: 10s\r\n timeout: 5s\r\n retries: 5\r\n environment:\r\n - POSTGRES_PASSWORD=openpostgresql\r\n - POSTGRES_USER=halo\r\n - POSTGRES_DB=halo\r\n - PGUSER=halo\r\n\r\nnetworks:\r\n halo_network:\r\n\r\ndocker-compose up -d\r\nERROR: The Compose file './docker-compose.yaml' is invalid because:\r\nservices.halo.healthcheck value Additional properties are not allowed ('start_period' was unexpected)\r\nservices.halo.depends_on contains an invalid type, it should be an array\r\n\r\n\r\n没有一个能用的,建议当场去世\r\n\r\n\n\n### Relevant log output\n\n```shell\nfffff\n```\n\n\n### Additional information\n\nfffff",[],5217,"closed","what the fuck??》??》????","2024-01-20T01:55:57Z","https://github.com/halo-dev/halo/issues/5217",0.7000116,{"description":3037,"labels":3038,"number":3042,"owner":3020,"repository":3021,"state":3031,"title":3043,"updated_at":3044,"url":3045,"score":3046},"### 是什么版本出现了此问题?\n\n2.9.1\n\n### 使用的什么数据库?\n\nMySQL 5.7\n\n### 使用的哪种方式部署?\n\nDocker Compose\n\n### 在线站点地址\n\n_No response_\n\n### 发生了什么?\n\nDocker Compose部署,使用外部的mysql,初始化完成后数据库中的中文是乱码\r\n数据库创建代码是:create database halo character set utf8mb4 collate utf8mb4_bin;\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3039],{"name":3040,"color":3041},"triage/needs-information","d455d0",4629,"初始化完成后数据库中的中文是乱码","2023-10-27T04:26:46Z","https://github.com/halo-dev/halo/issues/4629",0.72090924,{"description":3048,"labels":3049,"number":3055,"owner":3020,"repository":3021,"state":3031,"title":3056,"updated_at":3057,"url":3058,"score":3059},"### 系统信息\n\n- 外部访问地址: https://oniya.cn/\r\n- 启动时间: 2024-01-04 09:53\r\n- 版本: 2.11.3\r\n- 构建时间: 2023-12-27 12:13\r\n- Git Commit: 8e9b07d\r\n- Java: IBM Semeru Runtime Open Edition / 17.0.9+9\r\n- 数据库: 20200531 / 5.7.18-cynos-log\r\n- 操作系统: Linux / 5.4.0-132-generic\r\n- 已激活主题: [Theme Joe3](https://github.com/jiewenhuang/halo-theme-joe3.0)\r\n- 已启动插件:\r\n - [Willow Markdown 编辑器](https://github.com/guqing/willow-mde)\r\n - [图库管理](https://github.com/halo-sigs/plugin-photos)\r\n - [文章导入导出](https://jhacker.cn/2023/halo-plugin-export2doc)\r\n - AI 助手\r\n - [Docsme](https://github.com/f2ccloud/plugin-docsme)\r\n - [瞬间](https://github.com/halo-sigs/plugin-moments)\r\n - [链接管理](https://github.com/halo-sigs/plugin-links)\r\n - [站点推送插件](https://github.com/Stonewuu/halo-plugin-sitepush)\r\n - [增强备份(Backup IMproved)](https://halo.run/store/apps/app-dHakX)\r\n - 联系表单\r\n - [文章限制阅读 Pro](https://github.com/f2ccloud/plugin-restricted-reading-pro)\r\n - [对象存储(Amazon S3 协议)](https://github.com/halo-dev/plugin-s3)\r\n - [站点迁移](https://github.com/halo-sigs/plugin-migrate)\r\n - [Sitemap](https://github.com/halo-dev/plugin-sitemap)\r\n - [搜索组件](https://github.com/halo-dev/plugin-search-widget)\r\n - [RSS](https://github.com/halo-dev/plugin-feed)\r\n - [评论组件](https://github.com/halo-dev/plugin-comment-widget)\r\n - [应用市场](https://github.com/halo-dev/plugin-app-store)\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 在线站点地址\n\n_No response_\n\n### 发生了什么?\n\n通过Docker Compose 部署无法自定义后台路径,尝试在`docker-compose.yaml`文件中加`admin-path: admin`但是`up`的时候提示`services.halo Additional property admin_path is not allowed`根据`https://docs.halo.run/getting-started/config/#%E5%90%8E%E5%8F%B0%E8%B7%AF%E5%BE%84`文档中所述修改`application.yaml`文件但是貌似Docker Compose部署的halo持久化的目录下并没有`application.yaml`文件,论坛中`https://bbs.halo.run/d/2216-%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E8%B7%AF%E5%BE%84%E8%83%BD%E5%90%A6%E9%85%8D%E7%BD%AE/3`所说使用 HALO_ADMIN_PATH 环境变量,参考:`https://docs.halo.run/getting-started/install/other/docker-compose` 其中的参考链接也已失效,无法打开\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3050,3052],{"name":3051,"color":3041},"triage/unresolved",{"name":3053,"color":3054},"needs-kind","ededed",5152,"通过Docker Compose 部署无法自定义后台路径","2024-01-17T03:48:18Z","https://github.com/halo-dev/halo/issues/5152",0.72803384,{"description":3061,"labels":3062,"number":3067,"owner":3020,"repository":3021,"state":3031,"title":3068,"updated_at":3069,"url":3070,"score":3071},"### 系统信息\n\nNone\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n在初始化数据时,会遇到接口一直 pending 的问题。\r\n\r\n\u003Cimg width=\"1470\" alt=\"image\" src=\"https://github.com/halo-dev/halo/assets/21301288/4285e684-8d61-4f69-83ec-042d83d46fd1\">\r\n\r\nRef https://bbs.halo.run/d/5193-docker-compose-部署初始化时提示网络错误/12\r\n\r\n日志:[halo.log](https://github.com/halo-dev/halo/files/14681216/halo.log)\r\n\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n我的 Docker Compose 文件:\r\n\r\n```yaml\r\nversion: \"3\"\r\n\r\nservices:\r\n halo:\r\n image: halohub/halo:2.13\r\n restart: on-failure:3\r\n networks:\r\n halo_network:\r\n volumes:\r\n - ./halo2:/root/.halo2\r\n ports:\r\n - \"8090:8090\"\r\n healthcheck:\r\n test:\r\n [\"CMD\", \"curl\", \"-f\", \"http://localhost:8090/actuator/health/readiness\"]\r\n interval: 30s\r\n timeout: 5s\r\n retries: 5\r\n start_period: 30s\r\n command:\r\n - --spring.r2dbc.url=r2dbc:pool:mariadb://halodb:3306/halo\r\n - --spring.r2dbc.username=root\r\n - --spring.r2dbc.password=o#DwN&JSa56\r\n - --spring.sql.init.platform=mysql\r\n - --halo.external-url=http://localhost:8090/\r\n\r\n halodb:\r\n image: mariadb\r\n restart: on-failure:3\r\n networks:\r\n halo_network:\r\n volumes:\r\n - ./mysql:/var/lib/mysql\r\n environment:\r\n - MARIADB_ROOT_PASSWORD=o#DwN&JSa56\r\n - MARIADB_DATABASE=halo\r\n\r\nnetworks:\r\n halo_network:\r\n```",[3063,3066],{"name":3064,"color":3065},"kind/bug","e11d21",{"name":3040,"color":3041},5534,"使用 MariaDB 有几率无法正常初始化 Halo","2024-06-25T06:00:59Z","https://github.com/halo-dev/halo/issues/5534",0.73548245,{"description":3073,"labels":3074,"number":3077,"owner":3020,"repository":3021,"state":3031,"title":3078,"updated_at":3079,"url":3080,"score":3081},"### System information\n\nversion: \"3\"\r\n\r\nservices:\r\n halo:\r\n image: registry.fit2cloud.com/halo/halo:2.18\r\n restart: on-failure:3\r\n depends_on:\r\n halodb:\r\n condition: service_healthy\r\n networks:\r\n halo_network:\r\n volumes:\r\n - ./halo2:/root/.halo2\r\n ports:\r\n - \"8090:8090\"\r\n healthcheck:\r\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8090/actuator/health/readiness\"]\r\n interval: 30s\r\n timeout: 5s\r\n retries: 5\r\n start_period: 30s\r\n command:\r\n - --spring.r2dbc.url=r2dbc:pool:mysql://halodb:3306/halo\r\n - --spring.r2dbc.username=root\r\n # MySQL 的密码,请保证与下方 MYSQL_ROOT_PASSWORD 的变量值一致。\r\n - --spring.r2dbc.password=o#DwN&JSa56\r\n - --spring.sql.init.platform=mysql\r\n # 外部访问地址,请根据实际需要修改\r\n - --halo.external-url=http://localhost:8090/\r\n\r\n halodb:\r\n image: mysql:8.1.0\r\n restart: on-failure:3\r\n networks:\r\n halo_network:\r\n command: \r\n - --default-authentication-plugin=caching_sha2_password\r\n - --character-set-server=utf8mb4\r\n - --collation-server=utf8mb4_general_ci\r\n - --explicit_defaults_for_timestamp=true\r\n volumes:\r\n - ./mysql:/var/lib/mysql\r\n - ./mysqlBackup:/data/mysqlBackup\r\n healthcheck:\r\n test: [\"CMD\", \"mysqladmin\", \"ping\", \"-h\", \"127.0.0.1\", \"--silent\"]\r\n interval: 3s\r\n retries: 5\r\n start_period: 30s\r\n environment:\r\n # 请修改此密码,并对应修改上方 Halo 服务的 SPRING_R2DBC_PASSWORD 变量值\r\n - MYSQL_ROOT_PASSWORD=o#DwN&JSa56\r\n - MYSQL_DATABASE=halo\r\n\r\nnetworks:\r\n halo_network:\n\n### What is the project operation method?\n\nDocker Compose\n\n### What happened?\n\n返回首页不是根据域名来的,也没设置的地方,返回地址是这个:http://localhost:8090/\n\n### Reproduce Steps\n\n_No response_\n\n### Relevant log output\n\n_No response_\n\n### Additional information\n\n返回首页不是根据域名来的,也没设置的地方,返回地址是这个:http://localhost:8090/",[3075],{"name":3076,"color":3041},"triage/duplicate",6452,"返回首页报错","2024-08-08T11:36:27Z","https://github.com/halo-dev/halo/issues/6452",0.7364303,{"description":3083,"labels":3084,"number":3086,"owner":3020,"repository":3021,"state":3031,"title":3087,"updated_at":3088,"url":3089,"score":3090},"[halo.zip](https://github.com/user-attachments/files/19269923/halo.zip)\n\n### 前置条件\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外部访问地址:192.168.1.5\n版本 2.20\n数据库:mysql 5.7\n操作系统: debian12 内核 6.12.17-amd64\n\n### 使用的哪种方式运行?\n\nDocker Compose\n\n### 发生了什么?\n\nhttp://192.168.1.2:3306\n版本 2.20\nMySQL版本: 5.7\n配置文件信息\n\n```yaml\n#version: \"3\"\n\nservices:\n halo:\n image: registry.fit2cloud.com/halo/halo:2\n restart: on-failure:3\n network_mode: \"host\"\n volumes:\n - ./halo2:/root/.halo2\n environment:\n # JVM 参数,默认为 -Xmx256m -Xms256m,可以根据实际情况做调整,置空表示不添加 JVM 参数\n - JVM_OPTS=-Xmx1G\n command:\n # 修改为自己已有的 MySQL 配置\n - --spring.r2dbc.url=r2dbc:pool:mysql://localhost:3306/halo\n - --spring.r2dbc.username=root\n - --spring.r2dbc.password=123456\n - --spring.sql.init.platform=mysql\n # 外部访问地址,请根据实际需要修改\n - --halo.external-url=http://192.168.1.5:8090/\n # 端口号 默认8090\n - --server.port=8090\n```\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[3085],{"name":3040,"color":3041},7294,"halo 2.20版本 使用docker-compose以及JAR模式安装,无法正确初始化,总是要求初始化系统","2025-04-22T01:16:48Z","https://github.com/halo-dev/halo/issues/7294",0.7372679,{"description":3092,"labels":3093,"number":3096,"owner":3020,"repository":3021,"state":3031,"title":3097,"updated_at":3098,"url":3099,"score":3100},"### 系统信息\n\n- 外部访问地址: https://cryzy.cn/\r\n- 启动时间: 2023-12-06 21:02\r\n- 版本: 2.11.1\r\n- 构建时间: 2023-12-02 22:53\r\n- Git Commit: 54f77d5\r\n- Java: IBM Semeru Runtime Open Edition / 17.0.9+9\r\n- 数据库: MySQL Community Server - GPL / 8.1.0\r\n- 操作系统: Linux / 3.10.0-1160.102.1.el7.x86_64\r\n- 已激活主题: [Dream](https://github.com/nineya/halo-theme-dream2.0.git)\r\n- 已启动插件:\r\n - [评论组件](https://github.com/halo-dev/plugin-comment-widget)\r\n - [highlight.js 代码高亮](https://github.com/halo-sigs/plugin-highlightjs)\r\n - [Willow Markdown 编辑器](https://github.com/guqing/willow-mde)\r\n - [链接管理](https://github.com/halo-sigs/plugin-links)\r\n - [图库管理](https://github.com/halo-sigs/plugin-photos)\r\n - [对象存储(Amazon S3 协议)](https://github.com/halo-dev/plugin-s3)\r\n - [Sitemap](https://github.com/halo-dev/plugin-sitemap)\r\n - [RSS](https://github.com/halo-dev/plugin-feed)\r\n - [应用市场](https://github.com/halo-dev/plugin-app-store)\r\n - [搜索组件](https://github.com/halo-dev/plugin-search-widget)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 在线站点地址\n\ncryzy.cn\n\n### 发生了什么?\n\n我在2.10.2版本发现评论不可用,点击评论按钮前端和后端都没有任何反应,在后台发现mail报错(日志没留),重启后发现mysql报错,mysql版本5.7(外接的mysql)。上官网重新查看搭建过程,怀疑是mysql版本太低,用官网的compose文件,稍微改了下端口再次部署升级到2.11.1,恢复备份。发现评论组件在页面上弹窗报错(见日志),关闭或者卸载评论组件则正常。\r\nf12查看可知缺少组件\r\n```html\r\n/apis/api.console.halo.run/v1alpha1/users/-\r\n```\r\n```html\r\napis/api.halo.run/v1alpha1/comments?group=content.halo.run&kind=Post&name=975410f6-f5b7-45df-9dda-b4a2e90c8b18&page=1&size=20&version=v1alpha1\r\n``` \r\n\r\n\n\n### 相关日志输出\n\n```shell\n2.10.2版本mysql报错\r\n2023-12-06T10:53:48.958+08:00 WARN 7 --- [tor-tcp-epoll-1] i.a.r.mysql.client.ReactorNettyClient : Connection unexpectedly closed\r\n\r\ndocker compose\r\n\r\nversion: \"3\"\r\n\r\nservices:\r\n halo:\r\n image: halohub/halo:2.11\r\n container_name: halo\r\n restart: on-failure:3\r\n depends_on:\r\n halodb:\r\n condition: service_healthy\r\n networks:\r\n halo_network:\r\n volumes:\r\n - /docker/halo:/root/.halo2\r\n ports:\r\n - \"8090:8090\"\r\n healthcheck:\r\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8090/actuator/health/readiness\"]\r\n interval: 30s\r\n timeout: 5s\r\n retries: 5\r\n start_period: 30s\r\n command:\r\n - --spring.r2dbc.url=r2dbc:pool:mysql://halodb:3306/halo\r\n - --spring.r2dbc.username=root\r\n # MySQL 的密码,请保证与下方 MYSQL_ROOT_PASSWORD 的变量值一致。\r\n - --spring.r2dbc.password=XXXXXXXXXXXXXXXXXX\r\n - --spring.sql.init.platform=mysql\r\n # 外部访问地址,请根据实际需要修改\r\n - --halo.external-url=https://cryzy.cn/\r\n halodb:\r\n image: mysql:8.1.0\r\n container_name: halodb\r\n restart: on-failure:3\r\n# 删除了端口映射\r\n networks:\r\n halo_network:\r\n command: \r\n - --default-authentication-plugin=caching_sha2_password\r\n - --character-set-server=utf8mb4\r\n - --collation-server=utf8mb4_general_ci\r\n - --explicit_defaults_for_timestamp=true\r\n volumes:\r\n - /docker/halo/mysql:/var/lib/mysql\r\n - /docker/halo/mysqlBackup:/data/mysqlBackup\r\n healthcheck:\r\n test: [\"CMD\", \"mysqladmin\", \"ping\", \"-h\", \"127.0.0.1\", \"--silent\"]\r\n interval: 3s\r\n retries: 5\r\n start_period: 30s\r\n environment:\r\n # 请修改此密码,并对应修改上方 Halo 服务的 SPRING_R2DBC_PASSWORD 变量值\r\n - MYSQL_ROOT_PASSWORD=XXXXXXXXXXXXXXXX\r\n - MYSQL_DATABASE=halo\r\n\r\nnetworks:\r\n halo_network:\r\n\r\n\r\n评论组件报错:\r\nNot Found: No static resource 404/api.console.halo.run/v1alpha1/users/-.\r\n\r\nNot Found: No static resource 404/api.halo.run/v1alpha1/comments.\r\n\r\n\r\nhalo 2.11.1日志\n```\n\n\n### 附加信息\n\nhalo 2.11.1日志 \r\n[halo 2.11.1日志.log](https://github.com/halo-dev/halo/files/13583555/halo.2.11.1.log)\r\nhalodb 日志 \r\n[halodb日志.log](https://github.com/halo-dev/halo/files/13583559/halodb.log)\r\n\r\n目前现象依旧,站点地址 cryzy.cn,期望各位大佬能帮忙看看,不胜感激。",[3094],{"name":3095,"color":3041},"kind/support",5005,"评论组件错误","2023-12-06T15:57:16Z","https://github.com/halo-dev/halo/issues/5005",0.7418673,{"description":3102,"labels":3103,"number":3105,"owner":3020,"repository":3021,"state":3031,"title":3106,"updated_at":3107,"url":3108,"score":3109},"### 系统信息\n\nhalo2.10 mysql8\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 在线站点地址\n\n_No response_\n\n### 发生了什么?\n\n发布时,提示如下报错,但是实际上他是发布成功了,但是后台也是有报错信息\r\n\r\n\r\n\n\n### 相关日志输出\n\n```shell\n报错信息见图片。我搭建的该博客中,现存的信息比较多,mysql数据库里有接近三千行信息,不知道是不是数据过多引起的,请问怎样才能避免这种问题\n```\n\n\n### 附加信息\n\n\r\n",[3104],{"name":3095,"color":3041},5086,"发布文章报错,求大佬帮忙看下","2023-12-20T10:38:31Z","https://github.com/halo-dev/halo/issues/5086",0.74315864,{"description":3111,"labels":3112,"number":3114,"owner":3020,"repository":3021,"state":3031,"title":3115,"updated_at":3116,"url":3117,"score":3118},"### System information\n\n- External url: http://localhost:8092/\r\n- Start time: 2024-04-08 14:32\r\n- Version: 2.14.0\r\n- Build time: 2024-04-01 11:15\r\n- Git Commit: ae274db\r\n- Java: IBM Semeru Runtime Open Edition / 21.0.2+13-LTS\r\n- Database: mariadb.org binary distribution / 5.5.5-10.6.17-MariaDB-1:10.6.17+maria~deb11\r\n- Operating system: Linux / 5.10.0-28-amd64\r\n- Activated theme: [Earth](https://github.com/halo-dev/theme-earth.git)\r\n- Enabled plugins: \n\n### What is the project operation method?\n\nDocker Compose\n\n### What happened?\n\n1.6版本正常,同时安装了2.14,只改了端口号。\r\n用2.14版本访问主页返回404,访问console各页面均正常。\r\n[halo2.log](https://github.com/halo-dev/halo/files/14914323/halo2.log)\n\n### Relevant log output\n\n_No response_\n\n### Additional information\n\n_No response_",[3113],{"name":3095,"color":3041},5673,"1.6升级到2.14,可以访问console,不能访问主页","2024-04-09T22:56:11Z","https://github.com/halo-dev/halo/issues/5673",0.7435226,["Reactive",3120],{},["Set"],["ShallowReactive",3123],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fhr6Pkn2f-BPPZ7GEGtjn__6e4Thvox5XZGk492TNORU":-1},"/halo-dev/halo/6288"]