Upgrading orthancteam/orthanc Docker images

A planned guide to moving an Orthanc deployment to a newer orthancteam/orthanc image tag, covering release notes, bundled plugin versions, pinning, staging tests and rollback.

On this page

Upgrading orthancteam/orthanc Docker images safely

To upgrade an Orthanc Docker image without losing data or breaking plugins, pin the exact target tag, read its release notes and bundled versions, and rehearse the move on a copy of your database and storage before touching production. The image is only the software layer. Your index, DICOM files, configuration and plugin choices all persist outside the container, so the risk sits in what the new version does to that existing state, not in the pull itself.

Upgrades matter because Orthanc keeps moving. Orthanc 1.13.0 was released on 2026-08-15, following 1.12.11 on 2026-04-14 and 1.12.10 on 2025-11-26, and 1.13.0 rewrote storage-area access and DICOM parsing and transcoding. That kind of change affects memory use, caching and startup behavior, so a tag bump is a configuration decision as well as a version number. Confirm which Orthanc core and which plugin versions each image tag bundles, because the plugin set you run may not match the core you expect.

Set the upgrade path from three inputs: the NEWS file for the core, the image notes for the bundled plugins, and a staging result. Compare the Orthanc section of each candidate tag with the plugins you load, such as the PostgreSQL or object storage plugins, and check whether any of them need a schema change. Start the candidate image against a restored copy of the database and a copy of the storage volume, then confirm the server starts, the REST API answers, a sample of studies is retrievable and plugin-backed features work. Record the tag you tested as the production value in docker-compose.yml or your orchestrator manifest, so a later pull cannot change it silently.

Keep the rollback path open until the staging result is signed off. Take a backup of the database and storage before the production change, and note the previous tag. Schema changes are covered separately in the sibling sections on --upgrade and cluster runbooks, so stop here if your target tag changes the schema.

What changes between Orthanc image releases

This table sorts the changes that matter most when moving to a newer orthancteam/orthanc tag, with the impact on your deployment and the action to take. Read it as a checklist: each row names a change area, what it affects, and what to confirm in the release notes for the exact tag you plan to use.

Change areaImpactAction needed
Storage and transcoding rewrite in 1.13.0Storage-area access, DICOM parsing and transcoding were rewritten to improve caching and reduce memory use, so memory and I/O behavior can shift under your real workload.Load test with representative studies in staging and compare memory and response times against your current tag.
Split advanced configuration fileAdvanced settings may move to a separate file, so an image that expects the old layout can start with settings missing or ignored.Diff your configuration against the new release notes and confirm which file each setting is read from.
Stricter startup checks on authenticationStartup can fail if authentication settings do not meet the stricter checks, for example when RemoteAccessAllowed is enabled without AuthenticationEnabled and RegisteredUsers.Review authentication settings against the Security FAQ before the first staging start.
Stricter checks on OverwriteInstancesValues that were accepted before may be rejected at startup, which blocks the container from running.Confirm the value you set is valid for the target tag and record it in your deployment configuration.
Database schema and plugin versionsA new tag may bundle a newer core and plugin set, and a schema change requires a database upgrade step before normal operation.Read the bundled Orthanc and plugin versions in the tag's release notes, test the schema change on a copy of the database, and back up before upgrading.
/tools/execute-script routeThe security FAQ warns this route can let a malicious user run any system command, so it must stay disabled in production images.Confirm it is disabled in your configuration after the upgrade and verify it is unreachable from outside the trusted network.
Export routeThe security FAQ warns the export route can overwrite files, so it should stay disabled.Confirm it is disabled in your configuration after the upgrade and check that no automation depends on it.

What to prepare before changing the image tag

Changing the image tag is the easy step. The work that makes it reversible happens beforehand: a restorable backup, a record of what the running container actually uses, a tag you can return to, a staging copy to rehearse on, and a check that the exposed surface is still locked down. Each item below feeds the go or no-go decision for the upgrade.

