I am in the process of moving from phpBB to Discourse and managed to get everything up and running except for the avatars. Any user uploaded avatars from phpBB are not displaying and I am getting the letter avatar, however if a user has setup Gravatar on phpBB it is able to fetch and grab the images from there and set them properly.
When I navigate to /var/discourse/shared/standalone/import/data/avatars/upload I can see that there are images of users avatars in there, however when I view my forums they are not being associated to the user.
Since Iām a new user I cannot link to both of those, but are easy to find on GitHub. I do not believe are causing any issues. I have my avatars settings.yml file as:
Does anyone have any other suggestions as to what might be the issue? I would like to not have to force our users to re-upload their avatars once we go live with Discourse. I have verified that once on Discourse you can re-upload your avatar and it works perfectly fine.
I just checked and there are no SideKiq jobs in the queue, I flushed it just in-case as well. I am still getting letter avatars.
When I go to a users profile with a letter avatar the URL for their avatar is: http://127.0.0.1:81/letter_avatar_proxy/v2/letter/e/8dc957/120.png
Thanks for the response! I think at this point Iām going to bump down the priority of this, and when I go live just have my users re-upload their avatars as this is really just a nice to have.
As I explained in my previous topic, if you see the URL of a lettered avatar (which is the system default), your uploaded_avatar_id might be empty.
Install a pgweb and see your user_avatar table, find a ācustom_upload_idā, and use that id to find the actual location of the image in uploaded table.
Try open that URL with a browser, see if it is right.
@marguerite looking at the database the custom_upload_id is NULL for every user, some users have their gravatar IDs setup. Iām not going to bother working on this anymore, and just have users re-upload their avatars. Thanks for all the help though!
@schungx I have an EC2 instance running my Discourse forums, I just opened up the SSH ports so I can jump on it and test locally.