Content
Nexcloud integration: Issue with “Existing folder with manually managed permissions”
Added by Piotr Kurowski about 7 hours ago
Hello everyone,
I wanted to share an issue I’ve encountered while integrating OpenProject with Nextcloud. Although it worked perfectly at first—and I relied on this integration for quite some time—it eventually stopped functioning as expected. Specifically, the “Existing folder with manually managed permissions” option suddenly stopped working. This may have happened after an update, though I’m not entirely sure when, as I haven’t been using the integration regularly.
The Basics
-
Nextcloud Server version:
31.0.2
-
Open project version:
OpenProject 15.4.0
The Issue
What works fine?
-
The overall connection between Nextcloud and OpenProject appears healthy.
-
The “New folder with automatically managed permissions” option works.
Where does it break?
-
When I select “Existing folder with manually managed permissions”:
-
I can see all the folders in Nextcloud’s root directory.
-
Attempting to navigate inside any folder results in the following error:
“No Nextcloud connection
Some Nextcloud settings are not working. Please contact your Nextcloud administrator.”
-
Nextcloud Log Observations
After some investigation, I noticed something odd in the Nextcloud logs:
192.168.10.1 - - [10/Apr/2025:15:15:54 -0700] "PROPFIND /remote.php/dav/files/Piotr%20Kurowski HTTP/1.1" 207 3599 "-" "httpx.rb/1.3.4"
192.168.10.1 - - [10/Apr/2025:15:15:58 -0700] "PROPFIND /remote.php/dav/files/Piotr%20Kurowski/remote.php/dav/files/Piotr%20Kurowski/Antares%20Electronics HTTP/1.1" 404 2217 "-" "httpx.rb/1.3.4"
Notice how the DAV path appears twice in the second request (the /remote.php/dav/files/Piotr%20Kurowski
segment is repeated). It seems like OpenProject might be constructing the path incorrectly, causing the 404?