Syncthing in Umbrel: How to set the path to a folder on the external disk

I currently have Umbrel with HomeAssistant running on my test computer, and now I want Syncthing to run properly there as well. I have already created two folders whose paths, separated by the ~, point to a folder on the internal drive. However, I now want to point to an external drive or USB. I see the USB (sandisk123) in the Files folder, but I don’t know how to specify the path to it in Syncthing.

What do I need to enter to end up on the Sandisk USB?

Het antwoord, mijn vriend:
In Settings > Opslagbeheer:
USB-schijven kunnen niet aan je hoofdopslag worden toegevoegd.

The answer, my friend:
In Settings > Storage Management:
USB drives cannot be added to your main storage.

Dan ga ik toch maar weer Proxmox overwegen :wink:

Then I might as well consider Proxmox again :wink:

Hold off on Proxmox, you can do this! That storage manager message is only about adding the USB to the main storage pool. It doesn’t stop apps from using the drive.

The catch is that, as far as I know, Syncthing runs in its own container and can only see its own data folder by default. The ~ in Syncthing is just /var/syncthing inside that container, which is why your current folders end up on the internal drive. So you need to give Syncthing access to the stick first:

  1. Go to Settings > App settings > Syncthing > Storage
  2. Open “Access to your folders”, then “Advanced”, and click “Add custom folder”
  3. For “Path inside app service” type something like /sandisk
  4. For “Folder”, pick External > sandisk123 (or a subfolder on it), leave read-only off, and save.

Then in Syncthing, when you add a folder, set the folder path to /sandisk (or /sandisk/whatever if you want a subfolder) instead of something starting with ~. Everything Syncthing syncs into that folder should then show up under External > sandisk123 in Files.

One thing to keep in mind: keep the stick plugged in, otherwise Syncthing won’t be able to reach that folder until you plug it back in.

@aidencole
Thanks again. It’s just fantastic that you already know all of this. I wonder how I would have figured this out myself. Would I have succeeded after weeks of searching? I doubt it.
Right now, I’ve created one folder on the test PC under Umbrel and accepted two requests to synchronize folders with my work PC. Let’s see how that goes over the next few days. If that goes well, I’ll install Umbrel, Syncthing, and HomeAssistant on the Dell server. But taking things easy.
Thanks again!

And here the video of the above posts:

See what happened to me after I booted up without the registered Sandisk USB. Umbrel met Syncthing Opstarten Zonder de Aangemelde USB-stick - Exquisite.tube