[Solved] Attachments missing after migration

We recently migrated from Mattermost 9.8.1 on Ubuntu to Mattermost 10.3.1 on RHEL. Everything but attachments seem to have moved over. It will show where a picture should be but it’s blurred and can’t be clicked on. Attachments, like PDF’s, will show the PDF icon and the name of the pdf but it won’t show a preview or let us download it. New attachments work fine, but old ones that should have copied over do not.

From everything I can find in the migration documentation, all I needed to do was migrate the postgresql DB over and it should work. Are attachments and pictures stored elsewhere that I need to copy over?

Attachments live in /opt/mattermost/data (by default, it’s possible you had Mattermost installed somewhere else) You’ll need to find and migrate that data store too.

1 Like

They were in the data folder. I just didn’t realize I needed to move that. I couldn’t find it in the documentation on migration. Thanks for the help.

1 Like