Important Upgrade Notes¶
Important
Support for Mattermost Server v5.31 Extended Support Release will come to the end of its life cycle on October 15, 2021. Upgrading to Mattermost Server v5.37 Extended Support Release or later is required.
The deprecations listed here are planned for the Mattermost v6.0 release, which is scheduled for September 15, 2021. This list is subject to change prior to the release.
Upgrading Mattermost can result in an error “ERROR: default for column “column_name” cannot be cast automatically to type jsonb” if you have non-JSON data in a column. This can also happen if the database data has been manipulated by external processes (e.g. plugins) and in cases where improper input data could get silently truncated due to varchar limits. The data in the affected database column has to be manually fixed.
If you’re upgrading from a version earlier than… |
Then… |
|
---|---|---|
v5.38.0 |
The “config watcher” (the mechanism that automatically reloads the |
|
v5.38 adds fixes for some of the incorrect mention counts and unreads around threads and channels since the introduction of Collapsed Reply Threads (Beta). This
fix is done through a SQL migration, and it may take several minutes to complete for large databases. The |
||
Focalboard v0.8.0 (released with Mattermost v5.38.0) requires Mattermost v5.37 due to the new database connection system. |
||
v5.37.0 |
The |
|
Collapsed Reply Threads are available as beta in Mattermost Server v5.37 and later. It’s expected that you may experience bugs as we stabilize the feature. In particular, please be aware of the known issues documented here. |
||
v5.37 adds support for emoji standard v13.0. If you have added a custom emoji in the past that uses one of the new system names, then it is going to get overwritten by the system emoji. The workaround is to change the custom emoji name. |
||
Parts of Incident Collaboration are now available to all Mattermost editions. As part of this update, Incident Collaboration will require a minimum server version of v5.37. To learn more about what is available in each edition, visit our pricing page. |
||
v5.36.0 |
Gossip clustering mode is now in General Availability and is no longer available as an option. All cluster traffic will always use the gossip protocol. The
config setting |
|
To enable Focalboard, open the Marketplace from the sidebar menu, install the Focalboard plugin, then click on Configure, enable it, and save. Update your NGINX or Apache web proxy config following these steps. |
||
v5.35.0 |
Due to the introduction of backend database architecture required for upcoming new features, Shared Channels and Collapsed Reply Threads, the performance of the migration process for the v5.35 release (May 16, 2021) has been noticeably affected. Depending on the size, type, and version of the database, longer than usual upgrade times should be expected. This can vary from a couple of minutes (average case) to hours (worst case, MySQL 5.x only). A moderate to significant spike in database CPU usage should also be expected during this process. More details on the performance impact of the migration and possible mitigation strategies are provided here. |
|
The existing password generation logic used during the bulk user import process was comparatively weak. Hence it’s advised for admins to immediately reset the passwords for all the users who were generated during the bulk import process and whose password has not been changed even once. |
||
v5.35.0 introduces a new feature to search for files. Search results for files shared in the past may be incomplete until a content extraction command is executed to extract and index the content of files already in the database. Instances running Elasticsearch or Bleve search backends will also need to execute a Bulk Indexing after the content extraction is complete. Please see more details in this blog post. |
||
v5.34.1 |
v5.34.1 fixes an issue where upgrading to v5.34.0 runs a migration that can cause timeouts on MySQL installations. Upgrading to v5.34.1 may also execute missing migrations that were scheduled for v5.32.0. These additions can be lengthy on very big MySQL (version 5.x) installations.
|
|
v5.33.0 |
Deleting a reaction is now a soft delete in the |
|
WebSocket handshakes done with HTTP version lower than 1.1 will result in a warning, and the server will transparently upgrade the version to 1.1 to comply with
the WebSocket RFC. This is done to work around incorrect Nginx (and other proxy) configs that do not set the |
||
v5.32.0 |
|
|
Breaking changes to the Golang client API were introduced: |
||
A breaking change was introduced when upgrading the Go version to v1.15.5 where user logins fail with AD/LDAP Sync when the certificate of the LDAP Server has no Subject Alternative Name (SAN) in it. Creating a new certificate on the AD/LDAP Server with the SAN inside fixes this. |
||
TLS versions 1.0 and 1.1 have been deprecated by browser vendors. Starting in Mattermost Server v5.32 (February 16), mmctl returns an error when connected to Mattermost servers deployed with these TLS versions. System Admins will need to explicitly add a flag in their commands to continue to use them. We recommend upgrading to TLS version 1.2 or higher. |
||
v5.31.0 |
For Mobile Apps v1.42.0+, the minimum server version is set to 5.31.3 as 5.31.3 fixed an issue where the server version was reported as v5.30.0. |
|
v5.29.0 |
A new configuration setting |
|
Disabled the xmlsec1-based SAML library in favor of the re-enabled and improved SAML library. |
||
v5.28.0 |
Now when the service crashes, it will generate a coredump instead of just dumping the stack trace to the console. This allows us to preserve the full information of the crash to help with debugging it. For more information about coredumps, please see: https://man7.org/linux/man-pages/man5/core.5.html. |
|
In-product notices have been introduced to keep System Admins and end users informed of the latest product enhancements available in new server and desktop versions. Learn more about in-product notices and how to disable them in our documentation. |
||
Disabled the xmlsec1-based SAML library in favor of the re-enabled and improved SAML library. |
||
v5.27.0 |
Disabled the xmlsec1-based SAML library in favor of the re-enabled and improved SAML library. |
|
v5.26.0 |
In v5.26, Elasticsearch indexes needed to be recreated. Admins should re-index Elasticsearch using the Purge index and then Index now button so that all the changes will be included in the index. Systems may be left with a limited search during the indexing, so it should be done during a time when there is little to no activity because it may take several hours. |
|
An To update the key, one can execute:
For any change in this config setting to take effect, the whole cluster must be shut down first. Then the config change made, and then restarted. In a cluster, all servers either will completely use encryption or not. There cannot be any partial usage. |
||
SAML Setting “Use Improved SAML Library (Beta)” was forcefully disabled. Follow instructions at
https://docs.mattermost.com/deployment/sso-saml-before-you-begin.html for enabling SAML using the feature-equivalent |
||
PostgreSQL ended long-term support for version 9.4 in February 2020. From v5.26 Mattermost officially supports PostgreSQL version 10 as PostgreSQL 9.4 is no longer supported. New installs will require PostgreSQL 10+. Previous Mattermost versions, including our current ESR, will continue to be compatible with PostgreSQL 9.4. PostgreSQL 9.4 and all 9.x versions are now fully deprecated in our v5.30 release (December 16, 2020). Please follow the instructions under the Upgrading Section within the PostgreSQL documentation. |
||
v5.25.0 |
Some incorrect instructions regarding SAML setup with Active Directory ADFS for setting the “Relying Party Trust Identifier” were corrected. Although the settings will continue to work, it is encouraged that you modify those settings. |
|
Disabled the xmlsec1-based SAML library in favor of the re-enabled and improved SAML library. |
||
v5.24.0 |
A new configuration setting, |
|
The As an example, if you are using
|
||
Due to fixing performance issues related to emoji reactions, the performance of the upgrade has been affected in that the schema upgrade now takes more time in environments with lots of reactions in their database. These environments are recommended to perform the schema migration during low usage times and potentially in advance of the upgrade. Since this migration happens before the Mattermost server is fully launched, non-High Availability installs will be unreachable during this time. The migration is a single line of SQL and can be applied directly to the database through the MySQL/PSQL command line clients if you prefer to decouple this from restarting the Mattermost server. It is fully backwards compatible so the schema change can be applied to any previous version of Mattermost without issue. During the time the schema change is running (~30s per million rows in the Reactions table), if end users attempt to react to posts, the emoji reactions will not load for end users. MySQL: PostgreSQL: |
||
On mobile apps, users will not be able to see LDAP group mentions (E20 feature) in the autocomplete dropdown. Users will still receive notifications if they are part of an LDAP group. However, the group mention keyword will not be highlighted. |
||
SAML Setting “Use Improved SAML Library (Beta)” was forcefully disabled. Follow instructions at
https://docs.mattermost.com/deployment/sso-saml-before-you-begin.html for enabling SAML using the feature-equivalent |
||
v5.22.0 |
Due to fixing performance issues related to emoji reactions, the performance of the upgrade has been affected in that the schema upgrade now takes more time in environments with lots of reactions in their database. These environments are recommended to perform the schema migration during low usage times and potentially in advance of the upgrade. Since this migration happens before the Mattermost server is fully launched, non-High Availability installs will be unreachable during this time. The migration is a single line of SQL and can be applied directly to the database through the MySQL/PSQL command line clients if you prefer to decouple this from restarting the Mattermost server. It is fully backwards compatible so the schema change can be applied to any previous version of Mattermost without issue. During the time the schema change is running (~30s per million rows in the Reactions table), if end users attempt to react to posts, the emoji reactions will not load for end users. MySQL: Postgres: |
|
The Channel Moderation Settings feature is supported on mobile app versions v1.30 and later. In earlier versions of the mobile app, users who attempt to post or react to posts without proper permissions will see an error. |
||
Direct access to the |
||
SAML Setting “Use Improved SAML Library (Beta)” was forcefully disabled. Follow instructions at
https://docs.mattermost.com/deployment/sso-saml-before-you-begin.html for enabling SAML using the feature-equivalent |
||
v5.21.0 |
Honour key value expiry in KVCompareAndSet, KVCompareAndDelete, and KVList. We also improved handling of plugin key value race conditions and deleted keys in Postgres. |
|
SAML Setting “Use Improved SAML Library (Beta)” was forcefully disabled. Follow instructions at
https://docs.mattermost.com/deployment/sso-saml-before-you-begin.html for enabling SAML using the feature-equivalent |
||
v5.20.0 |
Any pre-packaged plugin that is not enabled in the |
|
Boolean elements from interactive dialogs are no longer serialized as strings. While we try to avoid breaking changes, this change was necessary to allow both the web and mobile apps to work with the boolean elements introduced with v5.16. |
||
v5.19.0 |
|
|
v5.18.0 |
Marking a post unread from the mobile app requires v1.26 or later. If using v5.18, but mobile is on v1.25 or earlier, marking a post unread from webapp/desktop will only be reflected on mobile the next time the app launches or is brought to the foreground. |
|
The Go module path of |
||
Removed |
||
Removed the ability to change the type of a channel using the |
||
v5.16.0 |
Support for Internet Explorer (IE11) is removed. See this forum post to learn more. |
|
The Mattermost Desktop v4.3.0 release includes a change to how desktop notifications are sent from non-secure URLs (http://). Organizations using non-secure Mattermost Servers (http://) will need to update to Mattermost Server versions 5.16.0+, 5.15.1, 5.14.4 or 5.9.5 (ESR) to continue receiving desktop notifications when using Mattermost Desktop v4.3.0 or later. |
||
When enabling Guest Accounts, all users who have the ability to invite users will be able to invite guests by default. System Admins will need to remove this permission on each role via System Console > Permissions Schemes. In Mattermost Server version 5.17, the System Admin will be the only role to automatically get the invite guest permission, however the fix will not be applicable in 5.16 due to database migration processes. |
||
v5.14.0 |
Webhooks are now only displayed if the user is the creator of the webhook or a System Administrator. |
|
With the update from Google+ to Google People, system admins need to ensure the |
||
v5.12.0 |
If your plugin uses the |
|
Image link and YouTube previews do not display unless System Console > Enable Link Previews is enabled. Please ensure that your Mattermost server is connected to the internet and has network access to the websites from which previews are expected to appear. Learn more here. |
||
|
||
Added the ability to enforce the administration of teams/channels with Group Sync. If Group Sync is enabled, all Team and Channel Admin designations will be lost upon upgrade. It is highly recommended that prior to upgrading, Team and Channel Admins are added to admin-specific LDAP groups corresponding to their teams and channels. After upgrading, those groups will need to be role-synced to the Team or Channel Admin role. |
||
v5.11.0 |
If your integration uses This change was made because |
|
v5.10.0 |
|
|
v5.9.0 |
If If the setting is not defined in the We recommend setting |
|
The public IP of the Mattermost application server is considered a reserved IP for additional security hardening in the context of untrusted external requests such as Open Graph metadata, webhooks, or slash commands. See documentation for additional information. |
||
v5.8.0 |
The local image proxy has been added, and images displayed within the client are now affected by the |
|
v5.6.0 |
Built-in WebRTC is removed. See here for more details. |
|
If
DELETE FROM PublicChannels;
INSERT INTO PublicChannels
(Id, DeleteAt, TeamId, DisplayName, Name, Header, Purpose)
SELECT
c.Id, c.DeleteAt, c.TeamId, c.DisplayName, c.Name, c.Header, c.Purpose
FROM
Channels c
WHERE
c.Type = 'O';
The queries above rebuild the materialized Note that this migration is not required if the experimental |
||
v5.4.0 |
Mattermost mobile app version 1.13+ is required. File uploads will fail on earlier mobile app versions. |
|
In certain upgrade scenarios the new Allow Team Administrators to edit others posts setting under General then Users and Teams may be set to True while the Mattermost default in 5.1 and earlier and with new 5.4+ installations is False. |
||
v5.3.0 |
Those servers with Elasticsearch enabled will notice that hashtag search is case-sensitive. |
|
v5.2.0 |
Those servers upgrading from v4.1 - v4.4 directly to v5.2 or later and have Jira enabled will need to re-enable the Jira plugin after an upgrade. |
|
v5.1.0 |
|
|
v5.0.0 |
All API v3 endpoints are removed. See documentation to learn how to migrate your integrations to API v4. |
|
|
||
A Mattermost user setting to configure desktop notification duration in Account Settings > Notifications > Desktop Notifications is removed. |
||
Slash commands configured to receive a GET request will have the payload being encoded in the query string instead of receiving it in the body of the request, consistent with standard HTTP requests. Although unlikely, this could break custom slash commands that use GET requests incorrectly. |
||
A new |
||
A new |
||
An unused |
||
This release includes support for post messages longer than the default of 4000 characters, but may require a manual database migration. This migration is entirely optional, and need only be done if you want to enable post messages up to 16383 characters. For many installations, no migration will be required, or the old limit remains sufficient. To check your current post limit after upgrading to 5.0.0, look for a log message on startup:
As of 5.0.0, the maximum post message size is 16383 (multi-byte) characters. If your logs show a number less than this limit and you want to enable longer
post messages, you will need to manually migrate your database as described below. This migration can be slow for larger To migrate a MySQL database, connect to your database and run the following:
To migrate a PostgreSQL database, connect to your database and run the following:
Restart your Mattermost instances. |
||
Deployments on Enterprise E20 will need to enable |
||
v4.10.0 |
Old email invitation links will no longer work due to a bug fix where teams could be re-joined via the link. Team invite links copied from the Team Invite Link dialog, password reset links and email verification links are not affected and are still valid. |
|
Server logs written to System Console > Logs and to the |
||
Team icons with transparency will be filled with a white background in the Team sidebar. |
||
Those servers with SAML authentication enabled should upgrade during non-peak hours. SAML email addresses are migrated to lowercase to prevent login issues, which could result in longer than usual upgrade time. |
||
If you use PostgreSQL database and the password contains special characters (e.g. |
||
v4.9.0 |
To improve the production use of Mattermost with Docker, the Docker image is now running a as non-root user and listening on port 8000. Please read the upgrade instructions for important changes to existing installations. |
|
Several configuration settings have been migrated to roles in the database and changing their
|
||
The behavior of the |
||
If using Let’s Encrypt without a proxy server, the server will fail to start with an error message unless the Forward80To443 If forwarding port 80 to 443, the server will fail to start with an error message unless the ListenAddress |
||
v4.6.2 |
If using Let’s Encrypt without a proxy server, forward port 80 through a firewall, with the Forward80To443 |
|
v4.4.0 |
Composite database indexes were added to the |
|
LDAP sync now depends on email. Make sure all users on your AD/LDAP server have an email address or that their account is deactivated in Mattermost. |
||
v4.2.0 |
Mattermost now handles multiple content types for integrations, including plaintext content type. If your integration suddenly prints the JSON payload data
instead of rendering the generated message, make sure your integration is returning the |
|
By default, user-supplied URLs such as those used for Open Graph metadata, webhooks, or slash commands will no longer be allowed to connect to reserved IP addresses including loopback or link-local addresses used for internal networks. This change may cause private integrations to break in testing environments, which may point to a URL such as http://127.0.0.1:1021/my-command. If you point private integrations to such URLs, you may whitelist such domains, IP addresses, or CIDR notations via the AllowedUntrustedInternalConnections config setting in your local environment. Although not recommended, you may also whitelist the addresses in your production environments. See documentation to learn more. Push notification, OAuth 2.0 and WebRTC server URLs are trusted and not affected by this setting. |
||
Uploaded file attachments are now grouped by day and stored in |
||
Mattermost /platform` repo has been separated to |
||
v4.0.0 |
(High Availability only) You must manually add new items to the |
|
v3.9.0 |
Old email invitation links, password reset links, and email verification links will no longer work due to a security change. Team invite links copied from the Team Invite Link dialog are not affected and are still valid. |
|
v3.8.0 |
A change is required in the proxy configuration. If you’re using NGINX:
If you are using a proxy other than NGINX, make the equivalent change to that proxy’s configuration. |
|
You need to verify settings in the System Console due to a security-related change.
|
||
Backwards compatibility with the old CLI tool was removed. If you have any scripts that rely on the old CLI, they must be revised to use the new CLI. |
||
v3.6.0 |
Update the maximum number of files that can be open.
|
|
(Enterprise Only) Previous |
||
v3.4.0 |
If public links are enabled, existing public links will no longer be valid. This is because in earlier versions, existing public links were not invalidated when the Public Link Salt was regenerated. You must update any place where you have published these links. |