Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Solved] Help with syncthing docker (gfjardim repo)

Featured Replies

I easily got this docker installed, thanks to the templates and repos being available.

 

I started it, and can get to its GUI (i have nothing running on 8080).

 

My issue is that i cannot figure out how to add local folders to be synced. I don't see a volume being passed that I setup for my unRAID shares. I tried /mnt/cache/Data/.... (which is a cache only share) and that doesn't seem to work.

 

Here is what the docker runs with:

 

docker run -d --name="Syncthing" \
      --net="bridge" \
      -p 8080:8080/tcp \
      -p 22000:22000/tcp \
      -p 21025:21025/udp \
      -v "/mnt/user/appdata/syncthing":"/config":rw gfjardim/syncthing

 

Anyone else have this setup? Have I just been spoiled with dockers what work another way that I'm making this more difficult than its worth?

 

I have tried to put /mnt/cache/Data/... but that generates an error upon restart with a "could not mkdir /mnt/cache, access denied"

Don't use this but you need to have another volume mapping. All you have is the config mapping. You need to make another for the data you want the docker to access.

  • Author

Thanks!

 

I went ahead and added a /mnt/media to /mnt/cache/Data and it works as expected.

 

That would update the code to:

 

docker run -d --name="Syncthing" \
      --net="bridge" \
      -p 8080:8080/tcp \
      -p 22000:22000/tcp \
      -p 21025:21025/udp \
      -v "/mnt/user/appdata/syncthing":"/config":rw 
      -v "/path/to/syncfolders":"/mnt/media":rw 
       gfjardim/syncthing

 

You could use a lot of options instead of /mnt/media, but i knew that existed inside the container already, so i just did that.

  • 2 weeks later...

Hi, I'm also having a bit of trouble figuring out what local folders can be synced. I was trying to just select /mnt/user/FolderICreatedViaShares but syncthing just gives me an error "mkdir /mnt/user/FolderICreatedViaShares: permission denied"

 

It wasn't clear to me from this post if the code was something that should be added to a file or run each time from shell? and the parts about

-v "/path/to/syncfolders":"/mnt/media":rw gfjardim/syncthing

is that saying you specify a base sync folder (mnt?) then individual sub folders under it (/mnt/media)?

 

sorry its a bit over my head.

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.