OpenMRS major version upgrade: what changes

Upgrading OpenMRS to a newer major version means confirming the current release, planning from release notes and testing before cutover. The download page does not publish support windows, upgrade steps or rollback procedures.

On this page

What an OpenMRS major version upgrade involves today

Upgrading an OpenMRS site to a newer major version is a planned project: the OpenMRS download page publishes no support policy and no upgrade steps for either product line. The page lists the 3.x Reference Application (O3) at 3.7.1, labeled Latest and dated 13 July 2026, and the Platform WAR at 2.8.1, dated 7 October 2025. Confirm the current Platform and O3 releases on the OpenMRS download page before you scope anything, because listed versions and dates change. First decide which line you run, since the work differs. A 2.x Platform site is typically a Java WAR deployed to Tomcat with MySQL, MariaDB or PostgreSQL. An O3 site is a micro-frontend stack: a MariaDB container, the OpenMRS backend, Nginx frontends and an Nginx gateway, with an optional Certbot service for SSL.

The download page points to release notes for the SDK and the Platform rather than to a migration guide, so the breaking changes you need are in the release notes for your exact target version. For a 2.x site, inventory the custom modules, forms and concepts you depend on, then check each against the target release. For an O3 site, inventory the frontend modules, form schemas and Docker Compose settings, including the gateway and SSL configuration. Ask your implementer or the OpenMRS community which upgrade notes apply to your module set. Make a full database backup and a tested restore a precondition of cutover, because the page describes no rollback procedure you can rely on.

Treat the upgrade as a scoped project with a written test plan. Agree in writing which release and target version you will move to, which tests run against a copy of production data, who signs off the cutover and how rollback is executed if clinical workflows fail. The risks specific to this change are custom module compatibility, migration of forms and concepts, rework of user-facing interfaces in O3, and end-to-end retesting of clinical workflows. Confirm these items with the OpenMRS community or your implementation partner before you commit a timeline, since the public sources do not give upgrade durations or support windows.

Which OpenMRS versions are listed and their support status

This table lists the OpenMRS packages and Platform releases shown on the project's download page, with the date each one carries there. Read the dates as the project's own labels, because the page does not state a support policy, so the support window for every version must be requested from OpenMRS in writing. The main takeaway is that the Platform WAR and the Platform 2.8.1 row carry different dates, so confirm which release is current on the download page before you choose a target version.

PackageVersionDate shown on download pageEnd-of-life status
O3 Reference ApplicationVersion 3.7.1, labeled Latest on the page, from the 3.x Reference Application line13 July 2026Not published by the project. Request the 3.x support window in writing before committing to it.
Platform WARVersion 2.8.10, a WAR file for Apache Tomcat with an existing MySQL database5 October 2026Not published by the project. Confirm the support window for this WAR in writing before choosing it as a target.
OpenMRS StandaloneVersion 2.8.1, a self-contained ZIP with an embedded database and app serverNo date given on the pageNot published by the project. Ask whether the embedded database and app server are covered by the same window.
Platform release listed as latestVersion 2.8.1, the Platform release listed as the latest Platform on the pageOctober 7, 2025Not published by the project. Ask whether this release and the 2.8.10 WAR share one support window.

What the project does not document before you start

Do not plan an OpenMRS upgrade from the OpenMRS download page alone. It does not state a support policy or upgrade steps, and it links to release notes for the SDK and the Platform. Treat those release notes as the first documented source for every version you cross. If you move more than one version at a time, read each intermediate release, because a change in one release can be the precondition for the next. Then confirm which packaging those notes cover: a WAR file on Apache Tomcat with an existing MySQL database, the Standalone package with its embedded database, or the O3 Reference Application container stack. Record which release notes your team reviewed, the version each one covers, and who signed off on them before the upgrade window is set.

The project does not document a breaking changes list, a data migration tool or a rollback procedure. Do not assume any of them exists for your version pair. Ask OpenMRS, or the implementer you hire, to confirm each one in writing, naming the source and target versions, the database engine (MySQL, MariaDB or PostgreSQL) and the packaging. For breaking changes, ask which changes affect custom modules built with the SDK, saved forms and configuration you have set up. For a migration tool, ask whether it is supported for your version pair and what it does to existing patient data. For rollback, ask which restore point remains valid once the database schema has changed, and who is responsible for executing it. Interface and form migration differences between O3 and the 2.x platform are covered on our O3 versus 2.x comparison page, so read that before you scope the form work.

