# My custom emojis all broke after updating to 5.27

**URL:** <https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493>\
**Category:** Troubleshooting\
**Created:** [October 1, 2020, 5:10pm UTC](https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493 "2020-10-01T17:10:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashblade](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ashblade](https://forum.mattermost.com/u/ashblade)\
**Post date:** [October 1, 2020, 5:10pm UTC](https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493/1 "2020-10-01T17:10:34Z")

</div>

For feature requests, please see: [http://www.mattermost.org/feature-requests/](http://www.mattermost.org/feature-requests/).

For troubleshooting questions, please post in the following format:

#### Summary

After updating to 5.27, I can no longer see any of my own custom emojis (they are still defined, just blank), however other users can still see them, and I can see custom emojis they have created.

#### Steps to reproduce

Version 5.27 (updated from 5.23), then my own custom emoji graphics no longer are visible.

#### Expected behavior

Expected behavior is that when I (or any other user) references the custom emoji string identifier, the graphic should appear for all users. As it stands, everyone can see the graphics, just not me (I’m the admin of the server).

#### Observed behavior

When I go to the Custom Emoji menu drop-down, the attached screenshot is what I see. If I add a new custom emoji, I can see the newly added one as I would expect to. Just all of the ones that existed prior to the upgrade seem to be affected.

 ![Screen Shot 2020-09-29 at 11.14.45 AM](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/b/b3fd6ebbc1a7d7c0d76315dda53d30d21c0a2e9a.png)

Thanks for any help or thoughts on how to further troubleshoot this.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [October 1, 2020, 5:13pm UTC](https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493/2 "2020-10-01T17:13:10Z")

</div>

Hi, @ashblade

One of the first things that I would check is the permission of the `/opt/mattermost` directory post upgrade as it is common to run it as the `root` user causing permission changes.

Can you run `ls -lAh /opt/mattermost/` and share the output here? By default, it should look like this:

```auto
vagrant@mattermost:~$ ls -lAh /opt/mattermost/
total 248K
drwxrwxr-x 2 mattermost mattermost 4.0K Sep 14 12:45 bin
drwxrwxr-x 7 mattermost mattermost 4.0K Oct 1 12:59 client
drwxrwxr-x 2 mattermost mattermost 4.0K Oct 1 12:59 config
drwxrwxr-x 4 mattermost mattermost 4.0K Oct 1 17:05 data
-rw-rw-r-- 1 mattermost mattermost 2.1K Sep 14 12:44 ENTERPRISE-EDITION-LICENSE.txt
drwxrwxr-x 2 mattermost mattermost 4.0K Sep 14 12:44 fonts
drwxrwxr-x 2 mattermost mattermost 4.0K Sep 14 12:44 i18n
drwxrwxr-x 2 mattermost mattermost 4.0K Oct 1 13:00 logs
-rw-rw-r-- 1 mattermost mattermost 193K Sep 14 12:44 NOTICE.txt
drwxr--r-- 3 mattermost mattermost 4.0K Oct 1 13:00 plugins
drwxrwxr-x 2 mattermost mattermost 4.0K Sep 14 12:45 prepackaged_plugins
-rw-rw-r-- 1 mattermost mattermost 5.5K Sep 14 12:44 README.md
drwxrwxr-x 2 mattermost mattermost 4.0K Sep 14 12:44 templates

```

If not, run the `sudo chown -R mattermost:mattermost /opt/mattermost/` command and check again if the custom emojis are still broken.

---

<div class="post-metadata">

**Author:** ![ashblade](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ashblade](https://forum.mattermost.com/u/ashblade)\
**Post date:** [October 1, 2020, 5:16pm UTC](https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493/3 "2020-10-01T17:16:49Z")

</div>

Thanks for the reply @ahmaddanial . Here is the output which all looks correct to me:

> /opt/mattermost# ls -lAh /opt/mattermost  
> total 252K  
> -rw-r–r-- 1 mattermost mattermost 2.1K Sep 14 12:44 ENTERPRISE-EDITION-LICENSE.txt  
> -rw-r–r-- 1 mattermost mattermost 193K Sep 14 12:44 NOTICE.txt  
> -rw-r–r-- 1 mattermost mattermost 5.5K Sep 14 12:44 README.md  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:45 bin  
> drwxr-xr-x 5 mattermost mattermost 4.0K Sep 26 13:49 bleveindexes  
> drwxr-xr-x 7 mattermost mattermost 4.0K Sep 25 17:39 client  
> drwxr-xr-x 3 mattermost mattermost 4.0K Sep 14 12:44 config  
> drwxrwxr-x 188 mattermost mattermost 4.0K Sep 25 17:54 data  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:44 fonts  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:44 i18n  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:44 logs  
> drwxr–r-- 2 mattermost mattermost 4.0K Sep 25 18:26 plugins  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:45 prepackaged\_plugins  
> drwxr-xr-x 2 mattermost mattermost 4.0K Sep 14 12:44 templates

---

<div class="post-metadata">

**Author:** ![ashblade](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ashblade](https://forum.mattermost.com/u/ashblade)\
**Post date:** [October 1, 2020, 6:53pm UTC](https://forum.mattermost.com/t/my-custom-emojis-all-broke-after-updating-to-5-27/10493/4 "2020-10-01T18:53:34Z")

</div>

I did run the chmod -R command as well just to make sure owner and group perms were all set correctly; no change, unfortunately. Thank you for the suggestion.
