Rolling upgrades for multi-instance Rocket.Chat

A rolling upgrade updates load-balanced Rocket.Chat instances or Kubernetes microservices one at a time while keeping every instance on the same version. This page explains the sequence, the checks and the effort drivers.

On this page

How to plan a rolling upgrade for multi-instance Rocket.Chat

If your team runs two or more Rocket.Chat instances behind a load balancer, or Helm-managed microservices on Kubernetes, you can upgrade without a full outage by moving one instance at a time while keeping every instance on the same version. The path to the target release must also respect two constraints: the support dates of each release line and the MongoDB prerequisites that the target version requires. Staying on a supported line matters because the version durability documentation states that after end of life a version gets no security or bug fixes, and cloud services such as the push notification gateway, Marketplace and Omnichannel integrations stop working. Unsupported versions may also lose the ability to connect with the official mobile and desktop clients. Check the standard (6 months) and LTS (12 months) support windows in the Rocket.Chat version durability docs before you pick a target, and confirm the current end-of-life date for your running line.

Multi-instance and microservice designs require a paid plan, so confirm your license covers them before you plan the work. Scope the upgrade in writing with these checks: the current running version on every instance, the exact image or chart version on each node, the MongoDB version and replica set health, and whether any instance is pinned, cached or configured differently from the others. Rocket.Chat recommends rolling updates of multiple instances one at a time, and mixed versions during the window can cause inconsistent behavior, so agree on a single cutover order and a rollback point for each step. For microservices, the change is applied through values.yaml and helm upgrade, and direct Docker microservice deployment is not supported, so the plan must name the chart version, the values file and who reviews the diff before it runs.

Decide how long the mixed-state window may last, and who approves each step, before the first node is touched. Load balancer health checks should drain one instance, upgrade it, confirm it passes readiness and login tests, then return it to rotation before the next node moves. Ask your vendor or internal team to confirm which database migrations run on first startup, whether they block other instances, and whether any step requires a stop. Take a verified MongoDB backup before the first node changes, and keep the previous image or chart revision available for rollback. Record the result of each step so that the final state is one version everywhere, verified against your own test workspace before production users are moved.

What changes between versions and what it means for your team

This table lists the version, support, runtime and sizing changes that affect a multi-instance Rocket.Chat upgrade, with the impact of each and the action your team needs to take. Read it as a checklist to work through before choosing a target release. The main takeaway is that support windows and the MongoDB prerequisite set the timing, while the exact changes for each target version are only in its release notes, which you must read before planning.

ChangeImpactAction needed
Standard and LTS support windowsStandard releases are supported for 6 months and LTS releases for 12 months, so a version you run can leave support during your planning cycle.Check the support end date for your current and target versions in the version durability documentation and schedule the upgrade before it passes.
End-of-life effectsAfter end of life, a version gets no security or bug fixes, cloud services such as the push notification gateway, Marketplace and Omnichannel integrations stop working, and mobile and desktop clients may fail to connect.Identify which of these your users depend on, and treat an end-of-life date as a hard deadline for the rolling upgrade.
MongoDB 8.0 or later as a replica set for 8.xRocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, so the database must be ready before any application instance moves to 8.x.Confirm your MongoDB version and replica set health, and complete the database upgrade and backups first, following the release notes for the exact engine requirement.
Node.js bundled in the Docker image and Helm chartNode.js ships inside the official Docker image and Helm chart, so no separate runtime is installed on your hosts.Do not install or pin a separate Node.js runtime for the application. Check any custom scripts or apps against the Node.js version listed in the release notes.
Release cadence: 8.9.0 and patch releasesRocket.Chat 8.9.0 was published on October 5, 2026, and patch releases such as 8.6.3 and 8.5.4 followed on October 16, 2026 for older supported lines.Track the GitHub releases page, choose the patch level for your line, and keep every instance on the same build during the rollout.
Reference architecture: single instance up to 500 usersOne instance with a MongoDB replica set is the reference design up to 500 concurrent users.Confirm your concurrent user count before assuming a single instance can be upgraded without a rolling plan.
Reference architecture: load-balanced instances with NATS above 500 usersMultiple load-balanced instances linked by NATS are the reference design above 500 concurrent users, and this design requires a paid plan.Confirm your plan supports multi-instance operation and that all instances can be drained and replaced one at a time.
Reference architecture: Helm microservices above 5,000 usersMicroservices on Kubernetes with the official Helm chart are the reference design above 5,000 concurrent users, and direct Docker microservice deployment is not supported.Plan upgrades through values.yaml and helm upgrade, and test the chart version against your cluster before rollout.
Release notes for each target versionEach target version can add, remove or change features, API behavior and permissions that a rolling upgrade must account for.Read the release notes for every version between your current release and your target before planning, and test your integrations against them.

