# 恢复功能正常，网站加载所有帖子后就会失败

**URL:** <https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799>\
**Category:** Product Support\
**Created:** [2025 年2 月 12 日 02:41 UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799 "2025-02-12T02:41:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
发布日期： [2025 年2 月 12 日 12:14 UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799/4 "2025-02-12T12:14:54Z")

</div>

我通常的做法是在迁移之前禁用 S3 上传，但我假设你没有这个选择，因为你原始的论坛已经关闭了。

我不完全确定这是否有效——你可以试试看

- 在你的 app.yml 中设置 `DISCOURSE_ENABLE_S3_UPLOADS: false`
- 进行还原
- 移除那一行
- 重建

如果这不起作用，你可以尝试编辑备份中的 `dump.sql` 文件，并在那儿将设置改为 false。

---

_[View the full topic](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799)._
