Moving OpenProject to a new server: what the work involves
If your packaged OpenProject runs on aging hardware or an operating system nearing end of life, the move is a backup, a package install on the new host without running the wizard, a copy of /etc/openproject, a restore of the database and attachments, and then openproject configure. The copy itself is the simple part. The effort comes from what surrounds it: the integrations that point at the old host, the size of the attachment and repository data, and the checks needed before users are told the new server is live. Supported packaged targets include Ubuntu 22.04, Debian 12, CentOS or RHEL 9.x and SUSE Linux Enterprise Server 15, so confirm your target OS is on that list before you order hardware.
Start by inventorying what depends on the current host. Check reverse proxies, DNS records, SMTP relays, SSO callback URLs, Nextcloud links and any scripts that call the OpenProject API. Each of these needs a cutover step, and some need a change at the identity provider or the file server. Also measure the attachment volume and any repository data, because copying files and restoring them into the right paths usually takes longer than the database restore. Confirm the PostgreSQL version on both sides: OpenProject officially supports PostgreSQL 16 or later since 16.0.0, and the pg_trgm, btree_gist and unaccent extensions must be present on the target. Size the new host against the sizing guide for your user count, which is documented in the OpenProject system requirements.
Plan verification as a separate phase. After openproject configure, test log in, attachment download, email delivery, notifications, a Gantt view and a sample work package change against a copy of real data before you switch DNS. Keep the old server stopped but intact until those checks pass and a fresh backup has been taken on the new host. The database restore uses pg_restore with --clean, which drops existing objects in the target, so confirm that the target database is the intended one. Ask your partner or internal team to write the cutover runbook, the rollback point and the named owner for each check, and to state in the written scope which of these steps they run and which your team runs.
Which packaged OpenProject parts move as-is and which need checks
This table compares each part of a packaged OpenProject installation with what it becomes on the new host and the check to run after the move. Read it as a list of items to verify during cutover, not only items to copy. The main takeaway is that the database and configuration directory carry most of the state, while the reverse proxy, email, scheduled jobs and integrations depend on the new host's own setup.
| Component | Equivalent on the new host | Migration note |
|---|---|---|
| Configuration directory (/etc/openproject) | Same path on the new package install, copied before running openproject configure | Copy it so the existing secret and settings carry over. Confirm the secret key base value matches the source before first start. |
| PostgreSQL data | Database restored with pg_restore --clean into the target database | Dropping existing objects in the target is intended. Confirm the target database is empty of data you need before restoring. |
| PostgreSQL version and extensions | PostgreSQL 16 or later with pg_trgm, btree_gist and unaccent installed | Check the extensions exist before restoring. Confirm the database version against the system requirements for your release. |
| Attachments (files directory) | Attachment storage path on the new host with matching ownership | Copy the files with the archive and confirm a sample of attachments opens from a work package after the first start. |
| Repositories and integrations | Repository hosts and integration endpoints reachable from the new network | Integrations that point to old host names or IP addresses need updated settings. Test each one after cutover. |
| Custom branding and logos | Assets restored with the configuration and files | Confirm the logo and theme still display. Check any external links to old asset URLs. |
| SSO settings | Identity provider configuration stored in the database and configuration | Update the redirect and callback URLs to the new host name in the identity provider. Test a login from each method used. |
| Outgoing email | SMTP settings in configuration, with the new host allowed by the mail relay | Confirm the sending address and relay allow the new IP. Send a test notification after configuration. |
| Reverse proxy and TLS | New proxy, certificates and host name configured for the new server | Certificates are not carried by the package archive. Issue or install certificates before users are switched over. |
| Scheduled jobs and cron tasks | Jobs recreated on the new host and checked for the correct schedule | Confirm that scheduled tasks run once, not on both old and new hosts during the transition. |
Documented tools and commands for the move
The documented path for rehosting a packaged OpenProject moves four things in order: the backup, the configuration directory, the database and the file store, then the configuration step that ties them together. Each item below has a specific failure mode, and the order matters because a restore into a half-configured host is hard to unwind.
Backup archive before any stop
Take a full backup with the packaged backup tooling while the source instance still runs and before you stop any service. The archive is the rollback point if the new host fails. Confirm that it includes the database and attachments, not only configuration, and that you can list and read its contents on the target host. Store a copy off the source server, since the source is often decommissioned after the move. Test that the archive is readable before you rely on it.
Migration docsCopying /etc/openproject
The /etc/openproject directory holds the installation configuration, including the secret material that the instance uses to read stored data. Copy it to the new host before running openproject configure, and keep its permissions and ownership intact. Compare the source and target values for the database connection and the host name, because those usually change on a new server. A missing or altered secret can make existing sessions, encrypted values or stored tokens fail after the restore.
pg_restore with --clean
The documented database restore runs pg_restore with --clean, which drops existing objects in the target database before it recreates them from the dump. Run it only against a database you have confirmed is empty or disposable, because any object already there is removed. Check the PostgreSQL version on the target, and confirm that the required extensions (pg_trgm, btree_gist and unaccent) are available. Errors about missing extensions or roles are the most common stop points, so read the full output rather than the exit code alone.
Restoring attachments and repositories
Attachments and any repository data live on the file system, not in the database, so a database restore alone leaves uploaded files missing. Copy them to the paths the new installation expects, then check ownership and permissions for the service user. Verify a sample of work packages with attachments after startup. Confirm the storage path in the configuration matches where the files now live. Ask your team to list any repository integrations and test them separately, because their connection settings may point at the old host.
Running openproject configure
Run openproject configure after the restored files and database are in place. It applies the installation settings to the new host, which is why the wizard is skipped during the package install. Run it once, read every line of output, and rerun only after fixing the cause of a failure. Check the host name, email and proxy settings afterward, since they often still point to the source server. This step is where a configuration mismatch from the copied directory will surface.
Newer target versions and package migrations
The migration documentation states that the target can run a newer version than the source, because package migrations handle the upgrade during configuration. Confirm the target package version and read the release notes for every version between source and target before starting. Plan a rollback point for the old host until the new one passes checks. Do not assume a jump across several releases is safe without testing it on a copy of the data first.
Release notesHow a server move runs from inventory to decommission
The sequence takes a packaged OpenProject installation from an inventoried source host to a validated new host, with the old instance kept recoverable until someone signs off on the move.
Inventory the current installation
Record the installed OpenProject version, the operating system and its release, the database version, every installed plugin, each integration (for example Nextcloud or SSO), the attachment storage location, and the custom configuration under /etc/openproject. The owner of the source host and the platform administrator should both sign the inventory. It is done when every item can be matched to a target setting on the new host, and any version or extension gap has a named owner. Confirm the target OS is one the packaged install supports, and confirm that the PostgreSQL version meets the current requirement of PostgreSQL 16 or later with the pg_trgm, btree_gist and unaccent extensions.
Build the new host and install the package
The platform team prepares the new server with the same or a supported OS, sizes it against the sizing guidance for the user count, and installs the OpenProject package without running the configuration wizard. Skipping the wizard matters because the restore will bring the database and configuration from the old host. The step is complete when the package is installed, the host meets the network, DNS and storage requirements, and the service is not yet serving users. Record the package version, which should match the source version unless a planned upgrade is part of the move.
Rehearse the restore on a copy
Take a backup of the source installation and restore it onto a separate test host built the same way. Restore the database with pg_restore using the --clean option, which drops existing objects in the target database, then copy the attachments and repositories and run the configuration step. Time the steps, note every error, and check that log in and a sample of work packages, attachments and integrations behave as expected. The rehearsal is done when a clean run completes with no unresolved errors and the team has a written runbook that the cutover will follow. Use the rehearsal to confirm the window length you need, because the cutover cannot be planned from guesses.
Run the parallel period with users informed
Tell users which date the move happens, what they will see, and what happens to work entered during the transition. Keep the old instance live during this period while the new host receives a restore for review by a small pilot group. The coordinator confirms who can file issues about data differences and how those issues reach the platform team. The step produces a list of accepted differences and open defects, and the move proceeds only when that list has no blockers. Confirm with the vendor or your own environment how DNS, certificates and reverse proxy settings will switch over, since these are often the last items to change.
Stop the old instance and take the final backup
At the start of the cutover window, announce the freeze, then stop OpenProject on the source host so no writes happen during the backup. Only after the service is stopped, take the final backup of the database and the attachments, and copy /etc/openproject. Store the backup somewhere separate from the source host and verify its checksum or file listing. The step is complete when the service is confirmed stopped, the backup files are present and readable, and the team records the time of the freeze. Do not restore anything until this backup is verified, because it is the only copy of the data taken at the freeze point.
Restore onto the new host and configure
On the new host, restore the database with pg_restore --clean, restore the attachments and repositories to the paths the configuration expects, and copy /etc/openproject from the source. Then run openproject configure so the package applies its migrations and settings for the new environment. A target that is a newer version is handled by the package migrations, but a version change should be a deliberate, tested step, not an accident of the move. The step is done when the configuration run finishes without errors and the application starts on the new host.
Validate the new instance and switch traffic
Check that login works through the chosen identity method, that projects, work packages, attachments and notifications behave as in the rehearsal, and that integrations and outgoing email reach their targets. Compare record counts and a sample of recent items against the source snapshot. Then switch DNS or the reverse proxy to the new host. Users should confirm their access in the pilot group before the window closes. The step is complete when the sign-off checklist is signed by the business owner and the platform owner.
Keep the old host, then decommission after retention
Keep the source host powered off or stopped but recoverable until the agreed sign-off and retention period has passed, so a rollback remains possible. Retain the final backup under the same policy. Only then remove the old host, delete the data according to your retention and data protection rules, and update the asset inventory and runbooks. The step is complete when the decommission record names the date, the retained backup location and the person who approved deletion. Confirm the retention period with your own compliance owner, as the period is set by your policy rather than by the product.
How the backup, restore and configure steps connect
The flow starts on the old host, where the database dump, the attachments and /etc/openproject are backed up and OpenProject is stopped. Those three pieces move to the new host, which receives the packaged install without running the setup wizard. The database is restored with pg_restore --clean, attachments are restored next, and openproject configure runs last. Verification comes before the DNS cutover, so the team confirms the restored instance works before users are pointed at it.
Backup on the old host feeds the package install, restore and configure steps on the new host.
What drives the effort and duration of a server move
This table compares the factors that lengthen or shorten a packaged OpenProject move to new hardware or a new OS, and who typically carries each cost. Read each row as a question to answer for your own installation before requesting a scope. The main takeaway is that attachment volume, integrations and the number of rehearsals usually matter more to the schedule than the move command itself.
| Driver | Why it changes effort | How to keep it down or what to confirm |
|---|---|---|
| Attachment and repository volume | Copying and restoring attachments and any linked repository data often takes longer than the database restore, and transfer speed sets the window. | Measure the size of the attachment directory and any repository storage now. Confirm the transfer method and bandwidth between old and new hosts. |
| Number of integrations | SSO, LDAP, Nextcloud, email and the reverse proxy each carry settings, certificates or endpoints that must be checked after the move. | List every integration and its configuration source. Confirm which settings live in /etc/openproject and which must be re-entered or re-tested. |
| Custom branding and plugins | Custom themes, logos and plugins may need reinstalling or compatibility checks on the target version. | Inventory branding assets and installed plugins. Ask the vendor or partner to confirm plugin support for the target release before cutover. |
| Version gap to the target | The target can be a newer version because package migrations handle the upgrade, but a larger gap means more testing of changed behavior. | Record the current and target versions. Read the release notes for every version in between and plan extra test time for large gaps. |
| User count against the sizing guide | The sizing guide suggests 4 cores and 4 GB RAM for up to 200 users, 8 cores and 8 GB for about 500 users, and 16 cores and 16 GB for about 1,500 users. Undersized hardware slows post-move checks and cutover testing. | Compare your active user count with the sizing guide before ordering hardware. Confirm the target host meets or exceeds the tier for your user count. |
| Downtime tolerance | A short maintenance window leaves little room for a failed restore, so more preparation and a rollback plan are needed. | Define the acceptable outage with business owners. Agree on a rollback point and who can approve it before the cutover date. |
| Number of rehearsals | Each rehearsal on a copy of production exposes restore, permission and integration problems before the real move. | Plan at least one full rehearsal on a restored copy. Ask for the number of rehearsals to be stated in the written scope. |
| Who pays for what | Internal staff time covers backups, access, user communication and business sign-off. Partner scoping covers assessment and runbook design. Testing and cutover support are billed as agreed in the written scope. | Ask each quote to separate scoping, rehearsal testing, cutover support and post-move verification, and to state which items are one-time and which recur. |
What usually goes wrong during a server move and how to prevent it
Most failed rehosts do not fail in the install step. They fail when the restored data, secrets or network path no longer match each other. The cards below cover the risks that typically surface after cutover and the one check that catches each of them before users notice.
Restore overwrites the wrong database
pg_restore --clean drops existing objects in the target database, so a restore run against the wrong host or database name can erase data that is still live. This is most likely when a staging host, the old production instance or a test database is listed in the connection settings. Before running the restore, confirm the target host, database name and role with a read-only query, and keep a fresh backup of the target itself in case the destination was not empty.
Missing or mismatched secrets in etc/openproject
Copying /etc/openproject is what carries the instance secrets across, and the restored database depends on them to read encrypted values and sessions. If the file is skipped, or a value is regenerated on the new host during installation, users may be logged out and stored credentials may stop working. Diff the copied configuration against the source and confirm the secret key is identical before starting the service.
Attachments that do not match database references
The database stores references to files, and those references only resolve if the attachment directory is restored to the same paths with the same ownership. A partial copy or a changed file system layout produces work packages whose files return errors even though the records look intact. Compare a sample of attachment IDs from the database against files on disk, and open several old work packages in the browser after restore.
Unsupported OS or PostgreSQL versions
Packaged installs support a defined set of operating systems, and OpenProject requires PostgreSQL 16 or later with the pg_trgm, btree_gist and unaccent extensions. A new host built from a different distribution or an older PostgreSQL package can install but fail during restore or migration. Check the target OS and database version against the system requirements page and confirm the extensions exist before restoring.
Email and TLS misconfiguration
Outgoing mail settings, the public host name and certificates are often left pointing at the old server. The result is notification emails with old links, failed password resets and browser warnings on the new address. Send a test notification, check that generated links use the new host name, and install the certificate chain on the new proxy before the DNS change.
DNS cutover with cached records
Resolvers and client machines keep old address records for as long as their time-to-live allows, so some users reach the old server after the switch and write changes there. Lower the record time-to-live well before cutover, and keep the old server reachable in read-only mode until traffic has stopped arriving. Check which address clients resolve from more than one network before you retire the old host.
Old instance changed after the backup
Work packages, time entries and uploads created between the backup and the cutover are missing from the new instance. Stopping OpenProject on the old host before the final backup removes this gap, and the same stop prevents users from editing data that will be overwritten. Record the backup time, announce a write freeze to users, and confirm the service is stopped before taking the last archive.
Questions teams ask before moving OpenProject to a new server
What does it cost to move OpenProject to a new server?
The cost is the labor to plan, back up, rebuild the host, restore data and verify the result, and no supplied fact gives a price for that work. Your internal team pays in staff hours, and a partner bills against a written scope. The main cost drivers are the size of the database and attachment store, the number of hosts and proxies involved, whether the OS changes, and how much testing your users require before cutover. Costs recur only if you add ongoing support or retainers. Ask any quote to split planning, the move itself, verification and post-move support, and to state what is excluded, such as hardware, storage or licensing changes.
How long does a packaged OpenProject server move take?
Duration depends on how much data must be copied and how many systems must be checked, and no supplied fact gives a fixed duration. The work breaks into backup, stopping the service, installing the package on the new host without running the wizard, copying /etc/openproject, restoring the database and attachments, and then running openproject configure. Large attachment stores and slow transfers between hosts usually take the longest. Plan a test restore on a copy first, then schedule a maintenance window for the final cutover. Confirm the window and the rehearsal plan with whoever delivers the work.
What does our internal team need to provide for the move?
Your team needs access to the current host, the new host, the database and the attachment storage, plus someone who can approve a maintenance window. You also need the current OpenProject version, the operating system on both servers and a list of any custom settings in /etc/openproject. Target OS must be one of the packaged platforms, such as Ubuntu 22.04, Debian 12, RHEL 9.x or SUSE Linux Enterprise Server 15, and PostgreSQL must be version 16 or later with the pg_trgm, btree_gist and unaccent extensions. Confirm these details before work starts so the rehearsal reflects production.
Can our own administrators move OpenProject without outside help?
Yes, a team with Linux, PostgreSQL and package administration experience can perform the move, and the documented steps are a clear starting point. The risk lies in the details: matching the target OS and PostgreSQL version, copying configuration and secrets correctly, restoring attachments with the right ownership, and verifying login, email and file access afterward. Teams that do this rarely benefit from a rehearsal on a copy and a written rollback plan. If your team lacks that time or experience, a fixed-scope engagement lets DeployOpen plan, implement and verify the move against a written scope.
Does moving to a new server change our OpenProject license?
A server move does not by itself change your license, but you should confirm that your Enterprise plan covers the new environment before cutover. OpenProject lists Enterprise on-premises pricing per named user per month, with Basic at 5.95 euros and Professional at 10.95 euros with a 25-user minimum, Premium at 15.95 euros with a 100-user minimum, and Corporate on request for 250 or more users (OpenProject pricing). Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards. Check the current terms with OpenProject before you move, because pricing and seat counts can differ from the figures at the time you read this.
How do we roll back if the new OpenProject server fails?
Keep the original server untouched and running until the new one passes verification, and do not delete its database or attachment store. The rollback is to stop the new instance, point DNS or the proxy back to the original host and start the original service. This works only if you took a verified backup before stopping OpenProject and if no users wrote new data to the new server. Define a cutover point, a freeze on edits and an agreed time limit for the decision. Test the rollback during the rehearsal so the team knows the steps before they need them.
Will OpenProject run after the move, and what should we check?
Expect a working instance only after you verify it, so plan checks for login, the database, attachments, email, proxy routing and background jobs. Run openproject configure after the restore, then confirm that users can sign in, open work packages, download attachments and receive notifications. Restoring with pg_restore --clean drops existing objects in the target database, so confirm you point it at the correct database before running it. Compare the version on the new host with the source and keep a record of each check so you can show what was tested.
What to confirm with your own environment before the rehearsal
Start by recording the exact installed package version on the source host and comparing it with the target. The OpenProject system requirements list the packaged operating systems that are supported (Ubuntu 22.04, Debian 12, CentOS or RHEL 9.x and SUSE Linux Enterprise Server 15), so confirm that your chosen target OS is on that list before you order or build the new host. Do not assume a newer OS release is covered because an older one is. Check the vendor documentation for the release you plan to run, because a target can be newer than the source, but the supported combinations are what your rehearsal must prove.
Next, confirm the database side. OpenProject officially supports PostgreSQL 16 or later and requires the pg_trgm, btree_gist and unaccent extensions. Check the source server's PostgreSQL version, then check whether the target server provides those extensions in its installed packages, since a missing extension will fail the restore late in the window. Measure the size of the attachments directory and the free space on the target volume, leaving headroom for the restore and for growth after cutover. Also check /etc/openproject: confirm that SECRET_KEY_BASE exists in the configuration you will copy, and note any other custom settings such as host names, email and proxy values, so you know which ones must change on the new host.
Finally, inventory everything that points at the old hostname. This includes SSO redirect URIs at your identity provider, reverse proxy and DNS records, email links, webhooks, Nextcloud or other integration settings, and any scripts or monitoring checks that call the old address. Each of these needs an owner and a planned change, and some may need the identity provider's administrators to act during the change window. Where a fact or setting is not covered in the documentation you have, ask the vendor or your own platform team to confirm it in writing rather than relying on memory or a previous install.
How DeployOpen scopes, delivers and supports a server move
DeployOpen plans and carries out the move of a packaged OpenProject installation onto new hardware or a new operating system inside your own infrastructure. Each engagement follows a written scope, a rehearsed restore, a documented cutover and an optional support retainer after go-live.
How we scope
- We confirm the source and target operating systems against the packaged install list before any work starts.
- The written scope names the database, attachment and repository data to move, plus any integrations that must reconnect.
- We ask for the current OpenProject version and the target version so the package upgrade path is agreed in advance.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
How we build
- We stage the new host with the package installed but the setup wizard skipped, so configuration is restored rather than recreated.
- We take a backup, stop the source instance, and copy the configuration directory before the database is restored.
- We restore the database with pg_restore using the clean option, then restore attachments and repositories to their original paths.
- We run the configure step on the new host and test sign-in, file access, email delivery and work package history.
How we hand over
- We document the cutover runbook, including the backup point, restore commands, configuration files and rollback steps.
- We record the verification checks performed, so your team can repeat them during future moves or upgrades.
- We walk your administrators through the new host layout, service names, log locations and backup schedule.
- We confirm with you which DNS, proxy and certificate changes your team owns after the cutover window closes.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the move is complete.
- A retainer can cover package upgrades, backup restore tests and monitoring of the relocated instance.
- Support scope and response arrangements are set out in the written agreement, so you know what is covered before go-live.
- Ask for a quote based on the written scope, including who performs each restore test and how often they recur.

