Hi, I’m quite new to syncthing, I recently moved over from using rsync to keep my files between systems in sync.
So my environment has 3 systems running syncthing:
Machine A is my master machine and the only place files should be modified, added to or deleted from. This is an Unraid NAS running the latest versions of Unraid and syncthing. This is strictly a sender for 14 shared folders.
Machine B is strictly a receive only machine and acts as a backup/copy of everything on A. This is another Unraid NAS running the latest versions of Unraid and syncthing. This is strictly a receiver
Machine C is a media server running Plex on a Synology NAS DS1019+. It’s running the latest versions of DSM, Plex and syncthing
All the machines are on the same lan segment and have static addresses
So to my problem/question. On machine C everything was synced and working quite happily if some what slowly, but for some reason it would only connect to machine A with a connection type of TCP WAN, where machine A was connected to C with a connection type of TCP LAN, so I started fiddling around to try and get it to be TCP LAN, thinking that this might improve the speed of the connection. Well the up shot of the fiddling I managed to break the connection to the GUI, their was something listening on port 8384, but the connection was constantly be rejected, tried stopping and starting syncthing, no change, rebooted the machine still no connection. The actual syncing was going fine as I could see additions to my plex server appearing the plex GUI. So after a couple of days with no GUI access I tried ssh’ing into the box to see if I could see an issue in the config files, but I couldn’t, mainly cause I had no idea what I was looking for, so I decided to uninstall syncthing and reinstall. This all happened smoothly and I was able to reconnect to Machine A and reset up all the shares and I even managed to get he conectionto be TCP LAM. The issue I’m having is a the scanning is happening painfully slowly. Of the 14 shares only 3 are in the scanning phase and then after 30 hours have completed 18% 4% and 8% respectively, all the other 11 are in a waiting to scan state. To take the most extreme case one of the folder shares is a pictures folder and on machine A the local and global stats are 621986 files, 2169 directories and 362GiB, on machine C the Global state is 291625 files, 2169 directories, and 150 GIB, and the local state is 258026, files 2169 directories and 136 GiB, along with 121471 items, size 73.2 GiB out of sync, and locally changed items 66465 items 58.6 GiB in size. Prior to reinstalling syncthing both systems were in lockstep showing the same files, directories and size stats with no local changes. So 1. Why is machine C not seeing all the files from machine A, if I add the local files and the out of sync I get a figure 3800022 which is some what short of the 621086 files that it was reporting and 2, why does it believe that so many of the files have been changed locally. This folder gets maybe 100 additions a day, but has had none since i reinstalled syncthing as I didn’t want to confuse it to much. I did the reinstall around 6pm on Sunday and now 30 hours later it has managed to scan 8% of the folder, at this speed it’s going to take 15 days to complete. But I am worried about all the locally modified files, on my other folders the had the locally modified the big red reset button did absolutely nothing. I tried deleting the files on the receiving machine that it felt were locally modified and allow syncthing to bring them back across, but they still showed up as being locally modified. The only way I could get rid of the big red button was to remove everything from the receiving side remove the folder share from syncthing on both sides and reconfigure from scratch then once everything was transfer’d over all was OK no big red button, I’m hoping the I don’t have to do that as all the 3 shares that are currently scanning on macing C are showing large numbers of locally modified files and god know what it will look like once it gets round to scanning the other 11 folders. I would truly appreciate any advise as to how I could speed up this re-syncing and how to handle the locally modified files with out deleting everything and starting again, that’s not really a viable solution as i have a number of external friends and family that use the plex instance to watch tv and movies
Thanks for getting this far and for any possible assistance