pingmanping Posted December 20, 2017 Share Posted December 20, 2017 I am not sure if I should create a new post and reply to this one. I am installed the Linuxserver Syncthing. It works, but got some issues. I mapped the /sync to my share folder /mnt/user/Cloud/syncthing. However, when I create a folder via web UI, the "Folder Path" is /config. If I leave this to default, my share folder will be created on /mnt/cache/appdata/syncthing/folder-name. The fix that I have is to manually change the /config to /sync. Is this a normal behavior? Quote Link to comment
CHBMB Posted December 20, 2017 Share Posted December 20, 2017 I am not sure if I should create a new post and reply to this one. I am installed the Linuxserver Syncthing. It works, but got some issues. I mapped the /sync to my share folder /mnt/user/Cloud/syncthing. However, when I create a folder via web UI, the "Folder Path" is /config. If I leave this to default, my share folder will be created on /mnt/cache/appdata/syncthing/folder-name. The fix that I have is to manually change the /config to /sync. Is this a normal behavior?Yes, you need to manually change itSent from my LG-H815 using Tapatalk Quote Link to comment
hus2020 Posted January 14, 2018 Share Posted January 14, 2018 Hi, I got the syncthing docker up and running in a breeze. I can navigate through to the web ui, detect other synchting servers etc. However, I face some major permission issue on unraid. This is 2 folds: 1) The syncthing appdata folder cant be open as I get permission issue (You do not have permission error shown in Windows file explorer) 2) The /sync folder that is mapped to my array /mnt/user/Movies/test also is unaccesible via SMB. FYI I mapped the test subfolder under my main Movies folder. The whole movie folder is working as normal with full RW access, but the subfolder 'test' created by syncthing, I cant rename/delete/add any files. Any other new sync folder that I create, also experience the same problem. Some checking I did: I did docker-shell to syncthing to run ps aux | grep syncthing, and I noticed it is running as user abc with correct UID 99 and GID 100. Then what is causing blocking permission from syncthing appdata folder and the mapped /sync folder on my array? p/s: I am running the docker with the default template with no changes at all. Network is bridge, privileged is off. Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 UID 99 and UID 100 are the correct file perms for Unraid. Sounds like the perms issues are withing Windows SMB rather than Unraid. Quote Link to comment
hus2020 Posted January 14, 2018 Share Posted January 14, 2018 31 minutes ago, CHBMB said: UID 99 and UID 100 are the correct file perms for Unraid. Sounds like the perms issues are withing Windows SMB rather than Unraid. Hmm...Thats just surprising. As with any other docker, 99/100 permission allows me to browser through its appdata and the mounted shares. I did some further check, where I did a manual install of https://hub.docker.com/r/syncthing/syncthing/ docker, which is the official one I suppose. With this docker, the mounted share and the new file and folders created by syncthing are accessible and editable via windows SMB. I am testing all through the same array path and accessing on the same windows pc. What other issue can it be? Btw, is there any modification/optimization to linuxserver docker of syncthing compared to the official one? I just don't want to miss any features. Thank you. Quote Link to comment
CHBMB Posted January 14, 2018 Share Posted January 14, 2018 Main thing is the inclusion of UID and GUID to improve file permission accessibility Quote Link to comment
hus2020 Posted January 14, 2018 Share Posted January 14, 2018 2 minutes ago, CHBMB said: Main thing is the inclusion of UID and GUID to improve file permission accessibility Ok noted. I am updating to unraid 6.4 stable. Will delete and reinstall the linuxserver docker again and try it out. Hopefully it works this time. Quote Link to comment
Ray Posted March 11, 2018 Share Posted March 11, 2018 I have syncthing setup and working perfectly but I need to add another share to give syncthing access. Right now I have "/mnt/user/unRAID/" set as "/sync" in Host Path 2. I would like to change that to "mnt/user/" to give access to other shares. Is this possible without the docker reinstalling and losing the current settings? I've made similar changes to other docker containers and it's resulted in losing all the settings and the container installing fresh. Quote Link to comment
tyrindor Posted March 17, 2018 Share Posted March 17, 2018 (edited) Having the same issues as hus2020, the appdata/syncthing folder cannot be access via Windows (Windows 10 Pro x64 in my case) even though permissions are 99/100 (default). I have also tried forcing a umask of 000. The docker itself works fine, unRAID can access everything. If I want to back up the appdata, I must run a permission script on the folder, and then when I relaunch the Syncthing I lose access to that folder again. Edit 1: Just set this up on my friends server, and his has the same problem. I wonder if it has to do with a custom appdata directory? I use a share called "Stationary" which is a cache only share. The share is set to "Secure", with 1 user having read/write. EDIT 2: To clarify, this does not happen with your qBitorrent, Sonarr, and NZBGet dockers. Edited March 30, 2018 by tyrindor Quote Link to comment
Snipe3000 Posted March 31, 2018 Share Posted March 31, 2018 Oddest thing. Installed syncthing. Got it working with another PC. worked for about 15 minutes. Now It shows disconnected and no matter what I do, I can't get it to connect again. How is this possible? Quote Link to comment
CHBMB Posted March 31, 2018 Share Posted March 31, 2018 1 hour ago, Snipe3000 said: Oddest thing. Installed syncthing. Got it working with another PC. worked for about 15 minutes. Now It shows disconnected and no matter what I do, I can't get it to connect again. How is this possible? The magic smoke escaped..... Seriously, completely unable to help with the info provided. Quote Link to comment
daemonix Posted April 14, 2018 Share Posted April 14, 2018 any idea why on the 'root' folder of the synched files I can write like any other unraid share but if I move in one step then I can write? Im running the latest docker and all setting on default.. /sync is mapped to /mnt/user/VMShare If I do touch file inside /mnt/user/VMShare/FOLDER/ Im not allowed. All other /mnt/user/* share are ok and tested on OSX, WIN and Linux SMB clients. Thanks Quote Link to comment
CHBMB Posted April 17, 2018 Share Posted April 17, 2018 any idea why on the 'root' folder of the synched files I can write like any other unraid share but if I move in one step then I can write? Im running the latest docker and all setting on default.. /sync is mapped to /mnt/user/VMShare If I do touch file inside /mnt/user/VMShare/FOLDER/ Im not allowed. All other /mnt/user/* share are ok and tested on OSX, WIN and Linux SMB clients. ThanksPermissions required by Syncthing not compatible with SMB clients I guess. 1 Quote Link to comment
RichardU Posted May 2, 2018 Share Posted May 2, 2018 Very basic. I'm trying to set up Syncthing to sync between two unRaid installations. I want to be able to sync any of my shares. For the container, I set AppData Config Path: /mnt/user/appdata/syncthing Assume I want to sync say, /mnt/user/media What do I put for Host Path 2? Then, when I specify a sync folder, what do I put for Folder Path? I've tried various permutations without any luck so far. Thanks, Richard Quote Link to comment
RichardU Posted May 5, 2018 Share Posted May 5, 2018 I see Host Path 2 in the edit screen, but not Host Path 1. What happened to Host Path 1? What should Host Path 2 be set to? Quote Link to comment
RichardU Posted May 7, 2018 Share Posted May 7, 2018 Here's a screen grab of a new install. No Host Path 1. Is this normal? Quote Link to comment
CHBMB Posted May 9, 2018 Share Posted May 9, 2018 Yeah, don't worry about it. Just a naming problem rather than a serious issue. you may find the appdata is using host 1 and we've just renamed it Quote Link to comment
RichardU Posted May 9, 2018 Share Posted May 9, 2018 CHBMB, Thanks for replying. I wish that cleared things up, ... How about this: I want to sync /mnt/user/media. What do I put into: Host Path 2 AppData Config Path Folder Path (while Adding Folder) Thanks. Quote Link to comment
CHBMB Posted May 9, 2018 Share Posted May 9, 2018 Host Path 2 = /mnt/user/media Appdata = wherever you keep your appdata in a subfolder called syncthing? Generally this is auto completed for you based on settings in the docker section on Unraid Folder path = container path = /whateveryouwanttocallit host path = /mnt/user/whateverlocationyouwant Quote Link to comment
NewKrewLinux Posted May 11, 2018 Share Posted May 11, 2018 (edited) I managed to get this to sync with my devices perfectly over LAN using the info I provided below. But I still have one problem. I am unable to directly add a file to a folder via Windows Explorer on my SMB share. That is, I cannot drag and drop a photo into the //Server/Storage/sync/My_Folder directory to be sent to my other devices. It says "permission denied" in Windows. How do I fix this? _________________________________________________________ Just letting you guys know. I had to swap my interface from "Bridge" to "br0" for this to work properly. Otherwise I also got the issue with it not connecting ever again after 15 mins. Also disabled the relay on all of my devices to first properly work out the LAN issues I was having, because if after a certain time a LAN connection can't be made it'll just move to using a relay and it's sort of hard to work out if it's using the relay (gotta scour the log, or look at the slow speed etc). In addition to that I added the port "22010" to the port mappings before installing the Docker app. Then I changed the listen address in the app to "TCP 22010" because having it set as "default" causes a "connected to myself, not supposed to happen" error every 60 seconds. Then I set the listen address on each of my devices as follows TCP 22011, 22012 etc. and port forwarded these over my router. Not sure if I had to do these 2 steps but I did it anyway. After this I re-enabled the relay so my files can sync when I am away from home. Over LAN I'm able to get just up to 50MB/s transfer speeds (Smartphone is the bottleneck) which is much, much higher than Nextcloud which used to only get me about 10MB/s. Probably due to less overhead and not having to write to a DB etc. Hope this helps someone and thanks for providing this app. Edited May 11, 2018 by NewKrewLinux Quote Link to comment
daemonix Posted May 20, 2018 Share Posted May 20, 2018 Seems that the CPU numbering in unraid isnt the same as the extra setting for syntching CPU pinning. Anyone else has the same issue? I gave 4 vCPUs that are different from the VMs but seems to overlap on htop! Quote Link to comment
stetay2233 Posted July 3, 2018 Share Posted July 3, 2018 (edited) I have been using Syncthing fore while and have been loving it. Came across my first big issue that is really stumping me at the moment and I need a little guidance. I recently moved from running Syncthing on a windows box to a docker on my unRaid server. Everything is setup, folders set, ports forwarded, running off an ssd and all downloads run through the ssd. I can’t for the life of me see why i am limited to only 10Mbps download rate on this machine while all my other boxes in this house and offsite all connected to the same seedbox can saturate my internet connection at 100-113Mbps. I have relaying disabled. Docker is set to bridged network mode (changing to host to to a physical bridge doesn’t improve performance) Dual Xeon E5-2670 v2 processors 64GB RAM 1TB ssd with syncthing data pprof debug since cpu never goes above 5% attached also cross posted to Syncthing support just in case its a syncthing issue and not something with the docker/unRaid syncthing-cpu-linux-amd64-v0.14.48-102834.zip EDIT: Doesn't seem to be my internet as putting syncthing back on a windows machine and trying to sync the same folder as i am trying to do with unraid runs at full speed. issue is limited to the syncthing docker i believe. Edited July 11, 2018 by stetay2233 Quote Link to comment
stetay2233 Posted July 17, 2018 Share Posted July 17, 2018 On 7/3/2018 at 1:02 PM, stetay2233 said: I have been using Syncthing fore while and have been loving it. Came across my first big issue that is really stumping me at the moment and I need a little guidance. I recently moved from running Syncthing on a windows box to a docker on my unRaid server. Everything is setup, folders set, ports forwarded, running off an ssd and all downloads run through the ssd. I can’t for the life of me see why i am limited to only 10Mbps download rate on this machine while all my other boxes in this house and offsite all connected to the same seedbox can saturate my internet connection at 100-113Mbps. I have relaying disabled. Docker is set to bridged network mode (changing to host to to a physical bridge doesn’t improve performance) Dual Xeon E5-2670 v2 processors 64GB RAM 1TB ssd with syncthing data pprof debug since cpu never goes above 5% attached also cross posted to Syncthing support just in case its a syncthing issue and not something with the docker/unRaid syncthing-cpu-linux-amd64-v0.14.48-102834.zip EDIT: Doesn't seem to be my internet as putting syncthing back on a windows machine and trying to sync the same folder as i am trying to do with unraid runs at full speed. issue is limited to the syncthing docker i believe. anyone have any ideas? Quote Link to comment
Thieniss Posted August 8, 2018 Share Posted August 8, 2018 On 7/3/2018 at 1:02 PM, stetay2233 said: I have been using Syncthing fore while and have been loving it. Came across my first big issue that is really stumping me at the moment and I need a little guidance. I recently moved from running Syncthing on a windows box to a docker on my unRaid server. Everything is setup, folders set, ports forwarded, running off an ssd and all downloads run through the ssd. I can’t for the life of me see why i am limited to only 10Mbps download rate on this machine while all my other boxes in this house and offsite all connected to the same seedbox can saturate my internet connection at 100-113Mbps. I have relaying disabled. Docker is set to bridged network mode (changing to host to to a physical bridge doesn’t improve performance) Dual Xeon E5-2670 v2 processors 64GB RAM 1TB ssd with syncthing data pprof debug since cpu never goes above 5% attached also cross posted to Syncthing support just in case its a syncthing issue and not something with the docker/unRaid syncthing-cpu-linux-amd64-v0.14.48-102834.zip EDIT: Doesn't seem to be my internet as putting syncthing back on a windows machine and trying to sync the same folder as i am trying to do with unraid runs at full speed. issue is limited to the syncthing docker i believe. I'm also having the same issue. Moving from Windows to unraid, and everything seems to be working well except for Syncthing, which won't go above 10 Mbps. On my Windows machine it easily does 200 Mbps syncing the same folder. Quote Link to comment
Inimical Posted November 18, 2018 Share Posted November 18, 2018 (edited) Can't seem to get this to sync between unraid and an android phone - everything seems to be running and connected, however it just stays at "syncing" and doesn't transfer anything? Any ideas? Edited November 18, 2018 by Inimical Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.