Problems with syncing to local folder (that is being synced to a Nextcloud)

Operating system

Linux

Joplin version

3.3.12

Sync target

File system

What issue do you have?

Dear all,

I configured Joplin on two machines (one linux, one windows) to sync to a local directory. The directory is located in the ~/Nextcloud/ directory, that the nextcloud desktop client syncs to my nextcloud instance.

I set this up on two devices. On the first I created the directory and started the sync. On the second one I enabled the sync after the Nextcloud sync was finished. This worked back then, i.e. after creating a note on one device it showed up on the other (after some time).

One of the laptops was off for some weeks and while the Nextcloud sync is properly finished and the actual files in the Joplin sync folder seem to be present, Joplin still did not show newer notes. Clicking on "Sync" multiple times did not help.

I forced a sync, overwriting the local files. All of the notes appeared after a restart. Nothing changed in Nextcloud.

Does anyone else have this issue? Any ideas how to avoid this? Or debug this in case it happens again?

Or is syncing to Nextcloud via WebDAV the preferred way to sync and I should switch to this?

Thanks in advance!

Kind Regards,
Johannes

There is a longstanding issue with file system sync, which causes this behaviour. I recently fixed this in PR All: Fixes #6517: Prevent Joplin sync ignoring changes when syncing with an external sync service concurrently for file system and WebDAV sync by mrjo118 · Pull Request #13054 · laurent22/joplin · GitHub but it is not yet released in the latest mainline build. You can either set up your Joplin clients to use WebDAV so you won’t get this issue, or you can download the latest Joplin 3.5 pre-release from here Releases · laurent22/joplin · GitHub . Note that there is currently no Joplin 3.5 pre-release available for mobile, if you use the mobile app.

Why not sync directly to Nextcloud via wedav sync? Yeah, it’s definitely a preferred way

Thanks for the quick reply, then I’ll switch to using WebDAV for the time being.