# 由于AWS SDK gem版本升级和新的AWS数据完整性保护，无法重建

**URL:** <https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217>\
**Category:** Self-hosting\
**Created:** [2025年二月24日 17:39 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217 "2025-02-24T17:39:21Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2025年二月25日 18:02 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217/26 "2025-02-25T18:02:18Z")

</div>

> [@pfaffman](#):
>
> 那个 rake 任务是删除过期资源的唯一方法吗？

是的。这也不是什么大事。普通网站偶尔更新一下不会有什么大的区别。

如果有人关心这些事情，他们可以自己设置生命周期规则。

> [@pfaffman](#):
>
> 听起来很可能。也许我们需要一个“skip\_s3\_delete”设置来解决这个问题，直到其他提供商赶上来？

设置 `clean up uploads = false` 不是已经这样了吗？

> [@pfaffman](#):
>
> 也许还可以自动为我们知道有问题的提供商设置它？

哈哈，不行。Discourse 官方支持 S3。虽然我特意开始编写了整个[为上传配置 S3 兼容对象存储提供商](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916)维基，并添加了一些开关以增加克隆兼容性，但我们今天没有任何计划投入更多时间。

如果社区想发送一些增加兼容性的 PR，并且默认关闭，那是 #pr-welcome，但不要指望很快在核心中看到对每个克隆的官方支持。

---

_[View the full topic](https://meta.discourse.org/t/cant-rebuild-due-to-aws-sdk-gem-bump-and-new-aws-data-integrity-protections/354217)._
