How to upgrade OpenProject on Docker Compose without skipping steps
The upgrade is a repository update and an image tag change, followed by a pull and a restart, and it always starts with a backup. For a release that is close to your current one, you update the git repository that holds docker-compose.yml, point the image tag at the target release, pull and restart. For an install that is several majors behind, the supported route is a major-by-major path, and you confirm each step against the OpenProject upgrading documentation before you touch production. Teams running all-in-one containers follow the same logic with a different mechanics: pull the new image, remove the old container and start a new one with the same run options.
Waiting too long has a cost. OpenProject shipped 17.7.0 on August 5, 2026, 17.8.0 on September 2, 17.9.0 on September 30 and 17.9.2 on October 15, 2026, so a team that skips a quarter of releases may be several minor versions behind and facing a larger jump in configuration and database changes. Check the release notes for each version between your current and target release, paying attention to breaking changes, required environment variables and any database or PostgreSQL requirements. Confirm with your own environment which version you run today, for example by inspecting the running image and the tag in your compose file.
The backup comes first because a failed migration on a Compose stack is hard to reverse without it. The Docker Compose documentation advises backing up the PostgreSQL data and the assets before upgrading, so take a dump of the database and archive the Docker volumes that hold attachments and other uploaded files. Store the copies outside the host, test that you can restore them on a separate machine, and record the image tag and compose file revision you are leaving so a rollback is a known action rather than a guess. Plan a maintenance window that covers the backup, the pull, the restart and the post-upgrade checks such as logging in, opening a project and confirming that attachments load.
Decide before the work starts who owns each step: the person who edits the compose repository, the person who runs the backup and restore test, and the person who signs off on the result. Ask your DeployOpen or internal team to write the exact commands for your environment, including the target tag, and to confirm whether your release needs an intermediate version. Keep the log of every command and output, because that record is what you will need if an auditor or internal risk team asks how a production system was changed.
What changes between recent releases and what each change asks of you
This table lists the changes that matter most when moving a Docker Compose or all-in-one install across the 17.7.0, 17.8.0, 17.9.0 and 17.9.2 releases, with the action each one asks of you. It covers the PostgreSQL and extension requirements and the image tag changes. Read each release note for its exact changes and confirm them before the maintenance window.
| Change | Impact | Action needed |
|---|---|---|
| PostgreSQL 16 or later required | Installs on older PostgreSQL versions may fail to upgrade. The requirement has applied since 16.0.0. | Check your PostgreSQL server version, including any bundled database service in your compose file. Plan a database upgrade first if it is older than 16. |
| Extensions pg_trgm, btree_gist and unaccent | A missing extension can block startup or migrations after the image change. | Confirm all three are installed in the target database before the window, and list installed extensions to verify. |
| Compose image tag in docker-compose.yml or TAG override | Changing the tag moves the install to another release line. | Set the tag to the target release, record the previous value for rollback, and keep the change in your compose repository. |
| All-in-one image tag, for example openproject/openproject:17 | The container is replaced with a new image rather than patched in place. | Pull the new image, stop and remove the old container, then start the new one with the same run options and volumes. |
| Release 17.7.0 (August 5, 2026) | Starts the 17.x steps in this sequence. Exact changes are in its release notes. | Read the 17.7.0 notes and list each change that touches your setup, your plugins or your configuration. |
| Release 17.8.0 (September 2, 2026) | Follows 17.7.0 and may change steps you planned earlier. Exact changes are in its release notes. | Read the 17.8.0 notes and confirm each change against your current configuration and planned tag. |
| Release 17.9.0 (September 30, 2026) | Later 17.9 release with its own migration and configuration changes. Exact changes are in its release notes. | Read the 17.9.0 notes, confirm each change, and decide whether to target 17.9.0 or a later patch. |
| Release 17.9.2 (October 15, 2026) | Patch release after 17.9.0. It may change steps already planned for 17.9.0. | Read the 17.9.2 notes and check whether they alter your target version or the window plan. |
Which major versions you must step through with bin/migrate
OpenProject expects you to move one major version at a time when an installation is several majors behind. Before you touch the compose file, work out which major release your current install runs and which major you want to reach. If the gap is only one major, you can usually follow the standard update path described in the upgrading docs. If the gap is larger, plan each intermediate major as its own upgrade with its own backup, its own image pull and its own health check. The exact list of required stops is set by the upgrading docs for each release, so read that page for your starting version rather than guessing from the version numbers alone. The current 17.x line is documented there as well, including the point at which 17.x patch releases such as 17.9.2 should be applied.
The bin/migrate script is the tool that steps a database dump through each version in sequence. On a Docker Compose install, you run it against the database and assets from your backup, not against the live containers, so the original data stays untouched if a step fails. Confirm the invocation, the required container or environment context and the expected output for each step in the docs before you start, because the script's arguments and location can differ between releases. Keep a record of which version each step completed, and restore your backup before rerunning a failed step rather than continuing from a partly migrated database.
Whether you can jump directly depends on your starting version and what the docs list as a supported path, so confirm that in writing with the upgrading documentation before you schedule a window. If your installation is old enough that the path involves many stops, or includes changes to the database engine, the work becomes a separate project. The sibling topic on upgrading very old OpenProject versions step by step covers the one-major-at-a-time rule, the pre-8 script and the version-specific steps from 7.x onward. Use it as the detailed guide for older installs, and budget time for testing each stop on a copy of production data.
What to back up and inventory before touching the containers
A Docker Compose upgrade replaces containers, but the data lives in volumes and an external PostgreSQL database that the upgrade must read. The six items below give you a restore point, a rollback path and a test copy, so a failed upgrade costs a window rather than your project data.
PostgreSQL data backup
Dump the PostgreSQL database that holds work packages, projects, users and settings before any image changes. The database dump is your primary restore point, and it should be taken while the stack is stopped or quiesced so the copy is consistent. Confirm the dump restores into a scratch PostgreSQL instance and that the PostgreSQL version matches what your release expects.
Docker Compose docsAssets and volume backup
Archive the volumes that hold uploaded attachments, avatars and other assets, which a database dump does not contain. A database restore without matching assets leaves attachments pointing at files that no longer exist. Check the volume names in your compose file, then record file counts and sizes so you can confirm the archive is complete.
Compose repository and overrides copy
Keep a copy of the git repository that holds docker-compose.yml, along with any .env file and override files you added. Upgrades pull the repository forward, so a local edit to a compose file can be lost or conflict during the update. Record which changes are yours, such as port mappings, proxy labels or certificate mounts, so you can reapply them deliberately.
Plugin and configuration inventory
List installed plugins, custom environment variables, email settings, proxy headers and any configuration applied directly inside the running containers. Compare each item against the release notes for the target version to find plugins that need a newer build or settings that were removed. Store this list with the backup so the test and production upgrades follow the same checklist.
Release notesTest environment from production data
Restore the backups into a separate stack with the same image tags and configuration, then run the upgrade there first. The test run shows migration duration, failed plugins and login or SSO problems without touching users. Treat the restored copy as sensitive data with the same access controls as production, and do not expose it on a public address.
Image tag record for rollback
Write down the exact image tag currently running for each service, and the compose repository commit hash, before pulling anything. Floating tags such as a major version alias can point to a different build tomorrow, so the record is what lets you return to the previous release. Keep it with the backups, and confirm with the release notes that a rollback to the recorded version is supported from your backup.
The Docker Compose upgrade sequence, with a check and rollback point at each step
This sequence moves a Docker Compose OpenProject installation to a newer release in a known order, so every change has a verified state to return to if the upgrade fails.
Schedule a window and stop writes
Agree a maintenance window with project managers and announce it, then ask users to stop editing work packages, wiki pages and files. The administrator confirms the running version and current image tag, and checks that no long-running imports or migrations are in progress. The step is done when users are locked out of writes and the current version is written down, so the rollback target is known before anything changes.
Back up PostgreSQL data and assets
Create a dump of the PostgreSQL database and copy the assets volume, which holds uploaded attachments and other files, to storage outside the host. The OpenProject Docker Compose documentation advises backing up PostgreSQL data and assets before upgrading. Confirm the dump file is non-empty and restores into a scratch database, and that the asset copy has the expected size. Record the checksums. This backup is the rollback point for the entire sequence.
Update the compose repository
Pull the latest version of the git repository that contains docker-compose.yml, or check out the release you intend to run. Compare the file against your local changes, such as environment overrides, port mappings and volume paths, and carry those changes forward. Review the release notes for the target version before going further. The check is a clean diff showing only the intended changes. To roll back, check out the previous commit recorded in step one.
Set the image tag for the target release
Set the image tag to the target major or release, either in the compose file or by overriding the TAG value in your environment file. Confirm the exact tag name against the current OpenProject documentation before you use it. Do not skip majors without checking the upgrade path first. The check is that the rendered configuration shows the intended tag when you run docker-compose config. To roll back, restore the previous tag value and the previous compose file.
Pull the new images
Run docker-compose pull --ignore-buildable to download the images for the tag you set. The flag skips services that are built locally rather than pulled. Confirm the command completes without errors and that the image listing shows the new tag for the OpenProject service. Pulling does not change the running system, so the current containers remain available if the pull fails. Rollback at this point only requires reverting the tag.
Restart the stack with the new images
Run docker-compose up -d to recreate the containers with the new images. Watch the container status until the OpenProject services report running and the database service is healthy. Migrations run as part of startup, so this is the step that changes stored data. The check is that all services are up without restart loops. If the stack fails, restore the database and asset backups from step two, revert the tag and compose file, and start the stack again.
Check logs and the health endpoint
Read the container logs for migration errors, database connection failures and repeated restarts, and confirm the application answers its health check endpoint. Confirm the version shown in the administration interface matches the target release. Review any warnings about plugins or deprecated settings. The step is complete when the logs show a clean startup and the health check passes. If errors point to data problems, restore from the step two backup rather than editing the live database by hand.
Test key workflows and reopen access
Have named users test the workflows that matter most, such as logging in, creating and editing a work package, viewing Gantt charts and boards, uploading an attachment, and any integrations you run. Compare results with the pre-upgrade notes from step one. Reopen write access only when these checks pass. Keep the backups until the team has used the system for an agreed period. Rollback after reopening access means restoring the backup, so record any data entered in the meantime before deciding.
Upgrade all-in-one containers the same way
For an all-in-one installation, pull the new image, for example openproject/openproject:17, after confirming the tag in the current documentation. Stop and remove the old container, then start a new container with the same run options, volumes and environment variables. Check the logs and health endpoint as in the Compose path. Before removing the old container, confirm the volumes hold the backup you took. Rollback means starting the old image again with the same options, or restoring volumes if the new container changed data.
How to test the upgrade and roll back if it fails
Rehearse the upgrade on a staging copy before touching production. Restore the most recent PostgreSQL dump and the assets directory into a separate Docker Compose stack, point it at a non-production hostname, and run the same steps you plan for production, including the repository update and the image tag change. Use the staging run to measure how long the restore and migration take on your data, and to find problems with custom plugins, proxy settings or environment variables before they affect users. Confirm with your own team how much production data the staging copy should hold, and keep staging outbound email and integrations disconnected or pointed at test endpoints so that real notifications and syncs are not triggered.
Once the upgraded stack is running, work through a short set of smoke tests and record the results. Confirm that a user can sign in through your chosen authentication method, open an existing work package, edit it and see the change persist, and open a project's Gantt chart and boards. Download and upload an attachment to check that the assets volume is intact and served correctly. Trigger a notification, such as assigning a work package, and confirm that the email arrives. If you connect OpenProject to other systems, such as the Nextcloud integration, test one end-to-end action for each. Any failed check is a stop signal for production, not something to fix during the window.
Rollback means restoring the PostgreSQL dump and the assets taken before the upgrade, then starting the previous image tag from the old compose file. It works only if that backup was taken and verified before the upgrade began. Verification means at least confirming that the dump file is complete and that it restores into a scratch database, because a corrupt or partial dump discovered during an incident leaves no way back. Keep the previous compose repository revision available, so the old docker-compose.yml and any overridden image tag can be restored exactly. Decide in advance who has authority to call a rollback and the point after which you will not roll back, because data written by the new release may not be compatible with the old one. Check the release notes for the target version before you start.
How the upgrade moves through backup, image change and verification
The upgrade starts with a verified backup of PostgreSQL data and assets, because the docs advise taking one before any Docker Compose upgrade. Next, the git repository holding docker-compose.yml is updated and the image TAG is set, then the new image is pulled and docker-compose up -d restarts the stack. A health check decides the outcome: a pass ends the upgrade, while a fail means restoring the backup and reverting the tag. Installs more than one major behind take a separate path through bin/migrate steps before the final image change.
Decision path for a Docker Compose upgrade, with the backup, restore and multi-major branch.
What makes a Compose upgrade take longer
This table lists the factors that stretch a Docker Compose upgrade of OpenProject, with the effect each has on effort and what to check before you schedule the work. Read each row against your own installation: the more rows that apply to you, the more rehearsal and backup time the upgrade needs.
| Driver | Effect on effort | What to check |
|---|---|---|
| Number of major versions between current and target | Each major is a separate step with its own migration run, so effort grows with every major skipped in order | Identify your current release and the target, then list every major release in between and read its upgrade notes in the release notes |
| Database and asset volume | Larger PostgreSQL data and attachment volumes lengthen the backup, copy and restore steps that bracket the upgrade | Measure the size of the PostgreSQL data and assets volumes and time a test backup and restore on a copy of the server |
| Custom configuration and compose overrides | Edited docker-compose.yml files, override files and environment settings must be merged with the new release's files, which adds review and testing | Diff your overrides against the upstream compose repository and record each custom setting so it can be reapplied |
| Plugins and integrations such as Nextcloud | Each integration may need its own version check, configuration retest and sometimes a plugin update after the core upgrade | Confirm plugin versions and compatibility with the target release, and test the Nextcloud link and any SSO settings after the upgrade |
| PostgreSQL version and extension changes | A PostgreSQL major change or a missing pg_trgm, btree_gist or unaccent extension can block the migration until the database is prepared | Check the PostgreSQL version in the container against the system requirements and confirm the three required extensions are present |
| Number of environments to rehearse | Every environment (test, staging, production) needs the same steps rehearsed, so effort multiplies with each copy | Decide how many environments exist, which one is rehearsed first, and whether a production-sized copy is available for the rehearsal |
| Image tag pinning and access to the registry | Floating or unpinned tags make the result harder to repeat, and blocked registry access stops the pull step | Confirm which tag your compose file uses, whether it is pinned, and that the server can reach the image registry during the window |
| Downtime window and rollback plan | A short window with no tested rollback forces the team to either rush the migration or delay it | Agree the window with stakeholders and confirm that a restored volume backup can bring the previous version back |
Questions buyers ask before upgrading OpenProject on Docker Compose
What does an OpenProject Docker Compose upgrade cost?
The cost is mostly the time of the people doing the work, plus any outside engagement you buy. Your internal team carries the cost of planning, the backup and restore rehearsal, the change window and post-upgrade checks. A partner quote should list each of these as a separate line, along with who performs each step and whether the work is a one-time fixed scope or a recurring retainer. Ask for the number of environments included (test and production), whether a rollback rehearsal is covered, and whether plugin or extension checks are in scope. Upgrades carry no vendor license fee for the Community edition, but Enterprise add-ons carry their own per-user subscription costs, which are published on the pricing page. Ask any partner for a fixed-scope written quote built from your environment, not a general estimate.
How long does an OpenProject Docker Compose upgrade take?
The window depends on how far you are moving, how large your database and asset volumes are, and how much testing your change process requires. A single-step upgrade within the same major line is usually short in execution, but the surrounding work (backup verification, a test upgrade on a copy, user communication and post-upgrade checks) often takes longer than the upgrade itself. Multi-major moves take longer because each step needs its own validation. Your database size, the number of custom plugins, and whether you run a separate PostgreSQL container all affect the downtime window. Confirm the expected downtime and rollback time with your own test run on a copy of production data before you commit to a window.
Can our internal team upgrade OpenProject on Docker Compose alone?
Yes, for a standard installation, a team with working Docker and Linux administration skills can follow the upgrade documentation. The team needs to be comfortable editing the compose repository, changing the image tag, pulling images, restarting services and restoring a PostgreSQL dump and asset volumes. Skills in PostgreSQL backup and restore matter most, because a failed upgrade is recovered from a backup. Teams with custom plugins, external databases, reverse proxies or a migration from an older major version need more planning. Ask yourself whether at least two people can run the restore procedure from start to finish without the original author.
What do we need to provide before an upgrade starts?
A partner or internal team needs several things before work begins:
- Shell or administrative access to the Docker host and the compose repository, with rights to stop and start containers.
- Permission to take and store a backup of PostgreSQL data and the asset volumes, and a secure place to keep it.
- A non-production copy of the instance and representative test data, so the upgrade can be rehearsed.
- A named change window agreed with business owners, and a contact who can approve the go or no-go decision.
- Current versions of your compose file, environment file, reverse proxy configuration and any plugin list.
Without these, the upgrade cannot be rehearsed, and the rollback plan remains untested.
Does the Community edition upgrade differ from Enterprise?
The core upgrade steps are the same for Community and Enterprise installations on Docker Compose: you update the compose repository, change the image tag, pull, restart and verify. The differences appear in the features and add-ons you run. Enterprise features such as single sign-on, LDAP group synchronization and custom branding must be checked after the upgrade, because their configuration and licensing state need to be confirmed on the new release. If you plan to move from Community to Enterprise on-premises during the same window, treat it as a separate change with its own trial and token steps. Check the plan for your add-ons on the pricing page before you schedule the window.
How do we confirm the supported upgrade path before we start?
Start with the official upgrade documentation for the Docker Compose installation and the release notes for every version between your current release and your target. Check the required PostgreSQL version and extensions for the target release, because a database change can be a prerequisite for the upgrade. If your installation is several major versions behind, follow the documented one-major-at-a-time steps with bin/migrate rather than jumping directly to the target image. Record your current image tag, PostgreSQL version and plugin list, then compare them against the release notes. Ask your partner to confirm the path in writing as part of the scope, and rehearse it on a copy before production.
What goes wrong during a Docker Compose upgrade, and how do we recover?
The most common failures are a stale compose repository that still points to an old tag, a database migration that stops partway, a plugin that does not support the new release, and volumes that were not backed up before the change. Recovery depends on a verified backup of PostgreSQL data and assets taken before the upgrade started. Keep the previous image tag and compose file version so you can return to them, and test the restore on a copy so you know the rollback works. Check container logs after each step and confirm that the application responds before you declare the change complete.
How DeployOpen scopes, delivers and supports your OpenProject upgrade
DeployOpen approaches an OpenProject Docker Compose upgrade as a written, fixed-scope change to a running system. We start from your current compose repository, image tag and data volumes, then plan the backup, the image change and the verification steps before anything is touched in production.
How we scope
- We record your current OpenProject version, compose repository state, image tag and PostgreSQL data location before agreeing the work.
- The written scope names the target release, any intermediate majors to step through with bin/migrate, and the systems and users affected.
- Engagements are fixed-scope, so deliverables, timelines and responsibilities are agreed in writing before the upgrade starts.
How we build
- We rehearse the upgrade on a copy of your volumes and database so the steps, downtime window and rollback path are proven first.
- We back up PostgreSQL data and assets, then update the compose repository and image tag and pull and restart the stack in order.
- We check that the application starts, migrations complete, attachments load and integrations still connect before signing off the change.
How we hand over
- You receive the runbook we used, with the exact commands, tag changes, backup locations and the restore procedure if a step fails.
- We document the post-upgrade checks, the version pinned in your compose file and the steps for the next upgrade.
- Your team walks through the handover so operators can repeat the process without depending on DeployOpen.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers once the initial upgrade is complete.
- A retainer can cover future OpenProject release upgrades, so each new release is scoped and rehearsed in the same way.
- Ask for the support hours, response expectations and release-tracking process in the written quote, since these vary by agreement.

