# Support

**URL:** https://meta.discourse.org/c/support/6.md?page=363&status=open

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

**Page:** 364

---

## [将旧上传迁移到 MinIO](https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回覆:** 4\
**Last updated:** [2019年十二月20日 12:44 UTC](https://meta.discourse.org/t/migrate-old-uploads-to-minio/134780 "2019-12-20T12:44:25Z")

</div>

我正在做类似这样的事情： DISCOURSE\_S3\_BUCKET="abc" DISCOURSE\_S3\_REGION="minio" DISCOURSE\_S3\_ACCESS\_KEY\_ID="abc" DISCOURSE\_S3\_SECRET\_ACCESS\_KEY="abc" DISCOURSE\_S3\_ENDPOINT="my minio endpoint" rake uploads:migrate\_t…

---

## [首页上的未读/新主题数量](https://meta.discourse.org/t/unread-new-topic-count-on-home-page/136541)

<div class="topic-metadata">

**Author:** [@lliddell](https://meta.discourse.org/u/lliddell)\
**回覆:** 0\
**Last updated:** [2019年十二月19日 19:36 UTC](https://meta.discourse.org/t/unread-new-topic-count-on-home-page/136541 "2019-12-19T19:36:50Z")

</div>

你好， 我们社区首页原本显示“未读消息”和“新主题”的数量，但现在只显示每月的主题数量。请问是否有相关设置或可能的原因导致这些内容不再显示？

---

## [如何在 WordPress 中调试评论数量错误的帖子](https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453)

<div class="topic-metadata">

**Author:** [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**回覆:** 8\
**Last updated:** [2019年十二月19日 17:37 UTC](https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453 "2019-12-19T17:37:13Z")

</div>

我刚刚注意到我们 WordPress 网站上的一篇文章显示没有评论，但我知道它在 Discourse 上确实收到了一条评论。我在那篇文章下又留了一条评论，但同样没有显示出来。不过，其他文章……

---

## [使用 Mastodon 凭据登录 Discourse](https://meta.discourse.org/t/login-on-discourse-using-mastodon-credentials/91445)

<div class="topic-metadata">

**Author:** [@amit\_ncert](https://meta.discourse.org/u/amit_ncert)\
**回覆:** 2\
**Last updated:** [2019年十二月19日 17:31 UTC](https://meta.discourse.org/t/login-on-discourse-using-mastodon-credentials/91445 "2019-12-19T17:31:34Z")

</div>

是否可以在 Discourse 上集成 Mastodon 登录？如果可以，该如何操作？

---

## [在私有 VPN 中使用 Discourse：电子邮件怎么办？](https://meta.discourse.org/t/using-discourse-in-private-vpn-what-about-email/136442)

<div class="topic-metadata">

**Author:** [@phixx](https://meta.discourse.org/u/phixx)\
**回覆:** 8\
**Last updated:** [2019年十二月19日 09:44 UTC](https://meta.discourse.org/t/using-discourse-in-private-vpn-what-about-email/136442 "2019-12-19T09:44:46Z")

</div>

你好！ 我想在一种特殊设置下使用 Discourse：Web 服务器将仅对 VPN 内少数私密知晓的用户可访问。服务器的 IP 地址将类似于 10.0.0.1，因此很明显我无法……

---

## [使用 Discourse 作为桌面应用的 SSO](https://meta.discourse.org/t/using-discourse-as-sso-for-desktop-app/136429)

<div class="topic-metadata">

**Author:** [@Marc\_Montecalvo](https://meta.discourse.org/u/Marc_Montecalvo)\
**回覆:** 0\
**Last updated:** [2019年十二月18日 18:25 UTC](https://meta.discourse.org/t/using-discourse-as-sso-for-desktop-app/136429 "2019-12-18T18:25:29Z")

</div>

因此，我已阅读过“使用 Discourse 作为身份提供商（SSO、DiscourseConnect）”一文，它看起来正是我需要的。但我似乎遇到了一个障碍，无法使其真正运行起来。以下是关于此问题的一些...

---

## [Fastly 后方登录状态不一致](https://meta.discourse.org/t/inconsistent-signed-in-state-behind-fastly/136371)

<div class="topic-metadata">

**Author:** [@JackCA](https://meta.discourse.org/u/JackCA)\
**回覆:** 1\
**Last updated:** [2019年十二月18日 05:43 UTC](https://meta.discourse.org/t/inconsistent-signed-in-state-behind-fastly/136371 "2019-12-18T05:43:50Z")

</div>

我遇到一个有些奇怪的问题，但涉及很多因素。 问题： 当我已登录并直接导航到论坛首页时，UI 显示我似乎未登录，例如导航栏显示 …

---

## [默认类别未分配](https://meta.discourse.org/t/default-category-not-being-assigned/134440)

<div class="topic-metadata">

**Author:** [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**回覆:** 7\
**Last updated:** [2019年十二月17日 18:14 UTC](https://meta.discourse.org/t/default-category-not-being-assigned/134440 "2019-12-17T18:14:45Z")

</div>

使用 wp-discourse 时，我们在设置中分配了一个默认分类，以便新帖子进入 Discourse 的公开部分。 最近我注意到，我没有收到某些新帖子的 Discourse 通知……

---

## [如何在 Discourse Docker 容器中使用 \`iptables\`](https://meta.discourse.org/t/how-to-use-iptables-inside-discourse-docker-container/136305)

<div class="topic-metadata">

**Author:** [@maltfield](https://meta.discourse.org/u/maltfield)\
**回覆:** 3\
**Last updated:** [2019年十二月17日 14:32 UTC](https://meta.discourse.org/t/how-to-use-iptables-inside-discourse-docker-container/136305 "2019-12-17T14:32:56Z")

</div>

如何在 Discourse Docker 容器中配置 iptables？ 我特别需要在 Docker 容器内部进行防火墙控制，因为我希望能够根据用户 ID 添加条件规则。 我最初只是…

---

## [如何在不重启的情况下修复“容器已标记为删除且无法启动”的问题](https://meta.discourse.org/t/how-to-fix-container-is-marked-for-removal-and-cannot-be-started-without-reboot/136301)

<div class="topic-metadata">

**Author:** [@maltfield](https://meta.discourse.org/u/maltfield)\
**回覆:** 1\
**Last updated:** [2019年十二月17日 11:05 UTC](https://meta.discourse.org/t/how-to-fix-container-is-marked-for-removal-and-cannot-be-started-without-reboot/136301 "2019-12-17T11:05:16Z")

</div>

我的 ./launcher rebuild app 步骤因以下错误而失败： \[root@osestaging1 discourse\]# time ./launcher rebuild app ... + /bin/docker start app 来自守护进程的错误响应：容器已标记为移除，ca…

---

## [关于论坛软件的问题](https://meta.discourse.org/t/question-about-forum-software/135975)

<div class="topic-metadata">

**Author:** [@RCOfficial](https://meta.discourse.org/u/RCOfficial)\
**回覆:** 5\
**Last updated:** [2019年十二月15日 16:42 UTC](https://meta.discourse.org/t/question-about-forum-software/135975 "2019-12-15T16:42:50Z")

</div>

您好， 我想请问是否可以在自己的服务器上部署 Discourse 论坛软件，因为托管服务不在我的预算范围内。

---

## [搜索/合并重复主题](https://meta.discourse.org/t/search-for-merge-duplicate-topics/135999)

<div class="topic-metadata">

**Author:** [@danb35](https://meta.discourse.org/u/danb35)\
**回覆:** 1\
**Last updated:** [2019年十二月15日 13:15 UTC](https://meta.discourse.org/t/search-for-merge-duplicate-topics/135999 "2019-12-15T13:15:55Z")

</div>

我从 Yahoo 群组导入的内容导致许多话题被碎片化（可能是因为用户过去回复不当，也可能是因为 Yahoo 未能正确维护话题的完整性，或者是导入脚本的问题…）

---

## [移动后链接失效](https://meta.discourse.org/t/links-broken-after-move/135913)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 10\
**Last updated:** [2019年十二月15日 06:38 UTC](https://meta.discourse.org/t/links-broken-after-move/135913 "2019-12-15T06:38:45Z")

</div>

我们论坛内的许多链接在迁移到新服务器后已失效。我曾在临时 URL staging.example.com 上创建了新服务器以协助过渡，但现在过渡已完成，许多链接 …

---

## [Letsencrypt 为具有内部 IP 地址的主机设置失败](https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911)

<div class="topic-metadata">

**Author:** [@noodle](https://meta.discourse.org/u/noodle)\
**回覆:** 1\
**Last updated:** [2019年十二月14日 01:30 UTC](https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911 "2019-12-14T01:30:23Z")

</div>

您好，我首次尝试在 Ubuntu 机器上设置 Discourse。该平台的意图是仅在公司网络内部可访问，因此与主机名关联的 IP 地址……

---

## [如何在外部域名的子目录中运行 Discourse？](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788)

<div class="topic-metadata">

**Author:** [@UltraLuz](https://meta.discourse.org/u/UltraLuz)\
**回覆:** 23\
**Last updated:** [2019年十二月13日 17:15 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-subdirectory-of-external-domain/134788 "2019-12-13T17:15:02Z")

</div>

我们正从 WordPress 网站迁移到云托管的电子商务平台，由于我们拥有较高的 SEO 排名，该平台将使用我们的裸域名。 我希望将我们的帖子迁移到 Discourse，并在同一域名下运行……

---

## [现有服务器安装说明](https://meta.discourse.org/t/existing-server-installation-instructions/135530)

<div class="topic-metadata">

**Author:** [@khionu](https://meta.discourse.org/u/khionu)\
**回覆:** 2\
**Last updated:** [2019年十二月13日 04:13 UTC](https://meta.discourse.org/t/existing-server-installation-instructions/135530 "2019-12-13T04:13:47Z")

</div>

我发现了一些帖子，比如这一篇，其中人们希望在现有服务器上安装 Discourse。我尝试将各个部分整合起来，但在五个不同的来源之间来回切换确实让人头疼……

---

## [安装后出现空白页面](https://meta.discourse.org/t/blank-pages-after-install/135753)

<div class="topic-metadata">

**Author:** [@Rickeo](https://meta.discourse.org/u/Rickeo)\
**回覆:** 1\
**Last updated:** [2019年十二月13日 03:31 UTC](https://meta.discourse.org/t/blank-pages-after-install/135753 "2019-12-13T03:31:06Z")

</div>

您好， 我已按照 Docker 入门分步安装指南完成了安装。安装完成后，我收到了新创建账户的电子邮件。我点击了邮件中的激活链接，但页面显示： Wel…

---

## [集成Discourse与游戏认证](https://meta.discourse.org/t/integrating-discourse-and-game-authentication/135739)

<div class="topic-metadata">

**Author:** [@Jesper\_Nielsen](https://meta.discourse.org/u/Jesper_Nielsen)\
**回覆:** 2\
**Last updated:** [2019年十二月12日 22:11 UTC](https://meta.discourse.org/t/integrating-discourse-and-game-authentication/135739 "2019-12-12T22:11:01Z")

</div>

I’m creating an online PC game and I want to have a forum on my website. I want the forum and game accounts to be integrated, so that if you log on to the website you can also post on the forums. Furthermore I want the …

---

## [如何运行 Simple:Press 导入脚本？](https://meta.discourse.org/t/how-to-run-simple-press-import-script/126259)

<div class="topic-metadata">

**Author:** [@Steve\_Arnold](https://meta.discourse.org/u/Steve_Arnold)\
**回覆:** 7\
**Last updated:** [2019年十二月12日 16:45 UTC](https://meta.discourse.org/t/how-to-run-simple-press-import-script/126259 "2019-12-12T16:45:02Z")

</div>

我看到这里有一个 Ruby 脚本，用于将 Simple:Press 论坛导入到 Discourse 论坛： 然而，似乎没有任何关于如何运行该脚本的说明。 能否有人为我指点一下具体该如何操作……

---

## [发布到 Discourse 出现问题：请检查您的 WordPress 个人资料页面中 Discourse 用户名是否设置正确](https://meta.discourse.org/t/problems-posting-to-discourse-check-that-your-discourse-username-is-set-correctly-on-your-wordpress-profile-page/135479)

<div class="topic-metadata">

**Author:** [@Neumannium](https://meta.discourse.org/u/Neumannium)\
**回覆:** 10\
**Last updated:** [2019年十二月12日 15:46 UTC](https://meta.discourse.org/t/problems-posting-to-discourse-check-that-your-discourse-username-is-set-correctly-on-your-wordpress-profile-page/135479 "2019-12-12T15:46:45Z")

</div>

在将我的 Discourse WordPress 安装更新到最新版本后，我无法再从我的主页发布帖子到 Discourse。相反，WordPress 内的 Discourse 面板显示：“您的帖子无法发布到 Disc…”

---

## [与任何 SSO 提供商进行讨论](https://meta.discourse.org/t/discourse-with-any-sso-providers/135748)

<div class="topic-metadata">

**Author:** [@nahimov](https://meta.discourse.org/u/nahimov)\
**回覆:** 1\
**Last updated:** [2019年十二月12日 13:19 UTC](https://meta.discourse.org/t/discourse-with-any-sso-providers/135748 "2019-12-12T13:19:07Z")

</div>

你好！ 我们社区中的服务数量增加，开始需要标准的单点登录（SSO）。请问通常与 Discourse 配合使用 SAML 插件的 SSO/IdM/IAM 系统有哪些？能否提供建议？ 系统要求 – …

---

## [构建最新版本时出错](https://meta.discourse.org/t/error-on-building-latest-version/135706)

<div class="topic-metadata">

**Author:** [@russellwstanley](https://meta.discourse.org/u/russellwstanley)\
**回覆:** 10\
**Last updated:** [2019年十二月12日 10:58 UTC](https://meta.discourse.org/t/error-on-building-latest-version/135706 "2019-12-12T10:58:20Z")

</div>

您好。在运行最新版本的 Discourse 的 \`./installer rebuild web\_only\` 时，我遇到了以下错误： fs.js:114 throw err; ^ 错误：ENOENT: 没有此类文件或目录，无法打开 'root=''/assets',url='/assets/ve…'

---

## [用户名已存在错误](https://meta.discourse.org/t/username-already-exist-error/134356)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回覆:** 3\
**Last updated:** [2019年十二月11日 20:40 UTC](https://meta.discourse.org/t/username-already-exist-error/134356 "2019-12-11T20:40:55Z")

</div>

为什么我的论坛中会不断出现此错误？可以安全地忽略吗？ 作业异常：PG::UniqueViolation: 错误：重复键值违反了唯一约束 "index\_users\_on\_username" 详情：键 (username)=(ghaz…

---

## [从其他数据库导入的用户在夜间被清除](https://meta.discourse.org/t/imported-users-from-other-database-are-wipe-out-after-night/135647)

<div class="topic-metadata">

**Author:** [@David\_Pešava](https://meta.discourse.org/u/David_Pe%C5%A1ava)\
**回覆:** 3\
**Last updated:** [2019年十二月11日 14:58 UTC](https://meta.discourse.org/t/imported-users-from-other-database-are-wipe-out-after-night/135647 "2019-12-11T14:58:06Z")

</div>

您好， 从其他数据库成功导入用户到 Discourse 数据库后，一切正常，但过了一夜后，部分用户和数据丢失了。为什么会发生这种情况？Discourse 中是否有“修复”选项或回滚……

---

## [WP Discourse 未在自托管 WP 站点上显示](https://meta.discourse.org/t/wp-discourse-not-displaying-on-wp-self-hosted-site/135601)

<div class="topic-metadata">

**Author:** [@digitalgerry](https://meta.discourse.org/u/digitalgerry)\
**回覆:** 5\
**Last updated:** [2019年十二月10日 21:21 UTC](https://meta.discourse.org/t/wp-discourse-not-displaying-on-wp-self-hosted-site/135601 "2019-12-10T21:21:37Z")

</div>

大家好， 我有一个非常基础的 Discourse 站点，希望将其显示在我的 WordPress 站点上。 我正在使用 WP Discourse 插件，它已连接，但我不知道如何让 Discourse 内容显示在网站上……以便测试是否可行…

---

## [Discourse 没有 SSL？Apache2 代理中的 SSL](https://meta.discourse.org/t/discourse-without-ssl-ssl-in-apache2-proxy/135589)

<div class="topic-metadata">

**Author:** [@CRUGG](https://meta.discourse.org/u/CRUGG)\
**回覆:** 4\
**Last updated:** [2019年十二月10日 19:33 UTC](https://meta.discourse.org/t/discourse-without-ssl-ssl-in-apache2-proxy/135589 "2019-12-10T19:33:26Z")

</div>

你好！我刚刚设置了 Discourse，但遇到了一些问题。我将端口设置为了不同的值，因为我希望使用我的 Apache2 服务器作为代理/反向代理（我不确定正确的术语是什么）。 当我尝试……

---

## [什么是 env LANG？](https://meta.discourse.org/t/what-is-env-lang/135382)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回覆:** 2\
**Last updated:** [2019年十二月10日 17:36 UTC](https://meta.discourse.org/t/what-is-env-lang/135382 "2019-12-10T17:36:55Z")

</div>

默认情况下，app.yml 中包含以下内容： env: LANG: en\_US.UTF-8 如果我设置了 DISCOURSE\_DEFAULT\_LOCALE: ru，是否需要更改它？它是用来做什么的？

---

## [如何设置带 www 的域名？](https://meta.discourse.org/t/how-should-i-setup-with-www-domain/134999)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回覆:** 8\
**Last updated:** [2019年十二月10日 15:42 UTC](https://meta.discourse.org/t/how-should-i-setup-with-www-domain/134999 "2019-12-10T15:42:34Z")

</div>

我在设置指南和其他问题中看到，我需要为 Mailgun 使用相同的子域名。因此，如果我想在 www.example.com 安装 Discourse，我是否需要在 Mailgun 中添加 www.example.com？还是 example.com 也可以……

---

## [站点在尝试升级后无法正常运行](https://meta.discourse.org/t/site-not-functioning-after-attempted-upgrade/135345)

<div class="topic-metadata">

**Author:** [@TheEngineer](https://meta.discourse.org/u/TheEngineer)\
**回覆:** 5\
**Last updated:** [2019年十二月9日 16:53 UTC](https://meta.discourse.org/t/site-not-functioning-after-attempted-upgrade/135345 "2019-12-09T16:53:22Z")

</div>

我尝试从管理页面执行自动升级。看起来一切顺利，但显然出现了问题。管理面板认为我未进行升级，而升级面板却显示所有内容已是最新版本。我尝试了做…

---

## [电子邮件功能尚未完全启用](https://meta.discourse.org/t/e-mail-is-not-fully-functional/135450)

<div class="topic-metadata">

**Author:** [@palu](https://meta.discourse.org/u/palu)\
**回覆:** 0\
**Last updated:** [2019年十二月9日 10:58 UTC](https://meta.discourse.org/t/e-mail-is-not-fully-functional/135450 "2019-12-09T10:58:16Z")

</div>

你好，我的问题是 SMTP 无法正常工作。这很奇怪，因为我收不到管理员确认邮件，但如果我以用户身份注册，则会收到邮件： 欢迎使用 Discourse！ 点击以下链接…

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

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