# 图片消失；什么都没用 - 重建容器，上传：恢复，和帖子：重烘焙

**URL:** <https://meta.discourse.org/t/images-disappeared-nothing-helps-container-rebuilding-uploads-recover-and-posts-rebake/229272>\
**Category:** Self-hosting\
**Created:** [2022 年6 月 7 日 04:32 UTC](https://meta.discourse.org/t/images-disappeared-nothing-helps-container-rebuilding-uploads-recover-and-posts-rebake/229272 "2022-06-07T04:32:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)\
发布日期： [2022 年6 月 7 日 12:49 UTC](https://meta.discourse.org/t/images-disappeared-nothing-helps-container-rebuilding-uploads-recover-and-posts-rebake/229272/4 "2022-06-07T12:49:54Z")

</div>

未进行迁移。图片有一天突然消失了。

有一件事可能重要也可能不重要，那就是我在设置 Discourse 时附加了一个块存储，并在 `app.yml` 中映射了目录，如下所示：

```plaintext
- volume:
    host: /mnt/blockstorage/shared/standalone
    guest: /shared

```

然后它运行正常了大约 2-3 个月。然后有一天，在没有我做任何操作的情况下（除了可能为了将 Discourse 更新到最新版本而重建之外），图片就消失了。

---

_[View the full topic](https://meta.discourse.org/t/images-disappeared-nothing-helps-container-rebuilding-uploads-recover-and-posts-rebake/229272)._