What to prepare before the first instance is touched

A rolling upgrade is only as safe as the state you can return to. The six items below cover what you need to restore, what you need to rebuild, and what you need to tell users before any instance leaves the pool.

Verified backups of data and files

Take a backup of the MongoDB replica set and of the file storage before each step, not once for the whole project. Restore a copy into a scratch environment to confirm it works, because an untested backup gives you no rollback path. Record which backup belongs to which version step so you know where to return if a migration fails partway through.

Inventory of apps, integrations and proxy rules

List every custom app, Marketplace app, incoming and outgoing webhook, and identity or video integration. Note the reverse proxy and load balancer settings that affect WebSocket connections, TLS and headers. Several of these depend on Apps-Engine or API behavior that can change between releases, so each item needs an owner who will test it after the upgrade.

Staging that matches production

Build a staging environment with the same topology as production, including the number of instances, the NATS connection for multi-instance deployments, or the same Helm chart and values for microservices. A single-node staging system will not reveal problems that appear only when instances share sessions and events. Use it to rehearse each step, time it, and record what you had to change.

Current values.yaml and load balancer configuration

Keep a versioned copy of the active values.yaml and the load balancer configuration, exported from the cluster or load balancer rather than from memory. This is the file you will diff against the new chart defaults and the baseline you roll back to if a helm upgrade misbehaves. Store it outside the cluster so it survives a failed release.

Maintenance and user communication plan

Decide whether the upgrade runs with a maintenance window or without one, and tell users when sessions may drop. Mobile and desktop clients depend on a compatible server version, so plan how users will update their clients and what happens to those who do not. Name the person who approves a rollback and the message that goes to the workspace if one is needed.

MongoDB engine version for the target

Confirm the MongoDB version that your target Rocket.Chat release requires before you change any instance. Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, and a three-member replica set is strongly recommended for high availability. Check the release notes for the exact engine requirement, and upgrade MongoDB as its own planned step if your current version is older.

System requirements

The rolling upgrade sequence, step by step

This sequence moves a load-balanced Rocket.Chat deployment or a Kubernetes microservices deployment to a new version one instance at a time, so users keep access and every node ends on the same release.

  1. Confirm target version and upgrade path

    Before touching production, the platform owner reads the release notes for the target version and confirms the supported path from your current version, including any required MongoDB engine version and Node.js baseline. Rocket.Chat publishes releases on its GitHub releases page, so record the exact version and patch level you will deploy. Rehearse the full sequence on a staging copy built from a recent production backup and record the results. The step is done when staging passes login, messaging, file upload and integration checks on the target version and the upgrade path is written down. Your rollback point is the untouched production environment and a verified backup.

  2. Upgrade MongoDB and verify the replica set

    Where the target release requires a newer MongoDB, the database team upgrades MongoDB first, following the engine versions listed in the release notes and the database's own procedure. Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, and a three-member replica set is strongly recommended for high availability. Check that every member reports a healthy state, that a primary is elected, and that replication lag is clear before continuing. Take a fresh backup before each database step. The step closes when the replica set status is healthy on all members and the application still connects with the existing version. Roll back by restoring the database backup if a member fails to rejoin.

  3. Drain and upgrade the first load-balanced instance

    The platform owner removes one Rocket.Chat instance from the load balancer so new sessions stop routing to it, then lets existing connections close or moves them to the remaining instances. Stop the instance, deploy the target version to it, and start it with the same configuration as its peers. Watch the logs for startup errors and confirm the instance connects to the database and the NATS message bus used between instances. The step is done when the upgraded instance answers its health endpoint and passes a login and message test when reached directly. Roll back by redeploying the previous image to this single instance, which the other instances still on the old version can support while you investigate.

  4. Return the instance and run health checks

    Once the first upgraded instance passes its checks, add it back to the load balancer pool and send test traffic through the balancer. Run a short scripted check that signs in as a test user, posts to a channel, uploads a small file and receives a real-time update in a second session. Review error rates and logs for a period your team has agreed in advance. The step is complete when the balancer shows the instance healthy and the test checks pass through the balancer, not only on the node itself. If errors appear, drain the instance again and restore the previous version on it, leaving the remaining instances untouched.

  5. Repeat one instance at a time on the same version

    Apply the same drain, upgrade and return cycle to each remaining instance in turn. Rocket.Chat recommends updating multiple instances one at a time as a rolling update and keeping all instances on the same version, so do not leave a mix of releases running for longer than the rollout requires. Record the version on every node after each cycle and compare it against the target. The step is complete when every instance reports the same target version and the balancer shows all nodes healthy. Your rollback point after each node is the state where the nodes already upgraded are still healthy and the rest remain on the previous version.

  6. Change the image tag and run helm upgrade for microservices

    For Kubernetes microservices installed from the official Helm chart, the platform engineer changes the image tag for the target version in values.yaml, keeping the chart and image versions aligned with the release notes. Run helm upgrade against the release with that values file, and avoid editing live deployments by hand so the desired state stays in version control. Rocket.Chat microservices are scaled and changed through values.yaml, and direct Docker microservice deployment is not supported. The step closes when the rollout reports complete, every pod is ready and each service has populated endpoints. Roll back with helm rollback to the previous revision if pods fail readiness or the endpoints stay empty.

  7. Check readiness and endpoints, then set the rollback point

    After the Helm rollout or the final instance returns, confirm that all pods are ready, that services list healthy endpoints, and that the database and message bus connections are established from every component. Run the same scripted sign-in, messaging, upload and real-time check used on the load-balanced path. Record the final version, the backup identifier and the Helm revision or deployment state so the next upgrade has a known starting point. The step is done when every check passes and the record is filed. From this point, the rollback condition is any persistent failure in sign-in, message delivery or client connectivity that cannot be fixed within the window your team agreed before the upgrade started.

