Umami major version upgrade: what changes

Upgrading a self-hosted Umami install to v3 means moving off MySQL, setting APP_SECRET explicitly and running Node.js 20.19 or later. This outline covers the documented path, the breaking changes, and how to plan, test and prepare a fallback.

On this page

What a Umami major version upgrade changes in v3

A self-hosted team on an earlier Umami release has to plan a move to the v3 line, and the database is the first thing to check. The latest release on the Umami releases page is v3.5.0, published 12 Nov 2026, and v3 standardizes on PostgreSQL and removes MySQL as a supported database. Confirm the current release on that page before you plan, because the target version sets the exact environment keys, Node.js version and migration files you will work with. The upgrade touches four areas: the database engine, environment configuration, the Node.js runtime and a schema migration. Inventory all four on your installation before you pick a change window, since a gap in any one of them can stop the move.

Each area has a specific check. If you run MySQL, the MySQL to PostgreSQL migration guide sets the order: confirm the MySQL schema matches v2.19.0, install v2.19.0 on PostgreSQL, import your data, then upgrade to v3. For configuration, v3.5.0 requires APP_SECRET to be set explicitly because the fallback to DATABASE_URL is no longer supported, so search your environment files and secrets store for it before the change. For the runtime, the v3.5.0 release notes require Node.js 20.19 or later and recommend Node.js 22 LTS. The installation documentation still lists 18.18 as the minimum for a source install, so plan to the higher requirement. The schema migration 27_add_error_tracking is added for PostgreSQL in v3.5.0, so confirm the database role can apply schema changes and take a backup before you start, since that backup is your rollback point.

This page targets self-hosted installs. Umami Cloud is operated by Umami, so the steps above apply to your own infrastructure only. End-of-life dates for Umami releases are not given here, so confirm the support status of the version you run with the Umami project before you set a deadline, and ask which v3 release it will support over the longer term. Record that answer in your change plan, because it determines how long you can wait and how much of the database and runtime work you can spread over time.

Which Umami releases are current and what each means for an upgrade

This table lists the Umami releases covered on this page, with publication dates where they are known and the role each release plays in an upgrade. Treat v3.5.0 as the newest release, and treat v2.19.0 as the staging step if you run MySQL today. The table does not show end-of-life dates, so confirm support status before you pick a target version.

VersionPublishedRole in an upgradeSupport status
v3.5.012 Nov 2026Latest release. Requires Node.js 20.19 or later and adds migration 27_add_error_tracking.No end-of-life date listed here. Confirm with the project and releases page.
v3.4.017 Sep 2026Earlier v3 release. Check its release notes for migration and runtime changes before choosing it.No end-of-life date listed here. Confirm with the project and releases page.
v3.3.120 Aug 2026Patch release in the v3.3 line. Check its release notes before choosing it.No end-of-life date listed here. Confirm with the project and releases page.
v3.3.012 Aug 2026First release in the v3.3 line. Check its release notes before choosing it.No end-of-life date listed here. Confirm with the project and releases page.
v2.19.0Date to be confirmed on the releases pageStaging step for MySQL installs. Install here on PostgreSQL, import data, then upgrade to v3.No end-of-life date listed here. Confirm with the project and releases page.

What is the documented path for a Umami major version upgrade?

The documented sequence records your current setup, moves the database to PostgreSQL if you run MySQL, upgrades to v3.5.0, and then checks that the app starts and records events. The result is a v3 install with a written baseline, explicit secrets, and a verified first start.

  1. Record the current running configuration

    The team that operates Umami writes down the current release, the database engine and version, the Node.js version, and either the Docker image tag or the source build in use. Copy every environment variable from the running configuration, including DATABASE_URL and any existing secret values, into a file kept with your change record. Take a database backup and store it alongside that record. The step is done when someone outside the operating team can read the record and identify exactly what runs today.

  2. Move MySQL data to PostgreSQL first

    This step applies only if Umami currently runs on MySQL, because v3 removes MySQL as a supported database. Confirm that the MySQL schema matches v2.19.0, then install v2.19.0 on PostgreSQL and import the data. Follow the migration guide in that order: confirm, install, import, then upgrade. Run v2.19.0 against the new database and check that your websites and stored events are visible. The step is done when the imported data reads correctly on v2.19.0 on PostgreSQL.

  3. Upgrade the application to v3.5.0

    Check the Umami releases page to confirm that v3.5.0 is still the latest release. It was published on 12 Nov 2026, so look for a newer tag before you pull. Then move the app from v2 to v3.5.0 using the source or Docker method you recorded in step one. Docker users make the same change by setting the new image tag in the Compose file or run command. Read the v3.5.0 release notes first, because the upgrade material does not spell out whether a PostgreSQL install on an earlier v2 release can jump straight to v3. The step is done when the deployed image tag or checked-out source reads v3.5.0.

  4. Set APP_SECRET explicitly before first start

    Set APP_SECRET as its own environment variable before the upgraded app starts for the first time. Umami v3.5.0 no longer falls back to DATABASE_URL, so the variable must be present and not inherited from that fallback. Store the value in the secret manager your team already uses. Confirm with the release notes or the vendor whether the value must match what the previous setup produced, because changing it may affect existing sessions or stored secrets. The step is done when the environment list from step one shows APP_SECRET set explicitly.

  5. Confirm Node.js and PostgreSQL versions

    Check that the runtime meets the v3.5.0 requirement of Node.js 20.19 or later. Node.js 22 LTS is the recommended line if you are choosing a version now. Confirm that PostgreSQL is version 12.14 or later, which is the minimum that Umami's installation documentation lists. Run node --version and SHOW server_version; on the host or container that will run the app, not on a workstation. The step is done when both versions are recorded in the change record and meet these minimums.

  6. Let migration run and verify the app

    Start the upgraded app once so that database migration 27_add_error_tracking runs against PostgreSQL. This migration is added in v3.5.0, so it runs only on the first start of this version. Once the app is up, load a page on a test site that has the tracking script installed. Confirm that a new event appears in the Umami dashboard and that the logs show no migration errors. The step is done when the app starts cleanly, the test event is recorded, and the final versions are written back into the change record from step one.

