# 404 审核队列中文件链接无效

**URL:** https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596
**Category:** Bug
**Created:** [2020年七月13日 14:34 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596 "2020-07-13T14:34:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![alexandrutrifan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexandrutrifan/32/186865_2.png) [@alexandrutrifan](https://meta.discourse.org/u/alexandrutrifan)
#### Post date: [2020年七月13日 14:34 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596/1 "2020-07-13T14:34:54Z")

</div>

大家好，

我们的论坛最近出现了一个问题。  
从 6 月初开始，审核队列中待审核的文件链接开始指向 404 页面。  
在不清楚文件内容的情况下进行内容审核确实很困难 😅

有趣的是，一旦帖子被接受并显示在相应分类中，文件链接就能正常工作。

如果我记得没错的话，那个月我们的服务器曾两次宕机（由于无关的问题）。  
此外，在 6 月的某个时间点，通过仪表板升级到新版本已不再可行，因此我们不得不通过命令行重新构建。

日志中也没有发现任何可疑的错误信息。

我们尝试自行排查问题，但未能成功。  
我们非常需要一位对 Discourse 工作原理有更深入了解的专家提供帮助。  
或许有人知道这些文件链接是如何生成或转换的，并能指出可能存在的错误。

此致  
Alex

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2020年七月13日 18:49 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596/2 "2020-07-13T18:49:00Z")

</div>

> [@alexandrutrifan](#):
>
> 审核队列中等待审核的文件开始指向 404 页面。

您是指字面意义上的“文件”吗？比如附件？

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2020年七月13日 18:54 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596/3 "2020-07-13T18:54:20Z")

</div>

我认为 @cvx 已经在

> <https://github.com/discourse/discourse/commit/32ee9fae4043c6f809cc70817b7510820cc800e0>
>
> Regressed in 3b51e05de2aeb0cff547befcfde442f5ceeb329d. Thanks to @romanrizzi for… reporting!

中修复了这个问题。因此，如果你更新到最新版本，现在应该可以正常工作了 🙂

---

<div class="post-metadata">

### Author: ![alexandrutrifan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexandrutrifan/32/186865_2.png) [@alexandrutrifan](https://meta.discourse.org/u/alexandrutrifan)
#### Post date: [2020年七月13日 19:14 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596/4 "2020-07-13T19:14:25Z")

</div>

感谢您的快速回复。

@codinghorror 是的，就是用户通过拖放等方式上传的常规文件（附件）。

@david @cvx 非常感谢！我刚刚更新了我们的实例，现在运行得非常好。😊

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2020年七月13日 23:54 UTC](https://meta.discourse.org/t/404-link-to-files-in-the-moderation-review-queue/157596/5 "2020-07-13T23:54:23Z")

</div>


