Upgrading OpenMetadata on Docker

A practical guide to upgrading self-hosted OpenMetadata on Docker: what changes, the backup and migration sequence, rollback points and the errors teams hit most.

On this page

How to upgrade OpenMetadata on Docker without losing metadata

A team running OpenMetadata in Docker that needs to move to a newer release, including 2.0, can avoid losing metadata by treating the upgrade as four steps: back up the database, change the image versions, run the migrations, then verify the result. Each step leaves a point you can return to. Before the first step, take a database backup and keep the previous image tags and configuration files, so that a failed attempt can be reversed onto the old release. Many teams also upgrade on a copy of the stack first, which lets them find breaking changes without touching the catalog that people already use.

The reason to plan this carefully is that OpenMetadata publishes a Docker upgrade procedure and a separate Docker upgrade troubleshooting guide, and the steps depend on the version you are moving to. Major releases change more than image tags. OpenMetadata 2.0 includes breaking changes such as a new location for embedding credentials, a new Databricks authentication format, and a requirement to rebuild custom ingestion images for Python 3.12. Before you start, read the release notes for your target version and confirm the supported upgrade path, the required database and search versions, and whether any pre-upgrade steps, such as migrating Great Expectations to 1.3 before the move to 2.0, apply to your environment. Ask whether the target release has a documented path from your current version, because skipping releases is not always supported.

Your verification step should answer one question: does the catalog still hold what it held before? Check that you can sign in through your configured authentication, that existing services, tables, glossary terms, owners and lineage appear, and that ingestion pipelines run against the new server. Confirm the search index is healthy, since search results depend on it, and write down the outcome of each check. Keep the old images and the backup until these checks pass and the team has used the platform for a set period that your own change process defines. If a step fails, follow the Docker troubleshooting guide first and restore the backup into a clean database only when the fix is not clear, because a restore discards any metadata changed after the backup was taken.

What changes in OpenMetadata 2.0 and what each change means for your upgrade

This table lists the OpenMetadata 2.0 changes that affect a Docker upgrade, separated into feature changes and breaking changes. Read the breaking-change rows first, since each one needs work before or during the image swap. The main takeaway is that the ingestion images and the Great Expectations and embedding settings need attention even if the server upgrade itself is simple.

ChangeImpact on a Docker upgradeAction needed
Dynamic Sampling as profiler defaultProfiling behavior changes for tables that previously used the default sampling, so profile results and runtime may differ after upgradeReview profiler settings in a test run and confirm expected sampling behavior with your data owners
Knowledge Center replaced by Context CenterExisting Knowledge Center references and bookmarks may not map directly to the new interfaceInventory where teams use the old feature and brief users on the new location
Custom intake forms and OWL importNew capabilities that do not change existing metadata by defaultDecide whether to adopt them after the upgrade and plan any governance setup separately
MCP enabled by defaultThe MCP endpoint is active without a separate switch, which changes your exposed surfaceConfirm the MCP settings and access controls in your Docker environment before users connect
Python 3.12 and Airflow 3.3.0 in ingestion imagesIngestion containers move to new Python and Airflow versions, so older custom images will not matchPlan to rebuild custom ingestion images on the 2.0 base before redeploying pipelines
Embedding credentials moved to llmConfigurationExisting embedding credential settings must be relocated, or the feature stops working after upgradeUpdate the configuration in your Docker environment files and confirm the required keys with the release notes
New Databricks auth formatExisting Databricks connector configurations may fail authentication under the new formatUpdate each Databricks service definition and test the connection before scheduling runs
Great Expectations migration to 1.3 before upgradingTests built on older Great Expectations versions can break if the migration is skippedComplete the Great Expectations 1.3 migration on the current version first, then upgrade

What to back up and inventory before touching the containers

A Docker upgrade is only reversible if you can restore the database and rebuild the exact stack you ran before. The cards below cover what to capture, copy and test before pulling new images, so that a failed migration becomes a rollback rather than an incident.

