When does an Orthanc upgrade mean reprocessing existing studies?
A stored study needs reprocessing only when the change alters how Orthanc should index or store data it already holds, such as a MainDicomTags change or a compression setting change. A plugin or core upgrade that leaves those settings alone usually does not require it. The Housekeeper is the mechanism Orthanc uses to reprocess existing data, so the practical question is whether the change you made is one that the Housekeeper must apply to the archive you already have.
Work the question from the change itself. A new value in MainDicomTags affects which tags are indexed for studies already stored, so older studies may be missing tags that newer queries expect. A change to compression or storage layout affects files already on disk. A PostgreSQL or Orthanc upgrade that also changes the database schema is a different case, and it is covered by the schema upgrade steps rather than by Housekeeper runs. Write down, for each change, whether it touches existing records, existing files, or only new ingestion. Ask your vendor or the Orthanc team to confirm the Housekeeper triggers for your exact core and plugin versions, because they can differ between releases.
The supported path is a planned upgrade tested on a staging copy of the database and storage. Restore a recent backup to staging, apply the same settings and versions, run the Housekeeper there, and measure how long it takes and what it changes before touching production. Confirm the exact Housekeeper behavior, options and trigger conditions in the Orthanc Book and the release notes for the version you run, and check the Orthanc NEWS file for changes that affect reprocessing.
Which Orthanc release changes can require reprocessing
This table compares the Orthanc release and plugin changes that may affect studies already stored, and what each one asks you to do. Read each row as a prompt to check the target version's release notes before deciding whether the Housekeeper is needed. The main takeaway is that the supplied release facts describe storage and transcoding changes, but they do not list which settings or stored data require reprocessing, so confirm those details in the Orthanc NEWS file for your version.
| Change | Impact on existing studies | Action needed |
|---|---|---|
| Orthanc 1.13.0 (released 2026-08-15) | Storage-area access, DICOM parsing and transcoding were rewritten to improve caching and reduce memory use. Existing files are not changed by the rewrite itself, but any derived data your configuration depends on may need confirmation. | Read the 1.13.0 entries in the NEWS file, then test on a copy of your database and storage before upgrading production. |
| Orthanc 1.12.11 (released 2026-04-14) | Listed as the release before 1.13.0. Whether it changed how existing studies are indexed or stored must be confirmed in its NEWS entries. | If you are upgrading across this release, review its NEWS entries and note any items that mention indexing, storage or metadata. |
| Orthanc 1.12.10 (released 2025-11-26) | Listed as an earlier step in the 1.12 series. Impact on existing studies depends on the changes recorded for this release. | If you are skipping directly to a later version, check its NEWS entries for changes that apply to your existing data. |
| Database plugin upgrade (PostgreSQL, MySQL/MariaDB or ODBC) | Plugin releases can change how the index is stored or read. Some changes may require a reprocessing pass over existing instances, which the reader must confirm for the target plugin version. | Check the plugin release notes and schema requirements, back up the database, and test the upgrade on a separate database first. |
| Changes to MainDicomTags | Tags added or removed from the indexed set do not apply to studies already stored until they are reprocessed, so queries may return incomplete or outdated results. | Decide which tags you need, update the configuration, and plan a Housekeeper run for existing studies. |
| Changes to compression or storage settings | Existing files keep their stored form until they are rewritten, so the storage layout may not match the new setting for older studies. | Confirm the expected behavior for your version, then plan a reprocessing run and verify a sample of stored files. |
| Docker image tag change | The image may bundle a different Orthanc and plugin version. Impact on existing studies follows from the versions the image contains. | Read the image release notes, record which versions the tag bundles, and pin the tag in staging before production. |
| Other configuration changes | Settings that affect how instances are indexed or stored may apply only to newly received studies unless reprocessed. | List each changed setting, confirm its effect in the Orthanc Book for your version, and decide whether existing studies need a run. |
How a configuration change reaches stored studies
The path starts when a configuration or plugin change is made, then asks whether existing studies are affected by the change. If they are not, no reprocessing is needed and the change proceeds on its own. If they are, a Housekeeper run reprocesses stored studies, and the team verifies a sample before deciding whether to go ahead with the rest. Check the Orthanc release notes and the plugin documentation first, since they say which settings touch stored data.
Decision path from a configuration change to a go or no-go on stored studies.
Which triggers send existing studies back through processing
Orthanc indexes each stored study using the DICOM tags listed in its configuration. When that list changes, the index entries for older studies no longer match what the server expects, so the Housekeeper must read the stored files again and rebuild those entries. Searches on newly added tags return incomplete results for older studies until the pass finishes.
- What is reprocessed: the index entries for studies stored before the change, read from the DICOM files already in storage.
- Why stored data is affected: queries and filters depend on indexed tags, so older studies can be missing from results during the pass.
- What to check: the
MainDicomTagssection of the configuration file, comparing the old and new lists for tags added and removed. - What to confirm in the Orthanc Book: how the server handles tags removed from the list, and whether any previously indexed values are dropped.
- Schedule around searches: tell clinical and support staff that searches on the changed tags may be incomplete until the run ends.
Before the change goes live, export the current configuration, record the tag list, and test the same change on a copy of the database.
A compression setting controls how Orthanc stores DICOM files it receives. A change applies to new uploads straight away, while older files keep their original encoding unless the Housekeeper rewrites them. Treat the change as a storage migration, because rewriting files changes disk use, I/O load and the time needed to retrieve studies.
- What is reprocessed: stored files whose encoding differs from the new setting, decoded and written again.
- Why stored data is affected: older studies may be served in a different transfer syntax, and storage use shifts while files are rewritten.
- What to check: the compression-related keys in the configuration file, free space on the storage area, and the age of the latest backup.
- What to confirm in the Orthanc Book: whether the setting affects only new instances or also triggers reprocessing, and how lossy and lossless encodings are handled.
- Test the clients: modalities and viewers that accept only certain transfer syntaxes need testing against both old and new objects.
Check free space and a recent backup first, then run the change on a staging copy and measure retrieval times for both older and newer studies.
Plugin upgrades change the code that reads and writes the index or the stored files. A new plugin release may require its own database revision, or it may change how it interprets data the previous version wrote. Whether the Housekeeper must run afterwards depends on the plugin, its version and the changes in that release, so check the release for each plugin you run.
- What is reprocessed: depends on the plugin; some releases only change how new data is written, while others rebuild index entries.
- Why stored data is affected: an index written by the old plugin version may be read differently by the new one.
- What to check: the plugin and core versions bundled in your image, package or deployment, and the release notes for each plugin.
- What to confirm in the Orthanc Book: the plugins page entry for each plugin, including any migration or revision requirements for the version pair you plan to run.
- Order the steps: upgrade the core and the plugin in staging, run any required step there, and only then repeat it in production.
Record the old and new versions of the core and every plugin so you can return to a matching set if a run fails.
Moving to another index database or storage back end changes where Orthanc finds each study. Studies may need to be copied, indexed again or verified in the new location before the old copy is retired. This is the largest of the four trigger types and normally needs a planned cutover window with a defined rollback point.
- What is reprocessed: the index and file location for every study, or for the studies moved between back ends.
- Why stored data is affected: an interrupted run can leave some studies visible and others missing, so progress must be tracked.
- What to check: back-end settings, credentials and network paths, plus instance counts in each store before and after the run.
- What to confirm in the Orthanc Book: the scalability FAQ on moving from the built-in SQLite index to a database plugin, and which storage plugins can be combined.
- Keep the source until checks pass: retain the old copy until the new store passes verification.
Document the cutover steps, the rollback point and who signs off the verification before the change goes live.
Backups and a staging copy before reprocessing starts
Reprocessing rewrites metadata and, depending on the change, the stored files themselves, so a failed run can leave the archive in a state no single fix repairs. The four checks below give you a way back, a way to test the run, a record of what you are changing, and a point where you stop.
Verified backup of index and files
Take a backup of the index database and the file storage together, then restore it to a separate host and confirm that Orthanc starts and returns known studies. A database backup without the matching DICOM files, or the reverse, cannot be used to recover after a Housekeeper run that changed stored content. Your team provides the backup tooling, storage target and the restore test host, and must record the time of the snapshot so both halves line up.
Scalability FAQStaging copy with a study sample
Run the Housekeeper against a staging copy holding a realistic sample of studies, including the modalities, transfer syntaxes and older series your archive actually contains. The sample shows how long a batch takes, how the throttling settings behave under load and whether the output matches what you expect. Your team provides the sample selection and the staging hardware, and should confirm that staging uses the same Orthanc and plugin versions as production.
Inventory of versions and configuration
Record the Orthanc core version, every plugin version, the database plugin revision, the Docker image tag and the full configuration files in effect before the change. Without this record, you cannot tell whether a difference in output came from the upgrade, the new setting or the Housekeeper trigger itself. Your team should store the inventory with the backup so both can be restored and compared together.
Written rollback decision point
Agree in writing which observations stop the run, such as errors on a sample batch, unexpected changes in stored content or throughput that would push the full run past your maintenance window. Name who makes the call and what the team does next: restore from the verified backup, revert the configuration or pause and resume later. A rollback point set in advance prevents a team from continuing a run it cannot finish or undo.
Running the Housekeeper in a controlled sequence
This sequence turns a Housekeeper run after an Orthanc upgrade or configuration change into a staged, checkable process, so each reprocessing pass has a known starting state, a load limit, a verification step and a rollback point.
Freeze the change in staging
The engineer who owns the Orthanc configuration records the exact target Orthanc version, plugin versions, configuration keys and any trigger that will reprocess studies, such as a change to MainDicomTags or compression settings. The same change is applied to a staging copy of the database and a representative sample of studies. The step is done when staging runs the change end to end and the team has written down the expected effect on stored studies. Rollback point: nothing has touched production, so the change can simply be dropped.
Confirm target versions and settings in the Orthanc Book
Before production is touched, the release owner checks the target version against the Orthanc NEWS file and confirms each setting and plugin behavior in the Orthanc Book for that release. Any option name used in the change is confirmed against the documentation for the exact version, not carried over from an older deployment. The review is complete when the team has a signed-off list of settings, versions and known side effects. Rollback point: the review changes only the plan, so the previous configuration remains in force.
Take and test the backup
The platform owner takes a backup of the Orthanc index database and the DICOM storage area, then restores it to a separate environment to confirm it is usable. Backups are taken while Orthanc is stopped or while the database is in a consistent state, as the database and storage setup allows. The step is done when a restore has opened in an isolated instance and sample studies are readable. Rollback point: this backup is the reference for returning the index and files to their pre-change state.
Apply the change in a maintenance window
During an agreed maintenance window, the operator applies the tested configuration or plugin change to production and starts Orthanc with the new settings. Any other instance sharing the same database is handled according to the cluster runbook, so no instance writes with an incompatible schema or setting. The step is done when Orthanc starts cleanly, logs show the expected version and plugins, and the REST API responds for an authorized user. Rollback point: stop Orthanc, restore the previous configuration and, if the database changed, restore the backup taken in the previous step.
Start reprocessing with throttling at team load limits
The operator starts the Housekeeper run with its throttling set to the load the team has agreed for CPU, disk and database capacity during business hours. Load limits come from measurements taken in staging and from the storage team's own thresholds, not from defaults copied from another site. The step is done when the run has started and the first batch completes within the expected load envelope. Rollback point: the run can be stopped and throttling lowered without changing stored studies.
Monitor progress and logs
The operator tracks the number of studies processed against the expected total, watches Orthanc logs for errors, and checks database and storage metrics against the agreed limits. Any repeated failure on the same study is recorded and investigated before the run continues. The step is done when the run reaches its end state with no unexplained errors, or when the team has decided to pause and investigate. Rollback point: pausing the run leaves already processed studies in their new state, so the team can continue from a known position.
Check state before resuming after an interruption
If Orthanc or the host restarts during the run, the operator does not restart the Housekeeper straight away. First they confirm that Orthanc is healthy, check the logs for the last completed unit of work, and compare processed counts with the database and the storage area to find where the run stopped. Only then is the run resumed with the same settings, so studies are neither skipped nor processed twice. The step is done when the operator has recorded the resume point and the team agrees on it. Rollback point: if the state cannot be confirmed, the team restores from the backup and repeats the run from staging results.
Verify sample studies and close out
The QA owner opens a defined sample of studies across modalities, sizes and ages, checks that metadata, pixel data and access controls match the expected result, and confirms that DICOM queries and retrieves work from a client. Results, the final configuration, the Orthanc version, the backup reference and any open issues are written into the change record. The sequence is closed when the sample checks pass and the record is signed off by the change owner. Rollback point: if a sample fails, the team uses the backup and the recorded configuration to return to the pre-change state.
Throttling, progress checks and resuming after a restart
Reprocessing competes with clinical traffic for the same disk, CPU and database capacity. Every study the Housekeeper rewrites reads storage, parses DICOM, updates the index and may trigger compression or re-tagging, all while radiologists are opening studies, modalities are storing new images and the PACS is answering queries. Before starting a run, decide how much headroom you can give it, and treat the throttling settings in your Orthanc configuration as the lever for that decision rather than assuming the default pace is safe. Run the first pass against a copy of the production database and measure the effect on read latency and storage throughput during business hours. Confirm the exact throttling and concurrency keys available in your Orthanc version in the configuration reference shipped with that release, because names and defaults change between releases.
Track progress through the Orthanc logs and the REST API rather than relying on the process appearing to run. Record the start time, the configuration change that triggered the run, the Orthanc and plugin versions, and the count of studies before and after. Watch for repeated errors on the same resource, which usually point to a corrupted file, an unsupported transfer syntax or a missing storage object, and decide in advance whether a failing study is skipped, quarantined or stops the run. Check the index counts at intervals, and compare a sample of reprocessed studies against their originals to confirm that tags and files look as expected. If the Orthanc process or the PostgreSQL server restarts mid-run, do not assume the Housekeeper continues from its last position. Confirm with the Orthanc documentation and a test on a non-production copy how your version resumes, whether it restarts the job or only reprocesses unfinished items, and whether a partial run leaves the index consistent.
Clustered deployments that share one database need coordinated handling. The Scalability FAQ explains that multiple instances can read and write the same database from Orthanc 1.9.2 with PostgreSQL or MySQL plugin 4.0, so a Housekeeper run started on one node affects every node that uses that database. Decide which instance runs the job, stop or drain the others if your procedure requires it, and make sure no other node is performing a schema change or upgrade at the same time. Plan a clear handover, so that after a restart someone knows which node owns the run and whether it should be resumed or restarted. Ask your support provider or Orthanc Team to confirm the coordination steps for your exact versions before you schedule a production run. Orthanc Book: Scalability FAQ
What makes Housekeeper runs longer or riskier
This table lists the factors that stretch a Housekeeper run or raise the risk of a bad outcome, with the reason each matters and what to do about it. Read it before scheduling a reprocessing run on a production archive, and use it to decide how much staging testing and throttling a change needs.
| Driver | Why it matters | How to reduce it |
|---|---|---|
| Number of stored instances | Reprocessing touches every affected instance, so run time and load grow with the archive. Orthanc's scalability guidance says the built-in SQLite index should be replaced once several hundred thousand instances are stored. | Confirm your instance count before scheduling. Run the change on a copy of the archive first, and throttle the run so ingestion and viewing stay responsive. |
| Database back end | The index is rewritten during reprocessing. SQLite on a large archive and a shared PostgreSQL server behave differently under sustained writes and locking. | Move large archives to the PostgreSQL plugin before major reprocessing, as the scalability guidance recommends for large datasets. Confirm locking and connection limits with your database administrator. |
| Storage location and network throughput | Files on remote or cloud object storage must be read and possibly rewritten across the network, so slow links or shared storage can dominate run time. | Measure read and write throughput to the storage location in staging. Run during low-traffic windows and avoid saturating the link used by modalities and viewers. |
| Compression or MainDicomTags changes | These triggers rewrite or re-index many files at once, which is far more work than a restart or a plugin reload. | Batch the change, confirm the expected scope in staging, and keep a verified backup taken before the run starts. |
| Plugins and custom scripts that react to changes | Lua, Python or Java callbacks and plugins may fire for every reprocessed instance, causing duplicate forwarding, notifications or external calls. | Inventory every script and plugin that listens to stored-instance events. Disable or guard those that should not react during reprocessing, then retest them in staging. |
| Multi-instance clusters | Orthanc instances sharing one database can read and write the same data, so a reprocessing job on one node can interact with live traffic on others. | Plan the run as part of a shut-down, upgrade, restart sequence where your setup allows it. Ask your team to confirm which node runs the job and how the others behave meanwhile. |
| Staging test scope | A staging copy that holds only a small sample of studies, or lacks the same plugins and configuration, will miss the slow or failing cases that appear in production. | Use a recent copy of production data with the same Orthanc and plugin versions, configuration and scripts. Record the timing and any errors so the production run can be planned against them. |
Questions teams ask before reprocessing stored studies
What drives the cost and effort of a Housekeeper reprocessing run?
The main driver is how many stored studies and instances the change touches, because the Housekeeper reprocesses existing data rather than only new uploads. Effort also grows with the trigger: a MainDicomTags change or a compression change means every affected file is read and rewritten, while a narrow change touches less. Storage type matters too, since files in local disk, object storage or a database back end behave differently under load. Ask any partner to quote from a written scope that names the trigger, the approximate archive size, the storage back end and the maintenance window.
Can our own team run the Housekeeper without outside help?
Yes, if your staff can read the Orthanc documentation for the version you run, test on a copy and monitor the server during the run. Orthanc is GPLv3 or later for the core, so the software itself carries no license fee to run it in-house. The hard parts are usually knowing which trigger applies, sizing the throttling, and handling a failed run cleanly. Confirm the exact procedure for your release with the Orthanc Book and, for hands-on help, the vendor's paid services through Orthanc Team SRL.
What does our staff need to provide before a reprocessing run?
Plan for database access with rights to read and write the index, a maintenance window agreed with clinical and radiology operations, and a staging copy of the archive to test the change on first. Someone with clinical authority should sign off that the reprocessed metadata and any compression changes are acceptable for the studies involved. Infrastructure staff should confirm backups are restorable before the run starts. Confirm each item with your own change board, since requirements vary by hospital and by how the archive is hosted.
How do we tell whether a Housekeeper run is still progressing?
Watch the Orthanc logs for steady progress messages, and check that the count of processed studies or instances keeps rising between samples. Also watch CPU, disk I/O and database load on the host, since a run that is throttled properly will show sustained but bounded activity. A run that appears frozen for a long period should be investigated before you restart anything. Confirm the progress indicators available in your Orthanc release with the Orthanc Book, because the reporting detail can differ between versions.
Can we stop a reprocessing run and resume it after a restart?
The answer depends on the Orthanc release and how the job was triggered, so confirm the resume behavior for your version before you rely on it. Plan a stop as a controlled event: announce it, let the current unit finish where the tooling allows, and record where the run stopped. After a server restart, check which studies were already reprocessed before starting again, so you do not repeat work or leave a mixed state. Test the stop and restart on staging first, using the same configuration you intend to run in production.
What would a partner quote from a written scope for this work?
A written scope from a partner should name the Orthanc version, the trigger (such as a MainDicomTags or compression change, or a plugin upgrade), the storage and database back end, the number of studies or instances in scope, and the staging and rollback steps. It should list who runs the job, who signs off on results, and what evidence is delivered afterward, such as logs and a verification sample. Expect the quote to recur only for ongoing support, and to be one-time for the reprocessing itself. DeployOpen does not publish prices, so ask for a quote tied to that written scope.
Do we need a backup before running the Housekeeper?
Yes. A reprocessing run rewrites data the archive depends on, so a verified backup taken before the run is the basic safety net. Confirm that the backup covers both the index database and the DICOM files, and that a restore has been tested on a separate system. Keep the backup until clinical and operations teams confirm the results. The exact backup method depends on your storage back end and deployment, so check it with your database and storage administrators.
How DeployOpen scopes and runs Orthanc reprocessing work
DeployOpen plans and runs Housekeeper reprocessing as a defined piece of work inside the client's own Orthanc environment, whether that environment is Docker, Linux packages or a multi-instance cluster. The work is agreed in writing before it starts, tested on a copy of the data, and handed over with the runbook and monitoring the client's team needs.
How we scope
- Inventory the configuration change or plugin upgrade that triggers reprocessing, and which studies and instances it touches.
- Confirm the Orthanc version, database back end and whether several instances share one database before any job is planned.
- Agree in writing the throttling limits, the maintenance window, the progress reporting and the criteria for stopping and resuming.
How we build
- Rehearse the Housekeeper run on a restored copy of the production database and record how long each stage takes in your environment.
- Set the throttling and sequencing for the live run, and check that the reprocessing does not compete with clinical DICOM traffic.
- Verify a sample of reprocessed studies against the intended tags, compression and storage results before the run is declared complete.
How we hand over
- Deliver a written runbook covering start, pause, progress checks, resume after a restart and rollback steps for each trigger.
- Document the configuration used, the plugin and Orthanc versions tested and the verification results, so your team can repeat the run.
- Walk your operations staff through progress monitoring and the logs to review, and confirm who owns each step after handover.
How we support
- Engagements are fixed-scope, so any extra reprocessing that falls outside the agreed scope is quoted separately before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer if your Orthanc platform changes often.
- Ask any provider, including DeployOpen, to confirm how they will handle a failed or interrupted run before the work begins.

