OpenProject Nextcloud integration

Connecting OpenProject to Nextcloud lets teams attach and browse files from work packages, with optional single sign-on and automatically created project folders. This page covers the decisions, build sequence, effort and handover.

On this page

How the OpenProject Nextcloud integration links work packages to files

The OpenProject Nextcloud integration connects work packages in OpenProject to files and folders stored in Nextcloud, so teams can plan work in one place and keep their documents in the other. Teams need it when planning happens in OpenProject but the working documents, specifications, contracts or design files already live in Nextcloud and nobody wants to maintain two copies. The core link between Nextcloud files and work packages, along with automatic management of project folders, is available in the OpenProject Community edition. Signing users in through an OpenID Connect provider via the integration is an Enterprise add-on, so confirm the edition you need before you design the login flow. The OpenProject Nextcloud integration documentation lists the current setup steps for your release.

The integration is harder than it looks because it spans two identity systems and two permission models. OpenProject decides who can see a work package based on project membership, while Nextcloud decides who can open a folder based on its own shares and groups. If a project member can see a linked file in OpenProject but cannot open it in Nextcloud, or the reverse, users will assume the integration is broken. Someone must decide which system is the source of truth for each user, how Nextcloud users map to OpenProject accounts, and whether group membership is kept in step between them. Plan this before rollout, not after the first complaint.

Folder structure is the second risk. Automatically managed project folders only stay tidy if the naming convention, the parent folder and the permissions applied to new folders are agreed in advance, and if someone owns changes to them. Renaming a project or moving files in Nextcloud can break the expected link between a work package and its files. Before go-live, run a test with a sample project, confirm which folder is created, who gets access, and what happens when a project is archived or renamed, and confirm each behavior against your installed release.

Which OpenProject and Nextcloud parts the integration touches

The integration spans two separately administered servers, a storage connection, an optional sign-in layer and the network between them. Each part has its own owner and its own failure modes, so problems often look like file access errors even when the cause is an identity or network setting.

Nextcloud storage connection in OpenProject

OpenProject needs a storage entry that points to your Nextcloud server. The administrator sets the server address and the storage details in OpenProject's administration area, then links files and folders to work packages through that connection. A wrong or unreachable address, or a storage entry that was never enabled for a project, makes file links appear broken for every user. Confirm the storage settings against the integration documentation for your OpenProject version before you roll it out.

Nextcloud integration docs

OAuth client or OIDC app in Nextcloud

Nextcloud must hold a client registration for OpenProject so that OpenProject can request access on behalf of users. Its client ID and secret, and the redirect addresses it accepts, must match what OpenProject expects. A redirect address that uses the wrong scheme or host is the most common cause of a failed connection. Record who owns this registration, because rotating the secret later requires changes on both servers.

Work package file links and file lists

Once the storage is connected, users can attach Nextcloud files and folders to a work package and view them in a file list on that work package. Permissions come from both sides: a user needs access to the work package in OpenProject and to the file in Nextcloud. A user who can see a work package but not the linked file in Nextcloud will see an error or an empty entry, which is expected behavior but often reported as a bug. Test with a representative set of roles before launch.

Automatic project folder management

OpenProject can create and manage project folders in Nextcloud automatically, so each project gets a predictable location without manual setup. The administrator decides the folder naming and the location, and the integration account needs rights to create and modify folders there. Problems appear when the account lacks write access, when folder names collide with existing ones, or when a project is renamed after folders already exist. Agree the naming convention and the rename policy before enabling this feature.

Identity provider for OIDC sign-in

If users should sign in to both systems with one account, an OpenID Connect provider sits between them. The provider issues the identities, the client settings in OpenProject and Nextcloud must match it, and user attributes must be consistent across both applications. OpenProject lists OIDC sign-in as an Enterprise add-on, so confirm the edition before planning this part. Clock drift, expired certificates or mismatched user identifiers are typical causes of sign-in loops.

Network path between the two servers

