Why OpenProject 17 needs a collaboration server for documents
Real-time collaborative documents in OpenProject 17 depend on a separate Hocuspocus collaboration server, and the DEB and RPM package installs do not include it. If your team runs a self-hosted OpenProject 17 instance from packages and wants several people editing the same document at once, you will need to add this component yourself, or move to an install method that ships it. Plan this before users ask for live editing, because the feature will not work until the server is running, reachable from the browser, and configured to talk to OpenProject.
Whether you need it depends on what your teams do with documents in OpenProject. If documents are mostly read, or edited by one person at a time, the core work package, project and planning features do not depend on the collaboration server, and you can defer the setup. If project pages, meeting notes or specifications are co-edited, the server becomes part of the service you operate. Confirm in the OpenProject 17 release notes and your own test instance which document features rely on it, and check that your install method is the one you expect before you schedule the work.
Treat the collaboration server as a second service with its own dependencies: a network path from users' browsers through the same proxy and TLS setup as OpenProject, a shared secret that OpenProject and the server both hold, and an owner who will apply updates alongside the main application. Decide early who owns that service, how it is monitored, and whether your chosen install method leaves room to run it. The sections that follow cover the Compose settings, the secret, package installs that lack the component, and placement behind your existing proxy.
How the collaboration server sits beside OpenProject and the proxy
Browser traffic starts at the TLS proxy, which splits it. Standard web requests go to the OpenProject application, while real-time document sessions go to the Hocuspocus collaboration server. OpenProject and the collaboration server both hold the same COLLABORATIVE_SERVER_SECRET and point to the same COLLABORATIVE_SERVER_URL, so the secret and URL must match on both sides. Check that the proxy forwards WebSocket upgrades for the collaboration path, and that both services stay inside the internal network boundary.
Browser traffic is split at the proxy, and OpenProject and Hocuspocus share one secret.
Choosing the right deployment path for the collaboration server
With Docker Compose, the collaboration server is configured through the Compose environment rather than added as a separate package. The OpenProject stack expects two settings to be consistent: COLLABORATIVE_SERVER_URL tells the web and worker containers where to reach the server, and COLLABORATIVE_SERVER_SECRET is the shared secret both sides use to trust each other. The documented default secret should be replaced before any shared or production use.
- Set the server URL:
COLLABORATIVE_SERVER_URLmust resolve from the OpenProject containers, which may differ from the public address your users open in a browser. - Replace the default secret: Generate a long random value and store it in your normal secrets handling, not in a shared Compose file.
- Keep the secret identical: Any change to
COLLABORATIVE_SERVER_SECRETmust be applied to every service that reads it, then the stack restarted. - Plan the proxy path: Decide how the collaboration traffic reaches the server through your reverse proxy and TLS setup, so WebSocket connections are not blocked.
- Check after each upgrade: Compare your overrides with the Compose files of the release you deploy, since variable names can change between versions.
After the change, open a collaborative document in two browser sessions and confirm that edits sync in real time.
Packaged installs on supported Linux distributions do not include the Hocuspocus collaboration server, so real-time collaborative documents need an additional component installed and kept in step with the OpenProject version. The package path also means that the configuration you would normally write in Compose has to be mapped to the package's own configuration and service layout. Confirm the exact component, its install source and its service name against the OpenProject 17 release notes before you change a production host.
- Confirm the gap: Check on your host whether the collaboration service exists before assuming documents will work.
- Match versions: The collaboration component should correspond to the OpenProject release you run, and upgrades should move both together.
- Align the secret: The shared secret and server address must match what the OpenProject application uses on that host.
- Place it behind the same TLS proxy: Route it through the same host name and certificate as OpenProject, so browsers do not face mixed origins.
- Restart and test: Restart the affected services in the order the documentation gives, then test collaborative editing with two users.
Before installing anything, check which OpenProject package version and distribution release your host runs.
Kubernetes deployments, including the Helm chart route and OpenShift, follow their own service and networking model, so the Compose steps do not transfer directly. The collaboration server becomes another workload that must be reachable from OpenProject pods and from users through the ingress or route, with its secret held in the cluster's secret management. Confirm how the chart exposes this component, which values control its URL and secret, and whether it is enabled by default in your chart version.
- Find the chart values: Locate the settings for the collaboration component and its secret in the chart you deploy.
- Plan ingress or routes: Decide how WebSocket traffic is terminated and whether the same host name serves both services.
- Manage the secret: Store the shared value in your cluster secret store and rotate it through the same process as other credentials.
- Scale deliberately: Confirm how many replicas the component supports before increasing them.
- Test network policy: If you restrict pod traffic, allow the OpenProject workloads to reach the collaboration service.
Before you change values, read the platform documentation for your chart version.
In an air-gapped network, the collaboration server adds a container image or package that must be mirrored into the isolated environment along with the rest of OpenProject. Nothing in the server setup should depend on internet access at runtime, and the same applies to any image registry the install pulls from. The approach must be confirmed against the platform documentation for your install method, because mirroring steps differ between Compose, packages and Kubernetes.
- Inventory the artifacts: List every image or package the collaboration server needs for your chosen release and mirror them before the change window.
- Confirm registry dependencies: Check whether any startup step contacts an external registry and plan a local alternative.
- Keep the secret internal: Generate the shared secret inside the network and store it with other internal credentials.
- Plan internal certificates: Make sure the proxy and any internal certificate authority the browsers trust cover the collaboration path.
- Schedule updates: Mirror each future release, since the server must match OpenProject's version.
Before mirroring, confirm the full list of artifacts with the platform documentation for your install method.
Configuration options for the collaboration server and when each fits
This table compares the settings and install paths that decide how the Hocuspocus collaboration server is wired into OpenProject 17. Read each row for the setup it fits and the item to confirm before you change a value. The main takeaway is that the URL, the secret and the reachable address must agree, and package installs need a separate collaboration server.
| Option | When it fits | What to confirm |
|---|---|---|
| COLLABORATIVE_SERVER_URL | Docker Compose installs where OpenProject reaches the collaboration server by its internal service address | The value resolves from the OpenProject container and matches the service name and port in your Compose file |
| COLLABORATIVE_SERVER_SECRET (default) | Only a short test on an isolated host, since the default secret is public knowledge | Replace it before any user logs in, and confirm no environment file still carries the default |
| COLLABORATIVE_SERVER_SECRET (overridden) | Every production Compose deployment, with a long random value stored in your secrets handling | The same value is set for both the web and collaboration containers, and a restart picks it up |
| Public address behind the proxy | Users edit documents in the browser, so the collaboration endpoint must be reachable through the same host name and TLS | The proxy routes the collaboration path to the server and keeps WebSocket upgrades enabled |
| Internal address only | The collaboration server should not be exposed directly to users and only the OpenProject service calls it | Browsers still need a route to the public path, so confirm which address the client code uses |
| Package install (DEB or RPM) | Ubuntu, Debian, RHEL or SLES installs, which do not include the Hocuspocus server | Whether you deploy the server separately and point COLLABORATIVE_SERVER_URL at it, using a supported setup from the vendor docs |
How to add the collaboration server step by step
This sequence adds the Hocuspocus collaboration server to a Docker Compose OpenProject 17 install, so real-time collaborative documents sync between users and the setup is checked at each stage.
Confirm the OpenProject 17 version
Start by checking which OpenProject version the instance runs. Real-time collaborative documents in OpenProject 17 need a Hocuspocus server, so the work only applies to 17.x. Confirm the running version in the administration area or by checking the image tag in your Compose file, and confirm your install method. DEB and RPM package installs do not include the Hocuspocus server, so a package install needs a separate plan before you continue. You are done when you have the exact version and install method written down.
Replace the default shared secret
Set COLLABORATIVE_SERVER_SECRET in your environment file to a long, random value that only your team holds. The default secret shipped with the Compose setup should be overridden, because OpenProject and the collaboration server use it to trust each other. Generate the value with a password manager or a command such as openssl rand, and store it with your other deployment secrets. You are done when the default value no longer appears anywhere in your configuration files.
Set the collaboration server URL
Set COLLABORATIVE_SERVER_URL to the address that browsers and the OpenProject container will use to reach the collaboration server, which should be the public host name you publish through your proxy. Keep the scheme and path consistent with the route you will configure in step five. Ask your network team to confirm that the chosen host name resolves inside your environment. You are done when the variable is set and the value matches the host name in your proxy plan.
Start the Compose stack
Apply the changes and recreate the containers so that the new variables and the collaboration service take effect. Run the Compose command from the directory that holds your compose file, then list the containers and confirm that the collaboration service is running alongside the web and worker containers. Review its logs for startup errors, especially mismatched secret messages. You are done when all services report a running state and the logs show no authentication or connection errors.
Route the collaboration path through the proxy
Add a route in your existing reverse proxy that sends the collaboration path to the collaboration service, using the same host name and the same TLS certificate as OpenProject. WebSocket connections must be passed through, so confirm that your proxy forwards upgrade headers for that path. Ask your platform team to check whether the proxy has a request timeout that would close long-lived connections. You are done when the collaboration endpoint answers over HTTPS through the public host name and the certificate chain is valid in a browser.
Verify document sync in two sessions
Open the same work package or project document in two separate browser sessions, for example one normal window and one private window signed in as a different user. Type text in the first session and confirm it appears in the second without a page reload. Then reverse the direction and confirm the change returns. If text does not sync, check the browser console for failed WebSocket connections and review the proxy and collaboration logs. You are done when edits appear in both sessions in both directions.
What to do when your package install lacks the collaboration server
The first decision is whether to move to Docker Compose or to run the collaboration server beside your package install. The OpenProject 17.0.0 release notes state that DEB and RPM package installs do not include the Hocuspocus server that real-time collaborative documents need. If your instance runs on the packaged install for Ubuntu, Debian, RHEL or SLES, you cannot enable those documents by changing a setting alone. Moving to Docker Compose brings the server in with the official configuration, but it is a platform change with its own data migration, backup and proxy work. Running Hocuspocus separately keeps the package layout but adds a service your team must install, patch and monitor. Decide which of these you can own for the life of the instance before you touch the configuration.
Ask the vendor and your own team a short set of questions before choosing. With OpenProject, ask which Hocuspocus build and version pairs with your exact OpenProject release, where that build is distributed, and whether the package maintainers document a supported way to run it. Ask how the collaboration server authenticates to OpenProject, where the shared secret is set, and how it is rotated. On your side, confirm who will patch the Node-based service, which host or container it runs on, how it reaches the same host name and TLS path as the main application, and whether your change process allows a second service in production. Also confirm that your network allows the browser to open the collaboration connection through your existing proxy.
Do not assume the steps for a separate server. Confirm the exact installation, configuration keys and secret handling against the release notes for your version before you plan the change, because the supplied material covers the Compose settings (COLLABORATIVE_SERVER_URL and COLLABORATIVE_SERVER_SECRET) but not a standalone procedure. Test the setup on a copy of your instance first, open a collaborative document from two browsers, and record the result. Include the rollback path in the change plan, since a failed collaboration service should not block ordinary work package editing.
Securing the shared secret and the collaboration traffic
The collaboration server holds live document content and trusts OpenProject through a shared secret, so the secret, the network path and the logs all need deliberate handling. The cards below cover the controls that connect those pieces and the checks to run before and after each change.
Replace the default secret
The Docker Compose setup ships with a default value for COLLABORATIVE_SERVER_SECRET, and that value is public to anyone who has read the install documentation. Set a long random value before the first start, using a generator with enough entropy, and confirm that both the OpenProject container and the collaboration container receive the same string. A mismatch usually shows up as documents that fail to load or save, so test a document edit immediately after the change.
Keep the secret out of version control
Compose files, environment files and install scripts often end up in Git repositories, configuration management repos or shared tickets. Store the value in your secrets manager or an environment file with restricted permissions, and reference it rather than typing it into the docker-compose.yml. Check the repository history as well as the current tree, because a secret committed once remains exposed even after it is deleted. If it was committed, treat it as compromised and rotate it.
Restrict which services reach the server
The collaboration server should accept connections only from the OpenProject application container, not from user networks, other tenants or the public internet. In Compose, keep its port off the host and attach it to the internal network that OpenProject uses. For packaged or external deployments, apply firewall rules that allow only the OpenProject hosts. Verify the rules from a machine outside that set, since a reachable port with a valid secret is a path to document content.
Terminate TLS on the public path
Browsers connect to the collaboration server through the same host name and proxy as OpenProject, so the public path carries document edits and session traffic. Serve it over HTTPS with the same certificate chain as the main site, and make sure the proxy forwards the WebSocket upgrade headers the server needs. Traffic between OpenProject and the collaboration server runs on the internal network, so decide whether that hop also needs TLS under your own network policy. Check both paths with a browser developer tools session.
Control log handling for document content
Collaboration servers can log connection events, document identifiers and errors, and debug logging may capture more of the payload than operations need. Set log levels to the minimum that supports troubleshooting, and confirm which fields your container runtime or log shipper stores and for how long. Restrict access to those logs, since they may reveal which work packages are being edited and by whom. Ask your compliance team to classify these logs with the same rules as the OpenProject application log.
Rotate the secret with a planned restart
Changing the secret requires updating both containers and restarting them, so active editing sessions will be interrupted. Schedule the change in a maintenance window, announce it to project teams, and update the value in the secrets store first so that the restart reads the new value. After the restart, open a test document from two sessions and confirm that edits sync. Record the rotation date and the owner so the next rotation has a clear reference point.
Running the collaboration server after go-live
The collaboration server is a separate process that OpenProject 17 depends on for real-time document editing, so it needs its own monitoring, not just the OpenProject web and worker checks. Set up a process or container health check for the Hocuspocus service, alert when it stops or restarts repeatedly, and confirm that a test document still opens and syncs between two browsers after each change. Check the Compose service logs for connection errors from the main application, because a healthy web container can still show a broken editing experience when the secret or URL no longer matches. Record the exact COLLABORATIVE_SERVER_URL and COLLABORATIVE_SERVER_SECRET values in your runbook so that the on-call engineer can compare them quickly.
Every OpenProject upgrade is a point where the collaboration server must be checked again. Read the release notes for the target version before you upgrade, confirm that the collaboration component version in your deployment matches what that release expects, and restart it in the same change window as the application. Keep the shared secret unchanged during upgrades unless you plan a coordinated rotation, because a mismatch stops documents from loading while the rest of OpenProject looks normal. For package installs, confirm where the separately installed server is managed by systemd and that it starts after the main services. Schedule a smoke test of collaborative editing as a standard step in every upgrade checklist.
Backups need a specific answer from the vendor or your own testing. Ask OpenProject which data the collaboration server stores itself, such as any temporary document state, and which content lives in the OpenProject database and attachments. Based on that answer, your backup plan for the main database and attachment storage may already cover documents, but a restore test should prove that a restored instance opens and edits collaborative documents correctly with a matching secret. Assign ownership in the runbook: name one team for the collaboration server, usually the same platform team that runs OpenProject, and define who approves secret rotation, who receives its alerts and who signs off the post-upgrade test.
Questions teams ask before setting up the collaboration server
Do we need the collaboration server for OpenProject 17?
Yes, if your teams plan to edit documents together in real time. Real-time collaborative documents in OpenProject 17 need a Hocuspocus server, and the DEB and RPM package installs do not include one. Without it, the document feature in your instance will not work as your users expect, so check this before you roll out OpenProject 17 to a team that relies on shared documents. The OpenProject 17.0.0 release notes describe the requirement. Confirm the exact behavior of your installation method in your own test environment before you rely on it.
Does a Docker Compose install need extra work for the collaboration server?
Some configuration is required, but the Compose setup is the simplest path. The Compose file uses COLLABORATIVE_SERVER_URL and COLLABORATIVE_SERVER_SECRET, and the default secret should be overridden before the instance serves users. Your work is to set a strong, unique secret, point the URL at the address users actually reach through your proxy, and restart the stack so both services share the same value. Read the OpenProject Docker Compose documentation for the current variable names and layout before you edit your files.
What does the internal team need to provide for this setup?
Your team needs people who can edit the Compose or package configuration, manage secrets, and control the reverse proxy and TLS certificates. The main inputs are the public host name, the internal address of the collaboration server, a secret store for the shared value, and access to the proxy configuration so that the collaboration path is routed correctly. If you run packages, someone must also decide how to deploy the Hocuspocus component, since it is not included. Someone should own the verification steps, including testing real-time editing with two browser sessions after each change.
How long does a collaboration server setup take, and what drives that?
The duration depends on how your OpenProject instance is installed, how your proxy and TLS are already managed, and how many approvals your change process requires. A Compose install with a single host and an existing proxy is usually the shortest path. Packaged installs, separate hosts, custom certificate authorities, or a proxy managed by another team add steps and coordination. Ask any provider for a written plan that lists each step, the systems touched, and the test evidence they will deliver, rather than a single overall estimate.
Can our team set up the collaboration server alone?
Yes, a team with Linux, container and proxy skills can usually complete the setup alone, provided they follow the official documentation and test the result. The hard parts are rarely the variables themselves. They are keeping the shared secret consistent across services, routing the collaboration traffic through the same proxy and TLS setup as the main application, and testing real-time editing with multiple users. If your team lacks one of those skills or cannot run a test environment first, a partner can reduce the risk.
What does a partner's scoped engagement for this work include?
DeployOpen plans, implements and documents self-hosted open-source platforms inside your own infrastructure, so a scoped engagement for the collaboration server would cover the agreed items in writing before work starts. Typical items include reviewing your current deployment, configuring the collaboration service and shared secret, placing it behind your existing proxy and TLS, testing real-time editing, and handing over runbooks. Scope, deliverables and timelines are agreed in writing, and a quote follows from that scope. Ask for the list of tested cases and the rollback steps in any proposal.
What should we check after the collaboration server is running?
Check that two users can edit the same document at the same time, that changes appear without a page reload, and that the connection works through the public host name and TLS. Also confirm that the secret is not the default value, that it is stored in your secret management process, and that restarts and upgrades keep the two services in step. Repeat these checks after each OpenProject upgrade, since the collaboration component must stay compatible with the release you run.
How scope and cost follow the install method
Cost and effort depend on three things: the install path, the proxy and TLS setup, and the number of environments. A Docker Compose install that adds the collaboration server is a different job from adding it to a package install, where the Hocuspocus server is not included and has to be deployed and wired in by hand. Each path changes which configuration files, service units or containers need to be touched, how the shared secret is distributed, and how much testing is needed before the change reaches users. The reader should ask the partner to state which install path the quote assumes and what would change if the instance runs on a different path.
The proxy and TLS setup adds its own scope. The collaboration server has to sit behind the same host name, certificate and proxy rules as the main application, so the quote should say who owns the reverse proxy configuration, whether WebSocket traffic is already passed through, and whether any trusted proxy or custom root CA work is included. Each environment, usually development, test and production, repeats the configuration, the secret rotation and the verification steps. Ask whether the quote is per environment or covers all of them, and whether a staging run is included before production.
Prices are not published, and a quote follows the written scope. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the quote is only as clear as the scope behind it. Ask for a one-time setup fee listed separately from any recurring support or upgrade retainer, and confirm what happens when the next OpenProject feature release changes the collaboration server requirements. A written scope that names the install path, the proxy, the environments and the handover documents makes it possible to compare offers on equal terms.
How DeployOpen scopes and delivers the collaboration server
DeployOpen treats the Hocuspocus collaboration server as part of the OpenProject deployment, not an afterthought. We agree the scope in writing, add the service to your existing Compose, package or other install, and verify that real-time documents work through your proxy and TLS setup before handover.
How we scope
- Confirm your OpenProject 17 version and whether you run Docker Compose, a DEB or RPM package, or another install.
- Identify which packaged or existing hosts need a Hocuspocus service added, and where it will run.
- Record the proxy, host name, TLS and secret handling decisions in the written scope before work starts.
How we build
- Set the collaboration server URL and a replaced shared secret in the Compose configuration for your environment.
- Place the collaboration service behind the same reverse proxy and TLS termination used for OpenProject.
- Test document editing with several users, then check the logs for connection and authentication errors.
How we hand over
- Deliver a written record of the settings changed, the secret storage location and the proxy rules used.
- Provide a short runbook covering restarts, version alignment during upgrades and where to look when documents fail.
- Walk your platform team through the verification steps so they can repeat them after future changes.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Ask any partner for a quote built from the written scope, including what recurs after the initial work.

