# How to fix user avatar?

**URL:** <https://meta.discourse.org/t/how-to-fix-user-avatar/94675>\
**Category:** Product Support\
**Created:** [August 14, 2018, 8:24am UTC](https://meta.discourse.org/t/how-to-fix-user-avatar/94675 "2018-08-14T08:24:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**Post date:** [August 14, 2018, 8:24am UTC](https://meta.discourse.org/t/how-to-fix-user-avatar/94675/1 "2018-08-14T08:24:00Z")

</div>

Hi, one forum member asked me what happened with her avatar based on gravatar. It became default:

 ![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://global.discourse-cdn.com/meta/original/3X/7/7/7720957eddbe5e99ac5b3bb775b07a062cb24284.png)  
First we tried to apply new gravatar picture and clean browser cache - nothing changes, then upload custom picture - it is shown in preview only. Logs are clean. Now we can switch between default grey icon and ‘S’ system icon.

I found the following topic where is described how to reset all avatars, maybe there is a command how to reset avatar for certain user? But I am not sure that it is a solution, anyway… I cannot restart/rebuild forum right now. The problem persists only for one person.

Appreciated for any help, thanks  
Ivan

> [@Reset all avatars back to default](https://meta.discourse.org/t/reset-all-avatars-back-to-default/64929/3):
>
> To reset all user avatars to system generated avatar, here is what needs to be done on server: cd /var/discourse ./launcher enter app rails c User.human\_users.update\_all(uploaded\_avatar\_id: nil)@Brock_Busby Since you are hosted by us, I can do this for you. Should I go ahead and reset all avatars on your Discourse instance?

---

_[View the full topic](https://meta.discourse.org/t/how-to-fix-user-avatar/94675)._
