I'm having trouble setting up Nextcloud sync properly. I believe it is a misconfiguration on my part rather than a Joplin error, but for what it's worth I'm on Version 2.3.5 running on Arch. Nextcloud is version 20.0.12.
Joplin will sync fine when I point it to the root of Nextcloud e.g. ip/remote.php/dav/files/username/ however I would like it to store files on an SMB share which is configured under Nextcloud as external storage. When I point it to this folder ip/remote.php/dav/files/username/D1/CLOUD/JOPLIN/ it throws an error:
Completed: 29/08/2021 03:38 (7s) Last error: Error: Could not upgrade from version 0 to version 1: PUT .sync/version.txt: (Exception Sabre\DAV\Exception\Forbidden) (403): <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DAV\Exception\Forbidden</s:exception> <s:message/> </d:error>
Since I can create files in this directory using Nextcloud I do not believe it is a permission issue (I could be wrong), so perhaps the location is incorrectly formatted? In Nextcloud's root folder I can see the share as D1 and D1/CLOUD/JOPLIN/ exists, but perhaps webdav link should be different?
Thanks in advance.