Which breaking changes in a Umami major version upgrade hit existing installs?

Five changes in the v3 line touch existing installs, and each needs a check before cutover. Four are requirements the install must meet before the new version starts, while the fifth changes the database schema as soon as the new version runs. Work through all five before you schedule the change window.

MySQL support ends in v3

Umami v3 removes MySQL as a supported database and standardizes on PostgreSQL, so every existing MySQL install needs a database move before it reaches v3. The migration guide sets out the path: confirm the MySQL schema matches v2.19.0, install v2.19.0 on PostgreSQL, import the data, and then upgrade to v3. Rehearse this conversion on a copy of production data and confirm the timing with your own team before you commit to a date.

Migration guide

APP_SECRET must be set explicitly

Umami v3.5.0 no longer falls back to DATABASE_URL when APP_SECRET is missing, so an install that relied on that fallback must add the variable before the new version starts. This affects env files, container definitions and secret stores, including shared templates that every environment inherits. Confirm that every environment, including staging and disaster recovery, sets APP_SECRET explicitly. Check the release notes for what changing the value does to existing sessions before you rotate it.

Umami releases

Node.js 20.19 or later

Umami v3.5.0 requires Node.js 20.19 or later, and Node.js 22 LTS is recommended. The requirement reaches host images, container base images and build pipelines, because the runtime that builds Umami must meet the same floor as the host that runs it. The installation page lists Node.js 18.18 for source installs, but use the stricter v3.5.0 requirement because it governs this upgrade. Check every image and build runner in the chain, not only the production host.

Umami releases

PostgreSQL 12.14 minimum

The installation documentation states that Umami supports PostgreSQL from version 12.14. Check the server version on any external database before cutover, including staging copies and replicas used for testing. If you run the bundled PostgreSQL from the Docker Compose file, confirm which version that file deploys and whether you must change it. Upgrading PostgreSQL is a separate change with its own backup and rollback plan.

Installation docs

Migration 27_add_error_tracking alters schema

Umami v3.5.0 adds the PostgreSQL migration 27_add_error_tracking, which changes the database schema when the new version starts. This shapes three planning decisions: backup scope, since a backup taken before the change is the only clean restore point, change window length, and rollback planning. Confirm whether the previous application version can run against the migrated schema before you commit to a rollback path. Rehearse a full restore from backup on a copy first.

How to prepare for the upgrade by install type

The prebuilt image and the Compose file bundle Umami with PostgreSQL, so the image tag and the database volume are the two items that change most. Before you start, record the image tag your stack runs today, the PostgreSQL container version and the Compose file path, because the rollback path depends on all three. Check the v3.5.0 release notes for the current requirements before you pin a new tag.

  • Backup: Dump the bundled PostgreSQL database with pg_dump before you change the image tag. Copy the Compose file and .env next to the dump, and store the dump outside the database volume.
  • Staging copy: Restore the dump into a separate Compose project with a data volume close to production size. Run the new image there and confirm that the 27_add_error_tracking migration completes.
  • Environment variables: Set APP_SECRET explicitly in .env, because v3.5.0 no longer falls back to DATABASE_URL. Confirm that DATABASE_URL points to the bundled database service name.
  • Integrations and reports: List every script, dashboard export or scheduled report that calls the Umami API or reads its tables, and test each one against staging.
  • Ownership and rollback: Name the person who runs the change window and the person who approves cutover. Rollback means restoring the pre-upgrade dump and pinning the previous image tag. Umami does not document a rollback procedure, so test that restore on staging first.

