guilhem31 Posted May 12, 2020 Share Posted May 12, 2020 (edited) Hi everybody As I discovered Syncthing few days ago I'm pretty sure my question would seem stupid to you ! I want to backup my laptop documents on my NAS, like I did befor with my synology (with Drive) I setup my syncthing folders this way in the container : mnt/user/backups/BACKUP_XIAOMI_MI_AIR > /sync /mnt/user/appdata/syncthing > /config The PUID / GUID are 99/100 I have no error messages (like I read in this thread, like permission issues) The problem is : all the data I want to backup is stored in the config directory on my cache drive (which is now full ^^) So the /sync folder is not used... What am I doing wrong ? Edited May 12, 2020 by guilhem31 More informations Quote Link to comment
RichardU Posted May 12, 2020 Share Posted May 12, 2020 Syncthing offers a default folder path that starts with config, which you need to remove In the container configuration for my backup location, My Host Path 2 is: /mnt/user/ In the Syncthing app, my folder path is: /sync/Backup/Richard That puts the files into a share called Backup with a subfolder called Richard Quote Link to comment
guilhem31 Posted May 12, 2020 Share Posted May 12, 2020 4 hours ago, RichardU said: Syncthing offers a default folder path that starts with config, which you need to remove In the container configuration for my backup location, My Host Path 2 is: /mnt/user/ In the Syncthing app, my folder path is: /sync/Backup/Richard That puts the files into a share called Backup with a subfolder called Richard Thanks a lot for your hints. It seems to be the right thing to do, but in my Syncthing app (via the webUI) I can't change the folder path, the input is grey : So it's impossible for me to change /config/myfolder to /sync/myfolder Quote Link to comment
RichardU Posted May 12, 2020 Share Posted May 12, 2020 Maybe try deleting that and add it again. Quote Link to comment
guilhem31 Posted May 12, 2020 Share Posted May 12, 2020 1 minute ago, RichardU said: Maybe try deleting that and add it again. I allready tried that and there was no option field where I can set the path manually.. Quote Link to comment
jortan Posted May 20, 2020 Share Posted May 20, 2020 (edited) I was experience terrible speeds using Syncthing in docker on unRAID... Until I pinned the docker to only use a couple of CPU cores (switch Basic View to Advanced in the docker's "edit" screen) I'm now seeing bursts up to 20-30MB/sec where previously I never saw anything higher than 2-3MB/sec. I can only assume this was a CPU scheduling issue (ie. is the syncthing docker waiting for all cores to be available for some reason?) edit: I may have spoken to soon - occasionally I'm seeing up to 20MB/sec, but this mostly settles back to <2MB/sec after a while. Very frustrating! Edited May 20, 2020 by ConnectivIT Quote Link to comment
Xcelsior86 Posted May 21, 2020 Share Posted May 21, 2020 Just got syncthing up and running tonight and experiencing slow speeds as well. I've port forwarded and pinned the container to 4 cores. Running the client on Windows laptop. Is there something else I can try or am I just stuck? Quote Link to comment
DivideBy0 Posted June 28, 2020 Share Posted June 28, 2020 I think it has been asked here but I see no answer or guidance. I managed to setup Syncthing in 2 Unraid servers and they're talking to each other. Now this is not very clear. How do I point Unraid 1 to an existing folder/share to sync it across to the Unraid 2? Looks like permission issue to me? Quote Link to comment
DivideBy0 Posted June 28, 2020 Share Posted June 28, 2020 Well found the solution to my own problem You'd could just add extra Host Paths as required, in my case / ROOT and be done with it Work perfect now. Quote Link to comment
DivideBy0 Posted July 3, 2020 Share Posted July 3, 2020 This place id DEAD This stuff ain't working It scaned for 2 freaking days and now is STUCK. Any ideas? It won't move or transfer anything Quote Link to comment
thingie2 Posted July 19, 2020 Share Posted July 19, 2020 On 8/9/2019 at 9:32 AM, Cliff said: I am trying to get syncthing to sync to my google drive folder without success. I have mounted a google drive folder with: mkdir -p /mnt/user/google_syncfolder rclone mount --buffer-size 256M --fast-list --allow-other gdrive:Dump/ /mnt/user/google_syncfolder & I can see the mounted folder and all google drive files and can also copy from/to my google drive with the use of a file-browser on unraid. I have also added the same directory to the path in the syncthing container. But when trying to sync from a remote syncthing-server to the unraid server it just sits at 0% and then throws a sync error. If I look on my google drive I can see that syncthing has created a zero-byte .tmp file for every file I am trying to sync If I change the path in the syncthing container to a regular folder on the unraid server it works without problem. Can anyone explain to me how to solve this? Did you ever get this resolved? I'm having a similar issue, but with Onedrive. It's finding the folder fine, and loading some .tmp files in there (upto a few 100kb), but then throwing up sync errors (both illegal seek & operation not permitted). and example of the errors: 2020-07-19 21:36:57 Puller (folder "5870" (5870), item "DSC_3452.JPG"): truncate /onedrive/pictures/.syncthing.DSC_3452.JPG.tmp: operation not permitted 2020-07-19 21:37:00 Puller (folder "5870" (5870), item "DSC_3453.JPG"): save: write /onedrive/pictures/.syncthing.DSC_3453.JPG.tmp: illegal seek I've tried a load of different rclone configs e.g. changing the uid to match the syncthing docker uid etc but I continue to get the same errors. I've tried with & without "ignore permissions" set, with no difference. I can access & write to the rclone mount in other dockers fine. Anyone got any ideas? Quote Link to comment
thingie2 Posted July 23, 2020 Share Posted July 23, 2020 On 7/19/2020 at 9:40 PM, thingie2 said: Did you ever get this resolved? I'm having a similar issue, but with Onedrive. It's finding the folder fine, and loading some .tmp files in there (upto a few 100kb), but then throwing up sync errors (both illegal seek & operation not permitted). and example of the errors: 2020-07-19 21:36:57 Puller (folder "5870" (5870), item "DSC_3452.JPG"): truncate /onedrive/pictures/.syncthing.DSC_3452.JPG.tmp: operation not permitted 2020-07-19 21:37:00 Puller (folder "5870" (5870), item "DSC_3453.JPG"): save: write /onedrive/pictures/.syncthing.DSC_3453.JPG.tmp: illegal seek I've tried a load of different rclone configs e.g. changing the uid to match the syncthing docker uid etc but I continue to get the same errors. I've tried with & without "ignore permissions" set, with no difference. I can access & write to the rclone mount in other dockers fine. Anyone got any ideas? For anyone else who find this with similar issues, I found a solution. The issue is the tasks that the rclone filesystem supports. Once I realised this, and could look into rclone's capability a bit more, I found the vfs-cache-mode parameter. I've since set this to write, and it has resolved my issues. Quote Link to comment
bobbintb Posted July 31, 2020 Share Posted July 31, 2020 I haven't ever used Syncthing but I'm trying it for a phone backup. I did a fresh docker. I had it sync to the config folder for now but I cannot access the folder over SMB. I get a permission error. Docker safe perms didn't help. Quote Link to comment
BoyMeets Posted August 2, 2020 Share Posted August 2, 2020 I've been trying out syncthing the last few days but can't seem to get local discovery working on a 2 routers home network. Has anyone gotten a local connection between 2 routers? Quote Link to comment
Energen Posted August 2, 2020 Share Posted August 2, 2020 3 hours ago, BoyMeets said: I've been trying out syncthing the last few days but can't seem to get local discovery working on a 2 routers home network. Has anyone gotten a local connection between 2 routers? By the sounds of it there wouldn't be anything "local" when separating machines by using 2 routers. Each router has it's own network and would only be "local" to it's own network. Why don't you want to add one of them as a remote device? Takes the guessing out of it. Quote Link to comment
Energen Posted August 2, 2020 Share Posted August 2, 2020 (edited) Actually your issue may be something totally different ..... all of a sudden my syncthing has stopped working and I cannot get them to connect.. Not sure when Syncthing updated to 1.7.1 or if that's the problem but I cannot get my 2 machines to connect, and I've changed nothing since they were working. Edit -- Yes indeed, I rolled back my docker version to linuxserver/syncthing:v1.6.1-ls37 and it instantly worked again. Something changed leading up to the most recent 1.7.1 that broke the container. Not sure what it could be though. Edited August 2, 2020 by Energen Quote Link to comment
RichardU Posted August 4, 2020 Share Posted August 4, 2020 What can I change here: To avoid getting this: Quote Link to comment
david279 Posted August 4, 2020 Share Posted August 4, 2020 Just now, RichardU said: What can I change here: To avoid getting this: You can set the password in syncthing itself. Its in settings-GUI. Quote Link to comment
RichardU Posted August 6, 2020 Share Posted August 6, 2020 On 8/4/2020 at 4:27 PM, david279 said: You can set the password in syncthing itself. Its in settings-GUI. You're right! Thanks. My mistake was thinking "Changes here will not take effect" applied to the whole page Quote Link to comment
Rowanhs Posted August 9, 2020 Share Posted August 9, 2020 Anyone else experiencing slow syn speeds at the moment? I have to keep restarting the docker container to get the speed back up. Syncs at 20Mbps (my internet speed limit) for 10-15 min then drops suddenly to 1Mbps or less and never recovers until a restart. Only change I've made on my end is running UnraidOS 6.9-beta25. I rolled the container back to version 1.6.1 as 1.7.1 was even worse and wouldn't sync at all. I've also tried pinning what CPUs it can use but that didn't help. Only thing that helps is restarting the container. I've checked everything i can think of on my network but there is no QOS on the router (tried it with it on and that didnt help). Re installed the docker container completely re setting everything up. Nothing seems to stop the sudden slow down. Syncing to my Cache drive before moving to the array, There is plenty of Space on the cache drive 500+GB free Quote Link to comment
riff.79 Posted August 24, 2020 Share Posted August 24, 2020 On 8/10/2020 at 9:56 AM, Rowanhs said: Anyone else experiencing slow syn speeds at the moment? I have to keep restarting the docker container to get the speed back up. Syncs at 20Mbps (my internet speed limit) for 10-15 min then drops suddenly to 1Mbps or less and never recovers until a restart. Only change I've made on my end is running UnraidOS 6.9-beta25. I rolled the container back to version 1.6.1 as 1.7.1 was even worse and wouldn't sync at all. I've also tried pinning what CPUs it can use but that didn't help. Only thing that helps is restarting the container. I've checked everything i can think of on my network but there is no QOS on the router (tried it with it on and that didnt help). Re installed the docker container completely re setting everything up. Nothing seems to stop the sudden slow down. Syncing to my Cache drive before moving to the array, There is plenty of Space on the cache drive 500+GB free Yeah Rowanhs - same here. Resilio is full speed, but Syncthing not so. Quote Link to comment
Rowanhs Posted August 30, 2020 Share Posted August 30, 2020 On 8/25/2020 at 8:23 AM, riff.79 said: Yeah Rowanhs - same here. Resilio is full speed, but Syncthing not so. @riff.79 yeah i've given up and am trying Resilio. Out of interest does your DL speed zig zag all over the place with Resilio? It goes really quick and then drops to zero, builds up to speed then drops again. Over and over. Quote Link to comment
riff.79 Posted September 3, 2020 Share Posted September 3, 2020 On 8/30/2020 at 4:32 PM, Rowanhs said: @riff.79 yeah i've given up and am trying Resilio. Out of interest does your DL speed zig zag all over the place with Resilio? It goes really quick and then drops to zero, builds up to speed then drops again. Over and over. Yes! 100% CPU, slow indexing and unpredictable network speed. Quote Link to comment
presence06 Posted September 29, 2020 Share Posted September 29, 2020 I'm interested in checking in on my setup... I have unraid 6.8.3 running with Syncthing docker. I have /sync set as my photos, this syncs from my phone camera. I also then created a /sync2 that points to another folder to sync to my phone as well. I also setup /sync3 for syncing my wife's phone photos... all seems to work.. I have the server side setup to ignore delete and I only have it sync when connected to home wifi. Is this the correct setup? I've been watching some Lawrence systems videos and it sounds like the best practice for adding more folders/devices is for the "remote" device to reach out to the Server, is that also correct? if I want to sync more folders, do I keep adding /sync locations with the path I want to sync? The only issue I've had..not really an issue I guess.. my /sync2, which is on my phone, if I delete from my phone, the server reports back that it's synced up. My webUI on my phone Syncthing shows it's out of sync with X amount of files.. this shows for /sync2 and /sync.. supposed to ignore that or is there a config I have that's missed/messed up that it keeps showing out of sync? Quote Link to comment
tghero Posted October 2, 2020 Share Posted October 2, 2020 Having an issue with transfer speeds on the array when Syncthing is running. Extremely slow transfer on the array from folder to folder, disable the syncthing docker and the issue is solved. Any idea what setting could be causing such an issue? 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.