Full backup of database and storage

Take a backup of the Orthanc index database and the DICOM file storage together, as one point in time. A backup of only one side is not restorable, because the index points at files and files without an index are unreachable. Test a restore on a separate host before you rely on it. Confirm where the backup is kept, who can read it, and how long a restore takes at your archive size. Restore a copy before you upgrade.

Inventory of image, plugins and configuration

Record the exact image tag and digest currently running, the plugins loaded from the container, and every custom setting in the mounted configuration files. Check the running container rather than your compose file, since they can drift. Note which plugins are added on top of the image and their versions. This list tells you which release notes apply to your deployment and which settings may need changes.

Pinned rollback tag

Keep the current tag, ideally with its digest, in your deployment files so you can return to it in one edit. Avoid relying on latest, which can change under you between pulls. Confirm that the previous image is still in your registry and has not been removed by a cleanup policy. Rollback also depends on the database: an older image may refuse a schema that a newer release has already migrated, so pair this item with a backup check.

Staging environment with production data copy

Run the candidate tag against a staging stack that uses a recent copy of the production database and a subset or full copy of the DICOM files. Use the same plugin set and configuration as production. Staging exercises schema migration, plugin compatibility and viewer behavior on realistic data. Keep staging off the production DICOM network and modality routes so test traffic cannot reach live peers.

Remote access and disabled script routes

Review the settings that control who can reach Orthanc before the new image starts. Confirm that RemoteAccessAllowed matches your design, that AuthenticationEnabled is true with users defined when remote access is on, and that the /tools/execute-script and export routes remain disabled. Check that these settings survive the new release, because a changed default or split configuration file can silently re-open them.

Read the source

How to run the image upgrade in order

This sequence moves a running Orthanc deployment to a newer orthancteam/orthanc tag with a tested rollback point at each stage, so production changes only after staging has passed the same checks.

  1. Read the target tag's release notes

    Before anything is pulled, the owner of the deployment reads the Orthanc release notes for the target version and the image notes for the chosen tag. Look for changes to storage access, DICOM parsing, configuration file layout, authentication and overwrite settings, and any database schema change that requires an upgrade step. Note every item that touches your configuration or plugins. The step is done when you have a written list of required configuration edits and a yes or no answer on whether a schema change applies. Your rollback point is the currently running tag, which stays untouched.

  2. Record the bundled Orthanc and plugin versions

    Compare the current tag and the target tag and write down the Orthanc core version and every plugin version each image bundles, including the database plugin (PostgreSQL, MySQL/MariaDB or ODBC), the object storage plugin if used, and the viewers. Check the same values in the running container with the Orthanc system endpoint. Confirm the image was built with the plugins you depend on. The step closes with a version table in your change record. If a plugin you rely on is missing or at a different version, stop and confirm with the image maintainers or Orthanc Team before continuing.

  3. Pin the new tag in staging

    In a staging environment that mirrors production's configuration, plugins and storage layout, change the image reference from a floating tag to the exact new tag, and keep the digest or tag recorded in version control. Avoid tags that move over time, such as latest, for production. Deploy with the same compose file or Helm values used in production, changing only the image line. The step is done when the staging container starts, reports the expected Orthanc version, and the pinned reference is committed alongside the previous one so either can be redeployed quickly.

  4. Run any schema upgrade on a separate database copy

    If the release notes describe a database schema change, restore a recent backup of the production index and file storage into a separate staging database, never the live one. Start the new version against that copy and run the upgrade step the release documents, watching the logs for errors and for how long the migration takes on your data volume. The step is done when the upgraded copy starts cleanly and the Orthanc index counts for studies, series and instances match the source. Keep the restored copy until the production run is complete.

  5. Test DICOM, REST and plugin flows

    Run a scripted test set against staging covering DICOM store, C-FIND, C-MOVE or C-GET from each modality or peer you use, REST uploads and downloads, authentication with each configured user, the viewers you expose, and every plugin feature you depend on such as object storage reads, worklists or DICOMweb. Include a known study and compare anonymized or pixel data checksums before and after. The step is done when every flow in the test list passes and every failure has a recorded fix or an accepted exception signed off by the deployment owner.

  6. Schedule production with a backup taken just before

    Agree a maintenance window with the teams that send and receive images, and tell them which flows may be unavailable during the change. Immediately before the window, take a fresh backup of the database and confirm the file storage backup or snapshot is complete. Verify the backup can be restored, not only that the job reported success. The step is done when the backup is recorded with a timestamp and location, the restore check has passed, and the rollback steps are written down with the previous tag and the backup reference.

  7. Switch the pinned tag and verify health

    Update the production image reference to the tested tag and redeploy. Watch the container start, check the Orthanc system and health endpoints, and confirm the expected version and plugin versions. Review the logs for startup warnings, authentication or configuration errors, and plugin load failures. Run a short set of smoke tests: one store, one query, one retrieve and one viewer load. The step is done when the smoke tests pass and the logs show no new errors. If they do not, redeploy the previous pinned tag.

  8. Keep the previous tag for rollback

    Retain the previous image tag, its configuration and the pre-upgrade backup until the new version has run through a normal operating period that the deployment owner has defined. Document the rollback procedure, including whether the previous tag can read a database that has already been upgraded. Often it cannot, so confirm this with the release notes and your staging test before production. The step is closed when the rollback runbook is filed, the previous tag is still available in your registry, and the owner records the decision to retire it.

