Migrate Mattermost from GitLab Omnibus to a standalone installation

A Mattermost bundled with GitLab Omnibus has to move to its own server and PostgreSQL before GitLab removes it. This page covers the documented prerequisites, downtime window, backups and the work that decides how long the move takes.

On this page

How to migrate Mattermost from GitLab Omnibus to a standalone server

If your team runs Mattermost inside the GitLab Omnibus package, the move is a documented change of host: you install a standalone Mattermost server and a separate PostgreSQL server, then migrate the data inside a maintenance window after taking full backups of the database and file storage. GitLab has announced that Mattermost will be deprecated from the Omnibus package with GitLab 19.0, and that it will support Mattermost only up to version 10.11 ESR inside Omnibus until final removal. Do not wait for that removal date to start, and do not target the bundled version as your destination. Confirm the removal date with GitLab's announcements and choose a supported target Mattermost version from the Mattermost server releases page before you plan.

Mattermost itself is a comparatively simple target: it runs as a single Linux binary and stores its data in PostgreSQL, so the standalone design is two servers plus file storage, not a bundle of services. The effort, however, depends on four things you should measure now: the database size, how much file storage you hold and where it lives, how many integrations and plugins depend on the current instance, and how many people must learn the new administration path. Ask your team to inventory each of these, including the Omnibus configuration file and any custom settings, because those values must be carried over deliberately rather than copied from memory.

The documented procedure requires root or sudo access to the Omnibus server, a new standalone PostgreSQL server, enough disk space for the database dump, and a maintenance window with downtime. Confirm with your own environment how long a dump and restore takes on a copy of your data before you set a window with business owners. Treat the backup step as a gate: restore the backup to a test host and confirm that users, channels, posts and attachments are present before you cut over, because a dump you have never restored is not a recovery plan.

What maps cleanly from a GitLab Omnibus Mattermost and what does not

This table compares what the bundled Omnibus Mattermost holds and manages with what a standalone installation must provide itself. Read each row as a checkpoint to confirm against your own Omnibus configuration before scheduling the maintenance window, because the Omnibus defaults that carry over depend on how your instance was built.

ComponentOmnibus MattermostStandalone MattermostConfirm before cutover
Channels and messagesStored in the PostgreSQL database that Omnibus bundles and managesStored in a new standalone PostgreSQL server that you provision and migrate intoConfirm the database dump and restore completes and row counts match
File attachmentsStored on the Omnibus server's local file system by defaultMust be copied to the new server or to object storage you configureConfirm file paths and the file storage driver in the new configuration
Server configurationManaged through the GitLab Omnibus configuration file and its generated settingsManaged through the Mattermost config file and environment settings you maintainConfirm every custom setting from Omnibus is reproduced, not assumed
TLS and reverse proxyTypically terminated by the bundled web components of the Omnibus packageMust be rebuilt as your own reverse proxy with your own TLS certificatesConfirm certificate renewal and proxy headers work on the new host
Backup jobsCovered by GitLab backup tooling when configured on the Omnibus serverMust be defined by your team for the database and file storage separatelyConfirm a restore has been tested from the new backup set
Bundled servicesUses services such as Redis and other components shipped inside the Omnibus packageOnly services you install and configure are present, so dependencies must be listedConfirm which bundled services Mattermost actually uses in your version
Admin accessAdministered by root or sudo access on the Omnibus serverAdministered by accounts on the new server and the System ConsoleConfirm operator accounts, sudo rights and System Console admins are re-created
GitLab-managed dependenciesMay rely on GitLab sign-in, DNS or notification settings tied to the GitLab instanceRequires those dependencies to be replaced or removed explicitlyConfirm each dependency on GitLab services is identified and replaced

Documented migration path and the tools it relies on

The Mattermost guide for moving off GitLab Omnibus is the primary path, and it names the prerequisites, the downtime window and the backups before any data moves. The cards below cover each prerequisite and work item, so you can scope the migration before you schedule it.

Documented procedure as the primary path

The Mattermost guide Migrate from GitLab Omnibus to standalone Mattermost is the reference for this move. Use it as the baseline for your runbook and treat it as the authority on sequence. Confirm the exact commands and any version-specific steps against the current version of the guide before your change window, since the procedure can change between releases. Record the Mattermost version running in Omnibus, because it determines which steps apply.

Migration guide

Root or sudo access on Omnibus

The procedure needs root or sudo access on the GitLab Omnibus server to stop Mattermost, dump its database and read its file paths. Confirm who holds that access, whether it is through a named administrator account or a shared break-glass login, and whether your change process allows it for the duration of the window. Access that is granted late is a common cause of a schedule slip.

