安装插件时遇到问题

您好,我想为我的论坛安装 3 个插件。

步骤 1:我在 app.yaml 文件中配置了 GitHub 存储库。

步骤 2:我使用了 rebuild 命令,在命令完成后,我看到了这个提示。

步骤 3:我再次运行了 rebuild 命令,没有出现错误,

但插件并未按预期显示在插件页面上。

可能的原因是什么?


我咨询了 AI,似乎问题可能与数据库有关。它建议运行以下代码——您认为这能解决问题吗?

嘿,你能进入应用程序并检查插件是否确实已被克隆了吗?

例如:

./launcher enter app

# then

ls /var/www/discourse/plugins

你好,Nat

是的,这些插件尚未克隆。你能告诉我如何解决这个问题吗?

root@nc-de1-app:/var/www/discourse# ls /var/www/discourse/plugins
automation  checklist           discourse-bilibili-onebox  discourse-details         discourse-lazy-videos  discourse-math           discourse-presence  docker_manager  poll           styleguide
chat        discourse-adplugin  discourse-calendar         discourse-doc-categories  discourse-local-dates  discourse-narrative-bot  discourse-solved    footnote        spoiler-alert

你能试试吗

# while still in container (./launcher enter app)

# check for issues with the first missing plugin
tail -n 50 /var/www/discourse/log/production.log | grep bilibili

否则,你可以直接重启,看看应用程序是否能自我修复。

./launcher restart app

谢谢你的建议,我重启了应用程序

终于可以了。谢谢你

2 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.