OpenProject calls Nextcloud over the network, and users' browsers reach both applications directly. The servers need a route to each other, certificates trusted by both sides, and firewall rules that allow the traffic in each direction. Internal DNS names, reverse proxies and private certificate authorities are frequent sources of failure, and they often work for users but not for the server-side calls. Test both paths separately from the server and from a user's browser.

Which authentication and folder model to choose

This table compares the four main choices for connecting OpenProject to Nextcloud: how users sign in, how project folders are created, how many Nextcloud instances are used and whose credentials access storage. Read each row as a decision, then check the operational cost named in the last column before settling on a model.

DecisionOption and when it fitsOperational cost to plan for
AuthenticationOAuth connection only (Community edition). Fits teams that accept a separate Nextcloud login alongside their OpenProject login and want no Enterprise license.No license cost for the integration itself. Users manage two sets of credentials, and offboarding must be done in both systems.
AuthenticationOpenID Connect single sign-on through the Enterprise add-on. Fits organizations that already run a central identity provider and want one login for both tools.Ongoing per-user Enterprise license, using the published prices on the OpenProject pricing page. Identity provider client setup and claim mapping must be maintained.
Folder modelAutomatically managed project folders. Fits programs where every project needs a matching folder and naming follows a standard.Folder governance work is front-loaded: naming rules, permissions and archiving must be agreed. Ask who owns cleanup of folders for closed projects.
Folder modelManually linked folders. Fits small teams or projects with existing file structures that should not be reorganized.Lower setup effort, but links drift over time as folders move or get renamed. Someone must audit links on a regular schedule.
Nextcloud instancesOne shared Nextcloud instance. Fits organizations with one file governance policy and a single admin team.One set of backup, upgrade and access reviews. Permissions across business units need careful group design to avoid oversharing.
Nextcloud instancesSeparate instances per business unit. Fits units with strict data separation requirements or different hosting or retention rules.Each instance adds its own patching, backup and identity configuration. Ask the partner to price this per instance during scoping.
Storage credentialsUser-level credentials, where each person's own Nextcloud access governs what they see. Fits environments where audit trails must name the individual.Each user connects their account, so support requests and token issues scale with headcount. Confirm the offboarding path for revoked accounts.
Storage credentialsAdmin-level storage credentials, where one service account accesses folders on behalf of users. Fits automated folder management at scale.The service account becomes a high-value target. It needs scoped permissions, rotation and monitoring, and its activity must be traceable to users in your audit logs.

How to build the Nextcloud connection step by step

