原因是什么?这导致该单元出现错误。
您禁用了 enable_badges 站点设置吗?
无此可用选项
您能否尝试在“管理 > 所有站点设置”中搜索 enable badges?该设置是否已勾选?如果没有,请勾选并保存。
这个主题是否与现有的主题 Discourse badges error? 重复?
您能尝试进入安全模式并勾选所有选项吗?之后设置是否显示?之后徽章页面是否正常工作?
谢谢。
Badges Error launching - #10 by cshll 中的图片是否显示了网站安装后的初始状态?这是定制版本还是其他情况?因为它看起来与通过克隆 https://github.com/discourse/discourse_docker.git 安装后的初始状态不同,例如“文档”部分和“周年纪念日”部分。不过,我也无法排除这些部分是在安装后手动添加的可能性。
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
- "templates/web.china.template.yml"
expose:
- "8001:80"
params:
db_shared_buffers: "256MB"
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
UNICORN_WORKERS: 4
DISCOURSE_HOSTNAME: www.910500.xyz
DISCOURSE_DEVELOPER_EMAILS: c135860@outlook.com
DISCOURSE_SMTP_ADDRESS:
DISCOURSE_SMTP_PORT:
DISCOURSE_SMTP_USER_NAME: work@sv1.910500.xyz
DISCOURSE_SMTP_PASSWORD: ""
DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
# ✅ 唯一存储卷 → 指向你的 U 盘路径
volumes:
- volume:
host: /mnt/usbntfs/discoursed/shared/standalone
guest: /shared
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-animated-avatars.git
- git clone https://gh-proxy.com/https://github.com/discourse/docker_manager.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-saved-searches.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-category-experts.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-follow.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-yearly-review.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-doc-categories.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-signatures.git
- git clone https://gh-proxy.com/https://github.com/scavin/discourse-bilibili-onebox.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-livestream.git
- git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-journal.git
- git clone https://gh-proxy.com/https://github.com/angusmcleod/discourse-events.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bcc.git
- git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-tickets.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-surveys.git
- git clone https://gh-proxy.com/https://github.com/maiizii/discourse-choujiang.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-user-card-badges.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-video.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-translator.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-theme-creator.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-by-group.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-topic-user-device.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-sketchup-3dwh-onebox.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-solved-reminders-plugin.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-shared-edits.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-route-blocker.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-newsletter-integration.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-logster-transporter.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-just-chat.git
- git clone https://github.com/discourse/discourse-group-category-banner-ads.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-deprecation-collector.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-docs.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-code-review.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-chart.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-browser-history.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode-color.git
- git clone https://gh-proxy.com/https://github.com/spirobel/discourse-matheditor.git
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
- "templates/web.china.template.yml"
expose:
- "8001:80"
params:
db_shared_buffers: "256MB"
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
UNICORN_WORKERS: 4
DISCOURSE_HOSTNAME: www.910500.xyz
DISCOURSE_DEVELOPER_EMAILS: c135860@outlook.com
DISCOURSE_SMTP_ADDRESS:
DISCOURSE_SMTP_PORT:
DISCOURSE_SMTP_USER_NAME: work@sv1.910500.xyz
DISCOURSE_SMTP_PASSWORD: ""
DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
# ✅ 唯一存储卷 → 指向你的 U 盘 路径
volumes:
- volume:
host: /mnt/usbntfs/discoursed/shared/standalone
guest: /shared
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-animated-avatars.git
- git clone https://gh-proxy.com/https://github.com/discourse/docker_manager.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-saved-searches.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-category-experts.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-follow.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-yearly-review.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-doc-categories.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-signatures.git
- git clone https://gh-proxy.com/https://github.com/scavin/discourse-bilibili-onebox.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-livestream.git
- git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-journal.git
- git clone https://gh-proxy.com/https://github.com/angusmcleod/discourse-events.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bcc.git
- git clone https://gh-proxy.com/https://github.com/paviliondev/discourse-tickets.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-surveys.git
- git clone https://gh-proxy.com/https://github.com/maiizii/discourse-choujiang.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-user-card-badges.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-video.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-translator.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-theme-creator.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-by-group.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-tag-topic-user-device.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-sketchup-3dwh-onebox.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-solved-reminders-plugin.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-shared-edits.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-route-blocker.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-newsletter-integration.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-logster-transporter.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-just-chat.git
- git clone https://github.com/discourse/discourse-group-category-banner-ads.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-deprecation-collector.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-docs.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-code-review.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-chart.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-browser-history.git
- git clone https://gh-proxy.com/https://github.com/discourse/discourse-bbcode-color.git
- git clone https://gh-proxy.com/https://github.com/spirobel/discourse-matheditor.git
你安装的插件太多了,尤其是那些不受支持或非官方的插件。请全部移除它们,先让论坛恢复正常运行,然后再逐一添加重要的插件。
你没有配置 SMTP 端口。我认为没有它,邮件功能无法正常工作。
你的数据卷是否运行在 NTFS 格式的 USB 驱动器上?这将降低数据库的性能和稳定性。
那个指向 GitHub 且未使用代理的插件,在(推测)有防火墙的环境中可能会失败,如果你需要通过 gh-proxy 才能加载它的话。
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
这是开发环境安装吗?你是否故意绕过了 SSL 证书验证?
至少是那个,正如Lilly所说,可能你还有其他太多。先试那个,然后开始逐个移除其他非官方的,直到它再次正常工作,这样你就知道问题出在哪里了。
似乎还是不行,到底会是什么原因?我已经试过了
您是否按照建议尝试了安全模式?如果在该模式下能正常工作,则说明问题出在主题组件或插件上。
请先尝试此方法。
仍然没有,我已经尝试过了,并且关闭了全部插件