Required access
Root or sudo

New standalone PostgreSQL server

A separate PostgreSQL server must be in place before the cutover, because the Omnibus bundled database is not the target. Decide the PostgreSQL major version, the network path from the new Mattermost server and the backup approach for the new host. Check the PostgreSQL support window for the version you choose, since the versioning policy sets an end date for each major release.

PostgreSQL dump and restore

The database moves as a PostgreSQL dump taken from the Omnibus instance and restored into the standalone server. Plan disk space for the dump file on the source host, and keep a second copy off the host. Test the restore on a copy first and compare row counts or key tables before you point Mattermost at the new database. Confirm the dump and restore flags against the guide for your versions.

Configuration and file storage as separate work

The database dump does not carry Mattermost configuration or uploaded files, so these are separate work items. Copy the server configuration file and reconcile its database connection, site URL and file storage settings with the new host. Confirm where uploaded files live on the Omnibus server and copy them to the target storage location with permissions intact. Verify file access after cutover, not only that the service starts.

Maintenance window and full backup

The procedure requires a maintenance window with downtime and a full backup of both the database and file storage before work starts. Ask the team to estimate the window from a rehearsal on a copy, not from the size of the database alone. Keep the backup restorable and confirm who can authorize a rollback. Those decisions, and the rollback plan, belong in the change record before the window opens.

What changes for users, admins and the GitLab side

The first change users notice is the address. After cutover, Mattermost is served from the new standalone server, so the URL in browsers, desktop apps and mobile apps must point there, or the reverse proxy must route the existing path to the new host. Confirm with your team whether the SiteURL setting and any proxy path rules will be updated before the window opens, because mismatched values can break login redirects and links in notifications. Expect that existing sessions may not survive the move, so users may need to sign in again and their clients may need to reconnect. Tell users in advance which URL to bookmark and which app versions are expected to connect cleanly.

Administrators face a different environment. Configuration moves from the Omnibus file that holds the bundled Mattermost settings to the standalone server's own configuration file, and the service is started, stopped and restarted with the standalone init system rather than gitlab-ctl. Logs will land in new locations, so update monitoring rules, log shippers and on-call runbooks before go-live. Confirm where the standalone installation writes its logs, where the file store points, and which account runs the service. Plan a short practice session with the people who will be on call so they are not learning the new paths during an incident.

On the GitLab side, the change is limited to the Mattermost bundle. Once Mattermost is running and verified on its own server, the Mattermost settings are removed from the Omnibus configuration and GitLab is reconfigured so it no longer starts or manages Mattermost. Confirm with GitLab's documentation exactly which Omnibus settings must be disabled and in what order, and check that GitLab reconfigure runs cleanly afterward. GitLab's own repositories, database and backups are not part of this migration and follow their separate backup and restore procedures, which should be tested independently before the Mattermost bundle is removed.

The sequence for a parallel run and cutover from Omnibus