How to test database and plugin changes in staging

Staging only tells you something useful about a new tag if it looks like production. Build the staging environment from a copy of the production database, not from an empty or sample index, and run the same plugin set at the same versions that production uses, including the database plugin and any authorization, storage or viewer plugins. An empty database will skip the schema migration and cache rebuild paths that matter most, and a missing plugin will hide startup failures. Before you copy anything, confirm that the copy is taken with Orthanc stopped or with a consistent database backup, and that the staging stack is isolated from modalities, PACS peers and object storage that production writes to, so test traffic cannot reach real systems.

Compare the new tag against the previous one on the same data rather than relying on the release notes alone. Run the old tag and the new tag against identical copies of the database, then check startup time, the log output for new warnings, the configuration keys the new image reads, and the behavior of the REST API calls and DICOM operations your workflows depend on, such as C-FIND, C-STORE, C-MOVE and any routing or DICOMweb calls. Record the results so you can show what changed. For a version bump that touches the storage or transcoding code, also watch memory use and the time taken to serve large studies, since those are the areas where the Orthanc 1.13.0 release notes describe changes.

After a database plugin or schema change, check that the migration completed, that the index counts for patients, studies, series and instances match the source, and that viewers and scheduled jobs still return the same results. Do not assume that a rollback is cheap. Reverting a schema change may require restoring the database from the backup you took before the upgrade, and the image tag alone will not undo the migration. Confirm the rollback procedure for your specific PostgreSQL or MySQL plugin version in the Orthanc Book plugins page and in the release notes for that version, and write down the restore steps and their expected duration before you approve the production change.

What makes an Orthanc image upgrade take longer

This table compares the factors that raise or lower the effort of moving to a newer orthancteam/orthanc image tag. Read each row as a question to answer about your own archive before estimating work, since most drivers compound when several apply at once.

