Upgrade Team Edition to Enterprise Edition
If you're evaluating Mattermost using Team Edition, you'll need to upgrade to Mattermost Enterprise Edition before you can start a trial or upload a license that enables Enterprise features. The open source Mattermost Team Edition is functionally identical to the commercial Enterprise Edition, but there is no ability to start a trial or unlock paid features.
Upgrade to Enterprise Edition
Check your edition and version
Open Product menu > About Mattermost to check your edition and version from the web or desktop interface.
- Mattermost Entry indicates you're using the licensed edition of Mattermost without a paid license.
- Mattermost Professional indicates you're using the licensed edition of Mattermost with a paid professional license.
- Mattermost Enterprise indicates you're using the licensed edition of Mattermost with a paid enterprise license.
- Mattermost Enterprise Advanced indicates you're using the licensed edition of Mattermost with a paid enterprise advanced license.
- Mattermost Team Edition indicates you're using the open source version and need to upgrade to a licensed edition before a license key can be applied.
Upgrade manually
Replace the Mattermost Team Edition binary with a Mattermost Enterprise Edition binary by following this upgrade procedure.
We recommend backing up Mattermost prior to upgrading. The migration guide documentation outlines the process required to back up and restore your database.
Troubleshooting
Permissions and limitations
If the Mattermost system user doesn't have permission to replace the binary, you'll need to change the file permissions manually.
Changing the permissions in this way doesn't affect your Mattermost deployment or impact any data. The permission change is done solely for the upgrade.
To change the permissions using the command line on the Mattermost server, you need access to the command line tool as mattermost user:
- Open the command line tool on the Mattermost server and
cdto the Mattermost installation directory. - Run the following commands, replacing
<PathToBinaryFile>with the appropriate path—typically/opt/mattermost/bin/mattermost—to change the ownership of the binary file to the mattermost user and grant write access:
chown mattermost <PathToBinaryFile>chmod +w <PathToBinaryFile>
- Perform the manual upgrade using the upgrade procedure.
- When the upgrade is complete, return to the command prompt on the Mattermost server and run the following command to restore the file permissions, replacing
<OriginalFileOwner>with the appropriate value:
chown <OriginalFileOwner> <PathToBinaryFile>chmod -w <PathToBinaryFile>
Mattermost has reverted to Team Edition
On a managed deployment, a subsequent upgrade may overwrite Enterprise Edition with the latest version of Team Edition.
Follow the manual upgrade steps above to replace it with Enterprise Edition again. If you plan to use Mattermost Enterprise Edition permanently, we recommend migrating your server to a self-hosted deployment.