This sequence moves a Mattermost bundled with GitLab Omnibus onto its own server and PostgreSQL with a rehearsed dump and restore, a validated copy, and a timed cutover that keeps the Omnibus instance available as a rollback path. Each phase closes with a check that the next phase depends on.

  1. Inventory the Omnibus installation

    The platform team records the exact Mattermost server version, the PostgreSQL version bundled with the Omnibus package, the file storage location and driver, the enabled plugins, the authentication method, and the reverse proxy and DNS names users reach. The owner of each item is named, and the list also notes which GitLab package version carries the bundled Mattermost. The step is done when the inventory is reviewed by the Mattermost administrator and the security owner, and every gap is either closed or assigned. Ask DeployOpen or your own team to confirm the GitLab removal date for your package version before scheduling anything.

  2. Confirm version and PostgreSQL compatibility

    Compare the Mattermost server version against the supported release list and the PostgreSQL version chosen for the new standalone database server, using the PostgreSQL versioning policy to confirm the database major version is still supported. Decide whether the server stays on its current version for the migration or moves to a supported release first, and record that decision with its reason. The step is done when a written compatibility note names both versions and the upgrade order, if one is needed.

  3. Build the standalone server and PostgreSQL

    The infrastructure team provisions a new Linux application server and a separate PostgreSQL server, sets up the reverse proxy, TLS certificates, DNS records for a temporary test name, and the file storage mount that the application will use. The Mattermost configuration is created on the new server without yet pointing users at it. The step is done when the new application starts against the empty database, the health check responds, and the file storage path is writable and tested with a sample upload.

  4. Rehearse the dump and restore on a copy

    The team takes a copy of the Omnibus database and file storage, runs the documented dump and restore onto the standalone PostgreSQL server, and points a test instance at the restored data. The timing, disk space used by the dump, and every error or manual fix are logged. The rehearsal is repeated until the steps run cleanly from start to finish. The step is done when the rehearsal log shows a repeatable sequence and the team has measured how long each stage took. Those measurements, not any figure on this page, set the duration of the real maintenance window.

  5. Validate users, channels, files and integrations

    Testers working from a list sign in to the copy and check user accounts and roles, team and channel membership, private channels, message history, attachments and previews, custom emoji, and each integration, bot and webhook the business depends on. Each check is recorded with its expected and actual result, and failures are traced to either the migration or the configuration. Single sign-on and mail notifications are tested as well, since they often depend on settings that change with the new server address. The step is done when the business owners of each area sign off the copy in writing.

  6. Run a timed cutover with a full backup first

    During the approved maintenance window, the Omnibus Mattermost is put into a read-only or stopped state, a full backup of the database and file storage is taken and verified, and the final dump is restored onto the standalone server using the rehearsed steps. The clock is recorded at each stage so the team can compare the live run with the rehearsal. The DNS or proxy record is then switched to the new server. The step is done when the backup restore test has been confirmed and the new server is serving the production name.

  7. Verify and reopen the new server

    Administrators confirm that the new server starts cleanly, that the database connections and file storage reads and writes work, and that the logs contain no unexpected errors. A small set of pilot users signs in, posts, uploads a file and checks the integrations from the validation list before the wider user base is invited back. The Omnibus instance stays intact and unchanged so the rollback path remains available. The step is done when the pilot checks pass and the business owner accepts the cutover in writing.

  8. Decommission Omnibus after the rollback period

    After the rollback period the team agreed on before cutover ends with no unresolved data issues, the Omnibus Mattermost is shut down, its data is archived under the retention policy, and the GitLab package configuration no longer enables the bundled Mattermost. Backup jobs, monitoring and access entries for the old server are removed, and the runbook is updated to show the new server as the system of record. The step is done when the old instance is off, the archive is verified, and the ownership record is updated.

How the Omnibus, backup and standalone parts connect during cutover

The cutover starts on the GitLab Omnibus server, where Mattermost runs with its bundled PostgreSQL and file storage. A full backup of the database and file storage is taken during the maintenance window, then moved across the trust boundary to the new standalone Mattermost server and its new PostgreSQL server. Users reach the new server through a reverse proxy, and the Omnibus instance stays intact so that the rollback path remains available. Before users are switched over, check that the restored data and file storage match the backup and that the rollback path has been tested.

Data flow from the Omnibus host through backup to the standalone server, with the rollback path.

What drives the effort and duration of the Omnibus move

This table lists the factors that change the cost and duration of moving Mattermost out of GitLab Omnibus, and whether each one is paid once or recurs. Use it to see which details to fix before requesting a quote, since most of the variation comes from database size, file storage, integrations and approval lead times rather than from the install itself.

DriverWhy it changes effortOne-time or recurringWhat to ask for in a quote
Database size and dump timeThe documented procedure dumps the database and restores it into a new PostgreSQL server, so a larger database lengthens the downtime window and needs more disk space for the dump.One-timeCurrent database size, measured dump and restore time on a copy, and the downtime window the plan assumes.
File storage volume and locationAttachments must be backed up and moved with the database, and a larger or differently located file store adds copy and verification work.One-timeVolume of file storage, where it sits today, and how the file store is verified after the move.
Integrations and bots to re-pointEach webhook, bot, slash command and external connection may need its endpoint, token or host updated after the server changes.One-timeInventory of integrations and bots, who owns each one, and which ones are tested before cutover.
Custom configuration and pluginsCustom settings, plugins and proxy rules in the Omnibus setup must be mapped to the standalone server, and plugins must be confirmed as compatible with the target version.One-time, with ongoing checks at each upgradeReview of the current configuration file, a list of installed plugins, and a compatibility check against the target server version.
Users who need validationA larger user population increases the number of sign-in, channel and history checks needed before the business signs off.One-timeWho signs off, how many test accounts are used, and the validation checklist.
Environments needing a rehearsalEach environment that needs a dry run, such as test, staging and production, repeats the backup, restore and validation steps.One-time per environmentNumber of environments rehearsed, whether each rehearsal is run on a copy of production data, and what is recorded from each run.
Access and approval lead timesAccess to the Omnibus server, new cloud or data center resources, and change approvals can delay work regardless of technical effort.One-timeWhich access requests and approvals the plan depends on, and the lead time the partner has assumed for each.
Pace of the team's change processChange windows, review cycles and freeze periods set how often a rehearsal or cutover can happen, which affects total elapsed time.One-time, and repeated if rehearsals are rescheduledAvailable change windows, required review steps, and any freeze periods that fall before the GitLab removal date.

