Upgrading OpenMetadata on bare metal

A practical guide to upgrading self-hosted OpenMetadata installed on virtual machines, covering the documented steps, database migrations, rollback points and the ingestion environment.

On this page

Why upgrading OpenMetadata on bare metal needs a planned path

If your team runs OpenMetadata on virtual machines and needs to move to a newer release, including 2.0, the upgrade follows OpenMetadata's documented bare metal steps and runs a database migration managed with Flyway that changes the shape of the data. That migration is the part you cannot undo by simply redeploying the old binaries, so the plan has to treat the database as the thing you protect first. Every upgrade runs this migration, which means a patch release can change stored data as much as a major one does. Reading the documented steps before scheduling the change is the starting point, and the OpenMetadata bare metal upgrade steps are the natural next read.

Plan the move in two parts that have to finish together. The server (the OpenMetadata application, its MySQL or PostgreSQL database and its Elasticsearch or OpenSearch search service) must reach the target version's prerequisites, including Java 21 and the documented database and search versions. The ingestion environment, the openmetadata-ingestion package and any custom ingestion images, must match the new server version. Ingestion that runs an older client against a newer server can fail in ways that look like server faults, so schedule pipeline redeployment as part of the same change window, not as a later cleanup. Before you pick a target, confirm the exact version path against the current release notes and the OpenMetadata releases page, because the supported sequence is set by the project, not by your team.

The reasons to upgrade usually come down to security fixes, supported runtimes and features your governance workflows need. For 2.0, the release changed several defaults and requirements that matter before you start: the profiler default, the MCP default, the move of ingestion images to Python 3.12 with Apache Airflow 3.3.0, and breaking changes such as the new llmConfiguration block for embedding credentials and the new Databricks auth format. Inventory these against your deployment before the window opens. Ask your team to confirm which of these apply to your connectors and whether any custom ingestion code depends on behavior that changed. The 2.0 breaking changes are covered in detail in the sibling sections of this page.

What changes between releases and what each change asks of you

This table compares each 2.0 change with the impact it has on a bare metal OpenMetadata server and the action you need to take before or after the upgrade. Read the prerequisite rows first, because a missing runtime or database version blocks the upgrade before any change applies. Rows marked as checks should be confirmed in your own environment against the official release notes and bare metal documentation.

Change or prerequisiteImpact on a bare metal serverAction needed
Java 21 runtimeThe OpenMetadata server requires Java 21 on the host running the application.Check the installed Java version on every server node before starting the upgrade.
MySQL 8.0.42 or later, or PostgreSQL 15 or laterThe database must meet the minimum version in the bare metal prerequisites before migrations run.Confirm the database version and upgrade it first if it is older, then take a backup.
Elasticsearch 9.x or OpenSearch 3.xThe search service must match a supported major line for the server to index and serve search.Confirm the search version and plan the search cluster move before the server upgrade.
Dynamic Sampling as profiler defaultNew profiler runs sample data dynamically by default, which changes how profiling results are produced.Review profiler settings on existing tables and decide whether to keep the new default.
Context Center replaces Knowledge CenterContent stored under the Knowledge Center is presented in the Context Center in 2.0.Review existing knowledge content after upgrade and tell users where it now appears.
Custom intake forms and OWL importNew features add intake form and ontology import options that did not exist in 1.x.Decide whether your teams will use them and set access rules before opening them to users.
MCP enabled by defaultThe Model Context Protocol endpoint is on in 2.0 without a separate switch.Confirm whether you want MCP exposed, and set access controls before the upgrade reaches production.
Python 3.12 and Apache Airflow 3.3.0 in ingestion imagesIngestion images move to Python 3.12 and Airflow 3.3.0, so older runtimes and dependencies may not run.Rebuild custom ingestion images and match the openmetadata-ingestion package to the server version.
Embedding credentials moved to llmConfigurationEmbedding credentials are read from a new llmConfiguration block, so existing settings will not apply as before.Move the embedding credentials into the llmConfiguration block before starting the server.
New Databricks auth formatDatabricks connection definitions must use the new authentication format in 2.0.Update each Databricks service connection and test it with a dry run.
Great Expectations 1.3 migrationGreat Expectations must be migrated to 1.3 before the upgrade for data quality tests to keep working.Complete the Great Expectations migration in the environment that runs the tests before upgrading OpenMetadata.