How to sequence an OpenMRS major version upgrade without a published path

OpenMRS does not publish a documented upgrade path for this move, so the sequence below is a recommended order of work, not project-documented steps. It runs from inventory through a tested staging run to a go or no-go cutover, and each step closes with a record you can show a clinical lead or auditor.

  1. Inventory the current deployment

    Record the package type in use: a WAR deployed to Tomcat or Jetty, the Standalone package, or the O3 Docker Compose stack. Add the database engine and version (MySQL, MariaDB or PostgreSQL), the runtime version, every Compose service and its image tag, and each installed module with its version and custom configuration. The platform team owns the inventory, and an internal engineer or implementer should review it. The step is done when another engineer could rebuild the environment from the document alone without asking a question.

  2. Read every intervening release note

    Read the release notes for every version between your current release and the target release. Record each change that touches your modules, the database schema, REST or FHIR interfaces, configuration keys or runtime requirements. Mark each item as adopt, adapt or defer, and name an owner for every item marked adapt. The step is done when every change that affects your deployment has a recorded disposition and an owner, and you have a list of modules that need a new version or a rebuild.

  3. Back up and restore to staging

    Take a database dump and copy the deployment artifacts: WAR files or Standalone packages, module files, runtime property files, Compose files, environment files and certificates. Store checksums with the copies in a location that survives a failed upgrade. Restore the database and artifacts into a separate staging environment built from the inventory. Verify the restore by logging in, comparing record counts in key tables with the source, and confirming the application starts with all modules loaded. The step is done when the staging copy matches production on those checks and the backup has restored successfully.

  4. Run the upgrade in staging

    Apply the upgrade to the staging copy in the order that the release notes and your inventory require. Run each database schema change and keep the script output, because a schema change may not be reversible by swapping application files. Check module compatibility by reviewing startup logs for failed or disabled modules, and rebuild custom modules against the target version. Then run integration checks for every interface the sites depend on, such as laboratory, pharmacy, reporting and identity connections. The step is done when startup is clean and each integration check has a recorded pass, fail or waiver.

  5. Compare staging results against written criteria

    Score the staging results against acceptance criteria written before the upgrade run. The criteria should cover complete registration, encounter, order and result workflows, form rendering and saving, report totals matching the pre-upgrade baseline, audit logging, user and role preservation, and response time under a load the clinical lead agrees to. Clinical and data-quality staff run the scripted cases, and the clinical owner signs any waiver. The step is done when every criterion is marked pass, fail or waived with a named approver, and no failed criterion remains open.

  6. Schedule cutover with a go or no-go

    Agree a cutover window with clinical users and freeze configuration and module changes for its duration. Take a fresh backup immediately before cutover and restore it to a test copy to confirm it is usable. Name the decision makers, list the conditions that trigger a no-go, and write the rollback plan: a return to the pre-upgrade artifacts and database backup, with the schema change scripts reviewed for reversibility. If the release notes do not document a downgrade, confirm the rollback path with your implementer or the OpenMRS community before the window. The step is done when the go decision is recorded with named approvers and the restore test has passed.

Which areas to check for breaking changes in your stack

This page does not list specific breaking changes, so the release notes for your target version remain the authority. The five areas below are where an OpenMRS upgrade typically touches your stack, and each needs an owner who confirms the target version against your own environment before testing begins.

Packaging and user interface

The 2.x Platform serves a legacy interface, while the O3 Reference Application serves a micro-frontend stack behind Nginx. A move between them changes how users reach the system, so confirm which packaging you will deploy: the Standalone ZIP, the Tomcat WAR with an existing MySQL database, or the O3 container stack. Map each custom screen, form and bookmark to its counterpart in the target interface, then test each one with your clinical workflows.

Database engine and driver

The OpenMRS core supports MySQL, MariaDB and PostgreSQL, and the O3 Docker Compose setup runs MariaDB. Confirm that your current engine, its version and its JDBC driver are supported on the target release, and that your migration tooling and backup jobs handle that engine. If you plan to change engines during the upgrade, treat it as a separate project with its own data validation, so faults are easier to isolate. Confirm engine and driver support before scheduling the cutover.

Java and servlet container

The core is written in Java, built with Maven, and runs on Tomcat or Jetty. A target release may change the minimum Java version or the servlet container version it supports, so confirm both before you rebuild any custom artifacts. Check JVM memory settings, startup scripts and container configuration files as well, since these are set by the environment and can get lost when an old server is copied. Confirm the Java and servlet container versions for the target release.

