# Letter avatars broken in 1.5b5?

**URL:** https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814
**Category:** Bug
**Created:** [19 Noviembre, 2015 21:05 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814 "2015-11-19T21:05:59Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [19 Noviembre, 2015 21:05 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/1 "2015-11-19T21:05:59Z")

</div>

We’ve just upgraded to 1.5b5(33) and letter avatars aren’t working.

They link to:

```
/letter_avatar_proxy/v2/letter/l/a6a055/45.png

```

Our site setting is still:

```
/letter_avatar_proxy/v2/letter/{first_letter}/{color}/{size}.png

```

While I notice that avatars here on meta are being served from [avatars.discourse.org](http://avatars.discourse.org)

Any ideas?

---

<div class="post-metadata">

### Author: ![mrosas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrosas/32/104849_2.png) [@mrosas](https://meta.discourse.org/u/mrosas)
#### Post date: [19 Noviembre, 2015 21:22 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/2 "2015-11-19T21:22:37Z")

</div>

Ditto for us.

Looks like there were changes that went in recently impacting this code here:

[https://github.com/discourse/discourse/commit/88f1a8f0b12a4bc61e6b521d0156012b4fd9aec9](https://github.com/discourse/discourse/commit/88f1a8f0b12a4bc61e6b521d0156012b4fd9aec9)

---

<div class="post-metadata">

### Author: ![bweissman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bweissman/32/116408_2.png) [@bweissman](https://meta.discourse.org/u/bweissman)
#### Post date: [19 Noviembre, 2015 21:31 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/3 "2015-11-19T21:31:21Z")

</div>

At least until they fix it, changing the external system avatars URL to “[https://avatars.discourse.org/v2/letter/{first\_letter}/{color}/{size}.png](https://avatars.discourse.org/v2/letter/%7Bfirst_letter%7D/%7Bcolor%7D/%7Bsize%7D.png)” fixed the problem for me.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [19 Noviembre, 2015 21:32 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/4 "2015-11-19T21:32:12Z")

</div>

Looks like this requires a launcher rebuild to resolve, avatars are working once again.

> [@bweissman](#):
>
> At least until they fix it, changing the external system avatars URL to “[https://avatars.discourse.org/v2/letter/{first\_letter}/{color}/{size}.png](https://avatars.discourse.org/v2/letter/%7Bfirst_letter%7D/%7Bcolor%7D/%7Bsize%7D.png)” fixed the problem for me.

Presumably grabbing the latest build via rebuild either creates or grabs local copies of these images. All you’re doing above is using the versions hosted on another site.

@sam if a beta upgrade isn’t going to work correctly until a rebuild has happened, isn’t it a bit silly to prompt the user with an upgrade button in the back end?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [19 Noviembre, 2015 21:33 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/5 "2015-11-19T21:33:55Z")

</div>

Confirmed, you must rebuild to get the fix, I will see if I can add a big red warning on `/admin/upgrade` page

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [19 Noviembre, 2015 21:34 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/6 "2015-11-19T21:34:35Z")

</div>

> [@sam](#):
>
> I will see if I can add a big red warning on /admin/upgrade page

That’ll do it. Thanks!

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [20 Noviembre, 2015 01:38 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/7 "2015-11-20T01:38:18Z")

</div>

The avatars breaks in development mode though since nginx is not running on top of the rails web server. 😁

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [20 Noviembre, 2015 01:52 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/8 "2015-11-20T01:52:35Z")

</div>

Yeah I noticed that, maybe we should add a route for it, mainly for dev @mpalmer

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [20 Noviembre, 2015 01:55 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/9 "2015-11-20T01:55:57Z")

</div>

> [@sam](#):
>
> Yeah I noticed that, maybe we should add a route for it, mainly for dev

Would that be a route for `/letter_avatar_proxy` to feed back into the internal avatar generation code? I think that’d be reasonable.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [13 Febrero, 2016 09:57 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/11 "2016-02-13T09:57:01Z")

</div>

I think we sorted this out a while back, closing, flag to reopen if still an issue.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [13 Febrero, 2016 09:57 UTC](https://meta.discourse.org/t/letter-avatars-broken-in-1-5b5/35814/12 "2016-02-13T09:57:05Z")

</div>


