# Latest

**URL:** https://meta.discourse.org/latest.md?f=tracked&page=367

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

**Page:** 368

---

## [更新失败，如何使用 --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，我该如何操作？

---

## [触发版主注意而不是自动隐藏标记](https://meta.discourse.org/t/trigger-moderator-attention-instead-of-auto-hiding-flag/330128)

<div class="topic-metadata">

**Author:** [@hellekin](https://meta.discourse.org/u/hellekin)\
**回覆:** 8\
**Last updated:** [2024年十月10日 04:40 UTC](https://meta.discourse.org/t/trigger-moderator-attention-instead-of-auto-hiding-flag/330128 "2024-10-10T04:40:55Z")

</div>

然而，有时标记消息的目的不是为了压制帖子或主题，而仅仅是为了引起版主注意。但是，如果标记者是 TL3 或更高级别用户，并且设置允许，那么该用户所做的 任何标记 都会自动隐藏被标记的内容。 有时，仅仅引起版主注意可能很有用：例如，你读到一篇让你 感觉不对劲 的帖子，或者你怀疑发帖人是傀儡账号、AI、网络巨魔或其他不受欢迎的角色。在这种情况下，你不想引起发帖人的注意，只想让版主介入调查。 对标记功能进行这样的补充将能够实现更温和的标记…

---

## [按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 搜索也很有用，但不明白为什么两者都不能提供。 我看到过一个类似的帖子，但没有提供真正的解释。 谢谢

---

## [用于更新Discourses的Ansible剧本](https://meta.discourse.org/t/ansible-playbook-for-updating-discourses/119268)

<div class="topic-metadata">

**Author:** [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**回覆:** 16\
**Last updated:** [2024年十月10日 02:50 UTC](https://meta.discourse.org/t/ansible-playbook-for-updating-discourses/119268 "2024-10-10T02:50:45Z")

</div>

Hi Meta, While there seem to be a few playbooks around for provisioning Discourse, there didn’t seem to be any for doing updates/upgrades, so in response to my own personal need I’ve created one. https://github.com/pac…

---

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

---

## [开发者请求](https://meta.discourse.org/t/developer-request/330149)

<div class="topic-metadata">

**Author:** [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)\
**回覆:** 3\
**Last updated:** [2024年十月9日 21:23 UTC](https://meta.discourse.org/t/developer-request/330149 "2024-10-09T21:23:33Z")

</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…

---

## [给我的论坛发邮件吗？](https://meta.discourse.org/t/email-my-forum/329765)

<div class="topic-metadata">

**Author:** [@silvacarl](https://meta.discourse.org/u/silvacarl)\
**回覆:** 6\
**Last updated:** [2024年十月9日 14:16 UTC](https://meta.discourse.org/t/email-my-forum/329765 "2024-10-09T14:16:53Z")

</div>

所以我们有一个问题。既然你们的人工智能如此出色，如果有人想在我们的论坛上提问，他们可以通过电子邮件发送给论坛，然后由人工智能机器人通过电子邮件回复答案，那将是一件非常有趣的事情。 想法？

---

## [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 论坛收到的摘要，没有在其他地方看到这种情况。 有人遇到过这种情况吗？或者知道这是怎么回事吗？

---

## [新定制首页，返回论坛URL](https://meta.discourse.org/t/new-custom-homepage-back-to-forum-url/329863)

<div class="topic-metadata">

**Author:** [@paulswithers](https://meta.discourse.org/u/paulswithers)\
**回覆:** 5\
**Last updated:** [2024年十月9日 11:38 UTC](https://meta.discourse.org/t/new-custom-homepage-back-to-forum-url/329863 "2024-10-09T11:38:02Z")

</div>

我遇到了新的自定义主页，它在添加新页面方面效果很好。但是，从管理员页面返回的“返回论坛”链接会在 URL 末尾添加“/custom”。这可能是因为它没有添加到 Rails 路由中，刷新页面会返回可怕的“哎呀！该页面不存在或已设为私有。”消息。 有什么办法可以解决这个问题吗？ 我们还计划使用 Doc Categories 插件，就像本网站上的“文档”类别一样。这意味着很多用户也会有“返回论坛”按钮。 最坏的情况下，我可能可以在主题组…

---

## [更新卡住了吗？](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/do-you-use-ai-summaries/293843)

<div class="topic-metadata">

**Author:** [@Saif](https://meta.discourse.org/u/Saif)\
**回覆:** 9\
**Last updated:** [2024年十月9日 03:03 UTC](https://meta.discourse.org/t/do-you-use-ai-summaries/293843 "2024-10-09T03:03:40Z")

</div>

:information\_source: 背景 AI摘要已经推出一段时间了。我们已经收到了一些早期反馈，但想重新审视这个讨论。在我们考虑投资于AI摘要的进一步开发时，我想了解用户反馈，首先从我们Meta内部开始。 您在这里和您的社区中使用AI摘要吗？ poll :speaking\_head: 反馈 请畅所欲言，坦诚相告。我想了解的一些指导性问题…… 您使用它的频率如何？ 生成的摘要有多大用处？您觉得它与您阅读的内容准确吗？ 您觉得…

---

## [手机浏览无法使用快速搜索](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，对吗？

---

## [插件显示 HasCustomFields::NotPreloadedError](https://meta.discourse.org/t/the-plugin-shows-hascustomfields-notpreloadederror/329999)

<div class="topic-metadata">

**Author:** [@zhanfeng](https://meta.discourse.org/u/zhanfeng)\
**回覆:** 0\
**Last updated:** [2024年十月9日 02:10 UTC](https://meta.discourse.org/t/the-plugin-shows-hascustomfields-notpreloadederror/329999 "2024-10-09T02:10:36Z")

</div>

代码： field = 'video\_url' register\_post\_custom\_field\_type(field, :string) register\_topic\_custom\_field\_type(field, :string) add\_preloaded\_topic\_list\_custom\_field(field) add\_to\_serializer(:topic\_list\_item, field.to\_sym) { …

---

## [未声明的枚举'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>

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

---

## [调整头像](https://meta.discourse.org/t/adjusting-profile-pictures/329944)

<div class="topic-metadata">

**Author:** [@bob\_the\_tomato](https://meta.discourse.org/u/bob_the_tomato)\
**回覆:** 2\
**Last updated:** [2024年十月8日 21:21 UTC](https://meta.discourse.org/t/adjusting-profile-pictures/329944 "2024-10-08T21:21:26Z")

</div>

所以，自定义头像功能很棒，但也不是最好的。 我更希望有一个小界面，可以让你通过移动、缩放来调整头像，就像 discord 上展示的那样。 这个可以成为一个功能吗？

---

## [带有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

---

## [Discourse 主题设计成像 Skool](https://meta.discourse.org/t/discourse-theme-to-look-like-skool/326653)

<div class="topic-metadata">

**Author:** [@ludwikc](https://meta.discourse.org/u/ludwikc)\
**回覆:** 15\
**Last updated:** [2024年十月8日 18:00 UTC](https://meta.discourse.org/t/discourse-theme-to-look-like-skool/326653 "2024-10-08T18:00:19Z")

</div>

您想做什么？ 自定义 Discourse 主题，重现 Skool.com 的外观和感觉，因为他们的设计鼓励讨论并突出了游戏化功能 您何时需要完成？ 不着急。 您愿意为这项任务提供多少美元预算？ 不知道合适的价格，但我愿意赞助，只要它是开源的并且对所有人免费。 让我们公开讨论实现的细节——但如果您没有任何问题，只想直接开始，请随时给我发送私信。

---

## [在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…

[上一頁](https://meta.discourse.org/latest.md?f=tracked&page=366)

[下一頁](https://meta.discourse.org/latest.md?f=tracked&page=368)
