# 上传未被孤立和清除

**URL:** https://meta.discourse.org/t/uploads-not-getting-orphaned-and-purged/259036
**Category:** Support
**Created:** [2023 年3 月 22 日 13:47 UTC](https://meta.discourse.org/t/uploads-not-getting-orphaned-and-purged/259036 "2023-03-22T13:47:52Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### 作者： ![Uphill4721](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@Uphill4721](https://meta.discourse.org/u/Uphill4721)
#### 发布日期： [2023 年3 月 23 日 07:56 UTC](https://meta.discourse.org/t/uploads-not-getting-orphaned-and-purged/259036/5 "2023-03-23T07:56:27Z")

</div>

感谢您的回复！

查询可以工作，但它只列出了两个上传及其详细信息。应该有数百甚至数千个符合孤立文件标准的上传，其中大部分是用户在正常发帖时上传的图片文件。

我们目前只使用官方插件：

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-chat-integration.git
          - git clone https://github.com/discourse/discourse-prometheus.git
          - git clone https://github.com/discourse/discourse-bbcode-color
          - git clone https://github.com/discourse/discourse-data-explorer

```

在我最初安装之后不久，上传过程似乎经历了一次大修，我想知道这是否与我们的情况有关：[A new era for file uploads in Discourse](https://meta.discourse.org/t/a-new-era-for-file-uploads-in-discourse/210469)

暂存服务器的宽限期应该已经过了，但我没有看到上传目录大小有任何变化，测试文件仍然可用。接下来我应该检查什么？这是否可能由某些错误的文件系统权限引起，是否有简单的方法可以检查？我快没主意了，其他一切运行正常，这是我们目前唯一的问题。

---

_[View the full topic](https://meta.discourse.org/t/uploads-not-getting-orphaned-and-purged/259036)._
