Operating system
Android
Joplin version
3.2.7
Sync target
WebDAV
What issue do you have?
I have created a new user on my Nextcloud, which I am using via WebDAV successfully to synchronize another profile already.
I created a new profile in my Windows desktop client, and successfully synchronized the new profile to the new Nextcloud user.
Then I created the profile in my Android client, but synchronizing gives this error immediately:
Last error: Error: MKCOL locks/: Permission denied to create directory (Exception Sabre\DAV\Exception\Forbidden) (403)
And then a bunch of XML that just repeats the error message.
Looking for more information, I set up the profile on my Ubuntu laptop client as well, and it was also able to successfully sync the new profile to the new Nextcloud user.
I'm self-hosting on a DigitalOcean droplet that is admittedly a bit out of date. But the sync works fine on all my machines, only Android gives this error. Here's some output from my Apache logs comparing the successful desktop sync to the failed mobile sync attempts:
changelog [18/Apr/2025:04:48:10 +0000] "GET /remote.php/dav/files/changelog/info.json HTTP/1.1" 200 2191 "-" "Joplin/1.0"
changelog [18/Apr/2025:04:48:28 +0000] "GET /remote.php/dav/files/changelog/info.json HTTP/1.1" 404 4621 "-" "Joplin/1.0"
For some reason, the desktop clients get 200s and 207s and the mobile client is getting 404s and 403s.
However, the mobile client is still able to sync my usual profile successfully!
So the problem is ONLY with the new profile and ONLY on the Android client.
I only found one other instance of this exact error message in the history of the forum or issues, here: Error
But they never resolved their problem. Someone had a similar issue on a different hosting setup here: WebDav sync failed with Joplin - Runbox Chat - Runbox Community Forum
I'm not filing a bug report yet because I'm not sure if it's a bug with Joplin or just a bug with my old version of Nextcloud. I'll update everything if I absolutely have to, but I'd really prefer to avoid the inconvenience if there's a quicker fix.
Anybody seen this one before or have any speculation as to what might be going on? I'm not seeing any other relevant errors in my system logs or the Nextcloud admin log.