This sequence takes an on-premises OpenProject and Nextcloud from a compatibility check to a documented integration where work packages link to files and project folders are managed automatically. Each step closes with a check you can verify before moving on.

  1. Confirm versions and the network path

    Before touching either system, record the OpenProject and Nextcloud versions you run and confirm that the OpenProject server can reach the Nextcloud host over HTTPS, and that Nextcloud can reach OpenProject for callbacks. Check the Nextcloud integration page in the OpenProject system administration guide for version requirements on the Nextcloud side, and confirm them with your OpenProject release, since OpenProject ships frequent minor releases. Test name resolution, certificate trust and any proxy or firewall rules from both directions. Done means you can open the Nextcloud login page from the OpenProject host and the OpenProject login page from the Nextcloud host using the same hostnames your users will use.

  2. Create a dedicated Nextcloud service account

    Create a separate Nextcloud user for OpenProject, not a personal administrator account, and give it only the access needed to manage the folders and files that projects will use. Then create the OAuth client or app registration in Nextcloud for OpenProject, with the redirect URI that OpenProject shows in its Nextcloud storage settings. Store the client ID and secret in your secrets manager. Done means the service account can log in to Nextcloud, the app registration exists, and the redirect URI matches the one OpenProject expects character for character.

  3. Configure Nextcloud storage in OpenProject

    As an OpenProject administrator, add a Nextcloud file storage under the administration area, enter the Nextcloud host, the client ID and secret, and save. OpenProject then starts the authorization flow. A user who authorizes the connection grants OpenProject access to Nextcloud on their behalf, so have the service account complete this step as the first authorization. Done means the storage shows as connected with a successful authorization, and the storage appears as available in the project settings for file storages.

  4. Test a file link on one work package

    In a test project, open one work package, add a file link to a document already in Nextcloud, and open it from the work package. Then check that a user without access to the Nextcloud file is refused, which confirms that permissions follow Nextcloud rather than being copied into OpenProject. Use a file in a folder your test user can open in Nextcloud and one they cannot. Done means the permitted file opens from the work package in a new view and the restricted file does not open.

  5. Enable automatic project folders on a pilot project

    Choose one pilot project with a small, known membership and turn on automatic project folder management for it in the project's file storage settings. Decide the parent folder in Nextcloud where project folders are created, and confirm which OpenProject roles receive which Nextcloud permissions. Save the settings and let OpenProject create the folder. Done means the project folder exists in Nextcloud at the expected path, members see it with the permissions you planned, and a user outside the project cannot see it.

  6. Add OIDC sign-in only if licensed

    Single sign-on for the Nextcloud connection through an OpenID Connect provider is an Enterprise add-on according to the OpenProject documentation. Confirm your license covers it before you configure it. If it is covered, register OpenProject as a client in your identity provider, configure the OIDC settings in OpenProject, and test sign-in with a pilot user. If it is not covered, skip this step and keep the service account authorization from the earlier steps. Done means a pilot user signs in through the identity provider and reaches the linked files without a second password prompt, or you have recorded that the step was intentionally skipped.

  7. Document the result and the operating rules

    Write a short runbook that records the OpenProject and Nextcloud versions, the hostnames, the service account and where its secret is stored, the redirect URI, the parent folder for project folders, the pilot project's permission mapping, and the tests you passed. Include the steps to rotate the client secret and to re-authorize the storage after an upgrade. Ask your implementation partner or internal team to review it. Done means someone who did not build the connection can repeat the pilot test from the runbook alone.

How a file link travels between OpenProject and Nextcloud

The flow starts with a user in the browser who opens a work package and attaches a Nextcloud file or folder link. OpenProject uses the user's Nextcloud connection to reach the Nextcloud server, which holds the file and the project folder that OpenProject can create automatically. The trust boundary sits between the two applications, so token exchange is the hand-off to check: confirm which account and permissions the connection uses. Where OpenID Connect sign-in is used, the identity provider is an optional Enterprise path. Check that users see only the files their Nextcloud permissions allow.

File links and project folder creation across the OpenProject and Nextcloud boundary.

Why automatic project folders need permission planning first

Automatically managed project folders work well only after the team has agreed three things: who may see which project, how folders are named, and what happens to Nextcloud content that already exists. The integration can create and link folders on its own, so any gap in these decisions is copied across every project at once. Settle these questions in writing before anyone switches the setting on for all projects, and confirm the exact folder naming and existing-content behavior against the OpenProject Nextcloud integration documentation for the version you run.

Two permission systems are involved, and they can drift apart. OpenProject decides access through project membership and roles, while Nextcloud decides access through its own folder sharing and group settings. When someone is removed from a project in OpenProject, their access to the matching Nextcloud folder does not automatically change in the same way unless the setup is tested for that case. Test membership changes in both directions (adding a user, changing a role, removing a user) and compare what each person can actually open in Nextcloud. For illustrative purposes, a contractor removed from a project on Monday may still reach its files on Tuesday if the folder share was never revoked.

The integration also connects to Nextcloud through a single service account, which concentrates access. Whoever controls that account, or whoever compromises its credentials, can reach every folder the integration manages, so the account should have the narrowest rights the feature needs and its credentials should sit in a managed secret store. Before enabling the setting for all projects, pick one low-risk pilot project, let a small group of users work in it for a defined period, and review folder names, shares and removals with both the project lead and the Nextcloud administrator. Expand only when the pilot results match the permission model the team agreed on.

What drives the effort and cost of the integration

