# Migrate\_to\_s3 失败

**URL:** <https://meta.discourse.org/t/migrate-to-s3-fails/209499>\
**Category:** Self-hosting\
**Tags:** s3\
**Created:** [2021年十一月18日 06:54 UTC](https://meta.discourse.org/t/migrate-to-s3-fails/209499 "2021-11-18T06:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![vulkanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vulkanino/32/119654_2.png) [@vulkanino](https://meta.discourse.org/u/vulkanino)\
**Post date:** [2022年二月21日 15:19 UTC](https://meta.discourse.org/t/migrate-to-s3-fails/209499/23 "2022-02-21T15:19:25Z")

</div>

是的，您可能已经在这里看到了讨论：

> [@Uploads migration to S3 fails](https://meta.discourse.org/t/uploads-migration-to-s3-fails/106487):
>
> Command rake uploads:migrate\_to\_s3 Output Migrating uploads to S3 for 'default'... Some uploads were not migrated to the new scheme. Please run these commands in the rails console SiteSetting.migrate\_to\_new\_scheme = true Jobs::MigrateUploadScheme.new.execute(nil) I think this is because I have setup volumes in digitalocean and moved all uploads to the volumes disk. What should I do to make the migration work? Thanks.

---

_[View the full topic](https://meta.discourse.org/t/migrate-to-s3-fails/209499)._
