Joplin: Use subfolder for WebDAV / Nextcloud sync

Created on 29 Jan 2018  路  7Comments  路  Source: laurent22/joplin

Operating system

  • [ ] Windows
  • [ ] macOS
  • [x] Linux
  • [ ] Android
  • [ ] iOS

Application

  • [x] Desktop
  • [ ] Mobile
  • [ ] Terminal

I started using the NextCloud integration today. That's a pretty nice feature. Before finding this project, I almost gave up trying to find an Open Source app and went back to Evernote.

Anyway, I had the same issue as mentioned in this comment by @chbmb:
https://github.com/laurent22/joplin/issues/4#issuecomment-361101161

The issue is that all notes seem to sync to the root directory in Nextcloud. Do you think it would be possible to setup notes to go to a subfolder instead? I might even be able to work on implementing this myself if you think it's a good idea. If not, I could perhaps setup a separate NextCloud account just for syncing my notes.

Thank you for this great app!

Most helpful comment

Only use a webdav url with a (existing) subfolder and then it works, for example:

https://example.com/remote.php/webdav/Folder1/Folder2

All 7 comments

Only use a webdav url with a (existing) subfolder and then it works, for example:

https://example.com/remote.php/webdav/Folder1/Folder2

If you see my edit you'll realise you are having the same problem I had.....

Not reading the f* manual....

Here's the link to the relevant bit of aforementioned manual....

:)

Yes you can specify any folder or subfolder (and it's recommended to do so) and the app will use that. I realise it might not be obvious though since Nextcloud only provides the root URL, so maybe there should be a description below the URL field in the desktop and mobile app to make that clear.

To be honest @laurent22 I'm going to have to shoulder the blame for my mistake, it is pretty clear in the readme, I'm just an idiot. Act first, think later.

Oh man, I can't believe I didn't look in the README before creating an issue! Sorry about that. I did actually try the recommended approach yesterday just because it seemed like the obvious thing to do. It didn't work. But maybe the folder I chose did not already exist. Let me try that again and if I still run into problems I'll open a new issue. Thanks everyone.

@kstevens715 Yeah I too had that facepalm moment, you're in good company mate! Honest.....

I just tried this - and it does not work :-(.

The existing folder path: /personal/Joplin

Setting for the WebDAV url in Joplin: https://example.com/remote.php/webdav/personal/Joplin

Result: All files go to the root folder and NOT /personal/Joplin.

Edit:

Ok, found the problem - when tested the sync feature in the Android client I just used "https://example.com/remote.php/webdav". Then I changed it to the subfolder, but without using "CHECK SYNCHRONISATION CONFIGURATION" again before saving the settings. It seems, then the new URL will not be used until the "CHECK..." function is used. If this is the case, there should be some dialog asking to do the check before saving is possible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deftdawg picture deftdawg  路  3Comments

christianlupus picture christianlupus  路  3Comments

xfrose picture xfrose  路  3Comments

jmcastagnetto picture jmcastagnetto  路  3Comments

kopfuss picture kopfuss  路  3Comments