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:
- 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
- Before running the upgrade command, ensure that you are in the correct directory where your
docker-compose.yml
file is located. - Double-check that you’ve made the changes to the
docker-compose.yml
file correctly. In your case, you should set theMATTERMOST_IMAGE_TAG
to the desired version, such as7.8
. Confirm that you saved the file after making the changes. - 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.
- 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
[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!]