Why a Mattermost upgrade path starts at the last ESR
If your self-hosted Mattermost server is several releases behind and you need to know which version to move to, the answer starts with the last Extended Support Release (ESR). Mattermost's backwards-compatible migration guarantee only extends to the last ESR, so a delayed server should move to the closest ESR first, then to the next ESR, and only then to the current release. Jumping straight to the latest version is the step most likely to leave you with a migration Mattermost does not guarantee, which is why every ESR-to-ESR plan begins with a version check.
The cadence explains why this matters. Mattermost ships a new server version in binary form on the 16th of each month, and every ninth release is designated an ESR. Each ESR is supported for 12 months, which means more than one ESR is in support at any time and a server can fall behind without falling out of support. An ESR adds no new features. It receives security fixes and backports of major bug fixes, so its value is stability and predictable change, not new capability. Confirm the current ESR and its end-of-support date on the Mattermost server releases page before you plan, because the dates in your change calendar must match the ones Mattermost publishes.
Use the phrase Mattermost ESR upgrade path as the working label for this plan. Start by recording your current server version, the ESR it sits closest to, and the date support ends for that line. Then compare that position with the release policy in the Mattermost release policy and the preparation steps in the Mattermost prepare to upgrade guide. The decision you need to make is whether you can reach the next ESR within your change window, or whether you need an intermediate stop and a second window. Plan for the second window now if your server is more than one ESR behind.
What changes between ESR releases and what each change means for your team
This table compares the release facts that shape each step of an ESR to ESR upgrade and what each one asks of your team. Read it in order: confirm the support dates first, then check each breaking-change row against the version you are stepping to. The main takeaway is that a version can be a valid stop on the path even when it carries removals you must plan for.
| Release or change | Impact on the upgrade | Action needed |
|---|---|---|
| v10.11 reached end of life on 2026-08-15 | Servers still on v10.11 no longer receive security backports, so they are unsupported today. | Confirm your current version with the server, then plan the first step off v10.11 as soon as possible. |
| v11.7 is the current ESR, released 2026-05-15 | Supported until 2027-05-15. It is the natural target for teams stepping from an older ESR. | Check whether your database, plugins and integrations meet v11.7 requirements before scheduling the step. |
| v12.0 released 2026-10-16, support ends 2027-01-15 | Not an ESR, so it receives a shorter support window and is not the stable stop for most stepping plans. | Use v12.0 only if you accept its shorter support window and have completed its prerequisites. |
| Breaking changes in each major version | Major versions can remove database engines, search backends, plugin formats or authentication options. | Review the release notes for every version you step through, not only the final target. |
| Backward-compatible migrations reach only the last ESR | A server several ESRs behind may fail to migrate directly to the latest release. | Step to the closest ESR first, then to the next ESR, verifying each stop. |
| v11 removals and changes | Include MySQL support, Bleve search and other changes that affect older installations. | Read the Mattermost v11 upgrade topic before scheduling any step that crosses into v11. |
| v12 prerequisites and removals | Include PostgreSQL floor changes, search backend requirements, plugin rebuilds and the removed Slack import API. | Read the Mattermost v12 upgrade topic and confirm each prerequisite in your environment. |
| Plugin and integration compatibility | Custom and third-party plugins may need rebuilds or updates at each major step. | Inventory every plugin, record its version and confirm compatibility with each target before upgrading. |
How to pick the next ESR when your server is months behind
The decision starts with the version your server runs today, not the one you want to reach. Confirm the installed version from the server itself, then compare it against the current Extended Support Releases on the Mattermost server releases page. Mattermost ships an ESR every nine months and supports each one for twelve months, so the ESR list narrows quickly. The rule in the Mattermost release policy is that your closest ESR the server can migrate to backwards compatibly is the first target, and the next ESR is the second step. Work this out before you touch the binary, because the target you pick sets the number of stops in the plan.
Do not jump straight to the latest version, even when it looks like fewer steps. The documented route for a delayed upgrade moves to the closest ESR first and then to the next ESR, because Mattermost's backwards-compatible migration guarantee extends only to the last ESR. A direct jump outside that guarantee is not the route the vendor documents, so you would carry the risk of an unsupported migration into a production database. Confirm this against the prepare to upgrade guide for the exact versions in your plan, and record which release you used as each step's source and target.
Before you schedule the first step, confirm three things in writing: the exact ESR sequence from your current version to the latest ESR, the release notes and breaking changes for each intermediate version, and the support end date of the version you will leave, since support ends for monthly releases and ESRs on fixed dates. Also check whether your plugins, PostgreSQL version and operating system remain supported at each stop. Ask your platform team to name the owner of each step, the backup that precedes it and the go or no-go check before the next step begins. Treat the number of stops as an output of this review rather than a fixed estimate, since a server several releases behind may need more intermediate targets than one that is only a single ESR behind.
Stepping through each ESR with checks and rollback points
This sequence moves a delayed Mattermost server one Extended Support Release at a time, so each hop has a tested target, a verified backup and a documented way back. The output is a production server on the closest ESR, confirmed healthy, with a clear basis for the next hop.
Inventory the installed version and plugins
Record the running Mattermost server version, the PostgreSQL version, the operating system, the deployment method (package, tarball, container or Kubernetes Operator), and every installed plugin with its version. Confirm which ESR is closest to your current version using the server releases page, and note any plugins that will need a compatible build for that target. Check: you have a written inventory that a second engineer can read and reproduce. Rollback point: none yet, because nothing has changed.
Take a full database and file backup
Stop nothing yet. Take a full PostgreSQL dump or physical backup, then back up the file storage, the configuration file and the plugin directory, as a set taken close together. Test that the database backup restores into a scratch database and that file storage contents match what the server references. Check: the restore test completes and row counts or a sample of attachments match. Rollback point: this backup set is the fallback for the whole sequence, so store it outside the server being upgraded.
Verify PostgreSQL and platform requirements for the target
Compare the target ESR's documented requirements for PostgreSQL, operating system, search backend and any runtime dependencies with what is installed. Where a requirement is not met, plan the change as a separate, reversible step, such as a PostgreSQL major upgrade, before the Mattermost binary changes. Check: a written gap list for the target ESR is signed off by the platform owner. Rollback point: any prerequisite change is made and verified on its own, so a failure there does not mix with the Mattermost upgrade.
Upgrade a test environment first
Build a non-production copy from the production backup, on the same operating system and PostgreSQL version as production. Install the target ESR, apply the config and plugin changes the release notes call for, and start the server against the restored database. Watch the startup logs for schema migration messages and errors. Check: the server starts, the schema migration completes without errors and the web and API endpoints respond. Rollback point: the test environment is disposable, so a failed attempt costs only the time to rebuild it.
Run functional and integration checks
Using the test environment, sign in through each configured identity provider, post and edit messages, upload and download files, check search, run each enabled integration and plugin, and confirm that mobile and desktop clients connect. Also run any scripts or bots your teams depend on against the API. Record each result against the inventory from step one. Check: every item in the test checklist passes, and any failure has a documented fix or a decision to stop. Rollback point: a failed check stops the production change and returns the work to the test environment.
Upgrade production in a maintenance window
Announce the window to users, stop the Mattermost service, take a fresh backup of the database and files immediately before the change, then install the same target ESR used in testing. Start the server and watch the migration logs until it reports ready. Check: the migration completes with the same messages seen in testing. Rollback point: if the migration fails, restore the pre-window backup and return to the previous binary, since a newer schema may not roll back without restoring the database.
Confirm health after the change
Run the same functional checklist used in testing against production with a limited set of test accounts. Review server logs, confirm the health check endpoint responds, verify that scheduled jobs and email notifications run, and confirm that metrics collection still works if you use it. Check: the checklist passes and no new error patterns appear in logs over an observation period you agree in advance. Rollback point: the pre-window backup and the prior binary remain available until the team signs off that the ESR is stable.
Repeat the sequence for the next ESR
If the server is still behind the latest ESR, repeat steps one through seven from the new baseline, moving to the next ESR only after the previous hop is confirmed healthy and the backup from that hop is retained. Update the inventory with the new version and plugin builds. Check: each hop has its own signed-off record, backup and test result. Rollback point: each hop can be reversed to the prior ESR using its own backup, so a problem is always confined to one step.
What to prepare before the first ESR step
Each item below closes a gap that can turn a planned ESR step into an outage or a rebuild. Together they give the team a known restore point, a complete picture of what the upgrade touches, a place to rehearse it, a list of settings to verify, and one person accountable for the decision to proceed.
Current backup of database and files
Take a fresh backup of the PostgreSQL database and the file storage before any binary changes. Confirm the backup restores on a separate host, not just that the job reported success. Record the Mattermost version and the time of the backup so the restore point is unambiguous. Without a tested restore, a failed step can leave the team with a schema that neither the old nor the new binary will start cleanly on.
Prepare to upgrade docsInventory of plugins and integrations
List every custom plugin, webhook, slash command, bot and third-party integration, with its owner and the version it was built against. Plugins built for one server version may fail to load after an ESR step, and some integrations depend on API behavior that changes between releases. Mark which items must be rebuilt or retested before the step is approved.
SSO settings and configuration files
Export the current config.json, the SSO settings for SAML, OIDC or AD/LDAP sync, and any environment overrides used by the service unit or container. Store them under version control or in a secure record. A configuration key that was renamed or defaulted differently in the target ESR can lock users out, so compare the old and new configuration side by side before the step.
Staging environment that mirrors production
Run the ESR step first on a staging server built from a production backup, with the same PostgreSQL version, storage layout, proxy and plugins. Staging should use similar data volume so migrations take a realistic amount of time, and it should exercise login, posting, file upload and each critical integration. A staging run is the only place the team can see migration errors without users affected.
Data and retention settings to verify
Review message and file retention policies, data retention jobs, export settings and any legal hold configuration before the step. A migration that runs alongside a retention job can delete data the organization is required to keep, and settings that changed in the new release can alter what is purged. Record the values before and after staging so compliance owners can confirm nothing shifted.
Named owner for go or no-go
Assign one person with authority to approve or stop each ESR step, and name a backup. This owner reviews the backup test, staging results, plugin inventory and retention check, then signs off in writing with the target version. Without a named decision maker, teams often proceed on partial evidence or stall for days while nobody holds the call.
How the ESR steps connect from your current version to the target
The path starts with assessing the version your server runs today and checking whether it sits on or near the last Extended Support Release. Mattermost's backwards-compatible migration guarantee reaches only the last ESR, so a server that has fallen further behind moves to the closest ESR first, not straight to the latest release. Each step is validated in staging with a backup in hand before production, and a failed step returns the server to the prior ESR. Confirm the exact ESR sequence with Mattermost's release pages before you plan the steps.
Decision path for stepping through ESRs with staging checks and rollback.
How to test each step and roll back when a step fails
Test each ESR step against the workflows your users depend on before you move to the next one. A server that starts and reports a healthy version has not proved it works. Build a short test script that covers login through your configured identity provider, including SAML or OIDC sign-in and any MFA prompt, and confirm that a new account provisioned through your directory sync still gets the right team and channel access. Then upload files of the types your teams actually share, check that previews and downloads behave, and send a message that mentions a user or a channel to confirm notifications still fire. Run a search for content from before the upgrade, since search behavior is one of the areas teams most often notice only after cutover. Finally, exercise each plugin and each integration your organization relies on, such as slash commands, bots, webhooks or Microsoft and developer tool connections, and confirm the plugin still loads and the integration still posts. Record the results for each step so the next step starts from a known state.
Treat the backup you take before each step as the rollback point. Take a full database backup and a copy of the file storage and configuration immediately before you stop the server for that step, and label it with the ESR version it was taken from. If a test fails and you cannot fix it within your maintenance window, stop the new binary, restore the database and files from that backup, and start the previous version. Do not assume a binary downgrade alone is enough, because a newer release may have migrated the database schema, and the older binary may not start against that schema. Whether a downgrade is possible depends on the schema state the failed step left behind, so confirm the exact procedure in Mattermost's downgrade guidance before you rely on it. Check the schema version and the rollback steps on a staging copy of your production data before the production window, and write down who approves a restore and what counts as the point of no return.
What makes an ESR-by-ESR upgrade take longer
How many ESR steps does a delayed Mattermost upgrade need?
The number of ESR steps depends on how far behind the server is and how many ESR releases have shipped since it was last upgraded. Mattermost's backward-compatible migration guarantee only reaches the last ESR, so a server that is several ESRs back has to move to the closest ESR first, verify it, and then move to the next one. Each step adds a full cycle of backups, testing, staging runs and a maintenance window, so effort grows roughly with the number of hops rather than with the size of the final jump. Before you plan, confirm the current ESR and the support dates on Mattermost's server releases page, then map each intermediate ESR your server must pass through.
Do custom Mattermost plugins need rebuilds between ESR steps?
Custom and third-party plugins are often the largest source of unplanned work. Each ESR step can change the server APIs and frontend libraries that plugins compile against, so a plugin built for an older release may fail to load or behave differently after an upgrade. Effort rises with the number of custom plugins, how many of them depend on internal APIs, whether the source code is still maintained, and whether the team has a build pipeline that can rebuild them for each target version. Plugins that have been manually installed or that no one owns are the hardest to classify. Start with an inventory of every plugin, its version, its source and its owner.
Does database size change how long each Mattermost upgrade takes?
Database size affects migration time and the length of the maintenance window more than almost any other factor. Schema migrations run against the existing data, and large tables such as posts, files metadata and audit records take longer to alter and index. Each intermediate ESR adds its own migration pass, so the cost of a large database is paid more than once. Other factors include the PostgreSQL version, the hardware under the database, and whether a long-running migration can run without competing workloads. Measure the database size and run a timed migration on a restored copy in a staging environment before you set a window.
How does high availability topology affect an ESR upgrade?
A high availability cluster adds coordination steps that a single server does not need. Application nodes, database replicas, search replicas and load balancers must be upgraded in an order that keeps the cluster consistent, and each ESR step may require a fresh rolling pass. Shared file storage on Amazon S3, an S3-compatible service or a NAS must be reachable from every node, and local storage will not work correctly in a cluster. Effort increases with the number of nodes, the number of ESR steps, and any Kubernetes or Operator-managed components involved. Confirm the upgrade procedure for your topology in Mattermost's documentation before planning node order and rollback.
Why do integrations and SSO need retesting after each ESR step?
Integrations and identity settings are easy to overlook, and they fail in quiet ways. SAML, OIDC, OAuth and AD/LDAP sync depend on configuration values, certificates and attribute mappings that may change between releases. Webhooks, slash commands, bots and external tools call the REST API or depend on message formats, so each ESR step can change what they receive. Effort rises with the number of integrations, the number of identity providers, and how many users depend on automated provisioning or deprovisioning. Build a test list for each integration, run it on every intermediate ESR, and keep a record of the results.
Can an internal team plan an ESR-by-ESR upgrade alone?
An internal team can plan and run the upgrade if it has time, staging capacity and people who know the deployment, the database and the integrations. The work that tends to take longer is the combination of several ESR hops, custom plugin rebuilds and a clustered topology, because each one needs testing on its own. Teams often underestimate the time spent on verification, rollback preparation and documentation for auditors or change boards. Ask any partner for a written scope that lists the ESR steps, the plugins, the topology and the integrations covered, and compare that scope with what your own team can staff.
What should a quote for a multi-step Mattermost upgrade include?
A quote should itemize the work so you can see what drives the cost. Ask for the list of ESR steps, the environments that will be used for staging, the plugin inventory and rebuild plan, the migration test on a restored database copy, the cluster or single-server procedure, the integration and SSO test list, the backup and rollback approach, and the handover documentation. Note which items are one-time work and which recur, such as ongoing support or upgrades under a retainer. Ask what is excluded, including Mattermost license costs, which are set by the plan you hold and quoted by Mattermost, not by the upgrade provider.
How do you confirm which ESR version to step through next?
Confirm the target ESR against Mattermost's published release information rather than relying on memory or old notes. The server releases page lists each version, its release date and its support end date, and the release policy page explains the cadence and what each ESR includes. Check that every intermediate ESR is still within its support window when you run it, because an ESR that has reached end of life will not receive security fixes. Record the version you are moving from, each step you plan, and the date you verified the support dates.
Official Mattermost sources to read before planning
Read Mattermost's release policy before you choose a target version. It sets out how Extended Support Releases (ESRs) are spaced, how long each one is supported, and what an ESR does and does not include. Pay attention to the difference between the nine-month ESR cadence and the twelve-month support window, because a server that is one ESR behind may still be supported while the one before it is already past end of life. Write down the ESR you are on, the ESR that is current, and the date each one stops receiving fixes.
Then read Mattermost's prepare to upgrade documentation. This is where the backwards-compatible migration guarantee extends only to the last ESR, which determines whether you can jump straight to the newest release or must step through intermediate ESRs. Confirm that rule against the current page before you commit to a path, since the guidance can change between releases. The same page is the place to check pre-upgrade requirements for your installation type.
Finally, use the server releases page to build a dated list of candidate versions. It lists the monthly binary release on the 16th, the ESR flags, and support end dates for each version. Record the support end date for every step in your planned sequence, then compare those dates with your change calendar. Any step that will not finish before a support deadline should be raised with your team early, not discovered during the maintenance window.
How DeployOpen scopes and delivers a Mattermost ESR upgrade
DeployOpen plans, implements, tests, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and that includes Mattermost upgrades that have to step through Extended Support Releases. Each engagement starts from a written scope that names the current version, the target ESR and every environment along the way.
How we scope
- Inventory the current Mattermost version, install type, database version and plugins before agreeing any route
- Map each ESR step between the current release and the target, confirming the closest ESR to the starting point
- Agree in writing which environments, plugins, integrations and identity settings are in scope, and which are excluded
How we build
- Rehearse each ESR step in a staging copy of production data before touching the live server
- Verify backups, config, logs, file storage and plugins are preserved at every step, and test rollback before each cutover
- Run functional checks on sign-in, channels, file sharing and integrations after each step, not only at the end
How we hand over
- Deliver a step-by-step runbook covering each ESR stop, its checks, and the rollback point for each one
- Document the final configuration, plugin versions and the date each support window ends, so your team knows the next move
- Walk your administrators through the procedure so they can repeat the next ESR step without us
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the handover
- Plan the next ESR step against the release calendar so the server does not fall behind again
- Confirm with your team which support window applies to your version before agreeing the retainer scope

