Planning a Medplum upgrade path across minor versions starts with your current version
Self-hosted Medplum must be upgraded through each minor version in sequence, and skipping stops causes startup failures. The path from your running version to your target is set by the number of minor versions between them, not by how long ago you last upgraded or by the calendar date. The documented example is a jump from v3.1.2 straight to v4.3.4, which skips intermediate minors and is the kind of gap that can stop the server from starting. Before you plan anything, record your exact running version, the server image or chart tag it came from, and the version of your database and Redis, so you know which stops sit between you and the target.
Staying current matters for two reasons. Each major version gets 1 year of Active support and 1 year of Maintenance, with an Enterprise extension of 12 more months of security patches for 36 months in total, so a version can leave full support while you are still running it. Medplum also targets security patches within 7 days for critical vulnerabilities (CVSS 9.0 or higher) and within 14 days for high ones (CVSS 7.0 to 8.9). Those targets only help you if your team can move through the path quickly. Confirm with Medplum which support tier and extension apply to your contract, and check the Medplum versions and release policy for the current dates on your line.
Start by listing every minor release between your version and the target, then pick the latest patch of each one. At research time the latest release was 5.2.5, published on October 15, 2026, following 5.2.4 on October 14 and 5.2.3 on October 8, 2026, so a target of 5.2.5 means checking the release notes for each minor you cross. Compare that list against the Medplum releases page. Mark which stops require a waiting period for post-deploy migrations, and which need application changes at a major boundary. Those two items decide how long the path takes, so book staging runs for them before you commit a production date.
What changes between Medplum releases and what each change asks of your team
This table compares each kind of Medplum change, from release cadence and support windows to sequential minors and post-deploy migrations, with the work each one asks of your team. Read it before you pick target versions, then confirm each stop against the release notes on the GitHub releases page.
| Change | Impact on your upgrade | Action needed |
|---|---|---|
| Release cadence | Major versions ship annually in Q4, minors two to three times a year, and patches weekly, so a path can cross several releases in one year. | Record your current version and the target, then list every minor and patch between them before scheduling work. |
| Support lines | Each major gets one year of Active support and one year of Maintenance. An Enterprise extension adds 12 more months of security patches, for 36 months in total. | Confirm which support line your running major is in and whether your agreement includes the Enterprise extension. |
| Security patch targets | Medplum targets security patches within 7 days for critical vulnerabilities (CVSS 9.0 or higher) and within 14 days for high ones (CVSS 7.0 to 8.9). | Keep a standing staging path ready so a patch can move quickly, and ask Medplum how it notifies self-hosted customers. |
| Sequential minor versions | Self-hosted servers must move through each minor in order. Skipping minors can cause startup failures, so the path has more stops than the version gap suggests. | Plan one staging deployment per minor stop and do not jump to the target directly. |
| Post-deploy data migrations | Some minors run background data migrations after the new version starts. On large datasets these can run for hours or days. | Wait for each migration to finish before moving to the next minor, and budget time for this in the schedule. |
| Breaking changes and deprecations | Changes that affect your code, bots, integrations or configuration are described in each release's notes, and they vary by stop. | Read the release notes for every stop on the GitHub releases page and list the items that touch your deployment before you start. |
| Application changes at major boundaries | A major boundary can require changes to client applications, bots or integrations before or after the server moves. | Identify which applications depend on the server at each major boundary and confirm the order of code and server changes in staging. |
How the stops between your running version and the target fit together
The path starts by comparing your running Medplum version with the target and classifying the step as a patch, minor or major move. Patch releases can usually go straight to the target, but every minor in between must be taken in sequence, because skipping one can cause startup failures. At each stop, hold the upgrade until the post-deploy migrations finish and your staging tests pass. Major boundaries add an application code change step before the first minor stop.
Decision path from the running version to the target, with a gate after each minor stop.
How the path changes with the size of the version gap
When the target is a later patch in the same minor line, the path is usually a single step. Patch releases ship weekly, and the minor-by-minor sequencing rule does not apply because you stay on the same minor. You still move to the newest patch for that minor, since security fixes carry fixed response targets.
- One stop. Move directly to the latest patch of your current minor, with no intermediate versions.
- Migration check. Read the release notes to confirm whether the patch adds a post-deploy migration.
- Security clock. Medplum targets patches within 7 days for critical vulnerabilities and within 14 days for high ones, so your patch window should fit inside those targets.
- Configuration drift. Compare environment variables and image tags against the release notes, because a patch can change defaults.
Before starting, check that staging runs the same patch you plan to deploy and that the current image tag and configuration are recorded for rollback.
Crossing several minors inside one major means a sequence of stops, and each stop is a full deployment. Self-hosted Medplum must move through each minor in order, and skipping one causes startup failures. Each stop uses the latest patch of that minor, and the team waits for post-deploy migrations to finish before moving to the next.
- Ordered stops. List every minor between your current version and the target, then select the latest patch of each.
- Migration gates. Each stop may start a post-deploy migration. Confirm completion before deploying the next minor, because large datasets can run for hours or days.
- Application changes. Changes within a major are usually narrower, but check each minor's notes for changes that affect your Bots, integrations or custom apps.
- Full staging run. Rehearse every intermediate stop in staging, since startup and migration problems can appear at a middle step rather than at the end.
- Release cadence. Minors ship two to three times a year, so a multi-minor path may span several release cycles. Ask your team or partner to estimate duration from a staging copy of your data.
Before starting, confirm the full stop list, the migration timing observed in staging, and the rollback point for each stop.
A major boundary is the largest change on the path. Majors ship annually in Q4, and each gets one year of Active support followed by one year of Maintenance. Enterprise customers can extend security patches for 36 months in total. The path usually begins with application code, then steps through the minors of the new major in order.
- Support status. Confirm which line your current version sits on, since that determines how long you can plan the crossing without losing security patches.
- Breaking changes first. Review the changelog and update custom Bots, SDK usage, React components and integrations to the new major where the notes call for it.
- Sequenced stops. Once applications are ready, step through each minor of the new major from its first release.
- Deployment tooling. Helm charts, CDK stacks or container images may change between majors, so match tooling versions to each release.
- Regression scope. Plan a full pass covering access policies, sign-in flows and Bots, since these areas are most exposed to major-version changes.
Before starting, confirm the support window, the list of breaking changes, and a tested version of every custom component for the new major.
Why post-deploy migrations set the pace of the whole path
Post-deploy data migrations decide how fast the path moves, so the timeline has to plan for them at every minor stop. Medplum's upgrading guide notes that these migrations can run for hours or days on large datasets, and a self-hosted team does not get to skip that wait. Treat each minor version as a stop with two parts: the deploy itself, and a gate that stays open until the migration for that version has finished. Only the deploy part is quick. The gate is often the longest item on the schedule, and it is the one most likely to be left out of an estimate built from deployment time alone.
Do not start the next minor while a migration from the current one is still running. Each version's migration assumes the data is in the shape that version expects, and the next version's startup and migrations are built on that assumption. Moving on early puts two migrations in contention over the same records and makes any later failure hard to attribute. Before you move on, confirm that the migration jobs for the version are complete, that none are in an error state, and that the application behaves correctly against the upgraded data in staging. The Medplum upgrading guide and versioning documentation at Medplum versions and release policy describe the release sequence, so check the exact migration steps for each version in your path against those pages before you schedule the gate.
The gate length depends on the size and shape of your data, not only on row counts. A migration that rewrites a large resource type, touches many references, or processes records that were created unevenly over time can take far longer than one that handles a uniform table. Record counts per resource type, the age distribution of records, and any custom data written by your own Bots or integrations are the inputs to ask your team to measure in staging with a production-sized copy. The monitoring of background jobs and what slow progress means is covered in its own topic, so use that work to set the thresholds you will watch, and treat the staging measurement as the number you plan the gate around.
What to prepare before the first stop
These six preparation items sit in front of the first upgrade step and feed every stop after it. Each one produces evidence or a decision you need before the server image changes, so the path can be paused safely if a stop goes wrong.
Verified database backup and restore
Take a fresh backup of the PostgreSQL database and restore it into a separate instance before touching the running version. A backup that has never been restored is an assumption, not a rollback plan. Confirm your restore time, who can run it, and whether it works with the database credentials and encryption keys your team actually holds. Upgrade stops that include post-deploy data migrations can run for hours or days on large datasets, so the restore point must be recent enough to matter.
Customization inventory
List every Bot, custom operation, Subscription, access policy, client application and identity provider setting that your deployment depends on. Each item may behave differently between minor versions, and the inventory tells you which ones to retest at each stop. Record where each lives, such as the Medplum project, the deployment configuration or your identity provider, so nothing is missed when you walk the path.
Staging that matches production
Build a staging environment with the same topology as production: the same number of server instances, database and cache configuration, network paths, and identity provider. Copy a representative subset of production data, including the large tables that drive migration time. Confirm that staging uses the same deployment method as production, because a staging test on a different topology will not show the startup or migration behavior you will see live.
Pinned artifacts for each stop
Record the exact server image tag, deployment chart or CDK version, and any infrastructure template version for every stop between your current version and the target. Store them in your change record so each step can be reproduced and rolled back to the same inputs. Confirm that your build pipeline pulls by pinned tag, not by a floating label such as latest, so a rebuild cannot change the version under test.
Release notes for every version
Read the release notes for each minor and patch version in the path, not only the target. Look for breaking changes, deprecated settings, required configuration changes, and any note about post-deploy migrations. Medplum publishes its releases on GitHub, so the review should cover the notes for each stop in sequence. Record which notes require an application change, so your team can make that change before the matching server version goes live.
Medplum releasesNamed owner for go or no-go
Name one person who makes the go or no-go decision at each stop, with a written rule for what counts as a pass. Define the checks that must be green, such as migration progress, error rates, sign-in tests and backup status, and who may pause the path. Confirm that this person can reach the database, deployment and identity owners during the change window, because a stop that stalls without a decision owner tends to stay half-applied.
The upgrade sequence, stop by stop, with checks and rollback points
This sequence takes a self-hosted Medplum deployment from its running version to the target one minor at a time, with a go, hold or roll back decision and a recorded rollback point at each stop. It turns the upgrade path into a plan your team can sign off before any production change is made.
Confirm the current minor and its latest patch
Record the Medplum version that runs in production today, then check the releases page for the latest patch of that same minor. Your team lead or platform owner signs off the starting point, and the decision is to proceed only if production is already on that latest patch. If it is not, patch first, since the next minor is only tested from a current baseline. The output is a written starting version and a list of the minors between it and the target, each with its latest patch.
Map every minor stop to the target
List each minor version between the starting point and the target, and read the release notes for each one. Self-hosted Medplum must pass through every minor in sequence, because skipping a minor causes startup failures, so there is no shortcut to a later version. Flag any stop that crosses a major boundary, and note which stops include post-deploy migrations. The output is an ordered stop list that the team agrees before staging work begins.
Update application code at the major boundary
When the path crosses a major version, update your Medplum application code, Bots and custom integrations against the new version in a development environment before any server change. Your application developers own this work, and the check is that the test suite passes against the new SDK and the server you plan to run. Do not move the server past the boundary until the code is ready, because the change is hard to reverse once data has been migrated. The output is a tested application build pinned to the major version.
Deploy the stop to staging and run tests
Deploy the latest patch of the next minor to a staging environment that mirrors production's configuration, data scale where possible, and identity settings. Run your defined test set, covering sign-in, key FHIR read and write paths, Bots, subscriptions and any integrations. Proceed only if all tests pass and no new errors appear in the logs. Hold if a test fails, and fix the cause before continuing. The output is a signed test record for that stop.
Deploy to production and wait for migrations
Deploy the same minor version to production in a planned change window, using the method your hosting setup uses. Then wait for any post-deploy data migrations to finish before doing anything else. On large datasets these can run for hours or days, so track their progress through the async job admin page and do not start the next minor while jobs are still running. The check is that the migration jobs report complete and no failed jobs remain. Only then is the stop considered finished.
Verify health and sign-in after each stop
Confirm that the server reports healthy, that sign-in works for each identity path your users rely on, and that a sample of clinical and administrative workflows completes. Watch error rates and latency for a period your team defines in advance. Roll back if sign-in or core FHIR operations fail, using the rollback plan you prepared for that stop. Proceed only when the health checks and sign-in checks pass without open defects. The output is a short health record attached to the stop.
Record a rollback point before the next stop
Before moving to the next minor, record what you need to return to this stop: the deployed version, the image or chart reference, the infrastructure configuration, database backup status, and whether post-deploy migrations are reversible at this point. Confirm with your database and operations owners that the backup is restorable. The decision is to proceed to the next stop only when this record is complete. The output is a dated rollback point that the team can cite if a later stop fails.
Repeat through the target and close the path
Repeat the stop cycle for each remaining minor until production runs the target version and its latest patch. Check that every stop has a test record, a health record and a rollback point, and that no migration jobs remain open. Confirm the exact commands for your hosting method in the official self-hosting documentation, since they differ between AWS, Kubernetes, Docker and other options. The output is a closed upgrade record that shows the full path taken.
How to test each stop and decide when rolling back is still safe
Before you move to each minor version, run a staging test set that covers the paths your business depends on, and agree in writing how long a rollback stays available for that stop. Your staging test set should check sign-in through every identity provider you have configured, whether that is Medplum's own identity provider, Google, Auth0, AWS Cognito or a corporate provider at domain level. Include client credentials flows for your server-to-server integrations and any multi-factor steps your users must complete. Then run the FHIR reads and writes your clinical and operational workflows rely on, with real resource shapes and search parameters, not only a health check endpoint. Confirm that the Bots and Subscriptions you use still fire and produce the expected results, and where you run Medplum Agents, confirm they still connect to the server and pass traffic.
Finish each staging run by confirming that post-deploy migrations have completed on the staging database, not just that the server started. Check the async job admin page and the AsyncJob resources for failures or stalled jobs before you treat the stop as passed. Then decide the rollback limit before production. A rollback window is only as safe as the data written after the upgrade: once the new version has written records in a shape the previous version cannot read, or has run migrations that rewrite data, rolling back means either losing those writes or restoring from backup. Ask your team to name the point after which rollback is no longer a simple redeploy, and to record who has authority to make that call.
Confirm with Medplum how the version you are moving to handles deferred post-deploy migrations before you rely on any rollback plan, because that setting determines whether the old version can keep working against the new data. Deferring migrations to keep a rollback window open is covered in a separate topic, so this section assumes you have made that choice for each stop. Review the Medplum upgrading guide for the stop you are testing, and keep the staging results with the change record so that the decision to proceed or roll back can be traced later.
What makes a Medplum upgrade path take longer
This table lists the drivers that lengthen a self-hosted Medplum upgrade path and what each one adds to the work. Read each row against your own environment to see which drivers apply and what to confirm before you commit to a schedule. The main takeaway is that the minor-version count and post-deploy migration runtime usually set the critical path, so measure them in staging early.
| Driver | Why it adds effort | What to check |
|---|---|---|
| Number of minor stops | Self-hosted Medplum must move through each minor version in sequence, so every stop needs its own deploy, readiness check and validation. | List every minor between your current version and the target, and confirm the latest patch for each from the releases page. |
| Dataset size and post-deploy migrations | Post-deploy data migrations can run for hours or days on large datasets, and the next minor should not start until they finish. | Measure row counts in the main tables and run a staging upgrade to time migrations on a copy of production data. |
| Custom Bots, Subscriptions and access policies | Custom server-side logic and access rules must be reviewed against each release, and changes can break behavior that tests do not cover. | Inventory every Bot, Subscription and access policy, record its owner, and decide which need regression tests before the first stop. |
| Identity provider setup | External identity providers, client credentials and MFA settings can change how sign-in behaves after an upgrade and must be retested at each stop. | Document each identity provider configuration and the client credentials in use, and confirm which sign-in flows your staging tests cover. |
| Deployment method | The path differs for AWS CDK, Helm on Kubernetes, Docker, Ubuntu, source builds and the Beta Terraform options, each with its own ordering of infrastructure and image changes. | Confirm your deployment method's upgrade procedure and whether infrastructure changes must be applied before or after the server image. |
| Number of Agents on premises | Each on-premises Agent may need its own version update, and Agent versions must be checked against the server version at every stop. | Count the Agents, record their current versions, and confirm the server and Agent version compatibility for each target. |
| Number of staging cycles | Each minor stop needs a staging run, validation and sometimes a rollback test, so limited staging capacity serializes the path. | Confirm how many full staging runs your team can complete in parallel and whether a separate environment exists for rollback rehearsals. |
| Major version boundary | A major version carries application code changes and breaking changes that must be handled before the server moves across the boundary. | Review the changelog for the target major and list the application changes needed before the first major stop. |
What buyers ask before hiring outside help for a Medplum upgrade path
What drives the cost of planning a Medplum upgrade path?
The main cost driver is the number of stops between your running version and the target, because each minor version needs its own review, staging run and post-deploy migration check. Cost also rises with custom bots, access policies, Agent deployments and infrastructure code that must be reviewed against each release. Quotes should separate one-time planning and staging work from any recurring support or retainer work, and should state which environments, datasets and infrastructure paths are in scope. DeployOpen quotes follow from the written scope, so the more precisely your inventory is described, the more precise the quote will be.
How long does a Medplum upgrade path take to complete?
The answer depends mainly on how many minor versions sit between your current release and the target, and on how large your datasets are. Medplum's upgrading guide notes that post-deploy data migrations can run for hours or days on large datasets, and each minor must finish its migrations before the next one starts. Ask for a timeline that lists each stop, the expected migration wait, staging test windows and the change freeze you need. No duration is stated here because the documentation does not give one for your environment, so confirm it against a rehearsal on a copy of your data.
What does the client team need to provide for an upgrade path?
The work needs read access to the running deployment configuration, the infrastructure code, and the current release notes your team has applied. It also needs a staging environment that matches production closely enough to test each minor, a copy or representative sample of production data for migration rehearsal, and named owners who can approve each stop. Test scripts for clinical and integration workflows should come from your own users, because only they know which flows must keep working. Agree on who holds rollback decisions before the first stop, not during it.
Can our in-house team plan a Medplum upgrade path alone?
A capable in-house team can plan the path if it has people who know Node.js and TypeScript services, PostgreSQL administration, the infrastructure tool used for the deployment, and enough FHIR knowledge to judge whether migrated data still behaves correctly. The team also needs time to read every changelog between the two versions and to run repeated staging rehearsals. Many organizations split the work: internal staff own approvals, test data and workflow checks, while an outside team builds the stop-by-stop plan and rehearsal runbook. Decide early which skills are missing so that the gap is covered before the production window.
What should a written quote for a Medplum upgrade path include?
A written quote should list the starting and target versions, each minor stop in order, and the deliverables for each stop, such as a checked changelog, a staging test result and a migration check. It should name the environments covered, the infrastructure and application changes in scope, and the test cases the client must supply. Ask how application changes at major boundaries are handled, what happens if a post-deploy migration fails, and what support follows the production window. Also ask which items are one-time and which would move into a retainer for ongoing upgrades.
Does upgrading Medplum change our compliance responsibilities?
The upgrade itself does not transfer compliance responsibility, because Medplum's compliance documentation describes compliance as a shared responsibility between Medplum and its customers. On a self-hosted deployment, your organization still owns the evidence for access control, change management, backups and audit logging across each stop. Each upgrade should therefore produce records of what changed, who approved it and how it was tested, which your compliance team can review. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications, so confirm the assessment requirements with your auditor.
How DeployOpen scopes, delivers and supports a Medplum upgrade path
DeployOpen approaches planning a Medplum upgrade path as a written, fixed-scope piece of work: we map every minor version between your running release and the target, then build and test the sequence in your own staging environment before production. The deliverables are the plan, the tested steps and the handover documents your team needs to run it.
How we scope
- We record your current Medplum server version, database, infrastructure type and the target release before any work starts.
- The written scope lists every minor version on the path, with the latest patch for each stop and the post-deploy migration checks.
- We agree in writing which application code changes at a major boundary are in scope, and which your own developers will own.
How we build
- We rehearse each stop in a staging copy of your deployment, including the deferred migrations and the time each one takes on your data volume.
- We document the application and configuration changes required at each major boundary and test them against your Bots and integrations.
- We confirm the wait conditions between minors, such as completed async migrations, before moving to the next version in the sequence.
How we hand over
- You receive a stop-by-stop runbook covering version pins, deploy order, readiness checks, and the rollback conditions for each step.
- The handover includes a timing record from staging, so your team can plan production windows based on observed migration durations.
- We walk your platform and application engineers through the runbook and the decision points where the upgrade should pause.
How we support
- Fixed-scope engagements end with a defined handover, and any later work is quoted separately from a new written scope.
- Ongoing upgrades, patch tracking against Medplum's security response targets and continuous testing are available as a retainer.
- Ask any provider to confirm in writing who performs production changes, who owns rollback decisions, and how post-handover questions are routed.