Database backup taken first

The metadata database is the record you cannot rebuild, since it holds entities, owners, glossary terms, lineage edits and test definitions. Take a full dump from the database container while OpenMetadata is stopped or idle, then confirm the file opens and contains the expected tables. Store it outside the Docker host so that a host failure does not remove both the stack and the only copy. Exact backup commands and retention depend on your database engine and deployment, so follow the Docker upgrade procedure for the steps to use.

Docker upgrade procedure

Compose and environment files

Copy the Compose file, the environment file and any override files into a dated folder under version control. These files hold the image tags, port mappings, volume names and database and search settings that define how your current stack starts. Without this copy, a rollback depends on memory of what was changed. Record the exact image tags currently running with a command such as docker compose images, so you know which version to return to.

Custom ingestion images

List every custom ingestion image, its base tag and the Python version it was built on. OpenMetadata 2.0 moves ingestion images to Python 3.12, so any image you built on an earlier base must be rebuilt and retested before pipelines can run against the new server. Keep the Dockerfiles and any added connector packages in version control, because a rebuild is only as good as the source it starts from.

Connectors and pipeline schedules

Export a list of configured database, BI and pipeline services, their ingestion schedules and the workflows that depend on them. Note which services use connectors that changed in the release notes, and which pipelines feed profiling or data quality results that downstream owners watch. This inventory tells you what to pause during the upgrade, what to re-run afterwards and what to verify once the new version is serving data.

Secrets, credentials and SSO settings

Record where each secret lives: database passwords, search credentials, connector service accounts, and any embedding or LLM credentials. Several 2.0 breaking changes concern how credentials are declared, so know which ones your configuration sets and how they are injected. Also copy the SSO provider settings, redirect URIs and the authentication mode, because a changed environment variable can lock administrators out after the restart.

Non-production test environment

Restore the backup into a separate stack built from the same Compose files, then run the upgrade there first. This is the only place to learn whether migrations, search reindexing and rebuilt ingestion images behave as your data expects. Ask your team or partner to confirm how long the test run takes on a copy of your real data volume, since a small sample database will not reveal slow migrations or large index rebuilds.

The Docker upgrade sequence, with checks and rollback points

The sequence runs in a fixed order so that each stage has a verified state to return to. Done in order, it moves a Docker-based OpenMetadata deployment to the target version with a backup and a rollback point taken before any schema change.

  1. Quiesce ingestion and pause pipelines

    Stop scheduled ingestion runs and pause every pipeline that writes metadata, profiling or quality results, so no job writes to the database while you back it up. Confirm the scheduler shows no running jobs and note which pipelines were active so you can re-enable them later. The step is done when no ingestion container is processing work and the pipeline list in the UI shows all runs paused or finished.

  2. Back up the metadata database

    Take a full backup of the OpenMetadata database, which holds the metadata, configuration and history that a failed migration could damage. Store the dump outside the host running the containers, and record its checksum and the current image tags in your change record. The step is done when you have restored the dump at least once into a scratch database or confirmed your backup tool's restore procedure with your DBA, because an unverified backup is not a rollback point.

  3. Mark the rollback point before migrating

    Record the rollback point at this stage: the current image tags, the compose or environment files, the database backup and the search index state. Before any migration runs, this is the last state you can return to without restoring a backup into a clean database. The step is done when the change record lists every artifact needed to bring the current version back up.

  4. Pull target images and update configuration

    Pull the target OpenMetadata image tags from the version you are moving to, and update the Compose or environment files for any breaking changes in the release notes, such as new credential blocks or authentication formats. Keep the old files intact so you can diff the change. The step is done when the images are present locally, the configuration diff contains only documented changes, and the release notes for each intermediate version have been reviewed.

  5. Run the migration step

    Run the OpenMetadata migration command from the new image against the backed-up database, watching its output for errors rather than assuming success from the exit code alone. Migrations change the schema, so from this point rolling back means restoring the backup into a clean database, as the Docker upgrade troubleshooting guide describes. The step is done when the migration reports completion without errors and you have saved its log.

  6. Start services and check health and logs

    Start the server, search and dependent containers on the new tags, then check container health status and the server and search logs for startup errors, failed authentication or missing configuration. Confirm the version reported by the API matches the target. The step is done when all services report healthy, the logs show no repeating errors, and the version check returns the expected release.

  7. Reindex, verify and re-enable pipelines

    Run a search reindex so the catalog reflects the new version, then verify lineage on a known set of tables, confirm that a test ingestion run and a sample pipeline complete, and check that users can sign in through their configured method. Re-enable pipelines only after these checks pass. The step is done when a sample of lineage graphs, one ingestion run and a login test all match the pre-upgrade behavior, and the results are recorded in the change record.

