I’ve recently had a large NAS installation turn from ‘Everything’s happy thankyou’ to ‘All devices and folders are Unknown’ - which I allowed to persist for a couple of days, before I restarted Syncthing.
I’m now being greeted with the following message in the UI (all folders currently paused, all devices currently running):
Failed to persist pending folder entry to database: leveldb/table: corruption on data-block (pos=207626368): checksum mismatch, want=0x474fb779 got=0xde1b23ed [file=2226538.ldb]
Any advice on how to resolve this? I’m currently running v1.30.0.
These errors usually mean that something is wrong, e.g. with the hardware, or the filesystem. Either way, you cannot recover from this, so the only way is to wipe the database clean and start fresh. I would suggest to check your hardware first, and if you are sure that the storage is fine, then also upgrade Syncthing to v2, as v1 is no longer developed.
Thanks Tomasz - I suspected this would be the case… I understand LevelDB to be pretty rudimentary - but just wanted to be sure there weren’t any obvious recovery tools I was overlooking…