Upgrading very old OpenProject versions step by step

A years-old OpenProject install cannot jump straight to the current release. This page explains the one-major-at-a-time path, the bin/migrate and pre-8 scripts, and what each starting version requires.

On this page

How to upgrade a very old OpenProject install step by step

An OpenProject install several majors behind is usually the case where the data matters most and the upgrade is least forgiving. The first decision is not which version to install but how to get from where you are to the current release without losing a single work package, attachment or user account. The supported route depends on your starting version, so begin by confirming exactly which release the install runs and whether you are on a packaged install, Docker Compose or an all-in-one container. Take a full database dump and a copy of the attachments directory before anything else, and verify that the dump restores on a separate host. Plan for the upgrade to take place in a staging copy first, with users locked out of the production instance while you work.

The core rule is that OpenProject cannot skip versions. Migrating from X to X+2 requires installing X+1 in between, so a jump from a release several majors behind means passing through each intermediate major in order. The bin/migrate script automates this path for plain SQL dumps from version 10.x or later. It runs a temporary PostgreSQL 17 container and each version's Docker image in turn, so Docker and access to Docker Hub are prerequisites. If your dump comes from a version older than 8, it must first pass through script/migrate/migrate-from-pre-8.sh. Large databases can take a long time to process, so schedule the run and measure it on staging before you commit to a window. Confirm the exact steps for your starting version in the OpenProject upgrading documentation before you run anything.

Version-specific steps matter as much as the order. Upgrades from 9.x to 10.4 require removing old OpenProject cron jobs, and the 7.x to 8.x upgrade converts Textile content to Markdown with pandoc, so check that pandoc is available and review converted pages afterwards. Use the release notes to confirm the latest release, which is 17.9.2, released on October 15, 2026, and to check for changes in each intermediate version you pass through. Treat the final target as a decision to confirm with your team rather than a default, and record which release you stopped on at each step so a failed run can be resumed from a known point.

What changes when you upgrade OpenProject across old majors

This table compares the version boundaries that most often change an upgrade path, with the impact of each and the action you need to take before stepping through them. Read it against your current version and work through every boundary between that version and the release you are targeting. The main takeaway is that older installs usually fail at a boundary you did not check, so confirm each row for your own version before you start.

ChangeImpact on your upgradeAction needed
PostgreSQL 16 or later since 16.0.0Current releases need PostgreSQL 16 or later, and the pg_trgm, btree_gist and unaccent extensions must be presentConfirm your database version and extensions, and plan a database upgrade if you run an older PostgreSQL
Upgrading from 9.x to 10.4Old OpenProject cron jobs left over from 9.x can conflict with the 10.4 stepRemove the old cron jobs before running the migration step for this boundary
7.x to 8.x Textile to Markdown conversionWork package and wiki content written in Textile is converted to Markdown with pandocCheck that pandoc is available to the migration process and review converted content on a test copy
Dumps older than version 8Dumps from these versions must pass through the pre-8 script before bin/migrate can runRun script/migrate/migrate-from-pre-8.sh first, then continue with bin/migrate
Releases in the 17.x lineThe 17.x line shipped 17.7.0 on August 5, 2026, 17.8.0 on September 2, 2026, 17.9.0 on September 30, 2026 and 17.9.2 on October 15, 2026Confirm which 17.x release is current when you plan, and read the release notes for every release between your start and target versions
One major at a timeMoving from X to X+2 requires installing X+1 in betweenBuild a stop list of every major version on the path and confirm each image is available

What to prepare before the first migration run

Each of these items protects a different part of the upgrade: the data, the extensions that break silently, the host, the tooling and the rehearsal. Finish them before anyone runs bin/migrate against the production dump, because a failed step on a years-old database is much harder to unwind than a short delay in preparation.

Full backup before any step

Take a complete dump of the database and a copy of the attachments directory before the first step, and store both outside the server being upgraded. The migration rewrites data in place at each version, so a backup taken after a failed step may already contain partial changes. Confirm you can restore the copy onto a separate host and that the attachment files match the database dump they were taken with. A restore test is the only proof that the backup is usable.

Inventory of plugins and custom code

List every plugin, custom theme, patch, reverse proxy rule and integration in use, with the version of each. Plugins and custom code often lag behind core releases, and a migration step can fail on a plugin before the core upgrade is finished. Record which integrations, such as Nextcloud file links or SSO providers, depend on settings that may change during the upgrade. Decide early whether each item is kept, updated or removed.

Confirm the target host platform