OpenMRS core repository

Modules and SDK

Custom modules and extensions are built against a specific Platform release through the OpenMRS SDK. Confirm that each module you depend on has a version built for the target release, and that your own modules compile and load against it. Modules that have not been maintained since your last upgrade carry the most risk. Record the module list with versions from the current server, so the team can check each module version for the target release before cutover.

Gateway, certificates and proxy

The O3 stack places an Nginx gateway in front of the backend and frontend, and its Docker Compose setup includes an optional Certbot service for SSL certificates. Retest certificate renewal, proxy routing, header forwarding and upstream timeouts after the upgrade, because a configuration that worked before can fail along a different request path. Confirm whether your environment uses this gateway, a corporate load balancer, or another certificate process, and retest certificate renewal and proxy routing on that path.

O3 distro repository

How the upgrade sequence and rollback points fit together

The diagram starts from current production and moves in one direction: take a verified backup, restore it to staging, run the upgrade there, and test against written acceptance criteria. The go or no-go decision gates production cutover, and post-cutover checks follow. A no-go decision or a failed post-cutover check sends the team back to restore the pre-upgrade backup. The project does not document a rollback procedure, so that branch is the recommended design: your team must write it and rehearse it in staging before cutover.

Upgrade path with a go or no-go gate and a recommended rollback branch.

How preparation differs by deployment model

The standalone package is a self-contained ZIP with an embedded database and application server, so the team manages fewer separate components. The database is part of the package, which means preparation starts with whether that embedded database meets your backup and restore requirements.

  • Backups: Confirm whether the embedded database can be backed up while the server is stopped, what format the backup takes, and who runs and records a restore test.
  • Staging: Build a staging instance from the same ZIP and load a recent data copy, so the upgrade runs against the same embedded database you will operate.
  • Plugins and integrations: List every module and external connection in use, then confirm with OpenMRS or your implementer that each one has a build for the target version.
  • Rollback: Keep the previous ZIP and a full data backup taken just before the upgrade, and confirm that restoring both returns the system to a working state.

Before the change window, confirm with OpenMRS or your implementer whether the embedded database supports the backup method your recovery targets require.

How to test an upgrade and decide whether to roll back

Agree acceptance criteria before the first staging run, not after it. Write them as pass or fail statements for each test group, and record who signs off on each one. The groups to run in staging are: patient record and concept data checks, with record counts and sampled records compared against a pre-upgrade snapshot; clinical workflow scripts that walk through registration, encounters, orders and results; interface and integration tests for every system that reads from or writes to OpenMRS; access control and single sign-on checks if your deployment uses them; audit logging checks to confirm that changes are still recorded with the user and time; and a basic performance run at your expected concurrent load. Confirm in the release notes that each installed module supports the target platform version, since module compatibility can block cutover.

Treat rollback as a restore of a tested pre-upgrade backup, because the project does not document a rollback procedure. Before cutover, take a full backup of the database and the application files, including the module set and configuration. Then rehearse restoring it into a separate environment and confirm that the restored system runs on the old platform version and that the restore time fits your downtime tolerance. Check the release notes for the target version for any database changes that the old version cannot read, since those changes would leave a restore as the only route back. If your deployment uses the O3 Docker Compose stack, include the database container and the gateway configuration in the rehearsal.

Set the decision window before go-live, and name the person who can call a rollback. Restoring an older backup discards every change written after cutover, including new registrations, encounters, observations and orders. Agree how long the team can wait before a rollback becomes too costly in lost clinical data, and agree what happens to records entered after that point. Options to plan for include re-entering records from paper or downstream copies, exporting post-cutover records from the upgraded system and reconciling them against the restored database, or accepting loss for a defined set of low-risk data. Confirm with clinical leads which records are safe to lose. Treat this as a clinical safety decision that IT and clinical leads sign together.

What buyers ask before an OpenMRS major version upgrade

What does an OpenMRS major version upgrade cost?

The cost is set by the written scope, and it has five components: internal staff time for planning, decisions and sign-off; implementer fixed-scope work for analysis, module changes and migration; testing, including test scripts and clinical review; database administration for backups, schema work and restores; and infrastructure for a staging environment that matches production closely enough to test the upgrade end to end. Staff time, implementation work and testing are usually one-time costs tied to the upgrade. Staging infrastructure and backup storage can recur if you keep them for later releases. Costs rise with the number of custom modules, the data volume and gaps in test coverage. DeployOpen does not publish a price list. Ask for a quote built from a written scope that lists each component, names who performs it and separates one-time costs from recurring ones.

