# \[RESOLVED\] Images not loading with copied /data

**URL:** <https://forum.mattermost.com/t/resolved-images-not-loading-with-copied-data/6488>\
**Category:** Troubleshooting\
**Created:** [January 10, 2019, 8:54pm UTC](https://forum.mattermost.com/t/resolved-images-not-loading-with-copied-data/6488 "2019-01-10T20:54:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nosus\_Decipio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nosus_decipio/32/2498_2.png) [@Nosus\_Decipio](https://forum.mattermost.com/u/Nosus_Decipio)\
**Post date:** [January 10, 2019, 8:54pm UTC](https://forum.mattermost.com/t/resolved-images-not-loading-with-copied-data/6488/1 "2019-01-10T20:54:33Z")

</div>

I was attempting to upgrade mattermost while maintaining the configuration and data. Please let me know if there is a more graceful way to do it. If not, please help me understand how to correct the fact that my images aren’t loading.

What I did:

1. Downloaded & unzipped new Mattermost version (5.6) to `/opt/mattermost-56`
2. Copied `/opt/mattermost/data` to /`opt/mattermost-56/data`
3. Copied `/opt/mattermost/config/config.json` to `/opt/mattermost-56/config/config.json`
4. Modified `/opt/mattermost` to `/opt/mattermost-51`
5. Modified `/opt/mattermost-56` to `/opt/mattermost`
6. Activated app via `sudo -u mattermost ./bin/mattermost`

Expected Behavior:  
App should be running without any changes from before

Actual Behavior:  
App is running but without images from before

---

<div class="post-metadata">

**Author:** ![Nosus\_Decipio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nosus_decipio/32/2498_2.png) [@Nosus\_Decipio](https://forum.mattermost.com/u/Nosus_Decipio)\
**Post date:** [January 10, 2019, 8:59pm UTC](https://forum.mattermost.com/t/resolved-images-not-loading-with-copied-data/6488/2 "2019-01-10T20:59:59Z")

</div>

RESOLVED

I needed to go back through with `sudo chown -R /opt/mattermost`