Check that the host is either a supported packaged platform or a Docker host. Packaged installs support Ubuntu 22.04, Debian 12, CentOS or RHEL 9.x and SUSE Linux Enterprise Server 15, so an older base image needs an operating system upgrade first. Confirm the host has enough cores and memory for your user count using the sizing guide. Record the operating system version so a rollback can be rebuilt on the same base.

System requirements

Docker and Docker Hub access

The bin/migrate script needs a working Docker installation and network access to Docker Hub, because it starts a temporary PostgreSQL 17 container and pulls each intermediate OpenProject image. Test both before the window opens, including any proxy or registry mirror your firewall requires. Air-gapped sites need an internal registry that holds every intermediate image. Confirm which account pulls the images and that the host has disk space for them.

Disposable test environment with a dump

Restore a copy of the production dump into a separate environment that matches the production host as closely as possible, and run the full path there first. Use it to measure how long each version step takes, which plugins fail, and which manual fixes are needed. Because bin/migrate can run for a long time on large databases, this rehearsal is how you plan the maintenance window. Keep the test environment disposable so it can be rebuilt for each rehearsal.

How a database dump moves through each OpenProject version

The path starts with the old database dump and branches on its version: dumps older than 8 go through the pre-8 script first, while 10.x and later dumps go straight to bin/migrate. Bin/migrate then steps the data through each intermediate version's Docker image, using a temporary PostgreSQL 17 container, so no major version is skipped. Before cutover, confirm the result runs on PostgreSQL 16 or later and stop for testing against a copy of production data.

Decision path for moving a dump through each intermediate OpenProject version to the target.

Upgrade OpenProject one major at a time with checks at each stop

This sequence moves a years-old OpenProject install forward one major release at a time, so every stop has a tested backup, a known rollback point and a verified instance before the next step begins. The result is a current release with data checked at each intermediate version.

  1. Freeze changes and take a full backup

    The administrator stops user writes, announces a maintenance window and takes a plain SQL dump of the database along with the files directory and any attachments or configuration. Store the copies off the server and restore one into a scratch environment to confirm it loads. The step is done when the restore completes and the record count of work packages and users matches the live instance. Confirm the backup approach with your own backup tooling before you rely on it.

  2. Record the starting version and map the upgrade path

    Note the exact current OpenProject version and the image or package tag it runs. Open the official upgrading documentation and list every intermediate release you must install, because migrating from X to X+2 requires installing X+1 in between. Confirm each intermediate version in the official upgrading docs before running it. The step is done when your team has a written path with a rollback point named for every stop.

  3. Run the pre-8 script for dumps older than 8

    If the source is older than version 8, run the script/migrate/migrate-from-pre-8.sh script against the dump first, since bin/migrate expects a dump it can read. This requires Docker and access to Docker Hub from the migration host. Large databases can take a long time, so schedule the run inside the maintenance window. The step is done when the converted dump loads into a clean PostgreSQL instance and the script output contains no unresolved errors.

  4. Create a rollback point before each stop

    Before every version, take a fresh database dump and copy the files directory, then write down the previous image tag or package version. Keep these records together so the team can return to the last good state without guessing. The step is done when the rollback record for the upcoming stop lists the dump location, the file copy location and the exact tag to restore.

  5. Run bin/migrate for each supported starting point

    Use bin/migrate on plain SQL dumps from version 10.x or later, which runs the migration through a temporary PostgreSQL 17 container and the Docker image of each version in turn. Review the output for each stage before starting the next. For dumps from earlier releases, follow the version-specific path in the documentation. The step is done when the migration for that stop exits without errors and the container logs show the target version's schema changes applied.

  6. Apply version-specific actions at the matching stop

    At the 9.x to 10.4 stop, remove the old OpenProject cron jobs as the documentation requires, so they do not run against the new schema. At the 7.x to 8.x stop, check that Textile content converted to Markdown with pandoc, since the conversion runs during that upgrade. Compare sample pages before and after the conversion. The step is done when the cron list shows no legacy OpenProject jobs and sampled descriptions render correctly.

  7. Verify the instance and sample content at each stop

    After each migration, start the instance, sign in with an administrator account and check the version in the administration area. Open a sample of projects, work packages, attachments, custom fields and users, and confirm counts and content match the pre-upgrade records. Check that logs show no repeated errors. The step is done when the checklist for that stop is signed off, and only then does the team move to the next version or to the final cutover.

How the path changes with your starting version

