# Support

**URL:** https://meta.discourse.org/c/support/6.md?page=149

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 150

---

## [更新失败，如何使用 --trace 运行](https://meta.discourse.org/t/update-failure-how-to-run-with-trace/330060)

<div class="topic-metadata">

**Author:** [@P\_O](https://meta.discourse.org/u/P_O)\
**回覆:** 1\
**Last updated:** [2024年十月10日 07:01 UTC](https://meta.discourse.org/t/update-failure-how-to-run-with-trace/330060 "2024-10-10T07:01:56Z")

</div>

我的 discourse 无法更新，它提示我运行 --trace，我该如何操作？

---

## [按ID获取群组](https://meta.discourse.org/t/get-group-by-id/330195)

<div class="topic-metadata">

**Author:** [@BrainFried](https://meta.discourse.org/u/BrainFried)\
**回覆:** 0\
**Last updated:** [2024年十月10日 03:55 UTC](https://meta.discourse.org/t/get-group-by-id/330195 "2024-10-10T03:55:47Z")

</div>

我非常好奇移除按 ID 获取群组支持的原因。我在文档中看到它曾经存在过，但现在只有按名称获取群组的选项。 对于一个需要唯一标识符的实体来说，按 ID 搜索功能似乎是最必要的。按 slug 搜索也很有用，但不明白为什么两者都不能提供。 我看到过一个类似的帖子，但没有提供真正的解释。 谢谢

---

## [发帖区有两个按钮？困惑](https://meta.discourse.org/t/double-buttons-in-posting-section-puzzled/329935)

<div class="topic-metadata">

**Author:** [@EnergyInterest](https://meta.discourse.org/u/EnergyInterest)\
**回覆:** 14\
**Last updated:** [2024年十月9日 21:33 UTC](https://meta.discourse.org/t/double-buttons-in-posting-section-puzzled/329935 "2024-10-09T21:33:39Z")

</div>

您好，我是 Discourse 新手，目前正在设置我的论坛。对于大多数问题，我可以参考论坛中较旧的帖子，这很好。但对于这个问题，我没有找到解决方案，并且觉得我的问题相当令人费解。 在我的测试发帖区，有两个用于“回复”和“跟踪”帖子的按钮。它们似乎有相同的作用。为什么会有两个呢？我想禁用其中一个，可以吗？如果我可以选择，我希望移除页面右侧的按钮。 这是一张图片。感谢您的宝贵帮助，祝您有美好的一天！

---

## [需要帮助关于discourse的更新](https://meta.discourse.org/t/need-support-with-discourse-update/330085)

<div class="topic-metadata">

**Author:** [@Habib\_Rashid](https://meta.discourse.org/u/Habib_Rashid)\
**回覆:** 4\
**Last updated:** [2024年十月9日 20:20 UTC](https://meta.discourse.org/t/need-support-with-discourse-update/330085 "2024-10-09T20:20:35Z")

</div>

Hello there, I was doing a discourse update yesterday and when I ran sudo ./launcher rebuild app, but then it hanged and took longer than expected, and I then the session stopped, and when I ran it again it started caus…

---

## [AI 能否自动回复电子邮件](https://meta.discourse.org/t/can-ai-automatically-respond-to-email/329926)

<div class="topic-metadata">

**Author:** [@silvacarl](https://meta.discourse.org/u/silvacarl)\
**回覆:** 3\
**Last updated:** [2024年十月9日 13:34 UTC](https://meta.discourse.org/t/can-ai-automatically-respond-to-email/329926 "2024-10-09T13:34:30Z")

</div>

是否有办法让 AI 助手回复电子邮件？

---

## [多站点设置指南](https://meta.discourse.org/t/guidance-on-multi-site-setup/329986)

<div class="topic-metadata">

**Author:** [@jonathan\_moura\_getit](https://meta.discourse.org/u/jonathan_moura_getit)\
**回覆:** 0\
**Last updated:** [2024年十月9日 00:00 UTC](https://meta.discourse.org/t/guidance-on-multi-site-setup/329986 "2024-10-09T00:00:18Z")

</div>

大家好！ 我一直在努力设置一个多站点 Discourse 实例，虽然取得了一些进展，但遇到了一些障碍，非常需要有人指导。我已经阅读了 使用 Docker 进行多站点配置 指南，但仍有一些问题： 我在哪里可以找到提到的“multisite.yml”文件？我在我的 discourse/templates 文件夹中没有看到它。 即使我只使用标准卷而不是专用数据库，是否也需要设置 after\_postgres 的钩子？ 是否有简单的 ap…

---

## [403 禁止访问 - 发布主题时](https://meta.discourse.org/t/403-forbidden-while-posting-topic/329640)

<div class="topic-metadata">

**Author:** [@Aditya\_Shevle](https://meta.discourse.org/u/Aditya_Shevle)\
**回覆:** 5\
**Last updated:** [2024年十月9日 12:37 UTC](https://meta.discourse.org/t/403-forbidden-while-posting-topic/329640 "2024-10-09T12:37:23Z")

</div>

大家好， 我在尝试发帖时遇到了一些问题。我一直收到“403 Forbidden”错误，并且还提示我的草稿处于离线状态。我附上了一张截图供您参考。 有人能帮我解决这个问题吗？ 谢谢！

---

## [活动摘要邮件文本中缺少空格字符](https://meta.discourse.org/t/missing-space-characters-in-activity-summary-email-text/324245)

<div class="topic-metadata">

**Author:** [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**回覆:** 13\
**Last updated:** [2024年十月9日 11:41 UTC](https://meta.discourse.org/t/missing-space-characters-in-activity-summary-email-text/324245 "2024-10-09T11:41:05Z")

</div>

我刚给自己发送了一些预览摘要，因为我通常不会收到它们。 我注意到电子邮件中的标题和文本有一些随机但一致的空格字符丢失。这些空格在论坛内容中并未丢失，但在多个生成的预览摘要中却持续丢失，在各种电子邮件客户端中查看时都是如此。 我尝试删除并重新添加原始空格，但无效。 摘录： 我查看了从其他 Discourse 论坛收到的摘要，没有在其他地方看到这种情况。 有人遇到过这种情况吗？或者知道这是怎么回事吗？

---

## [更新卡住了吗？](https://meta.discourse.org/t/update-stuck/329677)

<div class="topic-metadata">

**Author:** [@RogerK](https://meta.discourse.org/u/RogerK)\
**回覆:** 10\
**Last updated:** [2024年十月9日 08:51 UTC](https://meta.discourse.org/t/update-stuck/329677 "2024-10-09T08:51:23Z")

</div>

您好，我正在通过 Web 界面更新我的自托管 Discourse 实例，但似乎卡住了？已经一个多小时了，我无法访问该网站？CPU 和磁盘使用率已达峰值。 有什么办法可以解决这个问题吗？

---

## [“最后出现时间”、“劫持主题时间”和“跟踪访问”仍在90秒后运行](https://meta.discourse.org/t/updating-last-seen-and-hijack-topics-timings-and-track-visit-is-still-running-after-90-seconds/112757)

<div class="topic-metadata">

**Author:** [@Dmitry\_Krasnoperov](https://meta.discourse.org/u/Dmitry_Krasnoperov)\
**回覆:** 11\
**Last updated:** [2024年十月9日 08:45 UTC](https://meta.discourse.org/t/updating-last-seen-and-hijack-topics-timings-and-track-visit-is-still-running-after-90-seconds/112757 "2024-10-09T08:45:58Z")

</div>

I’ve got the problem. Several time a day my forum goes in situation where all updates process are delayed. 'Updating Last Seen' is still running after 90 seconds on db default, this process may need to be restarted! /v…

---

## [移除话题底部的“置顶”按钮](https://meta.discourse.org/t/remove-pinned-button-at-bottom-of-topic/330040)

<div class="topic-metadata">

**Author:** [@EnergyInterest](https://meta.discourse.org/u/EnergyInterest)\
**回覆:** 2\
**Last updated:** [2024年十月9日 08:26 UTC](https://meta.discourse.org/t/remove-pinned-button-at-bottom-of-topic/330040 "2024-10-09T08:26:26Z")

</div>

您好，有没有办法移除主题底部的“置顶”按钮？

---

## [升级到 v3.4.0.beta3-dev 后，Discourse 界面无法启动](https://meta.discourse.org/t/discourse-interface-dont-start-after-upgrading-to-v3-4-0-beta3-dev/329952)

<div class="topic-metadata">

**Author:** [@Hilario](https://meta.discourse.org/u/Hilario)\
**回覆:** 4\
**Last updated:** [2024年十月9日 07:09 UTC](https://meta.discourse.org/t/discourse-interface-dont-start-after-upgrading-to-v3-4-0-beta3-dev/329952 "2024-10-09T07:09:34Z")

</div>

为了能够升级到 3.4.0，我不得不将 docker 升级到 20.0.7，为此，我不得不将 Ubuntu 升级到 20.04 现在所有东西都已升级，控制台上没有明显的错误消息。 当我从匿名 Windows 启动 discourse 时，我会看到登录窗口 当我输入我的身份验证信息时，似乎我要登录了，但屏幕仍然是下一个图像。 我尝试了不同的浏览器（firefox、brave），但问题是一样的。一旦我输入登录信息，我的会话…

---

## [如何将"topics"模块设置为网站的主页？](https://meta.discourse.org/t/how-to-use-the-topics-module-as-the-homepage-of-the-website/330004)

<div class="topic-metadata">

**Author:** [@Elena](https://meta.discourse.org/u/Elena)\
**回覆:** 3\
**Last updated:** [2024年十月9日 06:20 UTC](https://meta.discourse.org/t/how-to-use-the-topics-module-as-the-homepage-of-the-website/330004 "2024-10-09T06:20:07Z")

</div>

当我进入网站时，首先，“所有类别”模块是主页，如何将“主题”模块设置为主页？

---

## [手机浏览无法使用快速搜索](https://meta.discourse.org/t/quick-search-not-available-on-phone-view/329773)

<div class="topic-metadata">

**Author:** [@Hongshen\_Yang](https://meta.discourse.org/u/Hongshen_Yang)\
**回覆:** 4\
**Last updated:** [2024年十月9日 02:25 UTC](https://meta.discourse.org/t/quick-search-not-available-on-phone-view/329773 "2024-10-09T02:25:57Z")

</div>

可搜索的 Users Field 仅在 quick search 中可用，而 quick search 仅在桌面视图中可用，不在手机视图中可用。 这意味着，您无法在手机上搜索 Users Field，对吗？

---

## [未声明的枚举'sync\_type'的属性类型。枚举必须由数据库列支持，或通过\`attribute\`显式声明类型](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-sync-type-enums-must-be-backed-by-a-database-column-or-declared-with-an-explicit-type-via-attribute/326714)

<div class="topic-metadata">

**Author:** [@jeffbyrnes](https://meta.discourse.org/u/jeffbyrnes)\
**回覆:** 7\
**Last updated:** [2024年十月8日 23:14 UTC](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-sync-type-enums-must-be-backed-by-a-database-column-or-declared-with-an-explicit-type-via-attribute/326714 "2024-10-08T23:14:38Z")

</div>

Hey folks, I recently tried to rebuild my Discourse container after the web UI update functionality failed, and ran into this error: Undeclared attribute type for enum 'sync\_type'. Enums must be backed by a database col…

---

## [如何为代码块添加行号？](https://meta.discourse.org/t/how-to-add-line-numbers-to-code-blocks/329970)

<div class="topic-metadata">

**Author:** [@jmsachs](https://meta.discourse.org/u/jmsachs)\
**回覆:** 8\
**Last updated:** [2024年十月8日 23:09 UTC](https://meta.discourse.org/t/how-to-add-line-numbers-to-code-blocks/329970 "2024-10-08T23:09:32Z")

</div>

我在 2021 年找到了这篇帖子 https://meta.discourse.org/t/is-it-possible-to-show-line-numbers-in-code-block/204178，但不知道如何应用。\\n\\n- Discourse 是否内置了此选项？如果是，我该如何在 Markdown 中指定？\\n- 如果它不是 Discourse 内置的而是插件，那么关于此插件的信息在哪里？

---

## [未收到冠军徽章](https://meta.discourse.org/t/not-receiving-champion-badge/329964)

<div class="topic-metadata">

**Author:** [@bob\_the\_tomato](https://meta.discourse.org/u/bob_the_tomato)\
**回覆:** 5\
**Last updated:** [2024年十月8日 22:15 UTC](https://meta.discourse.org/t/not-receiving-champion-badge/329964 "2024-10-08T22:15:52Z")

</div>

Trainguy 已根据要求被暂停，所以这可能有关联？ 他们都接受了我的邀请。

---

## [如何在投票在线时更改它（而不丢失数据）](https://meta.discourse.org/t/how-to-change-a-poll-while-it-is-live-without-losing-the-data/251986)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 5\
**Last updated:** [2024年十月8日 22:05 UTC](https://meta.discourse.org/t/how-to-change-a-poll-while-it-is-live-without-losing-the-data/251986 "2024-10-08T22:05:02Z")

</div>

我发现当用户开始创建投票时，他们会犯各种错误，而这些错误往往在投票进行到一半时才被发现。 不幸的是，对投票进行任何编辑都会导致投票数据被清除。这对于投票的完整性来说是可以理解的，但有时对于用户来说，一个简单的调整就能解决一个大问题，却会带来非常不好的后果。 然而，这可以通过 rails 控制台来完成。修改一个正在进行的投票可以改变投票的行为，同时保留数据，但 markdown 不会被触及。我不确定重新烘焙帖子时会发生什么，但怀疑投票…

---

## [修改按钮的文案](https://meta.discourse.org/t/modify-the-copy-of-a-button/329960)

<div class="topic-metadata">

**Author:** [@cristo](https://meta.discourse.org/u/cristo)\
**回覆:** 2\
**Last updated:** [2024年十月8日 21:56 UTC](https://meta.discourse.org/t/modify-the-copy-of-a-button/329960 "2024-10-08T21:56:14Z")

</div>

你好！ 我需要修改此按钮的文案（请参见附件图片）。具体来说，我希望此按钮的文案是“+ 创建帖子”（而不是“+ 创建主题”）。 有人知道如何做到这一点吗？非常感谢！

---

## [带有SSO的二级电子邮件](https://meta.discourse.org/t/secondary-emails-with-sso/92922)

<div class="topic-metadata">

**Author:** [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**回覆:** 7\
**Last updated:** [2024年十月8日 18:26 UTC](https://meta.discourse.org/t/secondary-emails-with-sso/92922 "2024-10-08T18:26:15Z")

</div>

How can I send the Secondary Emails with the SSO callback? I’m using this PHP library: https://github.com/cviebrock/discourse-php

---

## [在ONE API POST调用中是否可以创建新类别并设置权限？](https://meta.discourse.org/t/creating-new-category-and-setup-permission-in-one-api-post-call-possible/329903)

<div class="topic-metadata">

**Author:** [@Denis\_Didkovsky](https://meta.discourse.org/u/Denis_Didkovsky)\
**回覆:** 0\
**Last updated:** [2024年十月8日 16:46 UTC](https://meta.discourse.org/t/creating-new-category-and-setup-permission-in-one-api-post-call-possible/329903 "2024-10-08T16:46:42Z")

</div>

是否可以在一次 API POST 调用中创建新类别并设置权限？ 或者是否需要后续的 PUT 调用来设置权限？ 我查看了 API 逆向工程主题，并尝试设置一个调用来遵循手动创建类别时发出的 POST 调用（浏览器负载：payload = {“name”:“workspaces1”,“color”:“0088CC”,“text\_color”:“FFFFFF”,“permissions”:{“everyone”:1},“allow\_bad…

---

## [我为什么可以更换AI角色的模型吗？还是不能？](https://meta.discourse.org/t/why-can-i-change-the-model-of-ai-persona-or-can-t-i/329837)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 2\
**Last updated:** [2024年十月8日 14:34 UTC](https://meta.discourse.org/t/why-can-i-change-the-model-of-ai-persona-or-can-t-i/329837 "2024-10-08T14:34:32Z")

</div>

这个： Deeku 是一个 AI 角色，o1-mini 是 OpenAI 的一个模型。但为什么那个模型是可见且可更改的？这样做的目的是让我无论在角色上配置了什么都可以更改模型吗？当它是那样的时候，是否意味着 Deeku 会使用 o1-mini，即使它应该使用 gpt4o？因为当我更改角色时，那个角色不会改变。

---

## [审核帖子之前——拥有用户名单](https://meta.discourse.org/t/reviewing-posts-before-approval-having-a-list-of-users/329847)

<div class="topic-metadata">

**Author:** [@Deads](https://meta.discourse.org/u/Deads)\
**回覆:** 2\
**Last updated:** [2024年十月8日 11:12 UTC](https://meta.discourse.org/t/reviewing-posts-before-approval-having-a-list-of-users/329847 "2024-10-08T11:12:10Z")

</div>

大家好： 想知道是否可以添加特定用户到一个列表，当列表中的任何用户尝试发帖时，他们的帖子都必须先经过手动批准？

---

## [如何在 Discourse 中移除 AI 功能](https://meta.discourse.org/t/how-to-remove-ai-features-in-discourse/329843)

<div class="topic-metadata">

**Author:** [@hellekin](https://meta.discourse.org/u/hellekin)\
**回覆:** 2\
**Last updated:** [2024年十月8日 10:38 UTC](https://meta.discourse.org/t/how-to-remove-ai-features-in-discourse/329843 "2024-10-08T10:38:31Z")

</div>

继续讨论 3.4.0.beta2：更好的页面浏览量指标、多个类别版主组、关注聊天主题等： 您好，我想知道是否可以移除 Discourse 中的所有 AI 功能。出于保密原因，我们不希望在论坛中使用任何第三方内容。此外，我们不喜欢这些功能带来的额外能耗。

---

## [用户无法将话题页面添加到手机屏幕（打开话题时）](https://meta.discourse.org/t/users-cannot-add-topic-pages-to-the-mobile-screen-when-opening-a-topic/329827)

<div class="topic-metadata">

**Author:** [@hoangviet](https://meta.discourse.org/u/hoangviet)\
**回覆:** 3\
**Last updated:** [2024年十月8日 09:11 UTC](https://meta.discourse.org/t/users-cannot-add-topic-pages-to-the-mobile-screen-when-opening-a-topic/329827 "2024-10-08T09:11:06Z")

</div>

用户无法将主题页面添加到移动屏幕（打开主题时）。点击屏幕上的“添加”时，只能添加主页。 希望 Discourse 社区能指导我如何解决这个问题。 在图片中，两个选项都将主页添加到移动屏幕。用户没有将主题添加到移动屏幕

---

## [类别和子类别下拉菜单？](https://meta.discourse.org/t/categories-and-subcategories-drop-down-menu/329769)

<div class="topic-metadata">

**Author:** [@Aurora](https://meta.discourse.org/u/Aurora)\
**回覆:** 1\
**Last updated:** [2024年十月8日 06:26 UTC](https://meta.discourse.org/t/categories-and-subcategories-drop-down-menu/329769 "2024-10-08T06:26:45Z")

</div>

我不知道该如何解释，但能否在这里显示类别和子类别？ 论坛。

---

## [在Discourse托管论坛中导出用户的自定义字段](https://meta.discourse.org/t/export-custom-field-for-users-in-discourse-hosted-forum/329647)

<div class="topic-metadata">

**Author:** [@haikueden](https://meta.discourse.org/u/haikueden)\
**回覆:** 1\
**Last updated:** [2024年十月7日 15:38 UTC](https://meta.discourse.org/t/export-custom-field-for-users-in-discourse-hosted-forum/329647 "2024-10-07T15:38:40Z")

</div>

我们有一个由 Discourse 托管的论坛。我想导出用户配置文件的自定义字段，因为其中一个字段是我们设置为在用于赠品信息的配置文件中隐藏的。 那个每月需要 300 美元的“数据导出器”是唯一的方法吗？:crying\_cat:

---

## [关于设置中的“管理员电子邮件”的问题](https://meta.discourse.org/t/question-about-admin-email-in-setup/329768)

<div class="topic-metadata">

**Author:** [@tpglitch](https://meta.discourse.org/u/tpglitch)\
**回覆:** 2\
**Last updated:** [2024年十月7日 21:32 UTC](https://meta.discourse.org/t/question-about-admin-email-in-setup/329768 "2024-10-07T21:32:32Z")

</div>

我大约一年前运行过设置，但如何为管理员更改它？我会重新运行 discourse-setup 并在用户首选项中更改它，还是将如何操作？

---

## [如何让人工智能概要仅对特定用户群体可用](https://meta.discourse.org/t/how-to-make-ai-summaries-available-to-specific-user-groups-only/309703)

<div class="topic-metadata">

**Author:** [@Truest](https://meta.discourse.org/u/Truest)\
**回覆:** 3\
**Last updated:** [2024年十月7日 18:10 UTC](https://meta.discourse.org/t/how-to-make-ai-summaries-available-to-specific-user-groups-only/309703 "2024-10-07T18:10:32Z")

</div>

如何使 AI 摘要仅对特定用户群可用

---

## [最近迁移到discourse导致用户名发生了变化！](https://meta.discourse.org/t/recent-migration-to-discourse-caused-usernames-to-change/329067)

<div class="topic-metadata">

**Author:** [@hmmmnotsure](https://meta.discourse.org/u/hmmmnotsure)\
**回覆:** 11\
**Last updated:** [2024年十月7日 17:15 UTC](https://meta.discourse.org/t/recent-migration-to-discourse-caused-usernames-to-change/329067 "2024-10-07T17:15:53Z")

</div>

我最近将一个网站迁移到了 Discourse。我没有意识到的是，许多用户的用户名都已更改，并且新的用户名似乎使用了他们电子邮件地址的一部分。我以前迁移时从未见过用户名更改。如何恢复此设置？

[上一頁](https://meta.discourse.org/c/support/6.md?page=148)

[下一頁](https://meta.discourse.org/c/support/6.md?page=150)
