Mattermost v12 upgrade: why the path starts before the binary
If your self-hosted Mattermost team has to reach v12.0, the work starts with the database, the operating system and the search backend, not with the server package. Mattermost v12.0 has prerequisites beyond the server itself. It requires PostgreSQL 15 or later, so PostgreSQL 14 and earlier must be upgraded before the server is replaced. Its binaries require glibc 2.34 or later, which drops RHEL 7 and RHEL 8, and OpenSearch 1.x is no longer a supported search backend. Mattermost v12.0 was released on 2026-10-16, and v11.11, the last release that supports RHEL 7 and RHEL 8, has support ending 2026-12-15. If your team is still on v11.11 or earlier, that date is the deadline to plan around.
Start with an inventory of what the current server runs on. Confirm the PostgreSQL major version, the glibc level of the host operating system, and whether any search service is OpenSearch 1.x. Each of these may need its own change window, backup and test before the Mattermost upgrade can proceed. Also check the web app plugins you rely on. The web and desktop apps are built on React 19 from v12.0, and plugins that were not rebuilt for v12.0 may have activation suppressed. Confirm with each plugin vendor or your own development team whether a v12.0 build exists before you commit to a date.
The supported path does not jump straight from an older release to v12.0. Mattermost ships a new server version each month, and the Extended Support Release sequence sets the stable stopping points between them. Use the sibling pages on the monthly release line, the ESR path and the v11 upgrade to decide which intermediate versions your environment must pass through, then build the v12.0 plan on top of that sequence. Treat the prerequisites above as the first items in that plan, because they decide whether the server upgrade can be scheduled at all.
Which v12.0 changes affect your deployment
This table compares each v12.0 change against what it does to a running server and what you must do before upgrading. Read each row against your current PostgreSQL version, operating system, search backend and custom web or desktop plugins. The main takeaway is that the database, operating system and search floors must be met before the server binary is replaced, while the plugin and Slack import items affect your work plan and integrations.
| Change | Impact | Action needed |
|---|---|---|
| PostgreSQL 15 floor | PostgreSQL 14 and earlier are no longer supported by v12.0 and the server will not run on them | Upgrade PostgreSQL to 15 or later before you install the v12.0 server |
| glibc 2.34 binary floor | v12.0 binaries need glibc 2.34 or later, which drops RHEL 7 and RHEL 8; v11.11 was the last release supporting them | Confirm your host glibc version, and plan an OS upgrade if you run RHEL 7 or RHEL 8 |
| OpenSearch 1.x removal | OpenSearch 1.x is no longer a supported search backend for v12.0 | Check your search engine version and upgrade OpenSearch before the server move |
| Message column migration | A database migration raises the maximum message length from 16,383 to 262,144 characters by widening the message column | Schedule time for the migration on a large database, and take a verified backup first |
| React 19 web and desktop apps | Web app plugins not rebuilt for v12.0 may have activation suppressed | Inventory custom and third-party web plugins, then rebuild or replace each one and test it on staging |
| Slack import API and CLI removal | The built-in Slack import API and CLI are no longer available in v12.0 | Move any Slack import scripts to the documented migration tooling, and confirm the procedure with Mattermost before cutover |
What to inventory and back up before you start
Mattermost v12.0 changes the database, operating system, search, plugin and import requirements at once, so the preparation is a set of checks rather than one step. Each card below covers one item to establish before any binary is replaced, and together they tell you whether a rollback is possible and whether the upgrade is ready to run in staging.
Full database backup and restore test
Take a full PostgreSQL backup of the Mattermost database and restore it to a separate host before touching the server. A backup that has never been restored is an assumption, not a rollback plan. Confirm the restored copy starts the current server version, that users can sign in, and that recent posts and file metadata are present. Record the backup timestamp so you know exactly what a rollback would lose. The v12.0 migration widens the message column, so keep this restore available until you have confirmed the upgraded database works.
Upgrade notesPostgreSQL, OS and glibc inventory
Record the PostgreSQL major version, the operating system release and the glibc version on every server that runs Mattermost. The v12.0 floors are PostgreSQL 15 or later and glibc 2.34 or later, and the binaries drop RHEL 7 and RHEL 8. Any host below a floor must be upgraded first, and the database upgrade should be planned as its own change. Confirm the glibc version from the host itself rather than from the distribution name, because a minor release can differ from what you expect.
Search backend identification
Identify which search backend the server uses and its version. OpenSearch 1.x is no longer a supported search backend in v12.0, so an older cluster needs its own upgrade path before the server moves. Check every environment that points at a search service, including staging and any replicas, because a mismatch often appears only after the server starts. Write down the endpoint, version and index state so you can confirm search still returns results after the upgrade.
Installed plugin list and build status
List every installed plugin with its version, whether it was built by you or obtained from a vendor, and whether it has a web app component. The v12.0 web and desktop apps use React 19, and web app plugins not rebuilt for v12.0 may have activation suppressed. Ask each plugin owner for a v12.0 compatible build or a supported replacement, and treat any plugin without an owner as a blocking item. Note which plugins are used by daily workflows, since those are the ones users will notice first.
Slack-based import workflows
Find every process that relies on the Slack import API or its command line tool, including scripts, runbooks and any tenant-specific onboarding steps. The built-in Slack import API and CLI were removed in v12.0, so a workflow that depends on them will fail after the upgrade. Decide whether the migration is already complete, needs to be replanned with the documented Slack migration path, or can be retired. Record who owns each workflow so the change is not discovered during a live migration request.
Staging environment that matches production
Build a staging environment with the same PostgreSQL version, operating system, search backend, storage layout, plugin set and configuration as production, restored from a recent production backup. A staging system that differs in one of these areas can pass the upgrade and still fail in production. Use it to measure the database migration on realistic data volume, test sign-in and plugins, and rehearse the rollback. Confirm the staging data is handled under the same controls as production before copying it.
Deployment planning docsHow the v12 upgrade sequence runs in order
The sequence moves a Mattermost server to v12.0 by clearing each hard floor on staging first, so production only changes after the database, operating system, search backend, plugins and message column migration have each been checked. Each step closes with a check and a rollback point.
Confirm current version and upgrade path
Identify the running Mattermost server version, the PostgreSQL major version, the operating system and glibc level, the search backend, and every custom or third-party plugin. Compare these against the v12.0 requirements in the important upgrade notes and map the path from your current release through supported releases to v12.0. Confirm with your own inventory which plugins are installed and who maintains their source. The step is done when you have a written inventory and a version path. Rollback point: none is needed yet because no system has changed, but keep this inventory with your change record.
Upgrade PostgreSQL to version 15 or later on staging
Upgrade the Mattermost database to PostgreSQL 15 or later on a staging copy first, because v12.0 requires PostgreSQL 15 or later and PostgreSQL 14 and earlier are no longer supported. Run the upgrade method your team has tested, then start the current Mattermost server against it to confirm the database is accepted. The step is done when the staging server connects and passes basic login and message tests on the new database version. Rollback point: keep the pre-upgrade PostgreSQL data and a verified backup so the staging database can be restored to its prior version.
Move operating system and search backend to supported floors
Raise the host to an operating system that provides glibc 2.34 or later, since v12.0 binaries require it and drop RHEL 7 and RHEL 8, where v11.11 was the last supported release. Replace any OpenSearch 1.x search backend with a supported version, because OpenSearch 1.x is no longer supported in v12.0. Verify the glibc version with your platform tools and confirm search indexing and queries work on the new backend. The step is done when the staging host reports the required glibc level and search returns results. Rollback point: keep an image or snapshot of the prior host and search index so either layer can be reverted independently.
Rebuild and test plugins against React 19
From v12.0 the web and desktop apps are built on React 19, and web app plugins that were not rebuilt may have activation suppressed. Ask each plugin owner, or your development partner, for a build targeting React 19, then install each rebuilt plugin on staging and confirm it activates and renders its web components. Also confirm the removed built-in Slack import API and CLI are not used by any script or runbook. The step is done when every plugin in the inventory activates on staging with no suppressed entries in the server logs. Rollback point: keep the prior plugin bundles so the previous versions can be reinstalled if a rebuilt plugin fails.
Run the v12 upgrade and time the message column migration on staging
Upgrade the staging Mattermost server to v12.0 using your documented procedure. v12.0 includes a database migration that widens the message column so the maximum message length rises from 16,383 to 262,144 characters. Record how long the migration runs on staging against a copy of production data, since this migration is the longest-running change and its duration depends on your data volume. Ask the vendor or your team to confirm how the migration behaves under load and whether it blocks writes. The step is done when the upgrade completes and you have a recorded migration time to plan the production window. Rollback point: restore the staging database from the pre-upgrade backup if the migration fails or runs past the planned window.
Verify login, file access and integrations on staging
Test the upgraded staging server as users and administrators would use it. Sign in through each configured method, including SSO and any MFA prompts. Upload, download and preview files, confirm file storage paths work, and check that each integration, webhook, slash command and bot sends and receives messages. Review server logs for errors or suppressed plugins. The step is done when each test case has a recorded pass with the named owner and no unresolved failures. Rollback point: if a critical path fails and cannot be fixed in the staging window, stop and restore staging from backup, then fix and repeat the upgrade.
Schedule production with a verified backup rollback point
Schedule the production upgrade with a maintenance window sized from the staging migration time plus margin for PostgreSQL and host steps. Take a fresh backup of the database and file storage, then test that the backup restores on a separate system before the window opens. Repeat the sequence in production in the same order, and keep the verified backup and prior binaries available until the upgraded server passes the same checks. The step is done when production passes the verification tests and the backup is confirmed to be restorable. Rollback point: the verified backup, the prior PostgreSQL and host snapshots, and the prior binaries together define the rollback path for production.
Why plugins and the Slack import path need their own plan
Custom plugins and migration scripts need their own work items before the v12.0 upgrade, because two of the changes in this release do not fail loudly on the server. The web and desktop apps are built on React 19 from v12.0, and web app plugins that were not rebuilt for this release may have their activation suppressed. That means a plugin can install cleanly, pass a server health check, and still be missing from users' sessions. Inventory every custom web app plugin, record who maintains its source, and confirm that a rebuild against React 19 is possible before the upgrade window is booked. Plugins that are only server-side may need a separate check, so test each one in a staging copy of your production database rather than assuming the category covers it.
The built-in Slack import API and CLI were removed in v12.0, so any script, runbook or internal tool that calls them will stop working. Replace these with the documented Slack migration flow: export the workspace from Slack, transform the export with the mmetl tool into a bulk import JSONL file plus attachments, then upload and process that output with mmctl. Ask who owns each existing import script, whether it is documented anywhere, and whether the team that ran the last migration still works with the organization. Confirm the exact mmetl and mmctl versions you will use against the official migration documentation, since the tooling is the part most likely to change between now and your cutover.
Integrations are the gap most teams miss in a Slack move. The Slack export does not include integrations, and they cannot be migrated, so every bot, app and webhook that your Slack workspace relied on has to be rebuilt or reconfigured on the Mattermost side. Make a list of those dependencies with their owners, decide which ones still matter after the move, and schedule their rebuild alongside the plugin work. Treat this as an illustrative checklist item rather than a one-line cleanup: a bot that posts incident alerts into a channel needs its webhook, channel membership and credentials validated again before users rely on it.
Which starting point changes the work most
If your server runs a monthly v11.x release, the v12.0 changes are the ones that apply to you directly, and the shortest path is usually a single upgrade once the prerequisites are in place. Monthly releases are published in binary form on the 16th of each month, and v11.11 was released on 2026-09-16 with support ending 2026-12-15, so a monthly install that stays where it is will reach end of support on a known date.
- Check your PostgreSQL version: v12.0 requires PostgreSQL 15 or later, so a database on 14 or earlier must be upgraded before the server binary changes.
- Confirm your operating system floor: v12.0 binaries require glibc 2.34 or later, which drops RHEL 7 and RHEL 8. v11.11 was the last release supporting them.
- Review your search backend: OpenSearch 1.x is no longer supported in v12.0.
- Plan for the message column migration: the maximum message length rises from 16,383 to 262,144 characters, so allow time for the migration on large databases.
- Audit plugins for React 19: web app plugins not rebuilt for v12.0 may have activation suppressed.
For a single Linux server, follow the procedure in the sibling topic Upgrading a Mattermost Linux server. Confirm each item against the important upgrade notes before scheduling the window.
If you run the v11.7 Extended Support Release, you are on a slower cadence than monthly installs, and the move to v12.0 is a deliberate jump rather than a routine update. The v11.7 ESR was released on 2026-05-15 with support ending 2027-05-15, which gives you a longer window, but the v12.0 prerequisites are the same ones that monthly installs face. Your planning should start with the ESR path, not with the latest monthly build.
- Read the ESR cadence first: the sibling topic Mattermost ESR to ESR upgrade path explains why migrations are only backwards compatible to the last ESR and how stepping works.
- Verify the database floor: PostgreSQL 15 or later is required for v12.0, and a version that is current for v11.7 may still need an upgrade.
- Test the message column migration: run it on a copy of production data to measure how long it takes on your largest tables.
- Confirm plugin and integration compatibility: check each plugin against React 19 and check whether any use the removed Slack import API or CLI.
- Check your ESR support date: confirm with your change board how the timing aligns with the ESR end of support.
Confirm the ESR-specific steps with the Mattermost server releases page and your own environment before you commit to a date.
If your server is several releases behind, the v12.0 changes are only part of the job, because you may need to move through intermediate versions first. Migrations are only backwards compatible to the last ESR, so a server that has fallen far behind cannot always jump straight to v12.0 without stepping through supported releases. This tab adds stepping and older-platform work on top of the v12.0 list.
- Map the version gap: identify each release between your current build and v12.0, and the ESR boundaries that apply.
- Check old operating systems: servers on RHEL 7 or RHEL 8 need a platform change before v12.0 binaries will run.
- Review removed components: the sibling topic Mattermost v11 upgrade covers removals such as MySQL support, Bleve search and manually installed plugins, which may still affect older installs.
- Take a full backup before each step: keep a restorable copy at every stage, and note the schema version in each.
- Plan rollback for each step: the sibling topic Downgrading Mattermost and rolling back a failed upgrade describes schema checks before you proceed.
For a stepping plan, start with the sibling topic Mattermost ESR to ESR upgrade path. Ask for a written step list before you commit to a window.
If Mattermost runs as a high availability cluster or on Kubernetes, the v12.0 work includes the same prerequisites as a single server, plus cluster-specific steps. High availability consists of redundant application servers, redundant database servers and redundant load balancers, and it is available only on the Enterprise and Enterprise Advanced plans. Every node has to be upgraded in a way that keeps the cluster serving users.
- Confirm shared file storage: a cluster requires shared storage on Amazon S3, an S3-compatible service or NAS mounted on each node. Local file system storage will not work correctly and risks corrupting files, so verify every node sees the same mount before you start.
- Account for read replicas: database read replicas and search replicas receive reads, while writes go to the primary, so the PostgreSQL 15 requirement applies to every database in the chain.
- Plan the rolling sequence: the sibling topic Upgrading Mattermost on Kubernetes and high availability clusters covers incremental pod replacement behind health checks and rollback when the Operator halts.
- Test failover with the new version: confirm the load balancer and health checks behave during mixed-version operation.
- Schedule the message column migration once: coordinate it so it runs in a controlled window rather than during rolling replacement.
Confirm the cluster sequence with the Mattermost high availability documentation and your Operator version before scheduling.
What makes a v12 upgrade take longer
How many custom plugins does a Mattermost v12 upgrade need to rebuild?
The number of custom plugins, and how much each one depends on the web app, is the biggest single driver of plugin work. Mattermost v12.0 moves the web and desktop apps to React 19, and web app plugins that were not rebuilt for v12.0 may have their activation suppressed. Each plugin needs a review of its React dependencies, a rebuild, a test against a staging server running v12.0, and a fix for any component that no longer behaves the same way. Plugins that are server-only are usually simpler to check. Ask for an inventory that separates web app plugins from server-only plugins, and note which ones have no owner or source code. Plugins you cannot rebuild block the upgrade for the users who rely on them, so they set the critical path.
How far behind is the PostgreSQL version and does that add upgrade steps?
The gap between your current PostgreSQL major version and the floor Mattermost enforces is a direct driver. Mattermost v12.0 requires PostgreSQL 15 or later, and PostgreSQL 14 and earlier must be upgraded before the server. If you are on 14 or older, the database upgrade becomes a separate project with its own backups, test restores, and rollback plan, and it has to finish before the Mattermost binary changes. The method (in-place upgrade or dump and restore) and the database size both affect how long the window is. Confirm your current major version with your database team, and check the upgrade notes for the exact floor before planning the order of work.
Why does an operating system migration slow down a Mattermost v12 upgrade?
Operating system changes slow the upgrade because the binaries themselves change their requirements. Mattermost v12.0 binaries require glibc 2.34 or later, which drops RHEL 7 and RHEL 8. The v11.11 release was the last to support them. A server on either distribution needs a new operating system, or a new host, before the v12.0 binary can run. That means provisioning, hardening and configuring a new host, moving the database connection and file storage settings, and testing the proxy and certificates. Ask your platform team which hosts are on unsupported releases and whether the replacement is an in-place upgrade or a new build.
How does a search backend change affect a v12 upgrade plan?
A search backend change adds a separate migration and a separate test. OpenSearch 1.x is no longer a supported search backend in v12.0, so an installation still on OpenSearch 1.x must move to a supported version first. Search indexes, access settings and any search replicas then need to be checked against the new backend. Search results are visible to users, so the test should compare results before and after the change on realistic queries. Confirm your current search backend and version, and whether search is used in a high availability deployment, before estimating the work.
Does the size of the message table change how long the v12 migration takes?
Yes, the size of the message table is a major driver of the migration window. Mattermost v12.0 includes a database migration that raises the maximum message length from 16,383 to 262,144 characters by widening the message column. The change runs against the stored message data, so a larger archive of messages generally means a longer migration and more time with the service unavailable or degraded, depending on your plan. Measure the row count and table size on a copy of production, run the migration on that copy, and time it. The result is the best input for your maintenance window.
How does a high availability topology change the v12 upgrade work?
Each additional node, database replica or load balancer in a high availability topology adds steps to the upgrade. Mattermost high availability consists of redundant application servers, redundant database servers and redundant load balancers, and it is available on the Enterprise and Enterprise Advanced plans. A cluster needs shared file storage on Amazon S3, an S3-compatible service or NAS on every node. Each node must be upgraded in a planned order, and read replicas and search replicas must be checked for compatibility. Ask for a written topology diagram and a rollback plan that covers the cluster as a whole, not just one node.
How many integrations depend on the removed Slack import tooling?
The number of integrations and migrations that still use the Slack import path is a scope driver. The built-in Slack import API and CLI were removed in v12.0. Any team that runs scripts, scheduled jobs or runbooks against that path must move to a different method before upgrading. Mattermost documents Slack migration as an export, a transformation with mmetl into a bulk import JSONL file plus attachments, and upload with mmctl. Integrations are not included in the Slack export and cannot be migrated, so they must be rebuilt separately. Count the scripts and jobs that call the old path, and record which teams plan to import more history after the upgrade.
Clear every prerequisite gate before the v12.0 migration runs
The path starts with the current server version and moves through the checks that block v12.0 before anything changes. The PostgreSQL check is the first hard gate: Mattermost v12.0 requires PostgreSQL 15 or later, so an older database is upgraded first. Next, confirm the glibc level and operating system, the search backend, and whether each web app plugin has been rebuilt for React 19. Only after those checks pass should you take a backup and run the v12.0 migration, which widens the message column. Verify the result, and if the upgrade fails, restore from the backup.
Prerequisite gates and the backup point that come before the v12.0 migration.
Questions buyers ask before upgrading Mattermost to v12
How much does a Mattermost v12 upgrade cost?
The cost depends on the size and shape of your deployment, and no fixed figure applies to every team. The main cost components are the assessment of your current version, database and plugins, the staging rebuild, the database and plugin work, the cutover window, and post-upgrade verification. Some of these are one-time, while ongoing support or upgrades for later releases are recurring if you choose a retainer. Ask for a quote that lists each component separately, names who performs each task, and states what the client must provide, such as access to staging and plugin source code. DeployOpen does not publish a price list; a quote follows from the written scope.
How long does a Mattermost v12 upgrade take?
Duration depends mostly on two variables: the size of the message table that the v12.0 migration widens, and how many custom or third-party plugins need rebuilding for React 19. Mattermost v12.0 raises the maximum message length from 16,383 to 262,144 characters by widening the message column, so the migration runs against your full history and its runtime scales with data volume. Plugins not rebuilt for v12.0 may have activation suppressed, so each plugin adds source review, rebuild and testing time. Ask your team to measure the message table and inventory plugins before requesting a schedule.
What does the upgrade need from our team?
The work needs several things from your side before it starts. Expect to provide database access with credentials that can run the schema migration, a staging environment that mirrors production, the source code for every custom or third-party plugin, and the current PostgreSQL and operating system versions. You also need a change window agreed with the business, because the migration and cutover require Mattermost to be stopped. Confirm backup and restore arrangements in writing, and name a person who can approve go or no-go decisions during the window.
Can our internal team upgrade to v12 without a partner?
Yes, a capable internal team can perform the upgrade if it has time, staging capacity and experience with PostgreSQL and Mattermost administration. The checks that most often decide the outcome are the PostgreSQL version floor, the glibc requirement for the operating system, search backend compatibility, plugin rebuilds for React 19, and the removal of the Slack import API and CLI. Use the important upgrade notes as the checklist, and confirm each item against your own environment. A partner is most useful when the team lacks staging capacity, has many plugins to rebuild, or needs documented evidence for an internal or external review.
What if v11.11 support has already ended when we start?
Support timing affects urgency and planning, but it does not change the technical prerequisites for v12.0. Mattermost v11.11 was released on 2026-09-16 with support ending 2026-12-15, according to the Mattermost server releases page, so check that date against your current calendar and your own support contract. If your server is on an older release, plan the path deliberately rather than jumping directly, and confirm with Mattermost which upgrade route applies to your version. Whatever the starting point, the PostgreSQL 15 requirement and the other v12.0 floors still apply before the server is upgraded.
Is a DeployOpen v12 engagement fixed-scope with a written quote?
Most DeployOpen engagements are fixed-scope, which means the scope, deliverables and timelines are agreed in writing before work starts. For a v12 upgrade, the written scope should list the environments covered, the plugins in scope, the database migration and verification steps, the cutover support, and the handover documentation. Ongoing support, upgrades for later releases and continuous testing are available as retainers, and those are priced separately. Ask for the written scope to name any work that is excluded, such as custom plugin feature development, so that the quote and the outcome match.
What should we verify after the v12 upgrade?
Verification should confirm that the server starts on the v12.0 binary, the database schema reflects the completed migration, plugins activate, and users can sign in and post messages. Check the message column change with a test post near the new length limit, confirm that search works on your chosen backend, and review the web and desktop clients for React 19 issues in plugin interfaces. Record the results, keep the pre-upgrade backup until the team accepts the upgrade, and confirm the rollback steps in writing before the cutover window opens.
How to test the upgrade and roll back if it fails
Staging has to mirror production in the components that v12.0 changes: the PostgreSQL major version, the operating system, the search backend and the full set of plugins. A staging environment on PostgreSQL 15 with a production database on an older major version proves nothing about the real upgrade, because the PostgreSQL floor is enforced before the server starts. Confirm the glibc version of the target hosts against the v12.0 binary requirement, confirm whether any OpenSearch 1.x cluster is still in use, and export the list of installed plugins from production so staging carries the same versions. Any plugin that is not rebuilt for React 19 needs a decision before cutover, not after.
The message column migration needs its own timing run. It widens message storage from 16,383 to 262,144 characters, and the duration depends on the size of the message table, indexes and hardware, so no one should assume it will finish quickly. Restore a recent production backup into staging, run the v12.0 migration against it on hardware comparable to production, and record how long it takes. Use that measurement to set the maintenance window and to decide whether the migration should run during a planned outage. Ask the Mattermost team and your own DBA to confirm how the migration interacts with the database size you actually have.
Acceptance checks should cover what users and integrations depend on, not only whether the server starts. Test sign-in through your identity provider, file upload and download including older attachments, each installed plugin, outgoing and incoming webhooks, and any bots or Slack-style integrations that still run after the removal of the built-in Slack import API. Rollback depends on a verified backup taken before the migration starts, covering both the database and the file store. Without that backup, a failed schema migration cannot be cleanly reversed, so the rollback plan is only as good as the restore test behind it. The Mattermost important upgrade notes should be the reference for the checklist. For the rollback steps themselves, see the Downgrading Mattermost and rolling back a failed upgrade page.
What a rollback looks like if v12 misbehaves
This sequence returns a failed Mattermost v12.0 upgrade to a known-good state by pairing the pre-upgrade database and file storage backups with the previous binary and configuration. It also leaves a written record of the cause so the retry does not repeat the same failure.
Stop every Mattermost node
The person running the upgrade stops the Mattermost server on every application node before touching the database or files, so no process writes to the database while it is being restored. On a single server, this is one service. On a high availability cluster, confirm that every application server is down, not only the one that was upgraded. The step is done when no node answers health checks and no process is still holding the database connection open.
Confirm the pre-upgrade backups are intact
Before restoring anything, the administrator checks that the database backup and the file storage backup were both taken before the v12.0 binary was installed and that they are readable. Verify the backup timestamps, the file sizes against the previous run, and that the database dump restores into a scratch database if the environment allows it. The step is complete when the team has written down which backup set will be used and its creation time.
Restore the pre-upgrade database
The database administrator restores the PostgreSQL backup taken before the upgrade into the Mattermost database, replacing the schema that the v12.0 migrations changed. This includes the widened message column from the long message migration, so the restore reverts that change too. Ask the database team to confirm the PostgreSQL server version, which must match what the previous Mattermost release supports. The step is done when the restore completes without errors and the database reports the expected table counts.
Restore file storage from the same point in time
The storage administrator restores the file storage backup, which holds uploaded attachments and images, so it matches the restored database. Files and database rows must come from the same backup window, or users will see posts that point to missing attachments. On high availability clusters, restore the shared storage once, not per node. The step is complete when a spot check of recent file references resolves to real objects.
Reinstate the previous binary and configuration
The administrator puts back the previous Mattermost server binary and the configuration file, plugins and directory layout that were in use before the upgrade. Keep the failed v12.0 files in a separate directory so they can be examined later. The exact downgrade procedure, including schema checks and plugin compatibility, is covered on the Mattermost downgrade and rollback topic, so follow it for the detailed commands. The step is done when the previous version reports itself at startup.
Start the server and verify schema and login
Start Mattermost on one node first, then check the logs for schema or migration errors. Confirm the server version and that a test user can sign in through the identity provider or local login, then post a message and open an attachment. Only after this check passes, start the remaining cluster nodes. The step is complete when sign-in, message posting and file download all succeed and the logs show no schema mismatch.
Record the cause before retrying
The upgrade owner writes down the symptom, the exact error messages, the logs collected from the failed run, the plugin versions in use, and the database and operating system versions. Compare the failure against the v12.0 requirements: PostgreSQL 15 or later, glibc 2.34 or later, a supported search backend, and React 19 compatibility for custom plugins. Agree on the fix and the test that will prove it before scheduling a new attempt. The step is done when the written record is filed with the change ticket and reviewed by the people who will sign off the retry.
How DeployOpen scopes and delivers a Mattermost v12 upgrade
DeployOpen starts a Mattermost v12 upgrade with a written scope that covers the PostgreSQL, operating system, search backend, plugin and data work your server actually needs. The engagement then moves through build, testing and handover in your own infrastructure, with ongoing support available as a retainer.
How we scope
- Inventory your current Mattermost version, PostgreSQL major version, operating system and any search backend in use
- List every web app plugin and integration, and mark which ones need a rebuild for React 19 before v12.0
- Agree in writing whether Slack import tooling or the removed import API is part of the work
- Confirm the message column migration window and the backup and rollback checkpoints before work starts
How we build
- Upgrade PostgreSQL to version 15 or later on a staging copy first, then verify Mattermost connects cleanly
- Rebuild or replace custom plugins against the React 19 web app and test activation on a staging server
- Run the v12.0 database migration on a restored copy of production data and measure its runtime
- Test the upgraded server against your SSO, storage, proxy and integration configuration before any cutover
How we hand over
- Deliver a written runbook with pre-upgrade backups, version checks, the migration steps and rollback procedure
- Document each plugin rebuild, its test results and any settings changed during the upgrade
- Record the final configuration, operating system baseline and database version for your change records
- Walk your platform and security teams through the runbook so they can repeat the steps later
How we support
- Offer post-upgrade support for issues that appear after cutover, scoped in the same written agreement
- Provide ongoing upgrades, patching and testing for later monthly or Extended Support releases as a retainer
- Plan the next upgrade stop against the published support end dates for your running version
- Retest plugins and integrations after each server upgrade so compatibility issues surface before users do

