Migrate_to_S3 Fails on Rebake

@gerhard Any chance you know how to fix the issue of all custom avatars displaying as default avatars after migrating to s3?

Everything else is displaying great on s3. Post images, user cards, user background images. Just avatars aren’t displaying. Looks like the original avatars were migrated over, can see them in the db and the files exist on s3, so it seems it’s just an issue with the optimized ones. I see quite a lot of people have had this problem, but I have not been able to find a solution yet. :sweat_smile:


Update/Edit:

So just going to roll the dice on this one and complete the migration without the avatars working. New avatar uploads are going to s3, but they won’t display either :confused:

Hopefully it can be corrected later at some point.

Looking in /logs I see some records like this for avatar urls:

Could not find file in the store located at url: //bucketname.s3.fr-par.scw.cloud/original/2X/d/123456.JPG

The file does exist though if I visit the url and the file path looks fine. Have another instance with the same settings (only difference is the bucket name) and avatars are working really well. The path is in the identical format on the other instance also (from looking up the uploads in rails).

Hopefully that is a clue as to what is happening.