[Short Guide] Synchronization Target: File system, Dual boot (win-linux)

Problem: I could not perform local synchronization. Joplin would “sync” but no files were created.

I'm no expert, but I'll share what worked for me.

Context:

  • You have the operating system: Win11 and Ubuntu 24.04.
  • Joplin installed on EXT4 drive, inside Ubuntu
  • The target of the synchronization was a NTFS drive, physical drive where there is no operating system, only as a storage.

Solution:

  • Use the user run directory path, which is a temporary directory that is created for each user who logs in to the system.
  • First I used the export tool and selected the folder where to perform the synchronization. Then Joplin shows the above mentioned path, and not the path according to the file explorer “/media/User/...”.

Getting something like: /run/user/1000/doc/4....
You can verify it in the file explorer of preference.

  • Then I deleted the exported files, as I have them locally still.
  • Finally I put the path in the Joplin synchronization section, I have had no further problems, even when rebooting.

Note. Translated with DeepL
Note: The technical details I leave to the specialists.

Don't use the portals for this level of access. I can tell the XDG portals are being used because that's why you're getting the path beggining with /run.

If you're using the Snap, run:
sudo snap connect joplin-desktop:removable-media

If you're using the Flatpak, run:
flatpak override --filesystem=host net.cozic.joplin_desktop

Both of these will give Joplin direct access to the folder in /media with a lot less technical traps involved.

thanks for the tip, I would have liked to know at the time.