How do i get Joplin to sync with other devices when its set to "File system"

  • PC: 2.11.11 Mobile 2.11.32
  • Sync type: File system (PC to mobile)
    -OS: Windows 10 64 bit Mobile: Android 10

I set the Joplin to ""file system" it created a folder with all the notes. but I cant get it to sync among devices. how do I do that?

In that case, wouldn't you have to use something like syncthing?

Or, if your file system folder happens to be something that is watched by a dropbox client, your other devices could sync with dropbox ...

i had poor expirience with syncthing in the past.

i can use megacloud for that. for some reason i can get joplin to read the files.

You can use other solutions on the desktop, but on Android, Syncthing is likely the only one that can actually sync the files the same way as on the desktop, meaning proper two-way sync and not downloading individual files or folders on demand which other cloud services normally do. However, there do exist some 3rd party apps that can provide two-way sync on Android for clouds like Dropbox, MEGA, etc.

1 Like

IF the file folder on the desktop is synched via Dropbox, THEN there is no need for any syncing app for Joplin on the mobile device, since Joplin itself already syncs to Dropbox. You do not need a Dropbox client on Android to sync Joplin; just configure it in Joplin's settings.

1 Like

Yeah, but then you need to set the sync target to Dropbox on both sides and not filesystem which is the case here, i.e. you can't have one side set to filesystem and the other to Dropbox.

Sure you can. Your file system target is a folder in the local Dropbox-folder, which is synced to Dropbox.

Your local Joplin sync folder on your local drive is something like "Dropbox-Syncfolder/Joplin"; the Dropbox-client on your Linux/Windows/MacOS machine will sync this directory to Dropbox where it is accessible from any other device. Works perfectly, no need to sync Joplin on your desktop device to Dropbox.

We are talking about Android here :wink:. The Dropbox app on Android doesn't sync files to the local file system like it does on the desktop.

Quite correct; as I said: there is no need for the Dropbox-App on Android. The Joplin Android app will sync with the Dropbox server by itself. All that is needed is the Dropbox client for the desktop device, which will sync the local file system folder to the Dropbox server.

Just in case my explanation is totally confusing, this is what I mean:

Quite correct; as I said: there is no need for the Dropbox-App on Android. The Joplin Android app will sync with the Dropbox server by itself. All that is needed is the Dropbox client for the desktop device, which will sync the local file system folder to the Dropbox server.

Well, if i can use a cloud servers that i have more more trust in. i would prefer it.

You can use other solutions on the desktop, but on Android, Syncthing is likely the only one that can actually sync the files the same way as on the desktop, meaning proper two-way sync and not downloading individual files or folders on demand which other cloud services normally do. However, there do exist some 3rd party apps that can provide two-way sync on Android for clouds like Dropbox, MEGA, etc.

I am using MEGA but i couldn't find a way to get the 2 way sync on mobile working. is that even an option? and if so, how?

Any way i soppouse i will have to tell joplin what folder to go to. which i did but that created a different problem:

1.I downloaded the sync frolder from MEGA (no 2 way sync for now)
2.i told jopling on my Mobile that this is the new sync folder.

what i expected: joplin will sync the Noted, and showed them on the app:

what i actually got:
Last error:Fail safe:Sync was interrupted becuse 94% of the data (15 items) is about to be deleted. To ovveride this behavior disable the faile in sync settings. Patn content:(Directory path)

NOTE
i tried to do as he said but the result was that the apped remained empty.

any idea what is goin on?

I mentioned this before, but if you want two-way sync on Android with services like MEGA, you will need to use a 3rd party app (e.g. https://play.google.com/store/apps/details?id=com.ttxapps.megasync). That's why people (including myself) normally use Syncthing when relying on file system sync on Android, as it provides two-way sync natively regardless of the OS.

and as i said. my expirience with syncthing is not the best. i had a lot of issues with it.

any way. 2 way sync or not. its still not solving the problem i mentioned:

earlier. i cant get joplin to read those folders for some reason.

Been using resilio for years since it was BitTorrent Sync (from the makers of bittorrent).

Solid, Fast. I sync on all my devices. Not just joplin

1 Like

I will look into it. thanks

yes, I can confirm, Syncthing is the best solution for all systems. I use it on 2 android tablets and Linux Lap und Linux Desk and sync my Joplin folders between all devices. windows will also work.

i soppouse i wil give it a shot. so far syntching works fine. lets hope it it will stay that way

Just be careful of this bug:

Basically, you don't want to have Joplin start its syncing while the files are still being synchronised by Syncthing, or you will end up with partial sync to the Joplin database, with some of note modifications missing.

So aside from activly trying to avoid Having joplin open at the same time as the sync.

Is there a more passive to way to deal witht that?

It's less likely to happen if you set Syncthing to run in background all the time, both on mobile data and WiFi. This way it should be able to sync changes from other devices immediately when they are happening.