Which 2.0 breaking changes must be cleared before the server moves

Three of the 2.0 breaking changes must be handled before the server package is replaced: the Great Expectations migration to 1.3, the move of embedding credentials into an llmConfiguration block, and the new Databricks auth format. Each one changes something the running 1.x server or its pipelines depend on. If you upgrade the server first, the server may start against configuration it no longer reads, and pipelines that still use the old Databricks settings may fail at their next run. Before the change window, inventory every place these items appear: server configuration files, ingestion workflow definitions, and any secrets stores that hold the Databricks credentials or embedding keys. Confirm each change against the 2.0 release notes, which list the exact configuration keys and any required values, rather than working from memory of earlier releases.

The Great Expectations change is a prerequisite for data quality, not only a configuration edit. Your team needs to move any Great Expectations integration to version 1.3 in its own environment and confirm that existing test definitions still run against it. Then rebuild the custom ingestion images for Python 3.12, because the 2.0 ingestion images use Python 3.12 together with Apache Airflow 3.3.0. A custom image built on an earlier Python version will not carry the same runtime, and any custom connector or dependency pinned to older packages may fail to import. Test each custom connector in a staging environment that matches the target Python and ingestion package versions before you schedule the production change.

Plan these items as a sequenced checklist with an owner for each one, and record the result of each check so the server change can be reviewed later. Ask your DeployOpen or internal team to confirm which custom connectors, Great Expectations tests and Databricks workflows exist in your estate, since no two catalogs use the same set. Once each item is cleared in staging, the server upgrade steps can proceed. Keep the old ingestion images and configuration files available until the upgrade is verified, so you can roll back the ingestion side independently if a dependency problem appears after the change.

What to prepare before touching the virtual machines

Most failed in-place upgrades trace back to work done, or skipped, before the first package is installed. The six items below give the team a known restore point, a complete picture of what must change with the server, and a tested place to rehearse the steps.

Verified database backup and restore

Take a full backup of the OpenMetadata database and restore it into a scratch instance before the upgrade. A backup that has never been restored is not a backup. Every upgrade runs a Flyway-managed migration that changes the shape of stored data, so the restore test should confirm the dump is complete, the schema loads and the application starts against it. Record who ran the restore and what they checked.

Upgrade and backup internals

Inventory of custom connectors and ingestion configuration

List every custom connector, ingestion workflow, YAML configuration and scheduled pipeline that talks to OpenMetadata. Note the openmetadata-ingestion package version each one pins and where the configuration files live on the host. Ingestion runs on its own Python environment, so these components can break even when the server upgrade succeeds. This inventory becomes the checklist for the ingestion work that follows the server upgrade.

Ingestion packages matched to the target version

Identify which ingestion package version matches the target server release and which Python version the ingestion environment uses. Check whether any connector plugin, driver or dependency in your environment has a known conflict with the target versions. Decide whether the ingestion host is upgraded in the same window as the server or separately. Confirm the exact version pairing in the release notes for your target release before you pin anything.

Test environment built from a copy of production

Build a non-production environment from a recent copy of the production database, search index configuration and configuration files, on hosts sized like production. Run the full upgrade steps there first and time each one. Use it to find surprises in custom code, authentication settings and ingestion jobs. Keep the environment until the production upgrade is accepted, so the rehearsal can be repeated if the first attempt needs to be rolled back.

Confirmed prerequisite versions on each host

