# Latest

**URL:** https://meta.discourse.org/latest.md?page=1305&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82

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

**Page:** 1306

---

## [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 服务器作为代理/反向代理（我不确定正确的术语是什么）。 当我尝试……

---

## [如何手动重新生成优化后的图片？](https://meta.discourse.org/t/how-can-i-manually-regenerate-optimized-images/135339)

<div class="topic-metadata">

**Author:** [@bartv](https://meta.discourse.org/u/bartv)\
**回覆:** 6\
**Last updated:** [2019年十二月10日 18:32 UTC](https://meta.discourse.org/t/how-can-i-manually-regenerate-optimized-images/135339 "2019-12-10T18:32:56Z")

</div>

您好， 昨晚由于一些硬件问题，我们丢失了一些经过优化的图像资源。由于这似乎只影响了极少数帖子，我想手动重新生成它们。对于某些情况，“重建 HTML”工具可以修复此问题……

---

## [自升级架构？](https://meta.discourse.org/t/self-upgrade-architecture/135580)

<div class="topic-metadata">

**Author:** [@tomsmyth1](https://meta.discourse.org/u/tomsmyth1)\
**回覆:** 1\
**Last updated:** [2019年十二月10日 18:06 UTC](https://meta.discourse.org/t/self-upgrade-architecture/135580 "2019-12-10T18:06:01Z")

</div>

是否有关于 Discourse 自升级功能如何运作的文档？如果没有，能否指点一下在代码中哪里可以找到相关信息？ 它是否适合作为其他 Rails 应用程序的参考模型？如果不适合，是否有更好的设计模式？

---

## [什么是 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，是否需要更改它？它是用来做什么的？

---

## [注册时姓名栏为必填项，但用户资料中显示为空字段](https://meta.discourse.org/t/name-field-is-required-while-registering-but-null-field-is-showing-up-at-users-profile/134623)

<div class="topic-metadata">

**Author:** [@Systmyz](https://meta.discourse.org/u/Systmyz)\
**回覆:** 2\
**Last updated:** [2019年十二月10日 17:29 UTC](https://meta.discourse.org/t/name-field-is-required-while-registering-but-null-field-is-showing-up-at-users-profile/134623 "2019-12-10T17:29:21Z")

</div>

各位成员好， 注册时“姓名”字段为必填项，但注册后用户资料中该字段显示为空。恳请提供建议。提前感谢！

---

## [隐藏“显示完整帖子”按钮](https://meta.discourse.org/t/hide-show-full-post-button/135577)

<div class="topic-metadata">

**Author:** [@christian\_01](https://meta.discourse.org/u/christian_01)\
**回覆:** 1\
**Last updated:** [2019年十二月10日 17:24 UTC](https://meta.discourse.org/t/hide-show-full-post-button/135577 "2019-12-10T17:24:40Z")

</div>

我已在设置中选中“截断嵌入的帖子”，但同时也希望隐藏“显示完整帖子”按钮。请问该如何操作？谢谢。

---

## [如何设置分类自定义字段？](https://meta.discourse.org/t/how-to-set-category-custom-fields/135560)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回覆:** 2\
**Last updated:** [2019年十二月10日 15:51 UTC](https://meta.discourse.org/t/how-to-set-category-custom-fields/135560 "2019-12-10T15:51:51Z")

</div>

我想手动设置一个分类的 import\_id，以便能够从旧论坛导入剩余的话题。 我在 rails c 中尝试了以下操作，但似乎不起作用： \[11\] pry(main)\> Category.find(3).custom\_fields =\> {} \[12\]…

---

## [如何设置带 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 也可以……

---

## [Discourse 时间线日期错误](https://meta.discourse.org/t/discourse-timeline-date-error/135524)

<div class="topic-metadata">

**Author:** [@Özgür\_Kuru](https://meta.discourse.org/u/%C3%96zg%C3%BCr_Kuru)\
**回覆:** 1\
**Last updated:** [2019年十二月10日 12:13 UTC](https://meta.discourse.org/t/discourse-timeline-date-error/135524 "2019-12-10T12:13:24Z")

</div>

您好， 我们将 Discourse 更新到了 2.4.0.beta8 版本。但时间线无法显示 2019 年之前的日期。我已附上问题截图。

---

## [当我尝试同时通过 API 创建两篇帖子时，会发生错误。](https://meta.discourse.org/t/when-i-try-to-create-two-posts-via-api-at-the-same-time-errors-happen/135262)

<div class="topic-metadata">

**Author:** [@NathanLei](https://meta.discourse.org/u/NathanLei)\
**回覆:** 4\
**Last updated:** [2019年十二月10日 09:56 UTC](https://meta.discourse.org/t/when-i-try-to-create-two-posts-via-api-at-the-same-time-errors-happen/135262 "2019-12-10T09:56:25Z")

</div>

当我尝试同时通过 API 创建两篇帖子时，会出现错误：RangeError: 调用栈大小超出限制。我想知道这是设置问题，还是 API 不支持并行请求。我使用 p… 创建帖子。

---

## [Production.log 报错 No method，Discourse 无法运行](https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017)

<div class="topic-metadata">

**Author:** [@Özgür\_Kuru](https://meta.discourse.org/u/%C3%96zg%C3%BCr_Kuru)\
**回覆:** 8\
**Last updated:** [2019年十二月10日 06:59 UTC](https://meta.discourse.org/t/production-log-give-no-method-error-and-discourse-not-working/135017 "2019-12-10T06:59:03Z")

</div>

你好。 我们将 Discourse 迁移到了新服务器（从 Ubuntu 16.04 升级到 18.04 LTS）。但新实例返回了 500 错误。在生产日志中，我看到了以下消息： NoMethodError（未定义方法 \`suppress\_from\_latest\`，对象类型为 \`#

---

## [用户：merge 无法加载 rb-inotify 文件](https://meta.discourse.org/t/users-merge-cannot-load-such-file-rb-inotify/135452)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**回覆:** 4\
**Last updated:** [2019年十二月10日 00:28 UTC](https://meta.discourse.org/t/users-merge-cannot-load-such-file-rb-inotify/135452 "2019-12-10T00:28:39Z")

</div>

我正在运行 2.4.0.beta8（8a6421565e，部署于约一个半月前的 Docker 环境），并尝试合并两条用户记录： time bin/rake 'users:merge\[old\_name,new\_name\]' rake aborted! LoadError: 无法加载…

---

## [通过 API 发布时出现 500 服务器错误](https://meta.discourse.org/t/getting-500-server-error-when-trying-to-post-via-api/135050)

<div class="topic-metadata">

**Author:** [@Nikki\_Locke](https://meta.discourse.org/u/Nikki_Locke)\
**回覆:** 2\
**Last updated:** [2019年十二月9日 18:40 UTC](https://meta.discourse.org/t/getting-500-server-error-when-trying-to-post-via-api/135050 "2019-12-09T18:40:41Z")

</div>

昨天通过 API 添加帖子的尝试返回了 500 服务器错误。 该帖子内容为： { "title": "需要 Leaflet 组织者！\[Basecamp 1447568903\]", "category": 166, "raw": "Steve 在 Basecamp 中写道\\n\\n某人 2 …" }

---

## [从发布链接中缩减的图片](https://meta.discourse.org/t/reduced-images-from-posted-link/135391)

<div class="topic-metadata">

**Author:** [@cageycat](https://meta.discourse.org/u/cageycat)\
**回覆:** 11\
**Last updated:** [2019年十二月9日 18:33 UTC](https://meta.discourse.org/t/reduced-images-from-posted-link/135391 "2019-12-09T18:33:19Z")

</div>

我发布网站链接，例如： 它在预览中会进入 OneBox，并附带缩小后的图片（此处为一只寄居蟹爬入的红色塑料罐，作为新的“壳”）。The reduce…

---

## [Change password for an account that was force activated](https://meta.discourse.org/t/change-password-for-an-account-that-was-force-activated/72859)

<div class="topic-metadata">

**Author:** [@David\_Kwan](https://meta.discourse.org/u/David_Kwan)\
**回覆:** 3\
**Last updated:** [2017年十月26日 19:34 UTC](https://meta.discourse.org/t/change-password-for-an-account-that-was-force-activated/72859 "2017-10-26T19:34:26Z")

</div>

One of my user’s was unable to confirm their account via email because noreply@discuss.goformative.com is blocked by their school spam filter. So I had to force activate their account. Is there any other way I can reset …

---

## [“主题管理操作”的工具提示](https://meta.discourse.org/t/tooltips-for-topic-admin-actions/96086)

<div class="topic-metadata">

**Author:** [@Sujan](https://meta.discourse.org/u/Sujan)\
**回覆:** 6\
**Last updated:** [2019年十二月9日 17:31 UTC](https://meta.discourse.org/t/tooltips-for-topic-admin-actions/96086 "2019-12-09T17:31:09Z")

</div>

刚刚在扳手图标按钮后的“主题管理操作”中发现了一个新操作：“重置顶帖日期”。由于我不清楚其含义，我认为在这些操作上悬停时显示一个工具提示会……

---

## [子类别从分类页面消失](https://meta.discourse.org/t/subcategory-disappeared-from-categories-page/135472)

<div class="topic-metadata">

**Author:** [@rlaliberty](https://meta.discourse.org/u/rlaliberty)\
**回覆:** 5\
**Last updated:** [2019年十二月9日 17:07 UTC](https://meta.discourse.org/t/subcategory-disappeared-from-categories-page/135472 "2019-12-09T17:07:27Z")

</div>

我有一个类别的子类别。它以前在“类别”视图中显示在该类别的嵌套下方。但此后它已从该视图中消失。我仍然可以通过 U… 导航到该子类别。

---

## [如何安装 mod\_cloudflare](https://meta.discourse.org/t/how-to-install-mod-cloudflare/134098)

<div class="topic-metadata">

**Author:** [@Nikhil\_Darji](https://meta.discourse.org/u/Nikhil_Darji)\
**回覆:** 7\
**Last updated:** [2019年十二月9日 16:55 UTC](https://meta.discourse.org/t/how-to-install-mod-cloudflare/134098 "2019-12-09T16:55:06Z")

</div>

你好， 有没有办法安装 mod\_cloudflare？因为当用户登录时，Discourse 显示的是 Cloudflare 的 IP 地址，我找不到合适的指南。

---

## [站点在尝试升级后无法正常运行](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/t/typing-newline/113007)

<div class="topic-metadata">

**Author:** [@Jan\_Wielemaker](https://meta.discourse.org/u/Jan_Wielemaker)\
**回覆:** 4\
**Last updated:** [2019年十二月9日 14:26 UTC](https://meta.discourse.org/t/typing-newline/113007 "2019-12-09T14:26:28Z")

</div>

我们这些在 https://swi-prolog.discourse.group 上的 Prolog 用户遇到了一些困难，试图输入 Prolog 语法中最基本的部分：规则在头部和主体之间使用 :-，并且最佳实践是在其后换行……

---

## [在移动设备上选择表情符号会取消置顶回复框](https://meta.discourse.org/t/selecting-emoji-on-mobile-unpins-reply-box/130879)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 9\
**Last updated:** [2019年十二月9日 14:41 UTC](https://meta.discourse.org/t/selecting-emoji-on-mobile-unpins-reply-box/130879 "2019-12-09T14:41:37Z")

</div>

在移动设备上回复帖子时（键盘可见），主题的其余部分会被回复框遮挡。但是，当您在输入冒号后选择表情符号（而非从编辑器菜单栏选择）时，它会“取消固定”该…

---

## [从分类中移除 ID 以进行固定链接规范化](https://meta.discourse.org/t/remove-id-from-category-as-permalink-normalizations/135449)

<div class="topic-metadata">

**Author:** [@Bcat](https://meta.discourse.org/u/Bcat)\
**回覆:** 1\
**Last updated:** [2019年十二月9日 12:40 UTC](https://meta.discourse.org/t/remove-id-from-category-as-permalink-normalizations/135449 "2019-12-09T12:40:33Z")

</div>

我不了解正则表达式，所以如果有人能帮我那就太好了。 这对 SEO 更有利。 从分类中移除 ID https://meta.discourse.org/c/support/6 改为 https://meta.discourse.org/c/support 标签：包含 ta…

---

## [类别行为异常，因其以数字开头](https://meta.discourse.org/t/weird-category-behavior-because-it-starts-with-a-number/134548)

<div class="topic-metadata">

**Author:** [@Iceman](https://meta.discourse.org/u/Iceman)\
**回覆:** 9\
**Last updated:** [2019年十二月9日 12:25 UTC](https://meta.discourse.org/t/weird-category-behavior-because-it-starts-with-a-number/134548 "2019-12-09T12:25:46Z")

</div>

大家好， 最近升级到最新版本后，我的两个分类都指向了其中一个（例如，假设你有分类 1 和分类 2，两者都会显示分类 1 的内容）。这种行为已经相当奇怪了，因此，当我尝试...

---

## [“全部标记为已读”的语义](https://meta.discourse.org/t/dismiss-all-unread-semantics/135387)

<div class="topic-metadata">

**Author:** [@pgr](https://meta.discourse.org/u/pgr)\
**回覆:** 3\
**Last updated:** [2019年十二月9日 09:13 UTC](https://meta.discourse.org/t/dismiss-all-unread-semantics/135387 "2019-12-09T09:13:59Z")

</div>

你好 我刚完成迁移，发现有数千条旧帖子显示为“未读”，尽管我已经阅读过了。我想清除这些标记，并找到了这个不错的按钮： 但我不确定这是否是我想要的。有些……

---

## [恢复失败 - 可能是数据资源管理器问题](https://meta.discourse.org/t/restore-failing-possible-data-explorer-issue/134734)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 21\
**Last updated:** [2019年十二月9日 08:38 UTC](https://meta.discourse.org/t/restore-failing-possible-data-explorer-issue/134734 "2019-12-09T08:38:49Z")

</div>

我有一个正常运行的论坛，想查看几天前出现的一些问题。我使用的是 AWS，因此我创建了一个正常论坛的 AMI，启动了一个新实例，并尝试从几天前的备份进行恢复。但恢复失败了……

---

## [OAuth2 期间出现 SSL 错误](https://meta.discourse.org/t/ssl-error-during-oauth2/135257)

<div class="topic-metadata">

**Author:** [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)\
**回覆:** 4\
**Last updated:** [2019年十二月9日 07:20 UTC](https://meta.discourse.org/t/ssl-error-during-oauth2/135257 "2019-12-09T07:20:03Z")

</div>

此帖子 关于此问题的帖子已关闭，但我仍在版本 2.4.0.beta8 中遇到此问题。 问题发生在 oauth2 认证过程中。 Excon::Error::Socket (SSL\_connect returned=1 errno=0 state=error: dh key too…)

---

## [新安装的 Discourse 未收到邮件](https://meta.discourse.org/t/no-received-mails-in-new-discourse-installation/135372)

<div class="topic-metadata">

**Author:** [@Jakira](https://meta.discourse.org/u/Jakira)\
**回覆:** 4\
**Last updated:** [2019年十二月9日 05:13 UTC](https://meta.discourse.org/t/no-received-mails-in-new-discourse-installation/135372 "2019-12-09T05:13:51Z")

</div>

你好， 我已在 Linux 服务器上安装了新的 Discourse。 为什么我没有收到任何邮件？ 如何向此服务器发送邮件？ /Jakira 另外，我无法理解这个：:frowning: 2. 通过 Di… 发送邮件

---

## [Ask Question First, Create account later?](https://meta.discourse.org/t/ask-question-first-create-account-later/72845)

<div class="topic-metadata">

**Author:** [@rohitink](https://meta.discourse.org/u/rohitink)\
**回覆:** 3\
**Last updated:** [2017年十月26日 15:21 UTC](https://meta.discourse.org/t/ask-question-first-create-account-later/72845 "2017-10-26T15:21:31Z")

</div>

Hello, I have installed discourse and I am very happy with it. But I have one query. Can the user ask the question first and then create account? Or ask questions without creating account at all (anonymously) ?

---

## [中性主题中的纯黑文本颜色](https://meta.discourse.org/t/true-black-text-color-in-neutral-theme/135359)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**回覆:** 10\
**Last updated:** [2019年十二月8日 16:22 UTC](https://meta.discourse.org/t/true-black-text-color-in-neutral-theme/135359 "2019-12-08T16:22:32Z")

</div>

Neutral 主题中的默认文本颜色为 #000。我认为它应该是 #222，与 Light 主题一致（使用纯黑色通常被认为是不好的设计实践）。

[上一頁](https://meta.discourse.org/latest.md?page=1304&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)

[下一頁](https://meta.discourse.org/latest.md?page=1306&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)
