I wonder if there is a direct way to sync Joplin on Mac with app on iPhone or iPad, on demand - for example once a week. I have a large note base that changes infrequently and don’t want to pay for cloud storage (Dropbox, etc).
If not, is there a way to just setup a simple WebDAV server on Mac to accomplish the same.
That's a good question, I'd be curious to know if there's any quick way to get a WebDAV server running with minimum configuration. I wouldn't recommend Nextcloud as it's broken with default config, but maybe something Nginx or Apache based?
Unfortunately the Apache httpd that comes with macOS does not include WebDAV.
I suggest to use the Docker image bytemark/webdav
OK. Here is my progress so far, but I am out of my depth and need some help - substitute $USERNAME with your username
- sudo mkdir /Users/$USERNAME/Library/WebServer/joplin
- sudo chown $USERNAME:staff /Users/$USERNAME/Library/WebServer/joplin
- sudo wfsctl share /Users/$USERNAME/Library/WebServer/joplin
- sudo wfsctl start
After that I use webdav in Joplin synch configuration, point to a local mac address: https://192.168.1.16/webdav/joplin and provided my mac's username and password.
I also had to check "Ignore TLS certificate errors" for it to work
Clicking on "Check synchronization configuration" gives me "Success! Synchronisation configuration appears to be correct."
However when I click on synchronize button, I get an error:
Completed: 03/11/2020 10:16
Last error: Error: href /joplin/locks/ not in baseUrl https://192.168.1.16/webdav/joplin nor relativeBaseUrl /webdav/joplin
When I try to use the same on iphone, the error is "Network request failed" - please check that URL, username and password, etc are correct...
What next? I am certain this is solvable.
Is there a way to make iOS version of the app to Ignore TLS certificate errors?