A few recommendation:
-
Look at the URL of one of the bad images, what happens if you paste
?aat the end of the URL does the image start working? -
Can you fix a single user by hand (switch to letter, upload an avatar, switch to avatar, refresh avatar)
Are your images local or on s3?