Confirm the exact image tag and database version on the host before the change window opens.

How the upgrade sequence and rollback points connect

The diagram starts at your current install and branches on database engine. The MySQL branch takes a backup before the move, confirms the schema matches v2.19.0, installs v2.19.0 on PostgreSQL, imports the data, and then upgrades. The PostgreSQL branch follows the documented path and asks whether an intermediate v2 release is needed. Both branches take a backup before the upgrade, set APP_SECRET, confirm Node.js 20.19 or later, confirm the current release, and start v3.5.0, which runs migration 27_add_error_tracking before verification. The rollback point is a restore from the pre-upgrade backup. No downgrade path after the schema migration is documented, so confirm the restore procedure in your own environment before you start.

Upgrade sequence with backup checkpoints and the documented rollback point.

What rollback looks like when the project does not document it

Umami's upgrade material for v3.5.0 does not describe a rollback procedure, so this page does not promise one. The release adds the PostgreSQL migration 27_add_error_tracking. Once that migration has run against your database, the previous application build may not be safe to run against it, because the older code may not expect the new schema. Treat any downgrade as unconfirmed until the project says otherwise. Ask the Umami project in writing whether v3.4.0 can run against a database migrated by v3.5.0, and record the answer with the date and the versions you asked about. Until you have that answer, the only restore path you can plan around is the pre-upgrade database backup paired with the previous application build.

The practical plan starts well before the change window. Take a database backup before upgrading and verify it by restoring it into a scratch PostgreSQL instance, because a dump file only shows that bytes were written, while a test restore shows the data can be read back. Record the exact image tag or build of the running Umami deployment, and keep a copy of that image in a registry you control so it stays available if a public tag changes. Then rehearse the full restore on staging, including the application rollback, and write down what each step required. This puts the restore steps in your runbook, where the on-call team can follow them under pressure.

Name one decision point before the change window closes. Assign an owner, usually the platform lead, who decides with the staging results whether to proceed, hold or restore, and agree the cutoff time in advance. After the upgrade, run a checklist and do not close the window until each item passes: sign in with an existing account, confirm that tracking events from a test site appear in reports, check that dashboards load with historical data, and verify that any scripts, exports or integrations that read the database or API still receive the fields they expect. Run the same checklist on staging first, so a failure in production follows a path you have already tested. If any item fails, the decision owner follows the restore plan from the staging rehearsal.

What a Umami major version upgrade costs and what it needs from your team

What drives the cost of upgrading Umami to a new major version?

The cost comes from three places: your internal staff time, your hosting, and any outside services you buy. Your engineers plan the change, run the upgrade and test it, and a database owner handles the MySQL work if it applies. Hosting recurs for the running install and for any staging copy you keep. The one-time outside work is the upgrade, conversion and staging build, and DeployOpen, for example, plans most engagements as fixed scope with deliverables agreed in writing first. Ongoing upgrades and testing are a recurring cost. Costs rise with more installs and environments, a MySQL to PostgreSQL conversion, and more integrations that send data in. A single install already on PostgreSQL with few integrations sits at the low end. Ask for a quote built from written scope that lists each install, environment, conversion step and integration.

How long does upgrading Umami to a new major version take?

Timing depends on your database, your staging setup and your change windows, so ask for it in the written scope. Database size sets how long the export, import and checks take, and a MySQL to PostgreSQL move adds steps. Staging depth decides how much of production you can test before go-live, from a copy of the database to a full copy of the stack. Change windows set when you can switch over, and approval cycles can take longer than the technical work. The number of installs and environments multiplies every phase. Ask for a timeline that lists each phase, the window it needs and who signs off.

What does upgrading Umami to a new major version need from our team?

Your team needs to provide six things before the work starts:

  • Database access to the current install, and to the PostgreSQL target if the install moves off MySQL.
  • Named owners for environment variables, including APP_SECRET, which must be set explicitly in v3.
  • Backup rights, so a full backup can be taken and restored before any change.
  • A staging host that matches production closely enough to test the upgrade, with Node.js 20.19 or later (Node.js 22 LTS is recommended).
  • A named approver who signs off on each environment before it goes live.
  • Test users who can check dashboards, tracking and reports after the change.
Can our own team upgrade Umami to a new major version?