Dumps from versions older than 8 cannot go straight into the stepwise chain. They first pass through the pre-8 script, script/migrate/migrate-from-pre-8.sh, which converts the data into a form the later steps can read. This is the most involved starting point because the conversion is a separate stage with its own output to check before the normal path begins. Bin/migrate also needs Docker and access to Docker Hub, and it can take a long time on large databases, so plan the window accordingly.

  • Run the pre-8 script first: Complete the conversion and confirm it finished without errors before starting bin/migrate.
  • Confirm Docker and registry access: The migration pulls each version's image, so an air-gapped host needs those images staged in advance.
  • Expect long runtimes: Time scales with database size, so test on a copy of production data to measure it.
  • Keep the original dump: Store an untouched copy in case a conversion stage needs to be rerun.
  • Work through the chain in order: Each version must be reached before the next one is attempted.

Before you go on, check that user counts, projects and work package counts match the source system, and that attachments open correctly.

What drives the effort of an OpenProject upgrade

This table lists the factors that change how much work a jump from an old OpenProject release to the current one takes, why each matters, and how to keep it manageable. Read it before asking for a quote, because each row names something the partner or your team should estimate and confirm up front. The main takeaway is that the number of major steps and the size of the database set the baseline, while Textile content, plugins and integrations usually decide how much testing follows.

Effort driverWhy it mattersHow to reduce it
Number of majors between source and targetEach skipped major requires installing the intermediate release, so a jump from X to X+2 runs through X+1 first. Every step adds a migration run and a validation pass.Confirm the exact source version first. Ask whether the quote covers each intermediate stop or only the final target.
Database sizebin/migrate runs each version's migration in sequence on a plain SQL dump, and it can take a long time on large databases. Dump, restore and migration time all grow with data volume.Archive closed projects and old attachments where policy allows. Ask for the expected run time on a copy of your real dump before the cutover window is set.
Amount of Textile contentThe 7.x to 8.x step converts Textile content to Markdown with pandoc. Large volumes of wiki pages, work package descriptions and comments mean more output to review for formatting loss.Sample representative pages from each project before the upgrade. Ask the provider to include a conversion review in the test scope.
Custom plugins and themesPlugins and custom themes written for an old release may not match newer versions. Each one needs a compatibility check, and some may need rework or removal.Inventory every installed plugin and theme with its version and owner. Ask the quote to list which ones are tested and which are replaced or dropped.
Integrations such as Nextcloud and SSONextcloud links and project folders, and SSO settings, depend on configuration that can change between releases. Breakage here often appears only after users log in.List each integration, its configuration owner and its test account. Ask for a login and file-link check in the post-upgrade test plan.
Users, projects and test coverageThe number of active users and projects sets how much acceptance testing is needed to show that permissions, roles and work packages behave as before.Choose a representative set of projects and roles for testing rather than retesting everything. Ask the quote to state how many projects and user roles are covered.
Docker Hub access from the migration hostbin/migrate needs Docker and access to Docker Hub to pull each version's image and the temporary PostgreSQL 17 container. Blocked or restricted access stops the run before it starts.Confirm pull access from the migration host, or plan a mirror registry, before scheduling the work. Ask who prepares and tests this access.
Backup and rollback readinessWithout a verified backup of the original dump and a tested restore path, a failed step can cost a full restart of the sequence. Rollback planning affects how long the old system must be kept available.Ask for a verified backup before the first step and a documented rollback plan with the quote.

How to test the upgraded copy and roll back safely

Run the full upgrade chain on a copy of production before anyone touches the live instance, and treat that rehearsal as the test of the procedure itself. Restore the latest production dump into a non-production environment, then step it through each version with bin/migrate or the pre-8 script, keeping the output of every step. Once the result is up, compare it with the source: record counts for work packages, projects, users and attachments, the presence and values of custom fields, role and permission assignments for a sample of projects, and the key dashboards and Gantt views your teams use every day. Confirm that attachments open and that the file storage path resolves. Any mismatch is a finding to explain before cutover, not a detail to fix later. The upgrade documentation at OpenProject upgrading docs is the reference for each step, so record which version of the docs your team followed.

Test login and integrations in a network that cannot reach real users or external systems. Check local and SSO sign-in against a test identity provider, confirm that LDAP or proxy settings still resolve, and verify any Nextcloud or code hosting links with test accounts. Also check email delivery and scheduled jobs, since background work is where upgrades often fail quietly. Agree the cutover window with project managers and team leads in writing, and set a cutoff after which no new data is entered on the source, so the migrated copy and the live system never diverge. Ask the vendor or your partner to confirm which steps need downtime and how long each one takes on your data volume, because those numbers come from your own rehearsal, not from a general estimate.