Why keeping all instances on one version matters during the rollout

Keeping every instance on the same version is the rule that makes a rolling upgrade safe, and the reason is the mixed-version window. While some instances run the old release and others run the new one, the team has to confirm that user sessions, the shared MongoDB replica set and the NATS messaging between instances all behave correctly across both versions. Rocket.Chat's guidance for multiple instances is to update one instance at a time and keep all instances on the same version, so the window should last only as long as the checks for each instance require. Before moving to the next node, confirm that the upgraded instance starts cleanly, that its health endpoint responds, that users can sign in and post in a test channel, and that messages sent from an old-version instance reach it and the reverse. Record the target version in your change ticket and check the running version on every node, not only the one you just touched.

Decide in advance what a failed instance looks like. Typical signs include a container that restarts in a loop, a migration error in the logs, sessions that drop or fail to resume on the upgraded node, real-time messages that stop reaching users connected to it, or the instance losing its connection to NATS or MongoDB. A single failed node is a reason to stop the rollout, not to push forward and fix it later. Halt when a check fails and the cause is not understood, when a database migration reports an error, or when more than one instance shows symptoms. Keep the remaining instances on the old version so users stay served while you investigate. Confirm with Rocket.Chat's documentation and your own test environment whether a database migration can be reversed before you start, because that answer decides whether a rollback means restoring from backup or simply redeploying the previous image.

Write the stop criteria and the rollback owner into the runbook before the window opens. Someone with authority to halt the rollout should be named, and the team should agree on which checks must pass before each step. Having these decisions made in advance keeps a partially upgraded cluster from becoming a long, undecided state.

How the rolling upgrade moves through the cluster

The upgrade starts at the load balancer, which holds traffic while the MongoDB replica set is checked and prepared first. Each Rocket.Chat instance is then drained, upgraded to the same target version and returned to the pool only after a health check passes. A failed check sends the instance to a rollback decision rather than to the next instance. For microservices on Kubernetes, helm upgrade applies the changed values.yaml to the services, and the same health gate applies before the rollout continues.

Rolling upgrade order for load-balanced instances and Kubernetes microservices, with health gates and rollback.

How the path differs for load-balanced instances and Kubernetes microservices

