Reset all avatars back to default

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?

8 Likes