[RESOLVED] Images not loading with copied /data

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

RESOLVED

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

1 Like