Define rollback as a restore, not an attempt to reverse migrations. Before the first step, take a database dump and a copy of the file storage, and keep the previous Docker image tag or package version recorded so it can be redeployed. If cutover fails, stop the new instance, restore the pre-step backup into the database, restore the attachments, and start the previous image or package. Then check that the restored instance matches the source before users return. Rehearse this restore in full, on the same hardware class as production, and time it. A rollback that has never been run is a plan with unknown duration, so the rehearsal should end with a documented, timed runbook that someone other than the upgrader can follow.

What do teams ask before they upgrade a very old OpenProject install?

How much does upgrading a very old OpenProject install cost?

The cost depends on the written scope, not on a list price, because DeployOpen does not publish one. The main drivers are how many major versions sit between your install and the current release, how large the database is, how your install was deployed, and how much customization, plugin work and testing you need. Ask for a quote that separates the one-time migration work from any recurring support or retainer, and ask which items depend on your environment, such as access to the host and a staging copy. Any licensing cost is separate: OpenProject Community is free, while Enterprise on-premises is priced per named user per month, and the published rates are listed on the OpenProject pricing page.

How long does an old OpenProject upgrade take?

Duration is driven mainly by the number of major versions to cross and the size of the database. OpenProject requires you to pass through each intermediate major, so an install several majors behind needs several sequential migration steps, each with its own checks. Large databases take longer to dump, restore and migrate, and the bin/migrate script can run for a long time on them. Before agreeing a timeline, confirm the database size, the version you run now, any plugins in use and the cutover window your users can accept. A written scope should state the sequence and the checkpoints, so you can see where time goes.

What does our team need to provide for the upgrade?

The upgrade needs several things from your side before work starts:

  • A current backup of the database and the file storage, verified by a test restore.
  • Access to the host or container platform, with a staging environment that mirrors production.
  • A set of test users and sample projects that reflect how your teams work.
  • A named sign-off owner who accepts the result and decides on the cutover date.

Without these, testing becomes guesswork and rollback becomes slow. Confirm who on your side owns each item, and agree how long each review step may take.

Can our internal team upgrade OpenProject without outside help?

Yes, a team can do it alone if it has the right skills and time. The work needs solid Linux administration, working knowledge of Docker, and enough PostgreSQL experience to dump, restore and check a database. Teams also need to read the upgrade documentation for each major version, because some steps are version-specific, such as removing old cron jobs before the 9.x to 10.4 step or the Textile to Markdown conversion in the 7.x to 8.x step. If those skills are thin, or the install is heavily customized, a partner can take the migration work while your staff handle the business sign-off.

Can an old OpenProject install be upgraded without any downtime?

Plan for a cutover window rather than zero downtime. The database must be dumped, moved through each version and restored, and users should not write data during the final copy, or changes will be lost. A cutover window lets you freeze writes, run the final migration, verify results and reopen the system. The length of the window depends on database size and the number of majors. Confirm the acceptable window with your business owner before the staging rehearsals, and rehearse the full sequence at least once on a copy of production.

What should we do if a version step fails during the upgrade?

Stop at the failed step, do not start the next major, and keep the original backup intact. Capture the script output and the logs from the failing version's container, then check the cause against the upgrade documentation for that version. Restore the last known good state if the database is inconsistent, and rerun the step on a staging copy before touching production again. Agree in advance who makes the rollback decision and how long you will wait before choosing it. Keeping each step's output and backup labeled by version makes this process much faster.

How DeployOpen scopes and delivers an OpenProject upgrade

DeployOpen plans and carries out upgrades of self-hosted OpenProject installs inside your own infrastructure, starting from a written scope and a copy of your current environment. The work follows the one-major-at-a-time path, with each intermediate step tested before the next one begins.

How we scope

  • Engagements are fixed-scope, with the starting version, target release and deployment type agreed in writing first.
  • We confirm your installation method, database engine and PostgreSQL version, then list the upgrade steps that apply to your path.
  • The written scope names plugins, custom fields and integrations that need a compatibility check before any change is made.

How we build

  • We run the upgrade on a copy of your environment, stepping through each intermediate version and recording the result at each stage.
  • Where a dump must pass through the pre-8 script or bin/migrate, we document the required Docker and registry access up front.
  • We test logins, work packages, attachments and email notifications on each restored version before moving to the next one.

How we hand over

  • You receive a runbook covering the exact order of versions, commands, configuration changes and rollback points used.
  • The handover includes the backup and restore steps we verified, so your team can repeat the process without us.
  • We deliver a written record of issues found, fixes applied and checks that remain open for your team to confirm.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial upgrade is complete.
  • A retainer can cover the next major releases on your planned schedule, with the same staged testing and documentation.
  • Before any retainer starts, we agree in writing what is covered, who approves changes and how incidents are reported.

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.