# Latest

**URL:** https://meta.discourse.org/latest.md?page=1156

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

**Page:** 1157

---

## [批量添加类别](https://meta.discourse.org/t/adding-bulk-categories/161823)

<div class="topic-metadata">

**Author:** [@SpaceIgniter](https://meta.discourse.org/u/SpaceIgniter)\
**回覆:** 5\
**Last updated:** [2020年八月26日 10:15 UTC](https://meta.discourse.org/t/adding-bulk-categories/161823 "2020-08-26T10:15:37Z")

</div>

您好， 我是 Discourse 的新用户。 我的安装运行良好，到目前为止没有出现任何问题。 我正在构建的社区类型需要大量的分类/主题。 我需要添加相当多的类别，并且……

---

## [Tombstone 目录未能清理图像](https://meta.discourse.org/t/tombstone-directory-not-getting-cleaned-up-for-images/106575)

<div class="topic-metadata">

**Author:** [@bartv](https://meta.discourse.org/u/bartv)\
**回覆:** 16\
**Last updated:** [2020年八月22日 17:04 UTC](https://meta.discourse.org/t/tombstone-directory-not-getting-cleaned-up-for-images/106575 "2020-08-22T17:04:27Z")

</div>

我不太确定我是否正确理解了墓碑清理过程的工作方式。这有点紧急，因为随着我们重新处理所有图片，硬盘空间迅速填满。我们的图片很多，所以这会生成许多墓碑……

---

## [批量导入用户，无需验证](https://meta.discourse.org/t/bulk-import-users-without-verification/162073)

<div class="topic-metadata">

**Author:** [@Jazz\_FA](https://meta.discourse.org/u/Jazz_FA)\
**回覆:** 2\
**Last updated:** [2020年八月26日 10:10 UTC](https://meta.discourse.org/t/bulk-import-users-without-verification/162073 "2020-08-26T10:10:30Z")

</div>

大家好，希望大家能帮我解决这个问题。 我们目前在mattermost上有一大批用户，我们希望将这些用户导入到我们的Discourse论坛，而无需用户通过电子邮件接受邀请。……

---

## [添加标签时向关注用户发送通知](https://meta.discourse.org/t/send-a-notification-to-watching-users-when-adding-tag/125314)

<div class="topic-metadata">

**Author:** [@lw1](https://meta.discourse.org/u/lw1)\
**回覆:** 7\
**Last updated:** [2020年八月26日 09:50 UTC](https://meta.discourse.org/t/send-a-notification-to-watching-users-when-adding-tag/125314 "2020-08-26T09:50:12Z")

</div>

大家好， 我觉得我可能忽略了一个简单的解决方案，这个问题在很多论坛中可能很常见： 我是一名论坛版主，会阅读所有新创建的帖子。其中某个类别下的所有帖子都需要处理……

---

## [插入日期/时间工具，\\T\\Z 为 zz](https://meta.discourse.org/t/insert-date-time-tool-t-z-is-zz/161982)

<div class="topic-metadata">

**Author:** [@MichelleBasey](https://meta.discourse.org/u/MichelleBasey)\
**回覆:** 7\
**Last updated:** [2020年八月26日 09:43 UTC](https://meta.discourse.org/t/insert-date-time-tool-t-z-is-zz/161982 "2020-08-26T09:43:09Z")

</div>

编辑器窗口 使用上面的按钮打开日历工具 高级模式 说明说使用 \\T\\Z 来显示时区 实际发生的情况是： LLLL \\T\\Z 显示： 星期二, 1987年8月25日 上午2:00 TZ (UTC) L…

---

## [Discourse 挂起，Discourse 恢复失败](https://meta.discourse.org/t/hangs-discourse-and-discourse-restore-failed/161248)

<div class="topic-metadata">

**Author:** [@Dev\_Work](https://meta.discourse.org/u/Dev_Work)\
**回覆:** 24\
**Last updated:** [2020年八月26日 08:40 UTC](https://meta.discourse.org/t/hangs-discourse-and-discourse-restore-failed/161248 "2020-08-26T08:40:39Z")

</div>

我运行了命令 \`./launcher rebuild app\` \`redis is now ready to exit, bye bye ...\` discourse 卡住 40 分钟，按 \`Ctrl + C\` 停止。 它一直处于加载状态。结果是，我们没有创建新的容器，你能解释一下是什么情况吗……

---

## [将 Discourse 主题作者设置为帖子作者？](https://meta.discourse.org/t/setting-the-discourse-topic-author-to-the-post-author/284814)

<div class="topic-metadata">

**Author:** [@a\_lee](https://meta.discourse.org/u/a_lee)\
**回覆:** 2\
**Last updated:** [2020年八月26日 07:26 UTC](https://meta.discourse.org/t/setting-the-discourse-topic-author-to-the-post-author/284814 "2020-08-26T07:26:27Z")

</div>

是否有办法将 Discourse 主题的作者设置为帖子的作者？我好像记得有一个方法可以从 RSS 中提取用户名，但我现在看不到那个设置了（discourse 嵌入式 feed 密钥之类的东西？）。我们…

---

## [范围/得分投票](https://meta.discourse.org/t/range-score-voting/162096)

<div class="topic-metadata">

**Author:** [@bkm](https://meta.discourse.org/u/bkm)\
**回覆:** 0\
**Last updated:** [2020年八月26日 07:09 UTC](https://meta.discourse.org/t/range-score-voting/162096 "2020-08-26T07:09:58Z")

</div>

很高兴能有范围/评分投票。这可能是一个独立的插件，或者作为投票插件的一个附加功能。如果能被采纳，我可以着手处理。

---

## [自定义徽章排序](https://meta.discourse.org/t/custom-badges-sorting/161951)

<div class="topic-metadata">

**Author:** [@ArcticF0xx](https://meta.discourse.org/u/ArcticF0xx)\
**回覆:** 0\
**Last updated:** [2020年八月24日 22:45 UTC](https://meta.discourse.org/t/custom-badges-sorting/161951 "2020-08-24T22:45:55Z")

</div>

是否有办法将自定义徽章移到徽章页面的顶部？导航页面：设置 \> 徽章

---

## [extra\_data 保存在哪里？](https://meta.discourse.org/t/where-is-extra-data-saved/85270)

<div class="topic-metadata">

**Author:** [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)\
**回覆:** 2\
**Last updated:** [2018年四月13日 19:54 UTC](https://meta.discourse.org/t/where-is-extra-data-saved/85270 "2018-04-13T19:54:26Z")

</div>

在插件中： 使用的代码如下： result = Auth::Result.new result.extra\_data = “some value” 该 extra\_data 值保存在哪里？我已检查了多个表，但尚未找到。我想在……之前先在这里确认一下。

---

## [API - 将用户添加到版主组](https://meta.discourse.org/t/api-add-user-to-moderator-group/161938)

<div class="topic-metadata">

**Author:** [@sdiscourse](https://meta.discourse.org/u/sdiscourse)\
**回覆:** 6\
**Last updated:** [2020年八月25日 22:02 UTC](https://meta.discourse.org/t/api-add-user-to-moderator-group/161938 "2020-08-25T22:02:52Z")

</div>

我正在尝试使用 API 将版主组添加到用户。 这是我使用的调用： https://discourse.example.com/groups/{group\_id}/members.json 尽管我收到错误： “errors”：\[ “您无权查看 t…”

---

## [创建新徽章时出错](https://meta.discourse.org/t/sorry-error-when-creating-a-new-badge/162055)

<div class="topic-metadata">

**Author:** [@GalaDarling](https://meta.discourse.org/u/GalaDarling)\
**回覆:** 2\
**Last updated:** [2020年八月25日 20:55 UTC](https://meta.discourse.org/t/sorry-error-when-creating-a-new-badge/162055 "2020-08-25T20:55:59Z")

</div>

你好 我们正在尝试创建一个新的徽章以分配给选定的用户。我试了两天了（当我测试不同的图标外观时，它之前是有效的），但我一直收到“抱歉，出现错误……”。

---

## [\[已解决\] Discourse 更新到 2.6.0.beta2 后不再运行](https://meta.discourse.org/t/solved-discourse-not-running-any-more-after-update-to-2-6-0-beta2/161796)

<div class="topic-metadata">

**Author:** [@TBauer](https://meta.discourse.org/u/TBauer)\
**回覆:** 7\
**Last updated:** [2020年八月23日 14:34 UTC](https://meta.discourse.org/t/solved-discourse-not-running-any-more-after-update-to-2-6-0-beta2/161796 "2020-08-23T14:34:28Z")

</div>

你好， 昨天我尝试通过 SSH 安装 2.6.0.beta2 更新。更新本身运行没有问题。我也阅读了信息，更新可能需要很长时间。但一天之后，它应该又能正常工作了。我 ……

---

## [导入脚本时出现错误](https://meta.discourse.org/t/require-error-with-import-script/162012)

<div class="topic-metadata">

**Author:** [@markcarey](https://meta.discourse.org/u/markcarey)\
**回覆:** 3\
**Last updated:** [2020年八月25日 18:13 UTC](https://meta.discourse.org/t/require-error-with-import-script/162012 "2020-08-25T18:13:20Z")

</div>

抱歉，这是个关于 Ruby 的新手问题，我刚放弃了在 nodeJS 中的导入思路，并尝试改用修改过的 Ruby import\_script。我遇到了以下 require 错误：无法加载此类文件 -- rb-inotify……

---

## [Manjaro论坛遭遇了所有镜像的灾难性故障](https://meta.discourse.org/t/manjaro-forum-suffered-a-catastrophic-failure-of-all-their-images/161933)

<div class="topic-metadata">

**Author:** [@sunjam](https://meta.discourse.org/u/sunjam)\
**回覆:** 7\
**Last updated:** [2020年八月25日 17:11 UTC](https://meta.discourse.org/t/manjaro-forum-suffered-a-catastrophic-failure-of-all-their-images/161933 "2020-08-25T17:11:28Z")

</div>

值得注意的是，Manjaro（一个为计算机和手机开发的主要的 Linux 发行版）基于 Discourse 的论坛遭受了灾难性的失败。听起来像是一次糟糕的更新导致所有上传丢失……

---

## [Custom\_fields 更新同步导致值转为数组](https://meta.discourse.org/t/custom-fields-updated-simultaneous-cause-value-to-turn-into-array/162034)

<div class="topic-metadata">

**Author:** [@Stefan\_Brighiu\_M](https://meta.discourse.org/u/Stefan_Brighiu_M)\
**回覆:** 7\
**Last updated:** [2020年八月25日 16:51 UTC](https://meta.discourse.org/t/custom-fields-updated-simultaneous-cause-value-to-turn-into-array/162034 "2020-08-25T16:51:34Z")

</div>

此 bug 似乎已在此帖子发布前修复。自定义字段与 json 同时保存会变成一个数组 不幸的是，我现在正在处理同时调用端点更新用户自定义字段的问题……

---

## [UserUpdater 类中的不一致行为](https://meta.discourse.org/t/inconsistent-behaviour-in-userupdater-class/161360)

<div class="topic-metadata">

**Author:** [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**回覆:** 4\
**Last updated:** [2020年八月25日 15:28 UTC](https://meta.discourse.org/t/inconsistent-behaviour-in-userupdater-class/161360 "2020-08-25T15:28:58Z")

</div>

@eviltrout 重现步骤： 创建一个用户字段，其 ID 为 1。 运行下面代码的第二行两次。 案例 1 up = UserUpdater.new(Discourse.system\_user, User.find(1)) up.update({:custom\_fields=\> {:user\_fiel…

---

## [POSTGRES升级失败 - 我已尝试所有方法](https://meta.discourse.org/t/upgrade-of-postgres-failed-ive-tried-everything/161914)

<div class="topic-metadata">

**Author:** [@jameshahnii](https://meta.discourse.org/u/jameshahnii)\
**回覆:** 17\
**Last updated:** [2020年八月25日 14:14 UTC](https://meta.discourse.org/t/upgrade-of-postgres-failed-ive-tried-everything/161914 "2020-08-25T14:14:31Z")

</div>

你好，网站突然卡在 Welcome to nginx!，因此在调试时遇到了这些错误。 成功。您现在可以使用以下命令启动数据库服务器： pg\_ctlcluster 10 main start 警告：选定的 stats\_temp\_dir…

---

## [保存基于组的默认通知时遇到的挑战](https://meta.discourse.org/t/challenges-with-saving-group-based-default-notifications/161605)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 1\
**Last updated:** [2020年八月25日 13:44 UTC](https://meta.discourse.org/t/challenges-with-saving-group-based-default-notifications/161605 "2020-08-25T13:44:56Z")

</div>

这与在 /g/groupname/manage/categories 中找到的群组和通知的新功能有关。 我可以毫无问题地将单个类别添加到“静音”。但是，当我刷新浏览器时，所选类别……

---

## [Sidekiq 使用 elasticache，自 discourse 升级后队列作业未处理](https://meta.discourse.org/t/sidekiq-using-elasticache-not-processing-queued-jobs-since-discourse-upgrade/161897)

<div class="topic-metadata">

**Author:** [@aperez](https://meta.discourse.org/u/aperez)\
**回覆:** 4\
**Last updated:** [2020年八月25日 11:58 UTC](https://meta.discourse.org/t/sidekiq-using-elasticache-not-processing-queued-jobs-since-discourse-upgrade/161897 "2020-08-25T11:58:56Z")

</div>

我最近升级了我运行在 ubuntu ec2 上的 discourse 的 docker 实例。我使用了 launcher rebuild 进行升级。我之前是 2.4.0 版本，并且升级到了 2.6.0.beta1（我还再次升级到了 2.6.0.beta2）。……

---

## [滚动到带有 1 个帖子的主题底部](https://meta.discourse.org/t/scroll-to-bottom-of-a-topic-with-1-post/161173)

<div class="topic-metadata">

**Author:** [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)\
**回覆:** 3\
**Last updated:** [2020年八月25日 10:52 UTC](https://meta.discourse.org/t/scroll-to-bottom-of-a-topic-with-1-post/161173 "2020-08-25T10:52:44Z")

</div>

当只有一个主题和一个帖子时，如果我在底部单击，该网站似乎不会滚动到底部。例如，即使在这个网站上，也有一些主题，新的插件或等等……

---

## [无法按泰语标签搜索](https://meta.discourse.org/t/cannot-search-by-thai-tag/160699)

<div class="topic-metadata">

**Author:** [@siriwatknp](https://meta.discourse.org/u/siriwatknp)\
**回覆:** 5\
**Last updated:** [2020年八月25日 08:13 UTC](https://meta.discourse.org/t/cannot-search-by-thai-tag/160699 "2020-08-25T08:13:18Z")

</div>

discourse 版本 2.6.0.beta1 这些是带有泰语标签的示例帖子。 当我转到搜索页面并尝试使用泰语字符（无额外元音）进行搜索时，结果与标签过滤器的匹配数量相同。 然而……

---

## [自定义字段转换是否受最近更新影响？](https://meta.discourse.org/t/custom-field-casting-affected-by-recent-update/122746)

<div class="topic-metadata">

**Author:** [@angus](https://meta.discourse.org/u/angus)\
**回覆:** 5\
**Last updated:** [2020年八月25日 06:22 UTC](https://meta.discourse.org/t/custom-field-casting-affected-by-recent-update/122746 "2020-08-25T06:22:47Z")

</div>

过去两天内，关于事件插件的多个错误报告似乎都与自定义字段的类型转换问题有关。该事件插件已有数月未进行实质性更新。 插…

---

## [Chrome 输入消息时冻结（Chrome 错误？）](https://meta.discourse.org/t/chrome-freezes-while-typing-a-message-a-chrome-bug/161925)

<div class="topic-metadata">

**Author:** [@ljpp](https://meta.discourse.org/u/ljpp)\
**回覆:** 2\
**Last updated:** [2020年八月25日 05:44 UTC](https://meta.discourse.org/t/chrome-freezes-while-typing-a-message-a-chrome-bug/161925 "2020-08-25T05:44:46Z")

</div>

这很可能是 Chrome 的一个 bug，已经存在数月了。我决定在这里报告，因为我想你们可能想跟踪它，也许你们有一些 Google 开发人员联系方式。毕竟，它会影响你们所有的最终……

---

## [类别版主](https://meta.discourse.org/t/category-moderator/161978)

<div class="topic-metadata">

**Author:** [@rldml](https://meta.discourse.org/u/rldml)\
**回覆:** 2\
**Last updated:** [2020年八月25日 05:23 UTC](https://meta.discourse.org/t/category-moderator/161978 "2020-08-25T05:23:41Z")

</div>

如何才能让某个用户仅成为特定分类的主持人？我在分类选项中找不到任何相关设置…… 任何帮助都将不胜感激。 此致， Ronny

---

## [以纯文本格式接收电子邮件](https://meta.discourse.org/t/receive-email-in-plain-text/161930)

<div class="topic-metadata">

**Author:** [@Duksh](https://meta.discourse.org/u/Duksh)\
**回覆:** 1\
**Last updated:** [2020年八月25日 00:35 UTC](https://meta.discourse.org/t/receive-email-in-plain-text/161930 "2020-08-25T00:35:38Z")

</div>

抱歉，这是个新手问题，但在搜索了包含关键字 plaintext+email 的现有帖子后，我没有找到任何可以帮助我的内容。 如何将我的电子邮件通知配置为纯文本发送，以及……

---

## [如何正确设置S3 bucket（非Amazon URL）？](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 19\
**Last updated:** [2020年八月25日 00:07 UTC](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612 "2020-08-25T00:07:23Z")

</div>

因此，我设置了一个Amazon S3存储桶来存储我的论坛资产，并将其放在自定义域上，然后设置CloudFlare CDN来缓存内容。 我的自定义域名为http://forum-storage.com，这……

---

## [升级到 2.6.0.beta1 ( 58ee947b35 ) 后，@staff 类别不可见](https://meta.discourse.org/t/staff-category-not-visible-since-upgrade-to-2-6-0-beta1-58ee947b35/161862)

<div class="topic-metadata">

**Author:** [@sunjam](https://meta.discourse.org/u/sunjam)\
**回覆:** 3\
**Last updated:** [2020年八月24日 23:58 UTC](https://meta.discourse.org/t/staff-category-not-visible-since-upgrade-to-2-6-0-beta1-58ee947b35/161862 "2020-08-24T23:58:17Z")

</div>

自升级到 2.6.0.beta1 ( 58ee947b35 ) 以来，在“所有分类”的默认显示中没有出现任何 @staff 限制的主题。我是一名管理员，因此不再看到列出的内容非常令人烦恼。欢迎提出建议！

---

## [仅在特定类别中运行脚本？](https://meta.discourse.org/t/run-script-only-in-certain-categories/161947)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回覆:** 0\
**Last updated:** [2020年八月24日 21:48 UTC](https://meta.discourse.org/t/run-script-only-in-certain-categories/161947 "2020-08-24T21:48:35Z")

</div>

我有一个禁用右键单击图像的脚本，该脚本目前适用于整个网站，但我有一些私人类别希望禁用它，有什么办法可以用脚本来实现吗？谢谢！

---

## [改进 Markdown 段落处理](https://meta.discourse.org/t/improve-markdown-paragraph-handling/161884)

<div class="topic-metadata">

**Author:** [@deeplow](https://meta.discourse.org/u/deeplow)\
**回覆:** 2\
**Last updated:** [2020年八月24日 10:09 UTC](https://meta.discourse.org/t/improve-markdown-paragraph-handling/161884 "2020-08-24T10:09:28Z")

</div>

根据 commonmark 的规范 段落 行尾是换行符（U+000A）、不是紧随其后的回车符（U+000D）或回车符和紧随其后的换行符。 或 Github Flavored Markdown 规范 …

[上一頁](https://meta.discourse.org/latest.md?page=1155)

[下一頁](https://meta.discourse.org/latest.md?page=1157)