This table lists the factors that change how much work the OpenProject and Nextcloud integration takes, why each one matters and how to keep it contained. Read it before requesting a quote, since each driver shows what to scope in writing. The main takeaway is that a pilot with one project and a standard folder template usually shrinks the work more than any other single choice.

DriverWhy it changes effort or costHow to keep it down
Number of projects and users needing file accessEach project needs a folder structure, linked work packages and permission checks, so effort grows with the count of projects and the users who touch files.Pilot with one or two projects, then add projects in batches using the same template.
Existing Nextcloud folder structure and data volumeLegacy folders with inconsistent names, duplicates or large archives must be mapped to project folders before automatic management is safe to enable.Audit the current folder tree first, agree a naming convention and archive stale data before connecting.
Identity model (OAuth only versus OIDC through the Enterprise add-on)OAuth-based linking uses a different setup than OpenID Connect single sign-on, which is an Enterprise add-on, so the choice affects licensing and configuration steps.Confirm the identity model and edition in writing before work starts, and check current add-on terms with OpenProject.
Number of environments (test, staging, production)Each environment needs its own Nextcloud and OpenProject configuration, credentials, callback addresses and test data, so every extra environment repeats setup and verification work.Build the configuration once in a test environment, script the settings and promote the same steps to later environments.
Network and TLS constraints between serversOpenProject must reach Nextcloud and users' browsers must reach both, so firewall rules, certificate trust and internal DNS can add troubleshooting time, especially in segmented or air-gapped networks.Document the required paths and certificate chain early, and test connectivity from each server before configuring the integration.
Permission mapping and service account scopeNextcloud sharing rights must line up with OpenProject project roles. Broad service account rights simplify setup but widen the blast radius, while narrow rights need more mapping work.Use one service account with clearly limited scope, map roles from a short written matrix, and review it at each new project.
Training and change adoptionUsers need to learn where files live, how links to work packages behave and what happens when a project is archived. Without it, support requests and workarounds grow.Provide a short guide and a recorded walkthrough for one pilot team, then reuse them for each rollout wave.

How the setup changes by deployment and identity model

On a single host, OpenProject and Nextcloud usually share one private network segment, so integration traffic stays local and routing is simpler. Both applications can often reach each other through internal hostnames. The OpenProject Nextcloud integration guide describes the settings, and your work is mostly making sure each side trusts the other and that secrets are protected.

  • Routing: Confirm the OpenProject host can reach the Nextcloud URL and that Nextcloud can call back to OpenProject. Reverse proxy rules and hostname mismatches cause most first-run failures.
  • Certificate trust: If both services use an internal certificate authority, add its root certificate to the trust store on each host or container, then test with curl from both sides.
  • Secrets: Keep the OAuth client secret in an environment file or Docker secret that only the service account can read. Keep it out of shell history and out of configuration exports.
  • Testing: Link a test work package to a test folder, upload a file, and confirm the link opens for a member of the project and is refused for a user outside it.

Check that the Nextcloud URL in OpenProject matches the internal or public name exactly, including scheme and port.

How to secure tokens, permissions and the sign-in trust

The Nextcloud link gives OpenProject a standing path into your file store, so the credentials, scopes, transport and logging around it deserve the same review as the integration itself. The cards below cover the decisions that most often go wrong, and each one should be confirmed against the Nextcloud and OpenProject versions you run.

Service account and least-privilege scope

Create a dedicated Nextcloud user for OpenProject rather than reusing an administrator or a personal account. Limit that user to the groups or folders the project folders need, and confirm which Nextcloud admin permissions the integration requires in your version. Test that the account cannot read unrelated shares before you go live, because a broad service account turns every project link into a wider exposure.

Nextcloud integration docs

Storage of OAuth client secrets and tokens

The OAuth client secret and the access tokens exchanged between the two systems are credentials that grant file access. Keep them out of shared configuration files and version control, restrict read access on the OpenProject host and its environment files, and confirm where each value is stored in your installation method. Plan a rotation step and check how a rotated secret is applied without downtime.

