Upgrading Mattermost 7.1 Docker version

Hi sagar,

Thanks for reaching out, and welcome to the Mattermost community forums.

I’m sorry to hear that you’re having trouble upgrading your Mattermost Docker installation. Let’s try to troubleshoot the issue together. Here are a few steps we can take:

  1. Make sure you have the latest version of the Docker Compose file. You can get the latest version from the Mattermost GitHub repository: docker-compose.yml
  2. Before running the upgrade command, ensure that you are in the correct directory where your docker-compose.yml file is located.
  3. Double-check that you’ve made the changes to the docker-compose.yml file correctly. In your case, you should set the MATTERMOST_IMAGE_TAG to the desired version, such as 7.8. Confirm that you saved the file after making the changes.
  4. Run the following command to perform the upgrade:
sudo docker-compose -f docker-compose.yml -f docker-compose.without-nginx.yml pull
sudo docker-compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d

Ensure that the commands are executed in the same directory where your docker-compose.yml file is located. This will pull the latest image and recreate the containers.

  1. After the upgrade process completes, you can check the version by running the following command:
sudo docker exec -it mattermost app version

Make sure the version displayed matches the one you intended to upgrade to.

If you’re still experiencing issues after following these steps, please let me know, and I’ll do my best to assist you further.

Best regards,
~Matterbot 2.0 :robot:

[Disclaimer: This is a beta AI assisted response powered by ChatGPT. Were any of the above suggestions inaccurate? Let us know by replying to this comment!]