Check every host against the bare metal prerequisites: Java 21, a supported database version (MySQL 8.0.42 or later, or PostgreSQL 15 or later) and Elasticsearch 9.x or OpenSearch 3.x. Confirm the operating system packages and the minimum sizing for the server, database and search hosts. A version that is too old for the target release stops the upgrade partway through, so resolve gaps before the maintenance window opens. Ask the vendor or your platform team to confirm any version not covered here.

Bare metal requirements

Named rollback owner and written rollback steps

Name one person who can decide to roll back, and one who executes it, with both reachable for the whole window. Write the rollback steps in advance: which backup to restore, how to stop and restart services, how to point ingestion back at the previous server version and who confirms the result. Agree the decision point, such as a failed migration or a search index that will not rebuild, so no one debates it during the incident.

The bare metal upgrade sequence, with checks and rollback points

This sequence moves an OpenMetadata server on virtual machines to a new release in a controlled order, so every change has a verification check and a known way back. The rollback point that matters most is the database backup taken before the migration, because the migration changes the shape of stored data. Follow the documented bare metal upgrade steps for exact commands at each stage.

  1. Confirm prerequisites and breaking changes

    Check the host against the documented bare metal prerequisites: Java 21, MySQL 8.0.42 or later or PostgreSQL 15 or later, and Elasticsearch 9.x or OpenSearch 3.x. If the target is 2.0, also review the breaking changes and complete required work first, including migrating Great Expectations to 1.3 and planning the custom ingestion image rebuild. The platform administrator owns this step with input from the data team. It is done when every component reports a supported version and the change list is signed off. No rollback is needed because nothing has changed yet.

  2. Back up the database and configuration

    Take a full backup of the OpenMetadata database and copy the current configuration files and the running release directory to a location outside the server. This is the most important rollback point because the upgrade migration changes stored data in ways the previous release cannot read. Test that the backup file can be read or restored before continuing. It is done when the backup exists in a separate location, its size and checksum are recorded, and the restore test is logged. Rollback point: this backup is the reliable return path once the migration starts.

  3. Stop services and pause ingestion schedules

    Pause scheduled ingestion pipelines in your orchestrator so no metadata writes start during the upgrade. Then stop the OpenMetadata server and any search or ingestion services the host runs, using the service manager your team already uses. Confirm that no OpenMetadata process is still listening on its ports. It is done when the stop commands return cleanly and the port check shows nothing listening. Rollback point: restarting the previous release files is still safe here because the database has not been changed.

  4. Deploy the new release files

    Download the target release from the official releases page, confirm the version matches the one you planned, and unpack it into a new directory so the current installation stays intact. Carry forward your configuration and compare each setting against the template shipped with the new release, including any authentication and search settings. Changed or removed keys are the most common source of startup problems, so note each difference. It is done when the new directory contains the expected version and the configuration review is recorded. Rollback point: pointing the service back at the old directory restores the previous files.

  5. Run the database migration

    Run the documented migration step against the OpenMetadata database. Every upgrade runs a Flyway-managed migration that changes the shape of the data, so watch the output for errors and save the full log. Do not start the server until the migration reports success. It is done when the migration completes without errors and the schema version it records matches the target release. Rollback point: if the migration fails, restore the step 2 backup into a clean database and treat the migrated database as one-way. Running the old binaries against a changed schema is not a supported recovery path.

  6. Restart the server and check health

    Start the upgraded server from the new release directory and read its startup logs for errors. Then check the health endpoint described for your version, confirm that the version shown in the interface matches the target, and sign in with an administrator account. If SSO is configured, sign in through it as well, because authentication errors often appear only at this point. It is done when the server reports healthy, the version matches, and both admin and SSO sign-in work. Rollback point: if the server cannot start after a successful migration, restore the backup and point the service back at the previous release files.

  7. Reindex search and spot-check results

    Rebuild the search index from the database so catalog search, lineage views and the data tree reflect the upgraded data model. Start the reindex from the admin interface or the documented command and watch progress until it finishes. Then search for a sample of tables, dashboards, pipelines and glossary terms and confirm that each returns the expected record. It is done when reindexing completes with no failed entities and the sample searches return correct results. Rollback point: reindexing can usually be repeated, so a failure here does not normally require restoring the database.

  8. Update ingestion and redeploy pipelines

    Install an openmetadata-ingestion package that matches the upgraded server version in the ingestion environment. If you run custom ingestion images, rebuild them against the required Python version for your target release, and confirm the orchestrator version the release expects. Redeploy pipelines, run one test ingestion per connector, and only then re-enable schedules. It is done when each test run completes, the ingestion version matches the server, and the schedules are back on. Rollback point: keep the previous ingestion environment until the first scheduled runs succeed.

