After migrating to s3 and rebaking uncooked posts. It seems to have been a success.
However all uploaded user avatars I’ve seen are displaying a default avatar (gray icon).
So now I’m unsure if the migration was a success. Little reluctant to set it live before being sure.
Does anyone know if this a problem that should fix itself?
Or has anyone tried this?
I’m not sure if the following is complete, but this rails console command removes all optimized images then regenerates the ones used for avatars:
OptimizedImage.destroy_all
UserAvatar.all.each {|ua| uaid = ua.gravatar_upload_id || ua.custom_upload_id; Jobs::CreateAvatarThumbnails.perform_async(upload_id: uaid) if uaid }
J’ai rencontré le même problème.
Utilisez-vous Cloudflare, @topological ? Si je me souviens bien, j’ai résolu ce problème en ajoutant l’IP du serveur à la liste blanche dans Cloudflare.