Harbor major version upgrade: what the 2.15 line changes for you
If your team runs an older Harbor 2.x release, the upgrade is a sequence of steps: a pre-migration backup, a harbor.yml update made with the goharbor/prepare migrate tool, and a schema and data migration that runs when core starts. The current stable line is 2.15, and the latest stable release listed on the Harbor GitHub releases page is v2.15.5, dated 2026-11-12. Confirm that release on the releases page before you plan, because patch releases arrive often and your change record should name the exact version you target.
This page covers the 2.x line only. Harbor's RELEASES.md says release branches are maintained for the three most recent minors (v2.15.x, v2.14.x and v2.13.x), each for about nine months, and that upgrades are supported only from the two previous minor releases. If your instance runs anything older than 2.13, plan intermediate releases before 2.15 and record each hop as its own change. Before you commit to a date, also check whether a newer major line has been published, because a new major would carry its own upgrade path and end-of-life dates that this page does not cover.
Use the next planning cycle to settle three decisions: which intermediate releases your path needs, who owns the restore test, and how long the maintenance window must be, which you should confirm in your own environment. The upgrade guide says to take the pre-migration backup by stopping the instance, moving the harbor directory and copying the database before migrating. Treat that copy as your rollback point only after a restore test succeeds. Also check whether your deployment uses the bundled internal database, since the 2.15 line changes that component during the upgrade.
Which Harbor versions are supported and when each line ends
This table lists the Harbor releases that matter for an upgrade decision, with each release date and whether its line is still maintained. Harbor maintains the three most recent minors (2.15, 2.14 and 2.13), each for about nine months, so the 2.13 and 2.14 lines are approaching the end of their windows. Confirm exact per-branch end dates in RELEASES.md and on the release pages before you set an upgrade deadline.
| Version | Release date | Status |
|---|---|---|
| v2.15.5 | 2026-11-12 | Latest stable release on the 2.15 line. Confirm its support window in RELEASES.md before you plan a rollout around it. |
| v2.15.4 | 2026-10-09 | Patch on the 2.15 line published before v2.15.5. Pick it only if your change board has already tested it against your configuration. |
| v2.15.0 | 2026-03-20 | Opened the 2.15 line. Plan for the bundled PostgreSQL 15 to 18 move and the Redis to Valkey switch that arrived in v2.15.2. |
| v2.14.5 (patch) | 2026-10-06 | Patch on the 2.14 line, released with v2.13.6. This line is approaching the end of its roughly nine-month maintenance window. |
| v2.14.0 | 2025-09-17 | Minor release that started the 2.14 line. Check RELEASES.md for its exact end date, since the window is only described as about nine months. |
| v2.13.6 (patch) | 2026-10-06 | Patch on the 2.13 line, the oldest of the three maintained lines and the one closest to the end of its window. |
| v2.13.0 | 2025-04-10 | Minor release that started the 2.13 line. Harbor supports upgrades only from the two previous minors, so older installs must step through intermediate releases. |
The documented Harbor major version upgrade path, step by step
The documented path moves a Harbor instance to 2.15 in a fixed order: confirm eligibility, read the release notes, back up, update the configuration, start core so it migrates the data, then verify. The sequence produces an upgraded instance, a reviewed configuration file and a backup you can restore from until you sign off.
Confirm your current minor version
The platform owner checks the running Harbor version against the target. RELEASES.md states that Harbor upgrades only from the two previous minor releases, so for 2.15 the starting point must be 2.14 or 2.13. If you run an older minor, plan the upgrade as a sequence of intermediate minor releases and work through each one in order, reading its notes before you move on. Done when you have a written record of the current version and every version you will install before 2.15.
Read the release notes for each version
Read the notes for every version between your current release and the target, starting with 2.15.2 and 2.15.3. In 2.15.2, the bundled database moves from PostgreSQL 15 to PostgreSQL 18 on container startup, and Valkey replaces Redis as the cache backend. In 2.15.3, webhooks to internal network addresses are blocked by default, and signing unsigned images fails in projects that enforce content trust. List the affected webhooks and projects. Done when the owner has signed off on that list and on any integration changes the notes mention.
Stop the instance and move the directory
The operator stops Harbor using the documented procedure, then moves the harbor directory to a new location so the previous configuration and files stay intact. This is the first half of the backup described in the upgrade guide. Keep the moved directory until the upgrade is signed off. Done when no Harbor containers are running and the old directory sits in its new location with its harbor.yml still readable.
Copy the database as the backup
Copy the database while the instance is stopped, as the upgrade guide describes, before any migration runs. This copy is your rollback point: if the upgrade fails, you restore the database and the directory you saved. Because 2.15.2 upgrades the bundled PostgreSQL on container startup, confirm whether you use the bundled database, and read the restore procedure in the Harbor upgrade guide before you start. Test the copy on a separate host if your process allows it. Done when the copy exists, opens cleanly and its size and checksum are recorded.
Run the prepare migrate tool
Run the goharbor/prepare migrate tool against your existing configuration. According to the upgrade guide, it updates harbor.yml to the new version's format. The schema upgrade happens later, when core starts. Compare the output with your saved file and carry over your own settings, such as hostnames, certificates, storage and external database values, before you continue. Done when harbor.yml validates and the diff against the saved copy contains only changes you have reviewed.
Start core to migrate data
Start the instance with the updated configuration. Core performs the database schema upgrade and the data migration as it starts, so this is the step where stored data changes. Watch the core logs until they show that startup finished without migration errors, and hold users and automation back until they do. If you use the bundled database, the PostgreSQL 15 to 18 change also runs at this point. Done when core reports a successful start and the services it depends on are healthy.
Verify before closing the upgrade
Test the upgraded instance with the checks your team uses before go-live. Sign in through your configured SSO or LDAP path, confirm project role assignments, push and pull a test image, and confirm that vulnerability scanning, replication and webhooks behave as expected, including the webhook and content trust changes from 2.15.3. If index errors appear, the 2.15.2 release notes recommend a reindexdb run. Keep the backup until the owner signs off. Done when the test log is complete and the backup retention decision is recorded.
Which Harbor breaking changes can break your current setup
These six changes come from the Harbor 2.8, v2.15.2 and v2.15.3 releases. Each one changes a bundled dependency, a default or a supported format, so it can break a deployment or integration without any change on your side. Confirm the full list in each release's notes before you schedule the upgrade, and map each change to the teams that depend on it.
PostgreSQL 15 moves to 18
Harbor v2.15.2 upgrades the bundled internal database from PostgreSQL 15 to PostgreSQL 18 on container startup. Teams using the bundled database should take a backup first, as the release notes recommend, and schedule a maintenance window that covers the database move. If your instance uses an external PostgreSQL server, this bundled change does not apply to you, but confirm that in your own configuration review.
Harbor release notesRedis replaced by Valkey
Harbor v2.15.2 replaces Redis with Valkey as the cache backend. Teams with cache-specific configuration, such as connection settings, health checks or monitoring that queries the cache, need to find and update those references before the upgrade. Confirm in the release notes how existing cache state is handled, and test the cache path in a staging copy first.
Reindex after index problems
The v2.15.2 release notes recommend running reindexdb if index problems appear after the upgrade. Large registries are most exposed, because their database holds more repository, artifact and tag records for the index to cover. Watch query speed and core service logs after the first start, and agree in advance who runs reindexdb, when, and what the rollback path is if the problem persists.
Internal webhooks blocked by default
Harbor v2.15.3 blocks webhooks that target internal network addresses by default. CI jobs, chat notifications and other integrations that call hosts inside your network can stop receiving events after the upgrade. Inventory every webhook endpoint that resolves to a private address, then confirm the supported override in the v2.15.3 release notes and decide whether it fits your security policy.
Harbor release notesUnsigned image signing fails
Harbor v2.15.3 makes signing of unsigned images fail in projects that enforce content trust. Signing pipelines that push unsigned images into those projects will fail after the upgrade. List which projects enforce content trust, then run a test push and signing job against a staging instance on v2.15.3 before you move production.
ChartMuseum removed in 2.8
Harbor 2.8 removed ChartMuseum and serves Helm charts as OCI artifacts instead. This card applies only if you are upgrading from a release before 2.8. Confirm how your existing charts carry over, and update any scripts or pipelines that call ChartMuseum endpoints to use OCI pulls and pushes. Harbor supports upgrading only from the two previous minor releases, so older installations must step through intermediate versions.
Harbor 2.8 release postHow to plan a Harbor major version upgrade by environment
A single-host install runs Harbor from the harbor directory with harbor.yml and the bundled database on one machine, so the upgrade is one stop, copy and migrate sequence. The supplied upgrade steps describe this route directly. Harbor upgrades only from the two previous minor releases, so an older instance needs intermediate steps first.
- Backup: Stop the instance, move the
harbordirectory aside and copy the database before running the migrate step, so configuration and data can be restored together. - Rehearsal copy: Restore that backup onto a second host with the same
harbor.yml, run the upgrade there and time the core startup, which performs the schema upgrade and data migration. - Integrations: Check webhooks, because v2.15.3 blocks webhooks to internal network addresses by default. Check content trust, because signing unsigned images fails in projects that enforce it. Also verify CI pushes, OCI Helm charts and SSO settings.
- Bundled database: Expect v2.15.2 to move the internal PostgreSQL from version 15 to 18 on container startup. Keep the backup until search and pulls are verified, and run reindexdb if index problems appear.
- Sign-off and stop point: The platform owner signs off on the rehearsal, and the security owner signs off on content trust and webhook behavior. Stop and keep production on the current version if any rehearsal check fails.
Confirm the steps for your exact release in the Harbor upgrade guide before scheduling.
On Kubernetes, the supplied upgrade steps describe the harbor directory and harbor.yml, so they do not map one to one onto a Helm release. Confirm the project's documented steps for this route before you set a change window. Treat the chart values, the database and the persistent volumes as the parts that need a written plan.
- Backup: Export the Helm release values and record the chart version. Back up the database and the persistent volumes that hold image data, since the stop, move and copy sequence in the supplied steps covers the
harbordirectory only. - Rehearsal copy: Install the same chart version and values into a separate namespace, restore the database copy there and run the target version before touching production.
- Integrations: Check the ingress hostname and TLS used by webhooks and CI pushes. Check the v2.15.3 internal address rule for webhooks, content trust enforcement, OCI Helm charts served from the registry and SSO redirect URLs that reference the external address.
- Ownership: The platform team signs off on the rollout. Application owners sign off on CI pipelines and chart pulls, because pod restarts during the change can fail jobs that push or pull at that time.
- Stop point: Stop when the rehearsal namespace fails an integration check, or when the confirmed steps for this route do not cover a step you need. Keep production on the current version and reschedule.
Ask the project and your platform vendor which chart version ships each Harbor release, and test that mapping in your own cluster before the window.
With an external PostgreSQL database, the data is outside the harbor directory copy, so the database backup becomes a separate job with its own schedule, retention and restore test. The v2.15.2 change to the bundled database does not apply to your server. Your server's version and its compatibility with the target release become the main planning question.
- Backup: Run the database backup as its own job. Record the Harbor version and the
harbor.ymlfile with each dump so both halves can be matched during a restore. - Rehearsal copy: Restore the latest database backup into a separate PostgreSQL instance, point a rehearsal
harbor.ymlat it and run the migration. Watch the schema upgrade that runs when core starts. - Integrations: Confirm the database account has the privileges the target release requires. Recheck webhooks, content trust, CI pushes, OCI Helm charts and SSO on the rehearsal copy, and list every other application that reads this database.
- Sign-off: The database owner signs off on backup and restore evidence. The platform owner signs off on the migration, and the security owner signs off on content trust and webhook behavior.
- Stop point: Stop if the rehearsal cannot be restored from the separate backup job. Without a tested restore, the production upgrade has no reliable rollback path.
Check the target release's database version requirements in the release notes before you schedule the change.
What to test on a copy before you cut over to the new minor
Run the upgrade end to end on a restored copy of the database and the harbor directory before you schedule the production change. The upgrade guide says to back up by stopping the instance, moving the harbor directory and copying the database before you migrate, so the rehearsal should begin from that same set of files. On the copy, the goharbor/prepare migrate tool updates harbor.yml, and the database schema upgrade and data migration run when core starts. Watch the core logs for that step and measure how long it takes against your change window. Confirm with the Harbor project whether its documentation covers a rehearsal of this kind before you write your own test plan. Record each finding with the Harbor version, the harbor.yml diff and the exact commands you ran, so the production runbook can repeat them.
Once the copy is running, test the paths your users and pipelines depend on. Log in through your LDAP or AD directory or OIDC single sign-on, and confirm that group mappings still grant the expected role in each project, because project role-based access control decides who can push, pull and administer. Next, exercise the REST API calls your automation makes, run image pushes and pulls, and pull Helm charts, which Harbor has served as OCI artifacts since v2.8.0 with ChartMuseum no longer included. Run a vulnerability scan on a known image, trigger garbage collection, and check that the audit logs record each action you took. Use test accounts and service credentials that cannot write to production projects.
Two v2.15.3 changes need their own tests. Webhooks to internal network addresses are blocked by default, so send a test event from each project webhook to the internal hosts your CI, chat and ticketing tools use, then decide deliberately whether to allow those addresses and confirm the setting name with the project. Signing unsigned images also fails in projects that enforce content trust, so sign a test image in each content-trust project and confirm your signing workflow still completes. Finally, v2.15.2 moves the bundled internal database from PostgreSQL 15 to PostgreSQL 18 and replaces Redis with Valkey. The release notes recommend a backup before upgrading and a reindexdb run if index problems appear, so check searches and listings on the copy, run reindexdb only if those checks fail, and keep the rehearsal backup until production is verified.
How the upgrade sequence and rollback points connect
The sequence starts by confirming your current minor release. Harbor supports direct upgrades only from the two previous minors, so 2.13 and 2.14 can move straight to the newest line, while older instances must step through intermediate releases first. After reading the release notes, stop the instance, move the harbor directory and copy the database. That backup is the only documented safety step, and it is your rollback point if verification fails. Running prepare migrate updates harbor.yml, but the schema and data migration happen when core starts. Treat that point as one to confirm before assuming it can be reversed, using the upgrade guide and a test restore in your own environment.
Upgrade sequence with the backup as the only documented rollback point.
What rollback looks like, and what the project does not document
The documented safety net is the backup taken before migration: stop the Harbor instance, move the harbor directory aside and copy the database. Restoring that set is what returns you to the earlier state. The Harbor upgrade guide does not describe a separate downgrade procedure, and it gives no steps for running an older release against data that has already been migrated. Ask the project for the restore and downgrade steps in writing before cutover, and ask them to confirm those steps for your exact source and target versions, your storage settings and whether you use the bundled database. Treat any answer you do not receive in writing as unconfirmed.
Timing decides what a restore means. The goharbor/prepare migrate tool updates harbor.yml, but the database schema upgrade and data migration run when core starts. Restoring before core has started means copying the backup back over a stopped instance, so the database has not yet been changed by the new release. Restoring after core has started on the new release is a different action: the database has already been altered in place, and any images pushed, projects edited or webhook and replication settings changed in the meantime may be lost or may disagree with the restored state. If you use the bundled database, release v2.15.2 also moves it from PostgreSQL 15 to PostgreSQL 18 on container startup, so the backup must be restorable into the database version the older release expects. Confirm that with the project.
Before you set a cutover date, test the decision in a staging copy. Restore a copy of your production database and harbor directory to a separate host, start the older release against it, and confirm that login, a pull, a push and a vulnerability scan all work. Then ask the project whether an older release can run against a database that has already been migrated. If the answer is no, your rollback is a restore from the pre-migration backup, and every write made after core starts is lost unless you replay it. Record the point after which that is true, and agree it with the registry owners and the teams that push images before you start the upgrade.
What buyers ask before an upgrade: cost, time and who does the work
What drives the cost of upgrading Harbor, and who gets paid?
Cost depends mostly on the work around the upgrade itself, not on running the migration. Three parties usually carry it: your internal staff, who handle planning, backup, configuration review and sign-off; a partner, if you hire one, under a written scope; and any separate testing environment you need to rehearse the change. Staff time recurs with every upgrade cycle, while a scoped partner project is a one-time engagement unless you add a retainer. The main drivers are the number of minor releases between your current version and the target, the size of the registry, how many integrations depend on it (webhooks, content trust and CI pipelines), and how many environments must be rehearsed. DeployOpen does not publish a price list. A quote follows from the written scope, so ask for the deliverables, the client responsibilities and the testing included before you compare figures.
How long does a Harbor upgrade take from start to finish?
No standard duration fits every environment, so ask for a timeline in writing before you fix a change window. The drivers that move the schedule most are:
- The number of minor releases you must step through. Harbor supports upgrading only from the two previous minor releases, so an older installation needs intermediate upgrades first.
- Registry size and database volume. The schema upgrade and data migration run when core starts, so the cutover window grows with the data.
- Rehearsal depth, including how many times you test the backup and restore steps before production.
- How quickly owners for webhooks, content trust and CI can confirm their workflows work after the change.
The upgrade guide describes the backup and migration sequence, and it is the right document to plan the steps against.
What does our team need to provide for a Harbor upgrade?
Your team provides access, a backup window and named owners, and it signs off on the test results. The required items are:
- A backup window in which Harbor is stopped, the harbor directory is moved and the database is copied before migration, as the upgrade guide describes.
- Access to harbor.yml, the database and the hosts or cluster where Harbor runs.
- Named owners for webhooks, content trust policies and CI pipelines that push to or pull from the registry. Release v2.15.3 blocks webhooks to internal network addresses by default and fails signing of unsigned images in projects that enforce content trust, so these owners must check their workflows.
- A sign-off owner who accepts the test results and makes the go or no-go decision.
Agree these responsibilities in writing before the work starts, whether the team does the work alone or with a partner.
Can our own engineers upgrade Harbor without outside help?
Yes, if your engineers can follow the upgrade guide, run the backup and restore steps and test the registry against your real workflows. Pay close attention to two releases. Release v2.15.2 upgrades the bundled internal database from PostgreSQL 15 to PostgreSQL 18 on container startup and replaces Redis with Valkey as the cache backend. Its release notes recommend a backup first and a reindexdb run if index problems appear. Release v2.15.3 fixed a batch of security advisories and introduced the webhook and content trust changes described above. Assign a reviewer who did not perform the change to check both areas before go-live. If nobody on the team has tested a restore, bring in a reviewer before you start.
When should we bring in outside help for a Harbor upgrade?
Bring in outside help when the upgrade is harder than a routine minor step or when the evidence requirements are strict. Common triggers are:
- A multi-minor jump from an older release, which requires intermediate upgrades and a longer test plan.
- A signing pipeline that depends on content trust, where the v2.15.3 behavior must be tested before production.
- Restore steps your team cannot confidently follow or has never rehearsed.
- An upcoming assessment that needs evidence of the change, such as test records, configuration history and rollback planning.
DeployOpen plans, implements, tests and documents these changes inside your own infrastructure and prepares the evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that.
Does DeployOpen offer ongoing Harbor upgrades after the first one?
Yes. DeployOpen offers retainers for upgrades, ongoing support and continuous testing, so later releases can be handled under agreed terms without starting a new project each time. This matters because Harbor's release branches are maintained for the three most recent minors, each for about nine months, and a new major or minor arrives roughly every three months. Check the release cadence against your change calendar before you commit. Write the retainer scope into the agreement, including which releases are covered, how testing is done and who approves each change. DeployOpen does not publish a price list, and a quote follows from that written scope.
How DeployOpen plans and runs a Harbor upgrade
DeployOpen plans a Harbor major version upgrade as a fixed-scope project inside your own infrastructure. The work starts from your current minor version, the documented upgrade path and a backup of the harbor directory and database. Each step is tested in a non-production copy, documented and handed over with a tested rollback procedure.
How we scope
- The written scope names your current Harbor minor version and the target release before any work starts.
- Scope covers the upgrade path, including any intermediate releases, since Harbor supports upgrading only from the two previous minors.
- Most engagements are fixed-scope, so breaking changes to review, such as v2.15.3 webhook and content trust changes, are agreed in advance.
How we build
- Back up by stopping the instance, moving the harbor directory and copying the database before the prepare migrate step.
- Run the goharbor/prepare migrate step against a copy of
harbor.yml, then review the changes it makes. - Test on a restored copy, checking schema migration, index health and reindexdb readiness after the bundled PostgreSQL 18 change.
How we hand over
- Handover includes the written runbook, the backup and restore steps, and the rollback procedure we tested.
- Documentation records the source and target versions, each breaking change, and the decision made for it.
- Your platform and compliance teams receive evidence they can review, such as change records and test results.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial upgrade.
- Confirm your target line is still maintained, since Harbor maintains each minor for about nine months.
- Confirm retest scope and triggers with us before go-live, such as new minor releases or security advisories.