In this model, each Rocket.Chat instance is a full copy of the application behind a load balancer, and the instances share one MongoDB replica set and a NATS messaging layer. Rocket.Chat recommends updating multiple instances one at a time as a rolling update while keeping all instances on the same version. Reference architectures place multiple load-balanced instances linked by NATS above 500 concurrent users, and this design requires a paid plan.

  • Drain the instance: Remove the node from the load balancer pool and confirm that existing sessions have moved or closed before you stop the process. The drain method depends on your load balancer, so confirm its connection draining behavior before the first node.
  • Upgrade one node: Replace the image or package on that node only, using the same target version as the rest of the pool.
  • Verify before returning it: Check that the instance starts, connects to MongoDB and NATS, and passes your health check before you add it back to the pool.
  • Return it to the pool and repeat: Add the node back, let traffic stabilize, then move to the next node. Confirm with Rocket.Chat's guidance how long a mixed-version window can be tolerated for your release.
  • Run database steps once: MongoDB upgrades apply to the shared cluster, not to each node, so complete them before the first instance moves to 8.x.

Check that your drain and health check timings match what each node needs to start, and confirm that backups were verified before the first node was touched.

What makes a rolling upgrade take longer

This table lists the factors that stretch a multi-instance or microservices upgrade and what each one adds to the work. Read each row as a question to answer about your own workspace before estimating effort. The main takeaway is that the number of moving parts and the quality of your staging environment usually matter more than the upgrade command itself.

DriverEffect on effortWhat to ask for
Number of instances and microservicesEach instance or service must be updated, health-checked and kept on the same version, so effort grows with the count and the rolling sequence gets longer.An inventory of every instance or Helm release, with the version each one runs today and the order you will roll them
Custom and Marketplace appsEach app must be retested against the target version, and apps that depend on runtime changes may need code or configuration updates first.A list of installed apps with their sources, owners and whether each has been tested on the target release
Webhook and API client countEvery integration that calls the REST API or receives webhooks must be checked for removed endpoints, stricter validation and changed permissions.A catalog of integrations, their owners and the API calls each one makes, plus a test plan per integration
MongoDB upgrade required firstRocket.Chat 8.x requires MongoDB 8.0 or later as a replica set, so a database step often comes before the application step and adds its own testing and rollback planning.Current MongoDB version, replica set health, and the MongoDB upgrade steps and engine requirements listed for your target Rocket.Chat release
Data size and backup durationLarger databases and file stores lengthen the backup, the restore test and the window in which you can roll back safely.Database and file storage sizes, a timed restore test, and the backup method used for each component
Mobile and desktop client rolloutUnsupported or mismatched clients can lose connection after the server moves, so client versions must be checked and users may need prompts to update.Supported client versions for the target server, your user count per platform, and a plan for pushing or announcing client updates
Air-gapped or restricted networksContainer images, Helm charts and packages must be mirrored inside the network before the upgrade, which adds transfer, scanning and approval steps.Confirmed image and chart mirror process, an approved package list, and the lead time your change process requires
Staging environment that matches productionWithout a staging copy of the same topology, data and integrations, problems surface in production and rollback becomes the test.A staging design that matches instance count, database version, apps, integrations and network path, and a written test pass before production

Questions buyers ask before upgrading Rocket.Chat

What drives the cost of a rolling Rocket.Chat upgrade and how is a fixed-scope quote built?

The cost depends on how many instances or microservices run, how many environments need the upgrade (staging and production at minimum), how much of the MongoDB and Helm work is included, and how much testing the custom apps and integrations need. A fixed-scope quote lists each of these as a line item, states what the client provides, and names the deliverables such as a runbook, rollback steps and a post-upgrade check. Scope is agreed in writing before work starts, and DeployOpen does not publish a price list, so the quote follows from that scope. Ask for the components to be itemized so you can see what is one-time work and what, if anything, recurs under a retainer.

How long does a rolling upgrade take, and why can no single duration be given?

No single duration applies because the time depends on the deployment size, the number of instances or Kubernetes services, the database migration load, the number of integrations and custom apps to retest, and how many change windows the organization allows. The supplied guidance does not give a duration for this work, so ask for a timeline in the written scope, tied to the environments and checkpoints listed there. Rocket.Chat recommends updating instances one at a time, which means the work is paced by how long each instance takes to restart and verify before the next one moves.

What must our internal team provide before an upgrade starts?

The internal team typically provides access to the load balancer, Kubernetes cluster or Docker hosts, the MongoDB replica set, and the Helm values files in use. It should also supply a verified backup of the database and file storage, a staging environment that mirrors production, agreed change windows, and an inventory of installed apps, custom integrations, webhooks and API clients. Confirm these items during scoping, because a missing app inventory or staging copy is one of the most common reasons an upgrade plan slips.

