Operating system
Windows
Joplin version
5.5.12
Sync target
Nextcloud
What issue do you have?
Howdy, folks. New user, new member, first post.
I'm having some trouble getting Joplin to sync with my self-hosted (shared @ Siteground) Nextclould install. I've tried any number of variations on the path, and have also selected the 'ignore TLS' option, to no avail.
Here's the error I get:
Last error: Error: GET .sync/version.txt: Access denied: Please check your username and password (403): 403 - Forbidden | Access to this page is forbidden.
It's just not possible for my UID/PW to be incorrect. Can someone point me in the right direction?
Thanks in advance for your help!
Try using the WebDAV sync target instead of Nextcloud
Yup, tried that a few times with no luck. I have been stopping Joplin and ending the task with Windows task manager to delete the settings.json file, but when I restart, I see the PW is still populated. Is it possible there’s another file I need to delete or change… perhaps the ipc_secret_key file?
https://mydomain.com/nc/remote.php/dav/files/myusername
You’ll need to make sure whatever directory you specified in the url has full read and write access granted for the webdav account being used (including creating directories, updating files, deleting files etc).
I’m not familiar with Nextcloud myself so can’t really help you with the server config.
I don’t see why I shouldn’t have access as the administrator and only user. Seems odd to me. I think I saw somewhere that adding a user specifically for Joplin might help. Would that be a solution?
Still having no luck. I can sync all other content (contacts, calendar, etc) to other clients (Thunderbird, Android via DavX5) but Joplin just doesn’t want to cooperate. I’ve tried using both WebDav and NextCloud selections, using my administrator login, and issuing an app password in security settings. Joplin confirms a success in all cases, but I keep getting this error, which makes no sense when the app reports a connection in the sync setup.
ETA: I also created an additional user as an admin, and shared the Joplin folder with edit rights. Still no luck… Joplin states ID/PW is correct in the sync config screen, but can’t access the folder.
Last error: Error: GET .sync/version.txt: Access denied: Please check your username and password (403): 403 - Forbidden | Access to this page is forbidden.
Try connecting to the webdav server with the same credentials being used in Joplin, using a WebDAV client (eg. Cyberduck) on the same computer, then go to the same directory you are pointing Joplin to and see if you are able to upload files, delete files and create a directory. If you can’t then your Nextcloud configuration is not correct
I was able to access Nextcloud with Cyberduck and see my entire folder structure. So it’s likely an issue with Joplin somewhere.
That’s not all of what I said to do. You need to test create, delete and create folder permissions within the Joplin directory. Testing read / list permission is not sufficient, nor is testing permission at the root only