# Upgrade Mattermost Version 7.1.2

**URL:** <https://forum.mattermost.com/t/upgrade-mattermost-version-7-1-2/15935>\
**Category:** Troubleshooting\
**Created:** [May 17, 2023, 10:58am UTC](https://forum.mattermost.com/t/upgrade-mattermost-version-7-1-2/15935 "2023-05-17T10:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kajafarov](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/kajafarov/32/6337_2.png) [@kajafarov](https://forum.mattermost.com/u/kajafarov)\
**Post date:** [May 17, 2023, 10:58am UTC](https://forum.mattermost.com/t/upgrade-mattermost-version-7-1-2/15935/1 "2023-05-17T10:58:19Z")

</div>

Dear Colleagues.  
I need upgrade Mattermost Version 7.1.2 up to latest version or version where no problem with security updates. [Security Updates - Mattermost Open Source Collaboration Platform](https://mattermost.com/security-updates/)

1. Plz advice me steps which i should to do. I found this docs. [Upgrade Mattermost Server — Mattermost documentation](https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html)
2. I need also encrypt my current DB. Plz advice me, how i can do it also.

Thank you.

 ![Mattermost_version](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/f/f9ba1b644f60c17b32360572854d3bcbbe1bb481.png)

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [May 20, 2023, 9:35am UTC](https://forum.mattermost.com/t/upgrade-mattermost-version-7-1-2/15935/2 "2023-05-20T09:35:05Z")

</div>

Hi @kajafarov ,

upgrading from 7.1.2 is easy, you just follow these instructions if you’re using the binary edition:  
[https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html](https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html)

If you’re using the docker edition, you just change the version in your `.env` file, run `docker-compose down` followed by the `docker-compose up` command you’re always using.

There’s no built-in way to encrypt the database, so if you’re looking for at-rest encryption, I suggest to put the MySQL data directory on an encrypted volume or to configure your MySQL server to use data-at-rest encryption for the tables in the Mattermost database, but please be careful, it needs to be fully transparent to the Mattermost service!

[https://dev.mysql.com/doc/refman/8.0/en/innodb-data-encryption.html](https://dev.mysql.com/doc/refman/8.0/en/innodb-data-encryption.html)
