After update, some of my site small profile pictures are generic gray figures

AI-generated summary

After updating to commit 5077cf52fdb, some users are experiencing issues with small profile pictures displaying as generic gray figures, while larger images remain unaffected. The problem occurs in the Latest view and the profile dropdown, and a shift-click refresh does not resolve it. Users report that changing the profile picture setting from custom upload to system default and re-uploading fixes the issue. Some affected users had previously used Gravatar, and attempting to refresh the Gravatar image breaks the profile picture. However, manually downloading the Gravatar image via curl works, suggesting the issue may be with the refresh functionality rather than the image itself. mcdanlj notes that the issue is inconsistent and not clearly tied to a specific error message.

I just did an update to 5077cf52fdb as a result of ./launcher rebuild app while implementing Add an offline page to display when Discourse is rebuilding or starting up

Now, some of the small profile pictures are a gray generic. For example, here’s what the Latest view looks like:

However, the larger profile pictures appear fine:

A shift-click refresh shows the same problem, so it’s not a transient error.

Affected users (including me) have the same generic gray profile picture in the upper right profile pull-down.

I’m not sure where to look for error messages associated with only a certain size of profile picture failing to display only for some users.

One user reported that his uploaded picture was still present in his profile, but gravatar was selected, and that changing it back to custom upload fixed it.

Mine was still set to custom upload and the picture was visible, but it was not active; changing it to system default broke the custom upload and I had to upload it again, after which my profile picture was restored.

I’ve noticed that several affected users had a gravatar, and refreshing the gravatar is broken; it destroys their profile picture if I press the refresh button for gravatar. This happens inconsistently, and for some users I’ve had no problem downloading their gravatar using curl https://www.gravatar.com/avatar/$(echo -n $email | md5sum | cut -d' ' -f1) and uploading it as a new static profile picture. Not clear why “refresh” on gravatar would not work when I can download it perfectly.

1 like