nathank
(Nathan Kershaw)
2025 年9 月 27 日 07:59
132
刚做了这个——它给出了一个有点奇怪的错误,但似乎运行正常:
root@spokes-web-only:/var/www/discourse# bundle exec rake doc_categories:build_sidebar
fatal: detected dubious ownership in repository at ‘/var/www/discourse’
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/discourse
Processing category #21 - Ask the Candidates
⮑ Created 3 sections and 55 links
Processing category #21 - Ask the Candidates
⮑ Created 3 sections and 55 links
这是否正常?
我们是否必须改变与索引主题的交互方式,还是那一切都没有改变?
4 个赞
nat
(Natalie T)
2025 年9 月 27 日 10:36
133
nathank:
是否应该如此?
是的,这是正确的,而且没有其他事情需要做了
nathank:
是否所有内容都未更改?
是的,再次确认。
在不久的将来( ),我们将致力于改进诸如轻松排序、重新排列、更新等功能,或许还会有一个专门的用户界面。我不认为自托管用户还需要做任何手动操作。
3 个赞
Sailor
2025 年9 月 27 日 10:53
134
nat:
我们最近的更新
您能否澄清这适用于哪个插件版本和/或提交?
我正在运行 Discourse 3.6.0.beta1-dev,并且没有显示 Documentation Categories 的可用插件更新,该插件版本为 0.0.1,提交为 ba90a37 。
1 个赞
nat
(Natalie T)
2025 年9 月 27 日 11:45
135
这些更改大约比您看到的更新 7 个提交。
这些更改来自 Discourse 3.6.0.beta1-dev 的同一版本。理想情况下,下次更新 Discourse 本身时,您也应该会获得这些更改。
一般来说,我不建议仅更新插件,而是通过 UI 或 ./launcher rebuild app 使用典型的升级方法。
2 个赞
cmdntd
(cmdntd)
2025 年9 月 30 日 05:03
136
文档菜单(左侧)在最新版本的 discourse (3.6.0.beta2) 中无法显示
您能再检查一下吗?
cmdntd
(cmdntd)
2025 年9 月 30 日 05:31
138
谢谢,这样就可以了:
sudo -E -u discourse bundle exec rake doc_categories:build_sidebar
1 个赞
nat
(Natalie T)
拆分了此话题
2025 年10 月 2 日 09:01
139
大家好,
我尝试现在安装它,但似乎此插件与我们正在使用的 Discourse 版本 3.5.2 不兼容。
您能确认兼容性吗?我收到此错误:
2025年11月5日 06:55
/var/www/discourse/plugins/discourse-doc-categories/lib/doc_categories/initializers/add_category_extensions.rb:19:in `apply': undefined method `register_category_update_param_with_callback' for an instance of Plugin::Instance (NoMethodError)
discourse
2025年11月5日 06:55
** 不兼容的插件 **
discourse
2025年11月5日 06:55
由于插件错误,您无法启动 Discourse
discourse
2025年11月5日 06:55
/var/www/discourse/plugins/discourse-doc-categories
discourse
2025年11月5日 06:55
请尝试移除此插件并重新构建!
nat
(Natalie T)
2025 年11 月 5 日 10:02
141
您需要先更新 Discourse 实例,因为指示的方法仅在新版本中可用。
discourse/discourse:3.5.2 镜像包含此更新代码吗?我正在使用它,并且看到它在 10 小时前已更新。
nat
(Natalie T)
2025 年11 月 5 日 10:11
143
3.5.2 将不兼容。您至少需要 3.6.0.beta1。
1 个赞