What usually goes wrong in an Omnibus to standalone move

The Omnibus to standalone move fails less often on the core copy than on the edges around it: version choice, timing, storage, configuration and rehearsal. Each card below names one of these risks and the control your team can check before cutover.

Running on an unsupported version

Confirm the Mattermost server version before you schedule anything. The documented path from GitLab Omnibus is aimed at versions GitLab still ships, and GitLab will support Mattermost up to 10.11 ESR within Omnibus until final removal. Check that the target release is on Mattermost's current support list, not just the version bundled today. Record the version in the change plan and rerun the check on cutover day.

Omnibus migration docs

Missing the GitLab removal date

Treat GitLab's deprecation announcement as a hard deadline, not a suggestion. Build the rehearsal, the cutover and a rollback plan backward from a date that leaves room for at least one failed trial run. Ask the GitLab account or your release owner to confirm the final removal date for your GitLab version, because it is not restated here. Assign one owner who can call a go or no-go decision.

Deprecation announced with
GitLab 19.0

Restoring a dump without checking file storage

A successful database restore does not prove attachments, avatars or uploaded files are present. After each restore, compare file counts and sample downloads against the source, and confirm the file store settings point at the copied data. Do not treat the database dump and the file storage as one artifact. Verify both before any user is told the move succeeded.

PostgreSQL outside its support window

Choose the PostgreSQL major version against its published end-of-support date, not the version already running. A version that loses support within months of cutover forces a second migration soon after. Confirm the version your standalone server will run is still in its support window on the planned go-live date, and record the end-of-support date in the runbook.

PostgreSQL 14 support ends
2026-11-12
PostgreSQL versioning policy

Configuration drift that breaks login and email

Compare the Omnibus configuration with the new standalone configuration key by key before cutover. Authentication settings, site URL, SMTP host and sender address are the usual sources of failure. Test one login from each sign-in method, send a test notification and confirm the site URL matches the address users type. A mismatch often appears only after the first real user logs in, so run these tests on the cutover server before DNS changes.

Losing integrations in the move

Inventory every webhook, slash command, bot, OAuth application and plugin before the rehearsal, and record its owner. Integrations that point at the old hostname or hold tokens tied to the old install need reconfiguration after cutover. Ask the integration owners to confirm the new endpoints and test each one on the new server. Do not assume a database copy carries these settings across intact.

Skipping the full backup before cutover

Take a full backup of the database and file storage immediately before the maintenance window starts, and store it outside the source server. Confirm that the backup can be restored to a separate host, not just that the backup job reported success. Keep the source system intact until users have confirmed the new server, so a rollback is possible. Record the backup time and checksum in the change ticket.

PostgreSQL archiving docs

Underestimating rehearsal time

Plan at least one full trial run against a copy of production data, timed end to end, before scheduling the maintenance window. Use the measured duration of the dump, transfer, restore and validation steps to set the downtime window, not an estimate. Record which step took longest and whether disk space for the dump was sufficient. Repeat the rehearsal if the data set or Mattermost version changes.

Questions buyers ask before moving Mattermost off GitLab Omnibus

What does it cost to move Mattermost off GitLab Omnibus?

The cost is mostly the labor to plan, run and verify the move, plus the infrastructure you pay for: a standalone server, a new PostgreSQL server, storage for the database dump and backup capacity. Infrastructure costs recur as cloud or data center charges, while the migration labor is one-time. Costs rise with the size of the database, the amount of file storage to back up and copy, the number of integrations to re-test, and how many rehearsal runs your change process requires. Ask any quote to separate the one-time migration work from recurring hosting and support, and to list the infrastructure it assumes. Mattermost does not publish migration pricing, and licensing for the plan you run is a separate subscription question that should be confirmed with Mattermost sales.

How long does a Mattermost Omnibus migration take?

Duration depends on the database size, the file storage volume, how many rehearsal runs you schedule, and how long your change board needs to approve the downtime window. The documented procedure requires a maintenance window with downtime, so the cutover itself must fit inside a window your users agree to. Plan separately for preparation: provisioning the new server and PostgreSQL, confirming disk space for the dump, and taking a full backup of database and file storage. Use a trial run against a copy to measure how long the dump, restore and file copy take on your data, then size the window from those measurements. No general duration is given in the researched sources, so ask any provider for an estimate built from a rehearsal on your own data.