Why the Flyway migration makes rollback a restore, not a downgrade

Rolling back an OpenMetadata upgrade means restoring the pre-upgrade backup into a clean database, not reinstalling the previous server binaries. Every upgrade runs a database migration managed with Flyway, and that migration changes the shape of the data in the metadata database. Once it has run, an older OpenMetadata server may not read the database correctly, so putting the old package back on the VM does not reliably return you to a working system. Before you start the upgrade, confirm with the documentation that the backup you take covers the metadata database and that you know how to restore it onto the same MySQL 8.0.42 or later, or PostgreSQL 15 or later, instance your environment runs.

Treat the backup as the rollback plan and test it before you need it. Record the current OpenMetadata version, the Java 21 runtime, the search service version (Elasticsearch 9.x or OpenSearch 3.x), and the configuration file, so you can confirm what the restored environment should look like. Restore into a clean database rather than over the partially migrated one, then confirm the server starts and the migration state matches what you expect. The OpenMetadata upgrade and backup internals page explains how the migration and backup relate, and it is the reference to check against your own runbook.

Do not retry a failed migration until you understand why it failed. Check the migration output and server logs, confirm the database and search versions meet the prerequisites for your target release, and confirm the ingestion environment is not still pointing at the new server. When the failure involves search, migration or ingestion rather than a simple startup error, the troubleshooting sibling topic on failed OpenMetadata upgrades covers recovery steps, when to restore into a clean database, and the checks to run before a retry.

Keeping the ingestion environment in step with the server

Connectors that run from the ingestion environment shipped with the server need the least rework, but they still have to match the server version. The ingestion package that drives these connectors should be upgraded in the same change window as the server, so the connector code and the APIs it calls agree.

  • Version match: Install the openmetadata-ingestion package at the same release as the upgraded server, and confirm the pinned version inside the virtual environment, since an older release may remain installed.
  • Python runtime: Ingestion images moved to Python 3.12 with Apache Airflow 3.3.0 in 2.0. If your bare metal ingestion runs in a self-managed virtual environment, confirm its interpreter version and recreate the environment on Python 3.12 during the upgrade.
  • Dependency review: Standard connectors need no image rebuild, but review any pinned connector dependencies against the new release before the first run.
  • Redeploy: After the database migration completes and the search index is rebuilt, run a test ingestion for one source of each connector type, then re-enable the scheduled workflows.

Check that each test run completes and that the ingestion logs show the expected package version before re-enabling schedules.

How the server, database, search and ingestion parts move in an upgrade

The upgrade starts with a backup of the database and the current configuration, then stops the OpenMetadata server so nothing writes during the change. The Flyway migration runs against the database and changes the shape of the stored data, which is the step that cannot be undone by redeploying an older binary. The search index is then rebuilt, the server restarts on the new version, and the ingestion environment is updated and pipelines are redeployed. Check each hand-off before moving on, and keep the rollback path to a restored backup open until the new version is verified.

Upgrade sequence on bare metal, with the rollback path back to a restored backup.

What makes a bare metal upgrade longer

This table compares the factors that change how much work a bare metal OpenMetadata upgrade involves, and how each one moves the effort. Read each row as a question to answer in your own environment before asking a partner for a quote. The main takeaway is that custom connectors, custom ingestion images and the state of Great Expectations and Databricks settings usually matter more than the server package itself.

