I’ve been using Syncthing across linux/android/windows for a year and have been loving it. I recently spun up a VM to play around with a few things and decided, why not install Syncthing and back up the entire home folder?
I did this:
Install Syncthing as root (i.e. in /root/)
Set up a systemd service to run syncthing at boot
Added the root of the drive (/)
Set ignore patterns as the following two lines:
With the above ignore patterns, I’d expect Syncthing to wake up, look at the root, ignore every single folder in there except home, and be happy.
However what I see is that I get “Filesystem Watcher Errors” telling me syncthing can’t find certain files such as:
[hostname] lstat /proc/2451/fdinfo/27: no such file or directory
Why is it even looking in /proc? Doesn’t /proc match the second line of the ignore file? Doesn’t this mean it will just move on to the next folder? With the above ignores I expect syncthing to only look in /home and just gloss over all other folders.
- Syncthing is running as root
- I’ve updated the number of “max_user_watches” to 204800 and restarted