# 迁移Discourse恢复数据失败

**URL:** <https://meta.discourse.org/t/discourse/402623>\
**Category:** Self-hosting\
**Created:** [2026年五月11日 02:11 UTC](https://meta.discourse.org/t/discourse/402623 "2026-05-11T02:11:24Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![xlg256](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xlg256/32/555005_2.png) [@xlg256](https://meta.discourse.org/u/xlg256)\
**Post date:** [2026年五月18日 02:00 UTC](https://meta.discourse.org/t/discourse/402623/11 "2026-05-18T02:00:56Z")

</div>

你试过降级 aws-sdk-s3 吗：

> [@Can't rebuild due to AWS SDK gem bump and new AWS Data Integrity Protections](https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217/49):
>
> But I did for a site that’s using Backblaze. I created a template I put in /root/aws-revert-template.yml with this: # This template reverts aws-sdk-s3 to a version that works with backblaze params: home: /var/www/discourse hooks: after\_bundle\_exec: - exec: cd: $home cmd: - bundle config set frozen false - "sed -i 's/gem \"aws-sdk-s3\", require: false/gem \"aws-sdk-s3\", \"1.177.0\", require: false/' Gemfile" - bundle update aws-sdk-s3 …

---

_[View the full topic](https://meta.discourse.org/t/discourse/402623)._
