Created a new dir yesterday that I wanted to sync (50 000 files and lots of git repos and dot files), but today I noticed that syncthing just pics up 66 files instead of the 50 000.
I tried to reset deltas and the db but it changed nothing.
I have some dirs with 600 000+ files that sync just fine.
Today I double checked with all my dirs, I noticed several where syncthing doesn’t pick up everything and a couple thousand files are missing in the sync…
What can I do from here ?
( I mostly checked with ‘tree’)
I have no ignore rules that should prevent the synchronization of those files.
I am using btrfs on the system where the files don’t get picked up. (root and home dir get snapped) Also i am syncing ‘$HOME/Sync/lots-of-dirs…’ where ‘Sync’ is a symlink to a different drive. And the daughter dirs contain the different syncthing folders
No errors or warnings in the webui.
Tried to start syncthing via systemd and the provided .desktop files.
Could be some other kind than sockets, or it could be some other error that takes the same path and currently doesn’t get surfaced. If you can try the latest nightly there is a fix in there…
Okay I have run v1.29.0-rc.1.dev.12. most files get picked up now(after running once the nightly build) (even by the stable release)
‘tree’ still gives me a diff of 10 000 files
‘find dir -type f | wc -l’ does not.
But at very least I am not missing anything important anymore.
I think syncthing still has trouble to pick up everything
‘find dir -type f | wc -l’ still gives me a diff of multiple 10 000 in some dirs… IDK why this might be (most folders seem to be fine now…)
If you enable scanner debugging in the log view, and run a scan (with the dev.12 nightly), do you get Skipping non-regular file lines? Would be interesting to see…
Note that find dir -type f | wc -l along with rsync -an --stats /path/to/btrfs /empty/dir would include any versioned files under Syncthing’s .stversions directory while Syncthing’s web UI reports only the files counted in the sync.
(In Linux, user-space tools that interact with a filesystem pass thru Linux’s VFS so they’re insulated from the fact that it’s btrfs or some other filesystem type.)