# Migrate\_to\_s3 fails

**URL:** <https://meta.discourse.org/t/migrate-to-s3-fails/209499>\
**Category:** Self-hosting\
**Tags:** s3\
**Created:** [November 18, 2021, 6:54am UTC](https://meta.discourse.org/t/migrate-to-s3-fails/209499 "2021-11-18T06:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [November 18, 2021, 12:50pm UTC](https://meta.discourse.org/t/migrate-to-s3-fails/209499/4 "2021-11-18T12:50:45Z")

</div>

You might find a reference to which file failed via Admin \> Logs \> Error Logs

If that doesn’t help, I think searching the database for posts with `cooked` that contain `yourdomain/uploads/` will get you a list of those 19 posts mentioned in the migration status. Worst case, you could then manually look at those and compare any uploads with what’s in S3.

Something like:

```plaintext
rails c
Post.where("cooked like '%discourse.example.com/uploads/%'")

```

---

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