TLS and internal CA trust

Serve both OpenProject and Nextcloud over HTTPS and confirm that OpenProject's server trusts the certificate chain of your internal CA. A missing intermediate or an unmounted CA bundle often shows up as a connection failure that teams work around by disabling verification, which removes the protection entirely. Verify the chain from inside the OpenProject container or host, not from a workstation.

Sharing defaults for automatic folders

Automatically managed project folders can inherit sharing behavior that exposes files beyond the project team. Review Nextcloud's default share permissions, public link settings and group-based sharing before enabling folder creation, and confirm which of these the integration applies. Run a test project with sensitive sample files and check who can see them through a public link or a broad group.

OIDC client configuration and redirect URIs

If you use OpenID Connect for sign-in, register one client per integration with the exact redirect URIs for your OpenProject and Nextcloud hostnames, and avoid wildcard or open redirect patterns. Restrict the scopes requested and confirm which identity provider settings your version needs. Note that OIDC for this integration is an Enterprise add-on, so confirm licensing before you design around it.

Audit logging of file access on both sides

A file linked to a work package can be opened from either system, so an investigation needs logs from both. Enable Nextcloud's activity and audit logging for the service account and shared folders, and make sure OpenProject's logs record the user, work package and link events you need. Forward both to your central log store and test that a single file can be traced across both systems within your retention period.

How to test links, permissions and failures, then run it

Test the permission model before anyone relies on it. Start with a file linked to a work package and check that a user who is an authorized member of the project can open it from the work package, while a user outside the project is refused, including when they know the direct Nextcloud path. Then remove a project member and confirm that the person loses access to the managed project folder in Nextcloud, not only to the work package. Run the same checks with a user who holds a higher role in Nextcloud but no OpenProject membership, because that mismatch is where shared folders most often leak. Record every result with the account, role, project and timestamp so the evidence can be repeated after changes.

Test the failure paths on purpose. Revoke the token or disable the service account that OpenProject uses to reach Nextcloud, then confirm that the user sees a clear error and that no file content or folder listing leaks through a partial response. Next, rename a project and copy a project from a template, then check that folder creation is idempotent: the same project should map to one folder, and a copy should not overwrite or reuse the original folder. Confirm the exact names your OpenProject and Nextcloud versions produce, because folder naming rules are a configuration decision you own, not a default you can assume.

After go-live, document and monitor what keeps the integration working. Keep an inventory of the service account, its scope, the token or secret that OpenProject stores, and the TLS certificate on the Nextcloud endpoint, with expiry dates tracked in your normal certificate process. Set a rotation schedule for tokens and secrets, and retest after any OpenProject or Nextcloud upgrade, since a version change can alter the integration's behavior. Name one owner for folder governance who decides who may create project folders, how archived projects are handled and who approves changes to the folder structure. Ask your implementation partner to confirm these steps against the exact versions in your environment, and review the OpenProject Nextcloud integration documentation before writing the runbook.

What buyers ask before hiring help for the Nextcloud integration

Does the OpenProject Nextcloud integration require the Enterprise edition?

No. The core integration, which links Nextcloud files and folders to work packages and can manage project folders automatically, is available in the Community edition. The part that requires Enterprise is single sign-on through an OpenID Connect provider, which is sold as an Enterprise add-on. Confirm the current add-on terms on the OpenProject pricing page before you decide, because the per-user prices and minimums that apply to your user count determine the licensing cost of that choice.

How long does a Nextcloud integration project take?

The duration depends on the drivers rather than on a fixed figure. The main ones are how many Nextcloud instances and OpenProject projects are in scope, whether folder structure and naming rules already exist, whether OIDC sign-in is included, how many permission roles must be mapped, and how many pilot projects the business wants to test before a wider rollout. Ask any provider for a timeline that lists each of these drivers and states what it assumes about your environment, and ask which tasks depend on your team's availability.

What does our internal team need to provide for the integration?