What does the migration need from our team?

You need root or sudo access on the Omnibus server, access to provision a new standalone server and PostgreSQL instance, and enough disk space for the database dump. You also need a named owner who can approve the maintenance window, decide on rollback, and sign off on the post-move checks. Your network, DNS and TLS certificate owners should be available for the cutover, because users will be pointed at the new address. Confirm the change window with your users and with GitLab operations, since the Omnibus server may be running other GitLab services that also need to stop or keep running. Written access lists and an agreed change calendar prevent the most common delays.

Can our own team run the migration without a partner?

Yes, if your team has Linux administration experience, PostgreSQL operations experience and the ability to test restores. The documented procedure is a sequence of steps that an experienced administrator can follow, and the outcome depends on discipline in backups, rehearsal and verification more than on specialized tooling. A partner is most useful when the team has no one who has done a database move, when the change window is short, or when there is no capacity to rehearse. Assess your team by asking whether someone can restore a backup to a test server and confirm that users, channels and files came back intact. Mattermost's own documentation should be the reference for each step.

Which Mattermost and PostgreSQL versions should we target?

Target a Mattermost version that is currently supported, and prefer an Extended Support Release if you want fewer upgrades. The researched facts list v11.7 as an Extended Support Release released on 2026-05-15 with support ending 2027-05-15, and v10.11 reached end of life on 2026-08-15. Confirm the current release list on the Mattermost releases page before you pick a version, because monthly releases follow on the 16th of each month. For PostgreSQL, the supported versions are 18 (final release November 14, 2030), 17 (to November 8, 2029), 16 (to November 9, 2028), 15 (to November 11, 2027) and 14 (to November 12, 2026). Versions 13 and earlier are unsupported. Choose a PostgreSQL major version that still has long support, and confirm compatibility with your chosen Mattermost release in the Mattermost documentation.

What happens to our files, integrations and plugins?

Chat history and database content move with the database dump, but file storage must be copied and verified separately, so back up file storage as carefully as the database. Check the migration guide for what it carries across, and treat anything it does not list as something to re-create or re-test. Integrations such as webhooks, bots, slash commands and OAuth apps point to URLs and secrets, so update their endpoints and confirm each one works after cutover. Plugins should be checked for compatibility with the target Mattermost version before the move. Build a list of every integration and plugin in use, record its owner, and test each one on the rehearsal server before the maintenance window.

What does a fixed-scope DeployOpen engagement include?

A fixed-scope engagement covers the agreed work in writing: an inventory of the current Omnibus installation, a plan for the standalone server and PostgreSQL, the backup and rehearsal approach, the cutover runbook, the verification checks, and handover documentation. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. Ask that the scope name the Mattermost and PostgreSQL versions, the environments covered, who approves the window, and what is excluded, such as custom plugin work or integration rebuilds. DeployOpen implements and documents the work in your infrastructure, and ongoing support or upgrades can be set up as a retainer.

How DeployOpen scopes, delivers and supports the Omnibus migration

DeployOpen plans and runs the move of your Mattermost from GitLab Omnibus to its own server and PostgreSQL database inside infrastructure you control. The work starts with a written scope that names the prerequisites, the maintenance window and the backup set before any change is made.

How we scope

  • Confirm root or sudo access to the Omnibus server and the Mattermost version currently running there.
  • Size the new standalone PostgreSQL server and the disk space needed for the database dump.
  • Agree the maintenance window, the downtime users will see and who approves the cutover time.
  • Define the full backup of database and file storage that must be verified before cutover starts.

How we build

  • Install the standalone Mattermost server and PostgreSQL in your environment, following the documented migration procedure.
  • Rehearse the dump, restore and configuration changes on a copy so the production steps are already known.
  • Check that users, channels, file storage paths and authentication settings match the source after the restore.
  • Record each command and configuration change so the cutover can be repeated or reversed if needed.

How we hand over

  • Deliver a runbook covering the cutover sequence, rollback steps and the verification checks completed.
  • Document the new server layout, backup jobs and how the Omnibus instance is retired or kept read-only.
  • Walk your platform and administration teams through the new installation and their operating responsibilities.
  • Provide the written list of open items, including any GitLab removal date you need to meet, for your own tracking.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the migration is complete.
  • Plan the next Mattermost upgrade path with your team so the standalone server stays on a supported release.
  • Ask your DeployOpen contact to confirm which post-migration support items are included in your written quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.