Why the Apps-Engine runtime change matters before a Rocket.Chat upgrade
If your Rocket.Chat workspace runs Marketplace or private apps, the Apps-Engine runtime has changed from Deno to Node.js across three releases: 8.7.0 added a Node.js backend option, 8.8.0 made Node.js the default, and 8.9.0 removed Deno and the APPS_ENGINE_RUNTIME_BACKEND variable that could revert to it. Every app you depend on must be tested against the Node.js runtime before the workspace reaches 8.9.0, because there is no supported switch back once that release is in place. Apps that work on Deno today may still fail on Node.js, so the test is a decision point, not a formality.
Upgrades are part of operating Rocket.Chat, not an occasional project. Under the published durability policy, standard releases are supported for 6 months and LTS releases for 12 months. 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 compatibility with the official mobile and desktop clients. Check the Rocket.Chat version durability documentation for the current support dates of your line before you schedule the runtime work.
For the supported path, move one major line at a time and keep MongoDB ahead of the application, since Rocket.Chat 8.x requires MongoDB 8.0 or later as a replica set. The sibling pages on the 7 to 8 upgrade, the 8.5 LTS to 8.9 LTS upgrade and MongoDB prerequisites cover version sequencing and database steps in detail. Confirm which of your apps are Marketplace listings and which are private, and ask each vendor or internal owner whether a Node.js build has been validated for the version you plan to reach.
What changes in the Apps-Engine runtime across 8.7, 8.8 and 8.9
This table lists each release in the Apps-Engine runtime change, what it does to Marketplace and private apps, and what your team should do about it. Read it as a sequence: the switch to Node.js starts in 8.7, becomes the default in 8.8, and Deno is gone in 8.9, so any app that depends on Deno needs testing before you move past 8.8.
| Change | Impact | Action needed |
|---|---|---|
| 8.7.0 adds a Node.js Apps-Engine backend option | Node.js becomes available as a runtime for apps, but Deno remains the default | Test installed apps on Node.js in a staging workspace before changing any production setting |
| 8.8.0 makes Node.js the default | New installs and apps run on Node.js unless the variable is set | Set APPS_ENGINE_RUNTIME_BACKEND=deno only as a temporary revert while you finish testing |
| APPS_ENGINE_RUNTIME_BACKEND=deno reverts to Deno in 8.8.0 | Gives a short window to keep apps on Deno while fixes are made | Record which deployments use the variable and plan to remove it before 8.9.0 |
| 8.9.0 removes the Deno runtime and support for the variable | Deno is no longer available, so apps that only work on Deno will not run | Confirm every app passes on Node.js and check the 8.9.0 release notes for other changes |
| Installed apps running on Deno need testing on Node.js | Marketplace and private apps may behave differently on the new runtime | Inventory each app, test its features on Node.js, and ask the app authors or vendors to confirm compatibility |
How the Node.js backend option, default and Deno revert fit together
Rocket.Chat changed the Apps-Engine runtime in three steps, and the order matters for any workspace running custom or Marketplace apps. In 8.7.0, Rocket.Chat added a Node.js backend for the Apps-Engine as an option you had to choose. In 8.8.0, Node.js became the default, and the APPS_ENGINE_RUNTIME_BACKEND setting with the value deno was kept as a temporary way to switch back. In 8.9.0, the Deno runtime and support for that variable were removed. Treat these three releases as one sequence: the revert path exists only between 8.8.0 and 8.9.0.
If your team needs to keep a workspace on Deno while it tests apps, the variable is the mechanism to plan around. Set APPS_ENGINE_RUNTIME_BACKEND=deno on a staging copy running 8.8.x, then install and exercise each private app and each Marketplace app you depend on, recording which ones behave differently. Confirm the exact variable name and value in the 8.8.0 entry of the release notes before you rely on it, and confirm whether your deployment method (Docker Compose, Helm chart or another setup) passes it through to the server container. Do not assume the setting carries across a version jump without testing it.
The revert window is the planning constraint. Because the variable is removed in 8.9.0, a Deno-dependent app that fails on Node.js must be fixed or replaced before any move to 8.9.0, and the decision cannot be deferred to the production cutover. Ask your app developers or vendors for a Node.js-compatible build and a written statement of which runtime they support. For illustrative purposes, if a private app depends on a Deno-only API, the team should decide during the 8.8.x test cycle whether to rewrite it, replace it, or keep the workspace on a version where Deno still exists, and then budget that work into the upgrade scope.
What to inventory and back up before the runtime change
Most of the risk in the Apps-Engine move sits in what you already run, not in the upgrade itself. These cards cover the records, backups and prerequisites that let you test a runtime change and roll back if an app misbehaves.
Inventory every installed app
List each Marketplace and private app with its installed version, the vendor or internal owner, and the workspace it serves. Private apps are the ones most likely to be missing from a current record, so check the admin Apps screen and your own build repositories. Without this list, you cannot tell which apps to test or who to ask when one fails on the Node.js backend.
Dependencies on Deno behavior
Mark which private apps call Deno-specific APIs, permissions, imports or file handling. Ask each Marketplace vendor whether their app has been tested on the Node.js backend and on which Rocket.Chat version. Record the answers in writing, because a missing answer is a test item, not a pass.
Current runtime backend setting
Record the value of APPS_ENGINE_RUNTIME_BACKEND on every instance before you change anything. Behavior differs between the Deno and Node.js backends, so you need to know what production runs today. Check the value in your Docker Compose file, Helm values or environment configuration, since an unset variable may fall back to the default for your current version.
Full database and file storage backup
Take a full backup of the MongoDB database and the file storage before each upgrade step, and confirm you can restore it. Apps store configuration and data in the database, and uploaded files live in separate storage. Test a restore into a separate environment so the backup is known to work, not only assumed to exist.
Staging copy running the target version
Build a staging environment from a copy of production data, with the same apps and settings, running the target Rocket.Chat version. Keep it isolated from real users and from outbound integrations so test messages and app calls do not reach live systems. Use it to run your app test cases before the production window.
Node.js 24 and MongoDB prerequisites
Check the system requirements for the target version, including the Node.js baseline and MongoDB 8.0 or later running as a replica set. Confirm your current MongoDB version and replica set health before the runtime change, because a database upgrade is usually the longer step. A three-member replica set is strongly recommended for high availability.
System requirementsHow to test custom apps on Node.js before upgrading
Marketplace apps are built and maintained by vendors, so your team cannot read or change their code. Testing focuses on whether each app still installs, configures and behaves correctly on a Node.js backend in your own workspace. Start by confirming with each vendor whether the current app version has been tested on Node.js and which Rocket.Chat versions it supports. Then run the same checks on a staging copy of your production workspace, using the same app versions and settings.
- Installation and updates: Install each app from the Marketplace on the staging instance and confirm it reaches an enabled state without errors in the server logs.
- Settings and slash commands: Change each configurable setting, save it, and run every slash command the app registers for a typical user and an admin.
- Event listeners and scheduled jobs: Trigger the events the app listens for, such as new messages or user joins, and confirm the expected actions happen once.
- Permissions: Compare the permissions the app requests with the ones granted after install, and confirm no user role gained access it should not have.
Keep the install logs, a list of tested app and version pairs, and screenshots or exported results for each test. The workspace owner signs off on each app, and the security owner signs off on any app that requests broad permissions.
Private apps are written by your own developers and run only in your workspace, so your team controls the source code, the test suite and the release. Testing should prove that the code runs on the Node.js backend and that the app's own logic behaves the same as before. Pin the app's dependencies, record the Rocket.Chat version used for the test, and treat the Deno-to-Node.js change as a change to the runtime that needs a regression pass.
- Build and package: Rebuild the app from a clean checkout with locked dependencies and confirm the package is generated without warnings about runtime compatibility.
- Unit and integration tests: Run the existing automated tests on a Node.js environment and add tests for any code that depended on Deno-specific behavior, such as imports or APIs that differ between runtimes.
- Lifecycle hooks: Test install, enable, disable, update and uninstall on a staging instance, including what happens to stored data after each step.
- Event and command paths: Exercise each event listener, slash command and scheduled job with representative inputs, including malformed input and empty results.
Keep the test reports tied to the commit hash, build artifacts, the Rocket.Chat version and the test data set used. The development lead signs off on code results, and the product or operations owner signs off on behavior before the app is installed on production.
Apps that make outbound API calls, read or write files, or call other internal services depend on systems outside Rocket.Chat. These dependencies can fail in ways a local test does not reveal, and a runtime change can alter how requests, timeouts, certificates or file paths behave. Test these apps against the same network paths, proxies, credentials and storage they use in production, with test accounts and test data where possible.
- Outbound calls: Confirm each external endpoint is reachable from the Node.js backend, including DNS, proxy and TLS certificate trust, and test timeout and error responses.
- Credentials and secrets: Verify that tokens and keys are loaded from the expected settings or secret store and are not written to logs or messages.
- File access: Test uploads and downloads with the file types and sizes your users send, and confirm the app respects the paths and storage locations it is allowed to use.
- Failure behavior: Simulate an unavailable external service and confirm the app fails safely, retries as designed and tells the user or admin what happened.
Keep network test results, the list of endpoints and certificates checked, sample request and response logs with secrets removed, and any change requests opened with the external service owners. The integration owner signs off on connectivity and data flow, and the security owner signs off on credential handling and outbound data exposure.
Upgrade sequence for apps across the runtime change
This sequence moves a workspace's Marketplace and private apps through the Deno to Node.js runtime change in a order that keeps a working rollback point at every step. It ends with a production upgrade where each app is confirmed to load on the target release.
Take full backups before any change
Back up the MongoDB database and the uploaded file storage, and copy the server configuration, environment files and any custom app packages before touching the workspace. Store the backups outside the host being upgraded and confirm that a restore completes on a scratch machine. This backup is the rollback point for every later step, because the Deno runtime is no longer available once you reach 8.9.0. Done when a restore has been tested and recorded.
Inventory apps and the runtime variable
List every installed Marketplace and private app with its version, author, and whether it is a private build your team maintains. Record the current value of APPS_ENGINE_RUNTIME_BACKEND in the deployment configuration, noting whether it is unset, set to deno, or set to node, and where that setting is defined (Docker Compose file, Helm values, or environment file). Ask each app vendor which Apps-Engine versions they have tested. Done when the inventory is saved alongside the backups and every app has an owner.
Stage the target release on a copy
Restore the backup into a non-production environment that matches production's MongoDB version, container or Helm configuration, and network reach to external services. Deploy the target 8.x release there with the app set from the inventory installed. Keep this copy isolated from real users and from production webhooks. Done when the staging workspace starts cleanly and the admin console shows the expected release.
Test apps on Node.js and the revert variable
On the staging copy, run the 8.8 default or the Node.js backend on the target release and confirm each app installs, enables, and handles its test events and slash commands. Then set APPS_ENGINE_RUNTIME_BACKEND to deno and repeat the checks, since the revert variable is only honored on releases where it exists. Note any app that behaves differently between the two backends. Done when you have a pass or fail record per app for each backend and know whether the revert path works on the release you are testing.
Fix or replace apps that fail
For each failing app, ask the vendor for a Node.js compatible build or a fix, or decide to replace it with a supported alternative. For private apps, your developers update the code, run the app's own tests, and rebuild the package against the target Apps-Engine version. Keep failed apps disabled on staging until a fixed build passes. Done when every app in the inventory is either passing on the target release or has a documented owner decision to retire it.
Move production one release step at a time
Upgrade production along the supported path, one release at a time, rather than jumping directly to the newest line. Take a fresh backup and record the prior version before each step, and confirm the step's own release notes for MongoDB and Node.js requirements. Make sure the revert variable is set only on releases that still accept it, and plan the change window with the owners of the apps and integrations. Done when each step completes and its rollback point is recorded.
Confirm apps load after each step
After every production step, check that each app shows as enabled in the administration console, that its logs show no load or permission errors, and that a representative action works end to end. Compare results with the staging record. If an app fails, roll back to the backup and prior version, since the Deno option will not be available after 8.9.0 and rollback depends on those artifacts. Done when every app passes its check and the step is signed off.
How to roll back if an app fails after the move
The first decision in a rollback plan is which of three paths you can actually take, and you should settle it before the upgrade window opens. The first is restoring the pre-upgrade backup, which returns the MongoDB data and the workspace to the state it was in before the change. The second is returning to a release where the APPS_ENGINE_RUNTIME_BACKEND=deno setting still applies, which the topic facts place in 8.8.0, where Node.js is the default and Deno can be selected with that variable. The third is keeping each app at a version that matches the platform release, so a rollback of the server does not leave an app built for a different runtime behavior running against it. Confirm with your app vendors and your own build records which app versions are compatible with which platform releases before you need them.
A rollback restores data only to the point the backup was taken. Any messages, file uploads, app installations, settings changes and user or channel edits made between that backup and the rollback will be lost unless you export or replay them. Plan for this explicitly: decide how long the upgraded workspace stays in use before you commit to it, and communicate that window to users. Check whether your backup procedure captures the MongoDB replica set consistently and whether file storage is backed up on the same schedule, because a restored database that points to missing or newer files creates a second failure. Rehearse the restore on a copy of the environment so you know the steps and the order before production depends on them.
Downtime for a rollback depends on the size of the database, the speed of restore from your storage, the number of app packages to reinstall or reconfigure, and how many steps the team must verify before users return. Those factors are specific to your environment, so ask any partner or internal team to estimate them from a rehearsal rather than from a general figure. Record the exact rollback trigger in advance, such as an app that cannot load or a custom integration that fails its tests, so the decision to roll back is made on evidence and not under pressure.
What makes the Apps-Engine move take longer
This table lists the factors that stretch or shorten a Deno to Node.js Apps-Engine move, with the effect each has on work and what to check first. Read it to size the test window before you pick a target version, since the most common delays come from app inventory gaps and unconfirmed vendor support.
| Driver | Effect on work | What to check |
|---|---|---|
| Number of installed Marketplace and private apps | Each app needs its own install, run and functional test on the target version, so effort grows with the count | Export the full list of installed apps from the workspace and tag each as Marketplace or private |
| Apps with Deno-specific code or dependencies | Code written against the Deno runtime may fail under Node.js and needs changes, rebuilds or replacement | Search private app source for Deno APIs, Deno imports and runtime-specific permission calls |
| Apps with external integrations needing credential or network checks | Outbound calls, webhooks and stored tokens must be re-verified after the runtime change, and firewall rules may block new paths | Confirm each credential still works, check egress rules and test one end-to-end call per integration |
| Apps maintained by vendors who have not confirmed compatibility | Without a vendor statement you cannot rely on the app working, so you test it yourself or wait for an update | Ask each vendor in writing which Rocket.Chat version and Apps-Engine runtime they have tested |
| Size of the workspace and backup duration | A full backup must finish before the upgrade starts, and larger databases lengthen the outage window | Measure a recent full backup and restore on a staging copy to estimate the window for your data |
| Multi-instance or microservice deployment keeping versions aligned | All instances and microservices must run the same version, so the runtime change cannot be rolled out one node at a time without a planned mixed-version window | Confirm the upgrade order and whether your deployment needs a coordinated stop for the Apps-Engine change |
Questions teams ask before the Apps-Engine upgrade
How much does the Apps-Engine runtime move cost, and what drives the price?
The cost is set by the work in your environment, not by the runtime switch itself, so the honest answer is that it depends on how many apps you run and how much of each one needs to change. Most of the spend is labor: someone must inventory every installed app, check each one against the Node.js backend, fix or replace the ones that fail, and rerun your test cases. Cost rises with the number of private apps, the depth of their custom logic, and the number of external services they call. Marketplace apps your vendor has already validated on Node.js usually cost less to confirm than custom code written for Deno. Costs that recur are mostly ongoing maintenance of custom apps across later releases. Ask any partner, including DeployOpen, for a written quote that lists the inventory step, each app to be tested or rewritten, the staging environment work, and the retest included in the price.
How long does the Apps-Engine upgrade take for a typical workspace?
Duration depends mainly on app count, app complexity and how quickly your app owners can answer questions, so no single timeline applies to every workspace. A workspace with a few Marketplace apps and no custom code can usually move through inventory and testing quickly. A workspace with many private apps that call internal APIs or hold their own data will take longer, because each app needs a test plan, a fix cycle and a retest. Time also depends on how many environments you must update before production and on your change window. Plan around your count of apps, and ask for a schedule that separates inventory, per-app remediation, staging validation and the production change.
What must our team provide before an Apps-Engine upgrade starts?
Your team needs to supply four things before any testing begins. First, a complete inventory of installed apps, including Marketplace apps, private apps, their versions and where their source code lives. Second, test accounts with the roles each app requires, so tests reflect real permissions rather than an administrator's view. Third, named app owners who can explain what each app does, approve changes and sign off on results. Fourth, a staging environment that matches production closely enough to reproduce app behavior, with a recent copy of data or realistic test data. Without these inputs, scope cannot be fixed in writing, and the work tends to expand late in the project.
Can an internal team complete the Apps-Engine upgrade without outside help?
Yes, an internal team can do this if it has engineers who can read the app code, run a staging Rocket.Chat instance and test app behavior against the Node.js backend. The work is mostly ordinary software maintenance, but it requires time from people who may already be busy with other upgrades. Teams most often struggle when custom apps were written by someone who has left, when there is no staging environment, or when no one owns the test plan. A partner is useful when the team lacks capacity or when many private apps must move on a fixed schedule. Whichever route you choose, the written scope should name who does each task and who approves the result.
Can a Marketplace app that does not support Node.js stay installed?
It can stay only if it works on the runtime your version runs, and an app that depends on Deno may fail once Deno is removed. In 8.8.0, Node.js became the default, and the APP_ENGINE_RUNTIME_BACKEND variable with the value deno reverted to Deno. In 8.9.0, the Deno runtime and that variable were removed, so a Deno-only app has no path to run on that version. Before you upgrade, confirm with the app publisher whether a Node.js-compatible release exists, what version it targets and whether it is still maintained. If the vendor has no answer, plan to replace the app or remove it before the upgrade. Test every Marketplace app in staging, because compatibility claims should be verified in your own environment.
What happens if the Deno revert variable is removed in 8.9.0?
On 8.9.0 and later, setting APP_ENGINE_RUNTIME_BACKEND=deno has no effect because the Deno runtime and support for that variable were removed. Any app that still requires Deno will stop running on that version, and the failure can show up as apps that are installed but not working. The safe sequence is to move apps to Node.js on 8.8.0 or the version you are testing, confirm each app passes its tests, and only then move to 8.9.0. Keep the variable out of your deployment configuration once you are on a version that no longer reads it, so the file reflects what actually runs. Confirm the exact behavior for your version in the release notes before scheduling the change.
Decision path for moving apps across the runtime change
The path starts with an inventory of Marketplace and private apps, because each app's compatibility with the Node.js backend decides whether it moves as-is or needs work. A verified backup comes before any change, and the target release is staged and tested on the Node.js runtime. Apps that pass continue to the production upgrade on the supported path; apps that fail are fixed or replaced first. The rollback branch returns the workspace to the backup if the staged test or production upgrade does not hold.
Decision path for moving Apps-Engine apps to the Node.js runtime with a rollback branch.
How DeployOpen works on this
DeployOpen plans, implements, tests and supports self-hosted open-source platforms inside your own infrastructure, including Rocket.Chat. For the Apps-Engine move from Deno to Node.js, we start from your installed Marketplace and private apps and the Rocket.Chat version you run today, then scope the work in writing before any changes are made.
How we scope
- We inventory your Marketplace and private apps, their runtime dependencies and the Rocket.Chat version each one targets.
- The written scope names which apps are tested on Node.js, which are rebuilt or replaced, and which target version is in view.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before the Apps-Engine work starts.
How we build
- We stand up a non-production copy of your workspace in your infrastructure and run the Apps-Engine backend option there first.
- Custom apps are tested for Deno-specific calls, permissions and dependencies, and fixes are made in your source control.
- Each upgrade step is rehearsed with backups in place, so a failed app test never reaches production users.
How we hand over
- You receive a written test record per app, listing what passed on Node.js, what changed and what remains open.
- Runbooks cover the APP_ENGINE runtime setting, any rollback steps, and the checks to repeat after each Rocket.Chat release.
- Knowledge transfer sessions walk your team through the changed app code so your engineers can maintain it after handover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering later Rocket.Chat releases that touch the runtime.
- We can retest apps after each patch or minor release, so the record of what works stays current with your deployed version.
- Confirm with your team which support window and escalation path you need, since Rocket.Chat release support periods differ by line.

