Environment
- Nextcloud version: 31.0.8.1
- Integration_openproject app version: 2.9.0
- OpenProject version: 16.3.2
- PHP version: 8.2.29
Problem Description
When trying to add Nextcloud storage in OpenProject (Administration → File Storages → New Storage), I enter the host URL https://no.domain.com/ but receive the error:
“Host could not be reached. Please ensure the host is reachable and the OpenProject integration app is installed.”
What I’ve Verified
Nextcloud is accessible from OpenProject server
OpenProject Integration app is installed and enabled in Nextcloud
SSL certificates are valid
No firewall between servers
DNS resolution works both ways
Root Cause Found
OpenProject validates the host by checking:
/ocs/v2.php/apps/integration_openproject/api/v1/connected
But the integration app only provides OCS v1 endpoints, not v2:
bash
# From OpenProject server:
curl -I https://no.domain.com/ocs/v1.php/apps/integration_openproject/api/v1/connected
# Returns: HTTP 200 ✅
curl -I https://no.domain.com/ocs/v2.php/apps/integration_openproject/api/v1/connected
# Returns: HTTP 404 ❌
What I’ve Tried
- Reinstalling the integration app
- Updating to latest version (2.9.0)
- Clearing all caches
- Apache rewrite rules to redirect v2 to v1 (didn’t work)
“OpenProject API error : Client error: GET https://no.domain.com//api/v3/users/me resulted in a 401 Unauthorized”