DriverWhy it changes effortHow to keep it down
Plugins in useEach enabled plugin has its own version, configuration keys and compatibility with the new core, so every plugin needs a check.Run only the plugins you need and confirm each one's version in the target tag before you start.
Database backendSQLite is file-based and simple to copy. PostgreSQL or MySQL schema changes need a dedicated migration step and a database backup.Take a verified backup and run the migration on a copy first.
Archive sizeLarge archives make any schema migration and reindexing slower, and a rollback from backup takes longer to restore.Test migration time on a restored copy of production-sized data, not on a small sample.
Schema changes between tagsA tag that changes the database schema requires a deliberate upgrade step, while a tag without schema changes is mostly a container swap.Read the image release notes and the Orthanc NEWS file for each tag between your current and target version.
Custom Lua or Python scriptsScripts that call REST routes or use changed APIs may fail silently after the upgrade and need review and retesting.Keep scripts in version control and list every route and API call they use.
Authorization plugin integrationToken flows and the external decision service must keep working with the new version, so access tests are needed alongside functional tests.Test login, denied access and each user role against the staging instance.
Instances sharing one databaseSeveral instances on the same database cannot be upgraded freely in any order, so the work becomes a coordinated shutdown and restart sequence.Plan a single maintenance window and confirm the cluster runbook before starting.
Staging availabilityWithout a staging environment that mirrors production data and plugins, problems surface in production and rollback becomes the main task.Build staging from a recent backup with the same plugins and configuration as production.

Questions teams ask before upgrading Orthanc images

How much does an Orthanc Docker image upgrade cost?

No public price exists for this work, and DeployOpen does not publish a price list, so the quote follows from a written scope. The main cost components are the people who read the release notes, rebuild the compose or Kubernetes definitions, run the upgrade in staging, test plugin and database behavior, and write the runbook for production. Costs rise with the number of instances, the size of the database, the number of plugins in use and whether custom Lua, Python or Java scripts depend on the changed behavior. Ask for the quote to separate one-time validation work from any recurring support. Orthanc Team sells pre-paid dedicated support hours valid for 12 months, quoted on request, which is one option if you want vendor-side help on specific questions.

How long does an Orthanc image upgrade take?

The duration depends on how many components change and how large the archive is, not on the image tag alone. A patch tag with no schema change and no plugin change is mostly release-note review and a staging smoke test. A tag that changes the database schema, bumps a plugin major version or changes storage or transcoding behavior needs a copy of production data, a timed upgrade run, and checks on queries, retrieves and viewers. Large databases can make the first start after a schema change slow, so the timeline should allow for that run. Ask for the schedule to list each staging test and the production window as separate milestones.

What does our team need to provide for the upgrade?

The work needs four things from your side: access to a staging environment that mirrors production, a recent copy of the Orthanc database and storage or a representative subset, the current compose files or deployment manifests, and a named person who can approve the production window. Your team should also list which plugins, viewers, DICOM peers and scripts rely on Orthanc, because those are the integrations most likely to break. Confirm who owns backups and restore tests before the upgrade starts, since a rollback depends on them.

Can an in-house team upgrade Orthanc images without a partner?

Yes, many teams can do this with Docker experience, a staging copy of their data and time to read the release notes carefully. The questions to answer honestly are whether someone can test DICOM retrieves, viewer sessions and plugin behavior end to end, and whether they can run a restore from backup before touching production. Teams with several instances sharing one PostgreSQL database, or with custom scripts, usually need more testing time. Review the Orthanc NEWS file for the target tag before deciding, because it lists the changes you must test.

How do we roll back if a new Orthanc image tag fails?

Rollback is safe only if the database has not been changed in a way the older image cannot read. Pin the exact previous tag in your deployment, take a database backup before the upgrade, and keep the old image available in your registry. If the new tag ran a schema upgrade, restoring the image alone may not work, so the rollback path is restoring the pre-upgrade database backup. Practice this in staging so the restore steps, timings and access rights are known before a production window. Write the decision point into the runbook: who decides to roll back and by what time.

When should we bring in a partner for Orthanc upgrades?

Bring in a partner when the upgrade touches several risks at once: a schema change, a multi-instance cluster, a large archive with a long first start, custom scripts, or a compliance requirement to document the change. A partner also helps when your team cannot staff a staging test and a production window in the same period. DeployOpen plans, tests and documents self-hosted open-source platforms in your own infrastructure, and most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts. Ask for a written scope that lists the target tags, the environments you need tested and the evidence you will receive.

How a Docker image upgrade moves through staging before production