Effort driverHow it changes the workWhat to ask for or confirm
Custom connectorsEach custom connector must be checked against the new server and ingestion package versions, and any that rely on changed interfaces need code changes.An inventory of custom connectors with owners, and a compatibility check for each against the target release.
Custom ingestion imagesImages built on older Python bases must be rebuilt, and in 2.0 the ingestion images move to Python 3.12, so every custom image is a rebuild and retest.Count of custom images, base images used, and whether the build pipeline can rebuild them without manual steps.
Great Expectations configurationGreat Expectations must be migrated to 1.3 before the upgrade, so projects still on older versions add a prerequisite step.Current Great Expectations version in each environment and whether the migration is scoped in the plan.
Databricks authenticationThe 2.0 release uses a new Databricks auth format, so every Databricks service configuration must be found and updated.Number of Databricks services configured and who holds the credentials that need to change.
Embedding and LLM settingsEmbedding credentials move into an llmConfiguration block in 2.0, and MCP is enabled by default, so AI features need configuration review and access checks.Which AI features are enabled, where their credentials are stored, and what access the MCP endpoint should have.
SSO and authenticationChanges to the identity provider, redirect URIs or token settings must be tested with real users, and SSO cannot be combined with basic authentication.Identity provider type, the test plan for login, and whether a rollback login path is documented.
Metadata database sizeEvery upgrade runs a Flyway migration that changes the shape of stored data, so larger databases take longer to migrate and need a larger verified backup.Database size, backup method, restore test status and a planned maintenance window.
Search reindex volumeReindexing rebuilds search from the metadata store, and the time it takes grows with the number of entities and fields indexed.Entity counts by type, search version path, and whether reindexing is included in the quote.
Hosts and environmentsEach server, database, search node and environment (test, staging, production) is upgraded and verified separately, so effort scales with the count.Host inventory, environment parity, and whether each environment gets its own verification run.

Questions teams ask before upgrading OpenMetadata on bare metal

What drives the cost and effort of an OpenMetadata bare metal upgrade?

The main drivers are how far the installed version is from the target, how much custom work sits on top of the server, and how many services the upgrade touches. Every upgrade runs a database migration that changes the shape of the stored data, so the size and condition of the metadata database matter. Effort rises when the platform needs new prerequisites such as Java 21 or a newer database or search version, when custom ingestion images must be rebuilt, and when pipelines, connectors and API clients need testing. Ask any partner for a quote that lists the version gap, the number of hosts, the custom components in scope, the backup and restore test, and the post-upgrade checks as separate line items.

How long does an OpenMetadata bare metal upgrade take?

The duration depends on the drivers rather than on a fixed figure. The steps include taking a backup, stopping services, upgrading the server, running the database migration, updating ingestion, reindexing search and verifying the result. The database size, the number of metadata assets, the search cluster state and the number of pipelines to redeploy all change the timing. Teams with a staging copy of production usually plan the rehearsal first, because the migration duration on a copy is the most useful input for the production window. Confirm the window with your own environment and the written scope of the work.

What does the internal team need to provide for the upgrade?

The internal team provides access and decisions. That means a named owner for the metadata platform, access to the virtual machines, database and search hosts, the ability to schedule a maintenance window, and someone who can approve the production change. Engineers who own the ingestion environment and any custom connectors must confirm which pipelines run, where their images are built and which credentials they use. Database and search administrators need to confirm backup tooling and storage. Security owners should confirm that the authentication settings, including SSO, remain configured the way the organization expects after the change.

Can our own team upgrade OpenMetadata on bare metal without outside help?

A team with Linux, database and Java administration experience can usually perform the documented steps, provided it follows the upgrade documentation for the exact versions involved. The harder parts are the ones that are easy to miss: checking the prerequisite matrix, reviewing breaking changes for the target release, rebuilding ingestion images, and confirming that a backup can actually be restored. Outside help is most useful when the version gap is large, when custom connectors or SSO integrations are part of the platform, or when the team has no spare environment for rehearsal. Decide with a written checklist of what your engineers have done before on comparable systems.

