We just did a restore of our forums and can't get avatars to work. Gravatars are not working, it shows just a blank box. Refresh does not help.
I set the forums to allow user uploads and have the same problem. I'm not sure what I'm missing here.
Manually uploaded the images and that solved the problem. I'm not sure what's going on with restores but our settings and images didn't restore. Which is odd as they're in the backup file.
I followed the guide at https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721, but neither settings nor avatars were restored, even though they're definitely included in the backup file. File attachments show up as expected.
Update: In my case, the following hint solved the problem for me.