The upgrade starts with reading the image release notes and checking which Orthanc core and plugin versions the target tag bundles. The new tag is pinned in staging and run against a copy of the production database, where schema changes and plugin behavior are observed. Only a go decision lets the production tag change, and that change is preceded by a backup. If post-switch checks fail, the stack returns to the previously pinned tag, so the previous tag and the database backup must both be known before the switch.

Decision path for moving a pinned orthancteam/orthanc tag from staging into production.

Licensing and support terms that affect your upgrade plan

The Orthanc core is licensed GPLv3 or later, but the PostgreSQL and web viewer plugins are licensed AGPLv3 or later. That difference matters when you upgrade an image, because a newer orthancteam/orthanc tag can bundle plugin versions that carry different obligations from the core. Before rollout, have your legal or compliance team read the license of every plugin the image contains, not only the core, and record which plugins your deployment actually loads. The Orthanc Book licensing FAQ explains the license split and the copyright history, including why UCLouvain contributions since September 1, 2021 cannot be dual licensed. Confirm these terms against the version of the FAQ that matches your target tag, since the image you pin is the one you are accepting.

There is no paid edition of Orthanc, so an upgrade does not require a license purchase or a tier change. The support you can buy is a service. Orthanc Team SRL sells deployment, configuration and development services, and it offers pre-paid dedicated support hours that are valid for 12 months, quoted on request. Those hours are a one-time purchase that you draw down over the year, so an upgrade that consumes them should be planned against the remaining balance and its expiry date. Ask the vendor for the written scope, what is covered during an image upgrade, how hours are logged, and whether a staging test or a rollback counts against them. Ask whether a support agreement covers plugin questions as well as core questions.

Your own team or a partner carries the cost of licence review, staging tests and rollback planning, and those costs recur with every tag you adopt. Ask any partner to put in writing which license checks, plugin tests and documentation updates are included in a fixed-scope upgrade and which are charged separately. Confirm with the vendor whether pre-paid hours can be used for a partner-led staging test, and whether they expire before your next scheduled upgrade window.

How DeployOpen scopes and delivers Orthanc image upgrades

DeployOpen plans, builds, tests and documents Orthanc image upgrades inside your own infrastructure, starting from the tag you run today and the one you want to reach. The work is agreed as a fixed scope, with the release notes, bundled plugin versions, database impact and staging evidence written down before any change reaches production.

How we scope

  • Inventory the current orthancteam/orthanc tag, Orthanc core version, bundled plugins and any custom configuration files.
  • Map the target tag's release notes against your plugins, viewers, scripts and REST clients to list what must be checked.
  • Confirm with you whether the upgrade touches the database schema, and whether PostgreSQL or other storage back ends change with it.
  • Agree deliverables, environments and acceptance criteria in writing before work starts, since most engagements are fixed-scope.

How we build

  • Pin the target image tag by version in your deployment definitions, avoiding floating tags such as latest in production.
  • Rebuild a staging copy with a restored database snapshot so schema migrations and plugin changes run against realistic data.
  • Test DICOM storage, query and retrieve, viewers and authorization paths against the new tag before any production window.
  • Prepare a rollback path that includes a verified backup and the previous image tag, documented before cutover.

How we hand over

  • Deliver a written runbook covering pre-checks, the cutover sequence, verification steps and the rollback decision points.
  • Document the final pinned tags, bundled Orthanc and plugin versions, and configuration changes made during the upgrade.
  • Record staging test results, including what passed, what failed and how each failure was resolved.
  • Walk your operations and imaging IT staff through the runbook so they can repeat the next upgrade with confidence.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the first upgrade is complete.
  • Review each new orthancteam/orthanc release against your pinned configuration before you decide whether to adopt it.
  • Confirm with your team which support channel and response expectations apply, as these are set in the written agreement.
  • Where Orthanc Team SRL dedicated support hours are relevant, coordinate with them as part of the agreed scope.

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.