How should a backup restore be tested before the upgrade?

A backup is only useful once a restore has been performed into a clean environment and the platform has been checked afterwards. Restore the metadata database backup into a separate database host, start a test server against it, and confirm that assets, lineage, glossaries, owners and users are present. Keep a record of the restore time, the commands used and any errors. The OpenMetadata upgrade documentation explains how the database migration is managed, which helps the team decide what a rollback will look like if the migration fails. Ask for this restore test as a deliverable in any scope.

What changes for pipelines and ingestion after the upgrade?

Ingestion packages, connectors and any custom ingestion images have to match the new server version, so pipelines need to be checked and often redeployed after the server changes. Teams should confirm which pipeline definitions reference the server, which Python environment runs them, and which connector versions are installed. For targets on the 2.0 line, the release notes list breaking changes that affect ingestion, including the move of ingestion images to Python 3.12 and changes to embedding and Databricks configuration, so those items need an owner before the window. Run a test ingestion against a non-production source and check lineage, profiling and data quality results before re-enabling schedules.

What a DeployOpen upgrade engagement covers

A DeployOpen bare metal upgrade engagement starts with a written scope that names the source and target OpenMetadata versions, the virtual machines that run the server, the MySQL or PostgreSQL database, the Elasticsearch or OpenSearch service, and the ingestion environment. Before anything changes, we inventory the prerequisites against the documented bare metal requirements: Java 21, a supported database version, and a supported search version. The inventory also lists every customization: custom ingestion images, connector configuration, SSO settings, and any scripts or pipelines that call the REST APIs. Each item is marked as kept, changed or retired. Confirm with us which of your environments are in scope, who approves the change window, and who owns each system on the inventory, because those answers decide how much of the work is discovery and how much is execution.

The upgrade is rehearsed in a test environment built to match production as closely as your access allows. The rehearsal runs the documented steps in order, records how long the database migration takes on a copy of production data, and captures every error or warning. The production upgrade then follows the same runbook, with checks before, during and after each step: service health, migration status, search index state, ingestion run results, and a login through your identity provider. Rollback planning is part of the written scope. It defines the verified backup to restore, the conditions that trigger a rollback, and who makes that call, because a database migration changes the shape of the data and cannot be undone by reinstalling the application alone. The engagement closes with handover documentation: the as-built inventory, the runbook as executed, check results, known deviations, and the steps your team will repeat at the next upgrade. Ongoing upgrades, testing and support are available as retainers, which you can ask us to quote separately from the one-time upgrade.

How DeployOpen scopes, delivers and supports OpenMetadata upgrades

DeployOpen plans, implements, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including OpenMetadata on virtual machines. For bare metal upgrades, we work from the documented upgrade steps and tie every change to your environment, your database and search versions, and your ingestion setup.

How we scope

  • We confirm your current OpenMetadata version, target version and whether the move is 1.x to 2.0 or a minor upgrade.
  • We inventory Java, MySQL or PostgreSQL, Elasticsearch or OpenSearch versions, and the custom ingestion images that must be rebuilt.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • We take and verify a database backup and rehearse the Flyway-managed migration in a non-production copy first.
  • We run the documented bare metal upgrade steps on a staging host, then check search reindexing and ingestion runs.
  • We record each command, configuration change and rollback point so the production run follows a reviewed sequence.

How we hand over

  • You receive a runbook covering pre-checks, the upgrade sequence, post-upgrade validation and rollback decisions.
  • You receive a version matrix for the server, ingestion package and Python environment that your team can keep.
  • Your team walks through the run with us so the next upgrade can be planned without outside help.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for teams that want recurring help.
  • Support can cover the next maintenance releases in the 2.0.x line, with each change scoped in writing.
  • Confirm with us what a retainer includes, response expectations and how upgrade work is priced before you commit.

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.