# Can't migrate uploads to S3

**URL:** <https://meta.discourse.org/t/cant-migrate-uploads-to-s3/365533>\
**Category:** Product Support\
**Tags:** s3\
**Created:** [May 9, 2025, 8:15pm UTC](https://meta.discourse.org/t/cant-migrate-uploads-to-s3/365533 "2025-05-09T20:15:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![stanski](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@stanski](https://meta.discourse.org/u/stanski)\
**Post date:** [May 11, 2025, 10:43pm UTC](https://meta.discourse.org/t/cant-migrate-uploads-to-s3/365533/6 "2025-05-11T22:43:13Z")

</div>

Manually downgrading the aws gems in the container did get the `uploads:migrate_to_s3` job to actually upload images so apparently the env variables wasn’t enough, as you pointed out.

However the process failed later at a different point:

```plaintext
FileStore::ToS3MigrationError: 2 posts are not remapped to new S3 upload URL. S3 migration failed for db 'default'. (FileStore::ToS3MigrationError)

```

That will be a separate troubleshooting adventure.

---

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