How long does an OpenMRS major version upgrade take?

The schedule depends on four drivers: the number of versions crossed, the number of custom modules, the data volume and the coverage of your test suite. A single step with few custom modules and a small dataset takes less effort to plan than a multi-step path with custom forms and large patient tables, but both need a full staging run and clinical testing before production. No duration applies to every site, so ask for a timeline in the written scope that shows each phase: assessment, build in staging, data migration rehearsals, testing, sign-off and cutover. Ask the implementer to state the assumptions behind the timeline, including how many test rounds are included and who supplies test data.

What does an OpenMRS upgrade need from our team?

The upgrade needs five named roles before work starts:

  • A clinical and data owner who decides what clinical content and data must be correct after the upgrade.
  • A database administrator who handles backups, schema changes, restores and access to the MySQL, MariaDB or PostgreSQL database.
  • A staging environment that mirrors production configuration closely enough to test the upgrade end to end.
  • Test patients or test data that cover your active workflows without exposing identifiable patient records.
  • A sign-off owner who accepts the test results and approves cutover.

Confirm that each role has time reserved in the written scope, because a missing role is one of the most common reasons an upgrade slips.

Can our own team upgrade OpenMRS without an outside partner?

Yes, a team can attempt it if it has Java, Maven, Tomcat or Docker skills and time to read release notes closely. The OpenMRS core repository shows the core is written in Java, built with Maven and run on Tomcat or Jetty, so those skills map to the build and deployment work. The main risk is the path itself. The OpenMRS download page links to release notes but does not state an upgrade path or support policy, so your team must confirm each step, module compatibility and database change from those notes before relying on them. Without a documented path, breaking changes can surface late, during cutover, which raises risk to clinical operations. Before you decide, test whether your team can reproduce the upgrade in staging, restore from backup and document every step.

When should we bring in outside help for an OpenMRS upgrade?

Call outside help when the upgrade touches custom modules, data migration or a system that clinicians depend on for production care. Custom modules need review against the new version because their dependencies can change between versions. Migration errors can damage patient records, so a database administrator or implementer should rehearse each migration and restore it in staging. Production-critical clinical use raises the cost of an unplanned outage, which justifies a written test plan and a rollback plan signed off before cutover. No direct managed equivalent was identified on AWS, Azure or Google Cloud as of December 2026, so the upgrade stays with your team or a partner. DeployOpen plans, implements and upgrades self-hosted platforms inside your own infrastructure, on a fixed scope agreed in writing.

What should we confirm about rollback before a production upgrade?

Confirm that you can return to the prior version and its data within a window agreed before cutover. Rollback depends on three things: a full database backup taken immediately before cutover, a copy of the prior deployment package and its configuration, and a restore tested in staging. Ask whether each migration step can be reversed, since some schema or data changes may not be undone by redeploying the old version. Write down the rollback trigger, the person who makes the call and the communication plan for clinical staff. Test the rollback in staging as well as the forward upgrade.

How DeployOpen plans and runs an OpenMRS upgrade

DeployOpen plans OpenMRS major version upgrades as fixed-scope work inside your own infrastructure, whether the instance runs the Platform WAR on Tomcat or the O3 Docker Compose stack. We start from the release notes and your module inventory, then test the upgrade on a copy of your database before any production change.

How we scope

  • Scope records the target stack, such as Platform WAR on Tomcat or O3 Docker Compose, before any work begins.
  • The written scope lists the OpenMRS version pair, the deployment type and every custom module in the upgrade.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is a retainer.

How we build

  • Upgrade rehearsal on a copy of the database, with the engine (MySQL, MariaDB or PostgreSQL) matched to production.
  • Module and custom code review against the target release notes, with each incompatibility logged and assigned a fix.
  • Post-upgrade checks on SSO, access control and audit logging, so reviewers can compare controls before and after.

How we hand over

  • Written runbook with the rollback steps, including the database backup taken before cutover and how to restore it.
  • Upgrade record covering versions, module changes, test results and open items for your compliance and security team.
  • Handover walkthrough with your platform team, so the upgrade procedure can be repeated for the next release.

How we support

  • Optional retainer covers upgrades and continuous testing after cutover, scoped separately from the upgrade project.
  • Confirm the current OpenMRS support policy for your version with the OpenMRS community before setting a support window.
  • Documentation updates follow each change, so your system records stay current as modules and the platform move forward.

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.