# Latest

**URL:** https://meta.discourse.org/latest.md?page=881&period=day

[最新](https://meta.discourse.org/latest.md) · [类别](https://meta.discourse.org/categories.md) · [标签](https://meta.discourse.org/tags.md)

**Page:** 882

---

## [如何添加第二个域名？](https://meta.discourse.org/t/how-to-add-a-second-domain-name/109371)

<div class="topic-metadata">

**Author:** [@Tommy\_Trojan](https://meta.discourse.org/u/Tommy_Trojan)\
**回复:** 5\
**最近更新：:** [2019 年2 月 17 日 21:32 UTC](https://meta.discourse.org/t/how-to-add-a-second-domain-name/109371 "2019-02-17T21:32:25Z")

</div>

您好，我想了解如何让第二个域名指向同一个实例？ 我已经设置了一个 Discourse 实例，域名为 https://firstdomain。出于某些原因，我需要设置第二个域名 https://sec…

---

## [后台工作程序失败](https://meta.discourse.org/t/failed-background-worker/220808)

<div class="topic-metadata">

**Author:** [@Justman10000](https://meta.discourse.org/u/Justman10000)\
**回复:** 4\
**最近更新：:** [2022 年3 月 13 日 01:15 UTC](https://meta.discourse.org/t/failed-background-worker/220808 "2022-03-13T01:15:23Z")

</div>

你好，我想设置 Discourse，但在安装结束时我遇到了这个：

---

## [恢复错误：无法创建唯一索引](https://meta.discourse.org/t/error-on-restore-could-not-create-unique-index/220816)

<div class="topic-metadata">

**Author:** [@slackmoehrle](https://meta.discourse.org/u/slackmoehrle)\
**回复:** 1\
**最近更新：:** [2022 年3 月 12 日 22:01 UTC](https://meta.discourse.org/t/error-on-restore-could-not-create-unique-index/220816 "2022-03-12T22:01:07Z")

</div>

我正在将我们的社区迁移到新的提供商。 CREATE INDEX CREATE INDEX 错误：无法创建唯一索引“index\_incoming\_referers\_on\_path\_and\_incoming\_domain\_id” 详细信息：键（path, incoming\_domain\_id）=(/m/search, 9…

---

## [寻找 Cloudflare 最新教程](https://meta.discourse.org/t/looking-for-a-recent-cloudflare-how-to-guide/220813)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回复:** 0\
**最近更新：:** [2022 年3 月 12 日 20:59 UTC](https://meta.discourse.org/t/looking-for-a-recent-cloudflare-how-to-guide/220813 "2022-03-12T20:59:31Z")

</div>

我一直在阅读这里关于 Cloudflare 的各种主题，但似乎找不到最新的/完整的“操作指南”。 例如，这个主题已经有四年多的历史了： 是否有更近期的指南？ 我的 Discourse…

---

## [Rebake 出现错误消息并中止](https://meta.discourse.org/t/rebake-aborts-with-error-message/220803)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 4\
**最近更新：:** [2022 年3 月 12 日 17:50 UTC](https://meta.discourse.org/t/rebake-aborts-with-error-message/220803 "2022-03-12T17:50:29Z")

</div>

你好！ 当我尝试使用 rake 任务重新烘焙帖子时，它有时会因为以下消息而停止： 168858 / 329447 ( 51.3%)警告：由于另一个服务器进程崩溃而终止连接详细信息：主进程已 com…

---

## [我们的网站突然无法加载](https://meta.discourse.org/t/our-site-is-suddenly-not-loading/220743)

<div class="topic-metadata">

**Author:** [@AndrewJeong](https://meta.discourse.org/u/AndrewJeong)\
**回复:** 9\
**最近更新：:** [2022 年3 月 12 日 16:43 UTC](https://meta.discourse.org/t/our-site-is-suddenly-not-loading/220743 "2022-03-12T16:43:05Z")

</div>

我们的网站目前正在使用 discourse 的 14 天免费套餐。 我之前使用得很好，但在我的桌面上无法正常访问。 （在手机上可以正常访问） 其他用户也遇到了同样的问题。请帮忙解决。

---

## [反馈表单/报告错误](https://meta.discourse.org/t/feedback-form-reporting-bugs/109365)

<div class="topic-metadata">

**Author:** [@Biscuit](https://meta.discourse.org/u/Biscuit)\
**回复:** 4\
**最近更新：:** [2022 年3 月 12 日 10:49 UTC](https://meta.discourse.org/t/feedback-form-reporting-bugs/109365 "2022-03-12T10:49:13Z")

</div>

大家好，\\n是否有人在自己的论坛中添加了“错误或问题日志”表单，并将提交的信息发送到电子邮件地址？我想知道该如何实现这一功能。

---

## [在AWS Linux上安装后论坛无法加载](https://meta.discourse.org/t/forum-doesnt-load-after-installing-on-aws-linux/220715)

<div class="topic-metadata">

**Author:** [@AusAvia](https://meta.discourse.org/u/AusAvia)\
**回复:** 17\
**最近更新：:** [2022 年3 月 12 日 05:08 UTC](https://meta.discourse.org/t/forum-doesnt-load-after-installing-on-aws-linux/220715 "2022-03-12T05:08:17Z")

</div>

通过在 AWS 上安装 Ubuntu 解决了该问题

---

## [新主机上构建失败](https://meta.discourse.org/t/build-fails-on-new-host/220755)

<div class="topic-metadata">

**Author:** [@Samir\_Faci](https://meta.discourse.org/u/Samir_Faci)\
**回复:** 3\
**最近更新：:** [2022 年3 月 12 日 03:09 UTC](https://meta.discourse.org/t/build-fails-on-new-host/220755 "2022-03-12T03:09:18Z")

</div>

我将整个 \`/var/discourse\` 复制到了一个新主机上。更新了 CNAME 和 SSL，一切运行正常。当我尝试重建时，遇到了一个我无法解决的问题。 sudo ./launcher rebuild app I, \[2022-03-11T16……

---

## [Amazon AWS EC2 - HTTPS 443 无法工作](https://meta.discourse.org/t/amazon-aws-ec2-https-443-does-not-work/109340)

<div class="topic-metadata">

**Author:** [@chrisonline](https://meta.discourse.org/u/chrisonline)\
**回复:** 8\
**最近更新：:** [2019 年2 月 17 日 07:08 UTC](https://meta.discourse.org/t/amazon-aws-ec2-https-443-does-not-work/109340 "2019-02-17T07:08:23Z")

</div>

我已在 Amazon AWS EC2 上部署了 Discourse，但未使用 Let's Encrypt。 Docker 正在监听 80 和 443 端口，但我无法通过 HTTPS 访问网站。 HTTP 工作正常，但 HTTPS 不行。 使用 HTTPS 时，我收到 th…

---

## [Adsense 和 Twitter 代码片段放在哪里？](https://meta.discourse.org/t/where-to-put-snippet-code-of-adsense-and-twitter-snipset/220787)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**回复:** 1\
**最近更新：:** [2022 年3 月 12 日 01:52 UTC](https://meta.discourse.org/t/where-to-put-snippet-code-of-adsense-and-twitter-snipset/220787 "2022-03-12T01:52:13Z")

</div>

我应该把这个发到论坛的哪个部分？

---

## [Docker 参数 '--skip-mac-address' 导致重建错误](https://meta.discourse.org/t/docker-argument-skip-mac-address-causes-rebuild-error/220783)

<div class="topic-metadata">

**Author:** [@Wolfereign](https://meta.discourse.org/u/Wolfereign)\
**回复:** 0\
**最近更新：:** [2022 年3 月 11 日 22:42 UTC](https://meta.discourse.org/t/docker-argument-skip-mac-address-causes-rebuild-error/220783 "2022-03-11T22:42:21Z")

</div>

大家好，我正在尝试使用docker主机网络安装discourse，并且在rebuild命令中遇到了一个奇怪的错误。如果我运行./launcher rebuild app --docker-args --net=host --skip-mac-address，那么discourse…

---

## [用户无法登录](https://meta.discourse.org/t/user-unable-to-login/220703)

<div class="topic-metadata">

**Author:** [@Tulika\_Dasgupta](https://meta.discourse.org/u/Tulika_Dasgupta)\
**回复:** 6\
**最近更新：:** [2022 年3 月 11 日 15:56 UTC](https://meta.discourse.org/t/user-unable-to-login/220703 "2022-03-11T15:56:00Z")

</div>

我们的一位用户尝试登录平台，但出现了以下错误。这是他第一次登录该平台。 它显示“已达到最大限制”，我可以在哪里看到此设置？

---

## [S3每日备份有问题？Discourse也每4天本地备份一次，但我不知道为什么](https://meta.discourse.org/t/s3-daily-backups-issue-discourse-also-keeps-backups-locally-every-4-days-and-i-dont-know-why/219242)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 2\
**最近更新：:** [2022 年3 月 11 日 15:22 UTC](https://meta.discourse.org/t/s3-daily-backups-issue-discourse-also-keeps-backups-locally-every-4-days-and-i-dont-know-why/219242 "2022-03-11T15:22:01Z")

</div>

我的备份设置如下： S3 存储上的备份如下（请注意备份日期）： 我的本地备份文件夹中的内容如下（也请注意日期）： 但从我在 Conf 中看到的情况来看……

---

## [处理搜索预览中的剧透](https://meta.discourse.org/t/handling-spoilers-in-search-previews/177512)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回复:** 1\
**最近更新：:** [2022 年3 月 11 日 15:04 UTC](https://meta.discourse.org/t/handling-spoilers-in-search-previews/177512 "2022-03-11T15:04:34Z")

</div>

据我所知，搜索结果中显示的帖子预览会去除所有（或大部分）格式/样式。当然，这通常没问题，因为你实际上不需要看到粗体之类的东西，而对于标题之类的东西……

---

## [如何调整大型和重流量站点的参数？](https://meta.discourse.org/t/how-to-adjust-parameters-for-large-and-heavy-traffic-site/220696)

<div class="topic-metadata">

**Author:** [@topological](https://meta.discourse.org/u/topological)\
**回复:** 4\
**最近更新：:** [2022 年3 月 11 日 14:58 UTC](https://meta.discourse.org/t/how-to-adjust-parameters-for-large-and-heavy-traffic-site/220696 "2022-03-11T14:58:37Z")

</div>

我正在运行一个拥有 38,000 名用户的社区，使用的是 24 核、64GB 的虚拟机。我将 DISCOURSE\_UNICORN\_WORKERS 设置为 48。 最近，在 UV 达到 20,000 用户和 PV 达到 500,000 次后，网站响应似乎变慢了。用户将收到...

---

## [与 discourse 集成最简单的 SSO 系统](https://meta.discourse.org/t/the-easiest-sso-system-to-intergrate-with-discourse/220724)

<div class="topic-metadata">

**Author:** [@Ndacyayisenga-droid](https://meta.discourse.org/u/Ndacyayisenga-droid)\
**回复:** 3\
**最近更新：:** [2022 年3 月 11 日 14:48 UTC](https://meta.discourse.org/t/the-easiest-sso-system-to-intergrate-with-discourse/220724 "2022-03-11T14:48:04Z")

</div>

最适合与 Discourse 集成的开源 SSO 系统是什么？ cc @Falco

---

## [从 Ruby ERB 访问主题设置](https://meta.discourse.org/t/access-theme-settings-from-ruby-erb/220722)

<div class="topic-metadata">

**Author:** [@lcor](https://meta.discourse.org/u/lcor)\
**回复:** 1\
**最近更新：:** [2022 年3 月 11 日 14:44 UTC](https://meta.discourse.org/t/access-theme-settings-from-ruby-erb/220722 "2022-03-11T14:44:10Z")

</div>

你好， 我想知道是否可以从ERB文件中访问主题设置？ 我的用例如下： 我想检索在Discourse Easy Footer中设置的页脚链接（GitHub - discourse/Discourse-easy-f…

---

## [在顶部导航链接中添加聊天链接？](https://meta.discourse.org/t/adding-a-chat-link-in-the-top-navigation-links/220733)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 6\
**最近更新：:** [2022 年3 月 11 日 14:42 UTC](https://meta.discourse.org/t/adding-a-chat-link-in-the-top-navigation-links/220733 "2022-03-11T14:42:57Z")

</div>

您好！是否可以使用此主题组件： 来添加一个聊天按钮，该按钮可以打开聊天（可能是小窗口，也可能是全屏）？

---

## [自动关闭在更改主题类别时不会更新](https://meta.discourse.org/t/autoclose-doesnt-update-when-you-change-the-topic-category/219971)

<div class="topic-metadata">

**Author:** [@marianord](https://meta.discourse.org/u/marianord)\
**回复:** 2\
**最近更新：:** [2022 年3 月 11 日 14:01 UTC](https://meta.discourse.org/t/autoclose-doesnt-update-when-you-change-the-topic-category/219971 "2022-03-11T14:01:57Z")

</div>

描述 当您在具有自动关闭主题的类别中创建主题时，如果您将主题从类别中移出，关闭设置也不会更新，以符合类别的新条件或进行重新设置……

---

## [如何在论坛用户看到更改之前测试它们？](https://meta.discourse.org/t/how-to-test-changes-before-they-go-live-to-forum-users/220721)

<div class="topic-metadata">

**Author:** [@tim\_sevDesk](https://meta.discourse.org/u/tim_sevDesk)\
**回复:** 1\
**最近更新：:** [2022 年3 月 11 日 11:33 UTC](https://meta.discourse.org/t/how-to-test-changes-before-they-go-live-to-forum-users/220721 "2022-03-11T11:33:51Z")

</div>

是否有办法在某些功能上线给用户之前对其进行测试？例如，在主页上显示分类或现有分类的新描述，而无需此更改直接影响实时系统……

---

## [多语言论坛 - 基本要求](https://meta.discourse.org/t/multilingual-forum-basic-requirements/109327)

<div class="topic-metadata">

**Author:** [@AndreaG](https://meta.discourse.org/u/AndreaG)\
**回复:** 4\
**最近更新：:** [2019 年2 月 16 日 21:30 UTC](https://meta.discourse.org/t/multilingual-forum-basic-requirements/109327 "2019-02-16T21:30:15Z")

</div>

您好， 我希望将我的意大利语论坛提供给英语用户，因此该插件（translator-plug in）是一个基本要素。在我看来，要使多语言论坛正常运行，最低要求是……

---

## [Google Tag Manager 未在 404 页面上触发](https://meta.discourse.org/t/google-tag-manager-doesnt-fire-on-404-pages/131254)

<div class="topic-metadata">

**Author:** [@bvdrie72](https://meta.discourse.org/u/bvdrie72)\
**回复:** 1\
**最近更新：:** [2022 年3 月 11 日 08:35 UTC](https://meta.discourse.org/t/google-tag-manager-doesnt-fire-on-404-pages/131254 "2022-03-11T08:35:02Z")

</div>

我们刚刚从 Vanilla 论坛迁移到 Discourse，体验非常好——真不明白为什么我们之前没有早点迁移。 我们使用 Google Tag Manager 实现多种功能，但似乎 Google Tag Manager 无法……

---

## [这个去哪儿了？与另一位用户共享主题](https://meta.discourse.org/t/where-did-this-go-share-topic-with-another-user/220711)

<div class="topic-metadata">

**Author:** [@icaria36](https://meta.discourse.org/u/icaria36)\
**回复:** 2\
**最近更新：:** [2022 年3 月 11 日 08:17 UTC](https://meta.discourse.org/t/where-did-this-go-share-topic-with-another-user/220711 "2022-03-11T08:17:58Z")

</div>

以前有一个选项可以与另一个注册用户共享主题。我现在找不到它了。我在这里搜索了任何提及移除它的发行说明，但也许我没有使用正确的关键词。 错误、功能…

---

## [如何为新用户设置默认视图](https://meta.discourse.org/t/how-to-set-the-default-view-for-new-users/220712)

<div class="topic-metadata">

**Author:** [@lexa](https://meta.discourse.org/u/lexa)\
**回复:** 1\
**最近更新：:** [2022 年3 月 10 日 17:33 UTC](https://meta.discourse.org/t/how-to-set-the-default-view-for-new-users/220712 "2022-03-10T17:33:35Z")

</div>

谢谢！我照做了，还有一个后续问题……有没有办法为我的用户设置默认视图，除非他们自己更改其首选项？我希望新用户能够看到“类别”页面，以此作为开…

---

## [Docker 重建 Discourse 的问题](https://meta.discourse.org/t/problem-with-rebuild-discourse-at-docker/220442)

<div class="topic-metadata">

**Author:** [@Robert\_Work](https://meta.discourse.org/u/Robert_Work)\
**回复:** 3\
**最近更新：:** [2022 年3 月 10 日 23:07 UTC](https://meta.discourse.org/t/problem-with-rebuild-discourse-at-docker/220442 "2022-03-10T23:07:22Z")

</div>

你好， 我遇到了一个更新问题。当我尝试通过 admin/upgrade 页面更新 Discourse 时，我收到了关于旧 Docker 镜像的信息。 所以我尝试连接到 Discourse 服务器并通过输入 com…

---

## [Discourse-chat（即使禁用）在重新烘烤帖子时会导致 500 错误](https://meta.discourse.org/t/discourse-chat-even-disabled-leads-to-error-500-when-rebaking-posts/220618)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 4\
**最近更新：:** [2022 年3 月 10 日 22:24 UTC](https://meta.discourse.org/t/discourse-chat-even-disabled-leads-to-error-500-when-rebaking-posts/220618 "2022-03-10T22:24:06Z")

</div>

我不确定是否应该将帖子发布到聊天插件类别而不是这里。 但无论如何，安装官方插件会导致重新烘烤帖子时出现 500 错误。 参见：从 phpBB3 导入/迁移 - #678 by Ca…

---

## [使用 Keycloak 进行 Discourse 单点登录](https://meta.discourse.org/t/discourse-with-keycloak-for-sso/152922)

<div class="topic-metadata">

**Author:** [@AAverin](https://meta.discourse.org/u/AAverin)\
**回复:** 7\
**最近更新：:** [2022 年3 月 10 日 21:36 UTC](https://meta.discourse.org/t/discourse-with-keycloak-for-sso/152922 "2022-03-10T21:36:58Z")

</div>

有没有一种方法可以将 Keycloak 设置为 Discourse 的认证提供商？我需要以单点登录（SSO）的方式实现，这样由 Keycloak 管理账户的用户可以自动获得访问权限并登录到 Discourse…

---

## [How to access the discourse database?](https://meta.discourse.org/t/how-to-access-the-discourse-database/41845)

<div class="topic-metadata">

**Author:** [@Newuser](https://meta.discourse.org/u/Newuser)\
**回复:** 13\
**最近更新：:** [2022 年3 月 10 日 20:26 UTC](https://meta.discourse.org/t/how-to-access-the-discourse-database/41845 "2022-03-10T20:26:03Z")

</div>

Hi all, This is probably a stupid question but how can I access the database? Is there something equivalent to phpadmin (or another GUI) that I can use to view and edit the database of discourse? If not, then what is t…

---

## [您的 Docker 安装在运行 launcher rebuild app 后出现问题](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly-after-running-launcher-rebuild-app/109145)

<div class="topic-metadata">

**Author:** [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)\
**回复:** 6\
**最近更新：:** [2019 年2 月 16 日 07:50 UTC](https://meta.discourse.org/t/your-docker-installation-is-not-working-correctly-after-running-launcher-rebuild-app/109145 "2019-02-16T07:50:45Z")

</div>

After running ./launcher rebuild app, I got this… which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/ …

[上一页](https://meta.discourse.org/latest.md?page=880&period=day)

[下一页](https://meta.discourse.org/latest.md?page=882&period=day)
