# Mattermost needs to be upgraded from docker mattermost/mattermost-prod-app:v5.31.7 to mattermost/mattermost-team-edition:6.0

**URL:** <https://forum.mattermost.com/t/mattermost-needs-to-be-upgraded-from-docker-mattermost-mattermost-prod-app-v5-31-7-to-mattermost-mattermost-team-edition-6-0/12796>\
**Category:** Troubleshooting\
**Created:** [January 7, 2022, 5:39pm UTC](https://forum.mattermost.com/t/mattermost-needs-to-be-upgraded-from-docker-mattermost-mattermost-prod-app-v5-31-7-to-mattermost-mattermost-team-edition-6-0/12796 "2022-01-07T17:39:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhanesh](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@Dhanesh](https://forum.mattermost.com/u/Dhanesh)\
**Post date:** [January 7, 2022, 5:39pm UTC](https://forum.mattermost.com/t/mattermost-needs-to-be-upgraded-from-docker-mattermost-mattermost-prod-app-v5-31-7-to-mattermost-mattermost-team-edition-6-0/12796/1 "2022-01-07T17:39:18Z")

</div>

Mattermost docker image needs to be upgraded from docker mattermost/mattermost-prod-app:v5.31.7 to mattermost/mattermost-team-edition:6.0, when i migrated then i created a new database and i have done **pg\_restore** and it was successfull, but the channels and old data didn’t get loaded in the new mattermost, can i get help on this like how to migrate successfully from **prod-appv5.31.7** to **mattermost-team-edition:6.0**