The common Docker upgrade errors and how to read them

Migration failures show up when the server container starts against the database and the schema change does not complete. They are the errors that matter most, because a half-applied migration can leave the catalog in a state that is harder to recover than the original version. Read the server container logs from the first failed startup, not the most recent restart, since later restarts often hide the original statement that failed.

  • Confirm the database version first: Check that the database meets the prerequisites for the target release before changing anything else.
  • Find the first failing statement: Look for the earliest migration step in the logs and note which table or column it touched.
  • Check for partial application: Compare the schema against the state the release expects before deciding whether to retry.
  • Avoid repeated restarts: Repeated retries against a partially migrated database can make recovery harder.
  • Restore before retrying when unsure: If the schema state is unclear, restore the pre-upgrade backup into a clean database.

Before retrying, confirm you have a verified backup and that the database version matches the release requirements. Then follow the documented fix in the Docker upgrade troubleshooting guide.

How the Docker services depend on each other during an upgrade

The order of work during a Docker upgrade is set by how the OpenMetadata server depends on its database and search service. The server reads and writes metadata in the database and builds its search index in the search service, so both must be reachable and at the versions the target release expects before the new server container starts its migrations. The database must be backed up and healthy before any container is replaced, because the migration step changes its schema in place and that change is the hardest part to undo. Confirm the database and search service names, images and versions in your docker-compose.yml file and against the target release notes, since the supported versions change between releases.

The ingestion containers sit outside that core path. They run scheduled metadata extraction jobs and call the server's API, so they should be stopped first to stop new jobs from writing to a schema that is changing. Once the server is back and its migrations have completed, the ingestion images need to match the server version before pipelines are started again. Check that the server answers its health endpoint and that the search service is reachable from the server container before you restart ingestion, because a job that starts against a half-migrated server is a common source of confusing failures. Verify these dependencies in your own environment rather than assuming the default compose layout matches your deployment.

In practice, the safe sequence is to stop ingestion, stop the server, back up the database, pull the target images, run the migration step, start the server, confirm search and then restart ingestion. Keep a written record of the current image tags and the compose file version so you can return to them if a migration fails. Ask your vendor or implementation partner to confirm which steps the target release requires and whether any search reindexing is needed after the server starts. Plan a maintenance window that covers the full sequence, and do not treat the search service as optional, since a server that starts without a healthy index will show incomplete results to users.

The phases of a Docker upgrade and where to stop

The upgrade starts with an inventory of the running containers, image tags and database version, then moves through a backup and a pause on ingestion before new images are pulled. Migrations run once against the database, the services start, and verification decides whether the upgrade is finished. A failed check routes to restoring the backup into a clean database before any retry, so the backup is the point you can always return to.

Phases of a Docker upgrade, with the failure path back to a restored backup.

What makes a Docker upgrade take longer

This table lists the factors that stretch a Docker-based OpenMetadata upgrade and whether each one adds work before the upgrade starts or during the cutover. Read it as a checklist: the rows with the most work before the upgrade are the ones to close first, because they set the schedule for everything else. Several drivers are unknown until you inventory your own environment, so confirm each one before you agree a window.

