# phpBB to Discourse, Avatars are not displaying

**URL:** https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865
**Category:** Support
**Created:** [November 10, 2017, 9:49pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865 "2017-11-10T21:49:51Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mattbr](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mattbr](https://meta.discourse.org/u/mattbr)
#### Post date: [November 10, 2017, 9:49pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/1 "2017-11-10T21:49:51Z")

</div>

Hello,

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.

I have read this thread: [Letter avatars still displayed after importing phpbb3 avatars](https://meta.discourse.org/t/letter-avatars-still-displayed-after-importing-phpbb3-avatars/69553) the only plugins we are using are:

- Docker Manager
- Discourse MigratePassword

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:

```plaintext
import:
    avatars:
        uploaded: true
        gallery: true
        remote: true

```

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.

Thanks!

---

<div class="post-metadata">

### Author: ![marguerite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marguerite/32/120529_2.png) [@marguerite](https://meta.discourse.org/u/marguerite)
#### Post date: [November 11, 2017, 7:35am UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/2 "2017-11-11T07:35:27Z")

</div>

read this: [Letter avatars still displayed after importing phpbb3 avatars - #13 by marguerite](https://meta.discourse.org/t/letter-avatars-still-displayed-after-importing-phpbb3-avatars/69553/13)

```
    grep ‘bicubic’ app/models/optimized_image.rb

```

And see if bicubic is still there. Change that word to ‘catrom’.

---

<div class="post-metadata">

### Author: ![mattbr](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mattbr](https://meta.discourse.org/u/mattbr)
#### Post date: [November 14, 2017, 5:30pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/3 "2017-11-14T17:30:04Z")

</div>

Thanks for the reply!

I have changed `bicubic` to `catrom`, and restarted the app. Still getting the letter avatars displaying though.

---

<div class="post-metadata">

### Author: ![marguerite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marguerite/32/120529_2.png) [@marguerite](https://meta.discourse.org/u/marguerite)
#### Post date: [November 18, 2017, 7:18am UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/4 "2017-11-18T07:18:51Z")

</div>

@mattbr

I recently just migrated another phpbb3 forum to discourse.

At first, the imported user-uploaded avatars were not shown either. After finishing the sidekiq jobs, the avatars showed.

If they don’t show up, you can click the empty avatar on your forum, and paste the URL here. And I will see if anything I can do to help.

---

<div class="post-metadata">

### Author: ![mattbr](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mattbr](https://meta.discourse.org/u/mattbr)
#### Post date: [November 20, 2017, 3:21pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/5 "2017-11-20T15:21:02Z")

</div>

@marguerite

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.

---

<div class="post-metadata">

### Author: ![marguerite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marguerite/32/120529_2.png) [@marguerite](https://meta.discourse.org/u/marguerite)
#### Post date: [November 22, 2017, 12:49am UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/7 "2017-11-22T00:49:59Z")

</div>

@mattbr

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.

(Maybe image read permission error?)

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 24, 2017, 3:27pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/8 "2017-11-24T15:27:53Z")

</div>

All your avatar urls are pointing to localhost 127.0.0.1 for some reason?

---

<div class="post-metadata">

### Author: ![mattbr](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mattbr](https://meta.discourse.org/u/mattbr)
#### Post date: [November 24, 2017, 3:42pm UTC](https://meta.discourse.org/t/phpbb-to-discourse-avatars-are-not-displaying/73865/9 "2017-11-24T15:42:34Z")

</div>

@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.
