Database is on the root partition. Data is on a USB drive. I deleted the database and rebuilt syncthing. Worked good for 3-4 days, then corrupt database errors again. Data error was on the same folder. Because this folder was “receive only” I shutdown syncthing and am running rsync mirroring until an error occurs. No errors so far for 3 days.
If rsync works fine indefinitely, but syncthing crashes after a few days, then I’ll start thinking it’s a syncthing issue.
In the meantime, I notice that rsync and syncthing slightly disagree about what is synchronized. Has anybody found the magic combination of configuration settings so that when syncthing is “complete”, rsync agrees? And visa versa? Only thing I know so far is that syncthing doesn’t sync folder mod times and does only r/o permission bit. Even ignoring folder mod times (-O option), rsync still does a lot of updates to a “syncthing sync’d” folder. Any way to make syncthing or rsync ignore whatever the permissions are?