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 }
Eu encontrei o mesmo problema.
Você por acaso está usando o Cloudflare, @topological ? Se bem me lembro, eu resolvi isso adicionando o IP do servidor à lista de permissões no Cloudflare.