DriverWhy it adds effortWhen the effort falls
Custom ingestion imagesImages built on the 2.0 base need rebuilding for Python 3.12 and the Airflow 3.3.0 ingestion stack before pipelines can runBefore the upgrade
Custom connectorsEach custom connector must be tested against the new server and ingestion package, and its code may need changesBefore the upgrade
Metadata volume and database sizeLarger databases take longer to back up, restore and run migrations against, and need enough free disk for a rollback copyBefore and during the upgrade
Number of pipelines and scheduled runsEvery scheduled ingestion, profiler and quality job must be paused, checked and resumed on the new imagesBefore and after the upgrade
Search reindexingThe search index is rebuilt after the upgrade, and time grows with the number of entities and the search cluster capacityAfter the upgrade
SSO and secrets configurationAuth settings, OIDC client values and credential references must match the new release, and 2.0 changes how embedding credentials are storedBefore and during the upgrade
Staging environmentWithout a staging copy, the first real run of migrations and custom images happens in production, which adds rollback and testing workBefore the upgrade

Questions teams ask before upgrading OpenMetadata on Docker

What drives the cost of an in-house Docker upgrade compared with an outside upgrade?

The main cost of an in-house upgrade is the internal time of engineers who know the stack, and the main cost of an outside upgrade is the fixed fee for the written scope. Either way, the work size depends on how many services run in your Compose or container setup, whether you run custom ingestion images, how many connectors and pipelines feed the catalog, and how much of the upgrade must be tested against your own data. Recurring costs stay with your team in both cases, since someone must still watch ingestion and apply later patch releases. Ask any partner to split the quote into a one-time upgrade, a test and rollback plan, and any optional retainer for later maintenance releases.

How long does a Docker upgrade of OpenMetadata take?

Duration depends on the size of your environment and the number of moving parts, not on a fixed number of days. The biggest variables are the database backup size, the time the migrations take on your data volume, how long search reindexing runs, and how many custom ingestion images must be rebuilt and retested. Two releases in the same line can take very different times if one of them changes data models. Ask for the planned steps, the environments covered (test and production at minimum), and the point where the team confirms each stage before moving on. Your own staging run is the best source of a real timing figure.

What must our team provide before an upgrade starts?

Before work starts, your team needs to provide access to the Docker host or hosts, the Compose or container definitions in use, and the database and search service credentials, with rights to create backups. You also need a current, restorable database backup, a staging copy of the environment, and a list of the ingestion pipelines, their owners and their schedules. Named owners for each pipeline and each custom connector matter most, because they confirm which jobs can pause, which must be redeployed, and who signs off on the results. Confirm with the vendor which access they need in writing before the scope is signed.

Can one engineer upgrade OpenMetadata on Docker alone?

A single experienced engineer can often carry out the Docker steps, but the upgrade is rarely only one person's task. The engineer needs to understand container images, database backups, and how the ingestion jobs are scheduled, and someone must own each pipeline and decide when it resumes. Breaking changes in 2.0 can also affect custom ingestion code and credentials, which usually needs a second person who knows the data sources. Plan for a named backup engineer and a business owner for the catalog, so that a single absence does not stop a rollback decision.

When should we restore a backup instead of retrying a failed upgrade?

Restore a backup when a migration has stopped partway and the database state is unclear, because re-running migrations on a half-changed schema can make recovery harder. Retrying is reasonable when the error is clearly outside the database, such as a container that failed to start or an image tag that was mistyped, and the logs show no partial schema change. Check the Docker upgrade troubleshooting guide first, then confirm the database state before any retry. Restoring into a clean database is also safer when search indexes or ingestion state are inconsistent. Record the decision and the reason, so the next attempt starts from a known point.

Does the 2.0 upgrade need a different path from a 1.x point upgrade?