Yes, if your team is comfortable with Node.js, PostgreSQL, environment configuration and container tooling, because the upgrade steps are documented. The release notes cover the Node.js version to run, the PostgreSQL target and the variables to set, so an experienced platform engineer can follow them. Where teams should weigh outside help is the MySQL to PostgreSQL conversion, which the migration guide describes in order: confirm the MySQL schema matches v2.19.0, install v2.19.0 on PostgreSQL, import the data, then upgrade to v3. Multi-environment rollouts are the other place where help is worth considering, because each environment needs its own checks, secrets and rollback plan. Rehearse the full sequence on staging first, and confirm that your team has the capacity during the change window.

Is self-hosted Umami free, or do upgrades cost money?

The software itself has no license fee. Umami is MIT licensed, and its pricing page states that Umami is open source and can be self-hosted for free. What you pay for is the effort of upgrading, the infrastructure that runs the application and PostgreSQL, backups, and any outside help you choose to buy. Those are the costs your upgrade plan should cover for each environment. Umami Cloud is a separate offering with features the self-hosted version lacks, so the free label applies to the self-hosted software only. Ask any outside partner for a written quote, and budget staff time and hosting for every install you run.

Does Umami Cloud also need a major version upgrade?

No, this upgrade applies to self-hosted installs. Umami Cloud is run by Umami, so the team operating the service handles its platform changes, and your team does not run the upgrade steps described here. You still need to check that the Cloud features you rely on behave as expected after any change Umami announces, and to read the release notes that describe those changes. Self-hosted installs are different: you own the Node.js version, the PostgreSQL target, the environment variables and the backups, so this upgrade lands on your team. If you run both a self-hosted install and a Cloud account, track them as separate change plans with separate owners.

When a self-hosted Umami upgrade needs outside help

Bring in outside help when the upgrade is more than a version bump. The clearest trigger is a MySQL database that must convert to PostgreSQL. Umami v3 removes MySQL as a supported database and standardizes on PostgreSQL, so the path runs through the migration guide. That guide asks you to confirm the MySQL schema matches v2.19.0, install v2.19.0 on PostgreSQL, import the data, and then upgrade to v3. Other triggers: several environments that must move in step, no staging environment to rehearse the change, a regulated setting where the upgrade record will be reviewed, or no one on the team with time to run and verify each step. Each one raises the cost of a mistake, and if two or more apply, the work is usually better scoped as a project than as a maintenance task.

DeployOpen is a Chainscore Labs company that plans, implements, upgrades, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure, including your cloud accounts, data centers or air-gapped networks. For Umami, that work typically covers the PostgreSQL and Node.js hosts, the APP_SECRET value (which must now be set explicitly, because the fallback to DATABASE_URL is no longer supported), the Node.js runtime that v3.5.0 requires (20.19 or later, with Node.js 22 LTS recommended), and a rollback path tested before the production change. Ongoing upgrades and continuous support are available as retainers, which suit teams that expect to take several Umami releases over time. Confirm with any provider exactly which of these steps sit inside the agreed scope.

Most DeployOpen engagements are fixed-scope. Scope, deliverables and timelines are agreed in writing before work starts, and DeployOpen does not publish a price list, so a quote follows from that written scope. Ask any provider to itemize the migration, the staging rehearsal, the backup and rollback steps, the documentation and any retainer period separately, and to name who performs each step. If the upgrade feeds a compliance assessment, DeployOpen prepares the systems, controls and evidence for that assessment. Independent auditors and certification bodies issue the reports and certifications, so confirm early with your assessor which change records, configuration evidence and logs they will expect from the upgrade.

How DeployOpen plans and runs a Umami upgrade

DeployOpen plans a Umami major version upgrade as a fixed-scope engagement inside your own infrastructure. The work starts from your current version, database and Node.js runtime, then moves through a staged test upgrade, cutover and a documented rollback. The scope is agreed in writing before work starts, so your platform, security and compliance teams can review what changes.

How we scope

  • Confirm the current Umami version and whether the install is on MySQL, which v3 no longer supports.
  • Check Node.js 20.19 or later and the APP_SECRET setting, which v3.5.0 requires to be set explicitly.
  • The written scope lists the target release, data migration steps, test environments, rollback plan and handover deliverables.

How we build

  • Build a test copy from production configuration, checking the PostgreSQL version against the documented support floor of 12.14.
  • Confirm the MySQL schema matches v2.19.0, run v2.19.0 on PostgreSQL, import the data, then upgrade to v3.
  • Test tracking collection, dashboard reads, user logins and API consumers against the upgraded staging copy.

How we hand over

  • Rollback plan covers a database snapshot taken before cutover and the exact image or release tag to restore.
  • Runbook documents the APP_SECRET handling, Node.js runtime and environment variables for your operations team.
  • Written handover lists what changed, what was tested, open risks, and who signs off the cutover on your side.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the upgrade is handed over.
  • Ask whether the retainer covers future Umami major upgrades, and what testing it includes for each release.
  • Track Umami releases on GitHub and read v3.5.0 and later notes before each change window.

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.