Your team needs to provide three things. First, administrator access to the Nextcloud server and its app settings, plus a service account that OpenProject can use. Second, decisions on identity: whether users sign in through Nextcloud, through OpenProject's own accounts, or through an OIDC provider, and how user accounts map between the two systems. Third, named project owners who will pilot the folder structure and confirm that file access matches their team's real working practice before it is rolled out.

Can an in-house administrator complete the integration alone?

Often yes, for a single Nextcloud instance and a small set of projects, provided the administrator has working knowledge of both platforms, can read the OpenProject and Nextcloud admin documentation, and has a test environment to rehearse changes. Effort rises when the work spans several Nextcloud groups, needs OIDC configuration with an existing identity provider, or must be documented for an audit. Weigh the admin time against the risk of misconfigured file permissions reaching live data, and decide whether a second person should review the configuration before production use.

How are file permissions verified after the integration is set up?

Verification should be a written test plan, not a visual check. For each role, define a test user, the project they belong to, and the files they should and should not see or change through a work package link. Run the same checks after a change to group membership or project membership, and confirm that removing a user from OpenProject also removes their access to the linked Nextcloud folder. Keep the results with the configuration record so you can show the control was tested before the integration was used for sensitive projects.

What happens to existing Nextcloud folders when the integration starts?

Existing folders are not changed by linking alone, but automatic project folder management can create, rename or move folders according to the rules you configure, so the result depends on those rules. Before enabling automatic management, inventory the current folder tree, decide which folders will stay as they are and which will be linked to projects, and test the rules on a copy or on a pilot project. Confirm in the Nextcloud integration documentation exactly which operations the feature performs, and keep a backup of the affected Nextcloud data before the first live run.

When is it worth bringing in a partner for this work?

A partner is most useful when the rollout spans several Nextcloud instances, when OIDC sign-in must be coordinated with an identity team, when the folder model must follow a compliance or data-retention rule, or when the internal team lacks time for testing. DeployOpen implements, configures, hardens and documents self-hosted open-source platforms inside your own infrastructure, and it prepares evidence for compliance assessments. It does not issue audit reports or certifications, so independent auditors remain responsible for that step.

What should a written quote for the integration include?

A written quote should name the in-scope Nextcloud and OpenProject instances, the integration features covered (file linking, automatic folder management, OIDC sign-in), and the environments where work will be done. It should list each deliverable, such as configuration records, permission test results and runbook documentation, along with the acceptance criteria for each. Ask which tasks are one-time and which recur, such as support or upgrades, what the internal team must supply and by when, what is excluded, and which edition and per-user licensing costs are your responsibility rather than the provider's.

How DeployOpen works on this

DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For OpenProject and Nextcloud, we agree the scope in writing first, build the file links and project folder automation in your environment, and hand over documented, tested configuration that your team can run.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • We confirm your OpenProject and Nextcloud versions, hosting model and which users need file access from work packages.
  • We agree whether project folder creation is automatic, manual or limited to selected projects, and who owns the Nextcloud group structure.
  • We confirm whether OpenID Connect sign-on is in scope, since that single sign-on add-on is an Enterprise feature.

How we build

  • We connect OpenProject to your Nextcloud instance and link files and folders to work packages in a test environment first.
  • We configure automatic project folder management according to the naming and permission rules agreed in scope.
  • We test file linking, folder permissions and access for each user group, including users who should see no files.
  • We record every configuration value and change so the setup can be reviewed and reproduced by your team.

How we hand over

  • You receive written documentation of the configuration, the permission model and the steps to add new projects.
  • We walk your administrators through daily operations, troubleshooting and how to review access in both systems.
  • We confirm the rollout with your security and compliance teams, providing the configuration evidence they request.
  • Handover includes a clear list of items that remain your responsibility, such as user lifecycle and backup policy.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the original build.
  • When OpenProject or Nextcloud releases a new version, we can retest the integration before your team upgrades.
  • Support covers configuration questions and regression checks, and we confirm response expectations in the written agreement.
  • Ask us which items your Enterprise plan covers and which items a partner or your own team needs to handle.

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.