Has anyone else noticed that the header/background images on user profiles are missing here on Meta? S3 gives a 403 (forbidden) error.
Hmmm. I had an image for a user card background but it’s not showing on my profile settings page. I don’t remember my having deleted it, so it looks like there’s a problem somewhere.
This was caused by a regression when we switched to dualstack endpoints for AWS s3 and it looks like we missed the UserProfile
table when correcting the links in the uploads table previously. We need to update UserProfile
to not store the upload’s url in profile_background
and card_background
and instead point it to the upload’s id to avoid this nightmare in the future.
I’m pushing out the migration to fix this soon.
This is fixed in
https://github.com/discourse/discourse/commit/cfa7173da346ec9f31daac13b058ba82419771d9
Backported to stable and beta as well.