Yes, a move to 2.0 needs more planning than a point release within 1.x. The 2.0 release notes list breaking changes, including embedding credentials moved into an llmConfiguration block, a new Databricks auth format, and rebuilding custom ingestion images for Python 3.12. The release notes also say to migrate Great Expectations to 1.3 before upgrading. Read the OpenMetadata 2.0 release notes before choosing a date, and treat custom connectors and credentials as part of the scope rather than a final check.

What should we confirm about support and licensing before paying for an upgrade?

Confirm what the scope covers and whether support applies after the upgrade. OpenMetadata is released under the Apache License 2.0 and maintained by Collate, which also offers commercial enterprise capabilities and premium support. An upgrade of the open-source Docker deployment does not require those commercial features, but ask whether any feature you rely on is part of the enterprise edition. Ask the partner who will carry out the work, what happens if a later maintenance release causes a problem, and whether a retainer for future releases is part of the quote or a separate agreement.

How to test the upgrade and roll back safely

Test the whole Docker upgrade on a staging copy of production before touching production. Restore a recent backup of the OpenMetadata database into a separate staging environment, point a staging OpenMetadata server and its search service at that copy, and run the upgrade steps exactly as you plan to run them in production, including the migration step and any ingestion image changes. Record how long each step takes and every warning or error the logs show, because the production window should be sized from that record, not from memory. Confirm with the documentation for your exact target version which steps and images apply, since the OpenMetadata Docker upgrade guide is the reference for the sequence you follow.

Once staging is up, run a fixed set of checks and treat each one as a pass or fail. Confirm the server and search containers report healthy and that the UI and API respond. Log in with an SSO account and a local admin account if one exists, and confirm a non-admin user sees only what their role allows. Open a table with known upstream lineage and confirm the edges still render. Run a sample of existing data quality tests and confirm results and incidents appear. Trigger one ingestion run from each pipeline type you rely on, using the ingestion image that matches the new server version. Compare results with the pre-upgrade state, not with what you expect.

Decide rollback criteria before the production window opens. Roll back if the server or migration fails, if authentication or lineage breaks for users, or if ingestion cannot complete for the connectors you depend on and no fix is ready. Rollback depends on whether the migration has run: if it has, restoring the older images alone may not work against the migrated database, so the safe path is usually restoring the pre-upgrade backup into a clean database. Confirm that path, and who approves it, for your target version before the window.

How DeployOpen scopes, runs and supports an OpenMetadata upgrade

DeployOpen treats a Docker upgrade of OpenMetadata as a written, fixed-scope change to your running environment. We start from your current image tags, database and search versions, and custom ingestion images, then agree in writing how each step will be backed up, tested and verified before anything in production changes.

How we scope

  • Inventory your current OpenMetadata image tags, compose or run configuration, and the database and search versions in use.
  • Confirm which 2.0 breaking changes touch your deployment, including embedding credentials, Databricks auth and custom ingestion images.
  • Agree in writing the rollback point, maintenance window, test environments and the sign-off each step requires before work starts.

How we build

  • Take and verify a database backup, then rehearse the upgrade on a copy of your environment before touching production.
  • Move images to the target versions, run the documented migration step, and record the output for each container.
  • Test logins, ingestion runs, lineage views and search after the upgrade, and keep a fallback path ready until sign-off.

How we hand over

  • Deliver a runbook with the exact image tags, commands, configuration changes and checks used in your environment.
  • Document the backup, restore and rollback steps, so your team can repeat the procedure for future maintenance releases.
  • Walk your platform and data teams through the results, open items and the ingestion work still needed after the upgrade.

How we support

  • Engagements are fixed-scope, so scope, deliverables and timelines are agreed before work begins and quoted from that written scope.
  • Ongoing support, upgrades for later maintenance releases and continuous testing are available as a retainer.
  • Ask any partner to confirm which OpenMetadata versions and Docker images it has tested, and how it handles failed upgrades.

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.