Can our team run the upgrade alone, and which skills does it need?

A team can run the upgrade alone if it has working knowledge of MongoDB replica sets and backups, the load balancer or Kubernetes cluster that fronts the instances, and Helm for microservice deployments, where scaling and changes go through values.yaml and helm upgrade. Direct Docker microservice deployment is not supported, so Kubernetes skills matter for that design. Keeping all instances on the same version throughout is a discipline the team must maintain. Whether it is enough depends on your staff's experience with these tools, and that assessment should be part of scoping.

What happens if an upgrade fails, and how is the rollback decided?

A rollback plan should be written before the first instance is changed. The decision usually depends on which step failed: an instance that does not come back healthy can be pulled from the load balancer while the others keep running on the prior version, but a failed MongoDB or schema migration may require restoring from backup, which is why backups are verified first. Set explicit go and no-go checks for each instance, define who makes the call during the change window, and agree the rollback steps in the runbook. Keeping all instances on one version prevents a mixed state from becoming the failure mode.

Do ongoing retainers cover future Rocket.Chat upgrades?

DeployOpen offers ongoing support, upgrades and continuous testing as retainers, so a retainer can cover future upgrades if it is written into the agreement. Confirm in writing which upgrades are included, whether major version changes are covered or billed separately, and how release timing is handled. Note that Rocket.Chat standard releases are supported for 6 months and LTS releases for 12 months, and that unsupported versions stop receiving security fixes and may lose connection to the official mobile and desktop clients, so the schedule of upgrades matters to the retainer terms.

How DeployOpen scopes, delivers and supports the upgrade

DeployOpen plans the upgrade inside your own infrastructure, whether that is your cloud accounts, data centers or an air-gapped network, and agrees the scope, deliverables and timeline in writing before any work starts. For a multi-instance Rocket.Chat, the written scope should name each load-balanced instance, the NATS link between them, the MongoDB replica set, the reverse proxy and any Kubernetes microservices, because each of these changes the rolling sequence. Most engagements are fixed-scope, so the written scope is also the basis for the quote. DeployOpen does not publish a price list. A quote follows from that written scope, and the scope itself is what you compare between proposals.

Before production, DeployOpen runs a staging rehearsal on a copy of your environment that matches the production topology, including the same instance count, the same MongoDB version and the same Helm values for microservices. The rehearsal produces the documented sequence: which instance is drained and updated first, when to confirm that every instance reports the same version, when database migrations run, and the rollback point at each step. Confirm with your own team which release and patch level the rehearsal targets, and check the current version status in the Rocket.Chat version durability documentation before fixing the target line.

After the upgrade, DeployOpen can continue with ongoing support or an upgrade retainer. Retainers cover recurring work such as tracking patch releases, rehearsing the next update and handling Helm chart changes. Ask any provider to state in the quote what is one-time work, what recurs, who holds the credentials and runbooks, and how fast they respond to a failed rollout. Those answers decide how much of the upgrade your own team can run without a partner.

How DeployOpen approaches Rocket.Chat upgrades

DeployOpen plans, builds, tests and documents rolling upgrades for load-balanced Rocket.Chat instances and Kubernetes microservices inside your own infrastructure. Each engagement starts from a written scope that sets out the environment, the versions involved and the upgrade sequence before any change is made to production.

How we scope

  • We inventory every running instance, its Rocket.Chat version, and whether the deployment is load-balanced instances or Helm-based microservices.
  • We confirm the MongoDB replica set version and backup status before any upgrade step is agreed.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and ongoing support available as a retainer.

How we build

  • We write a one-instance-at-a-time runbook that keeps all instances on the same Rocket.Chat version throughout the rollout.
  • We rehearse the upgrade in a non-production copy of your environment, including database migration steps and rollback points.
  • For microservices, we prepare values.yaml changes and test the helm upgrade sequence before it touches your cluster.

How we hand over

  • You receive the tested runbook, configuration records and a verification checklist covering login, messaging, file uploads and client connections.
  • We document the rollback path for each instance and the database state that must be restored if a step fails.
  • Your team walks through a live rehearsal so operators can run the next upgrade without DeployOpen on the call.

How we support

  • Retainers cover upgrades on the next release line, patch rollouts and continuous testing after each change.
  • We review release notes for each new version so your team knows which features, integrations and API clients need checking.
  • We confirm with you which Rocket.Chat plan and license terms apply to your multi-instance or microservice design before scheduling changes.

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.