I have been using linuxserver’s docker to run syncthing on my QNAP NAS. I was on version 1.3.1. I recreated the container, pulling the latest image, and now the application won’t boot, and looking at the log in Docker, I see this repeating over and over:
[4BXUQ] 19:58:25 INFO: Migrating database to schema version 9...
[4BXUQ] 19:59:03 WARNING: Database schema: leveldb/table: corruption on data-block (pos=57173505): checksum mismatch, want=0xcbef81c9 got=0xf1fb3af5 [file=1571220.ldb]
[start] 19:59:03 INFO: syncthing v1.4.0 "Fermium Flea" (go1.13.4 linux-amd64) root@7d45b32d0253 2020-03-17 06:33:17 UTC
[start] 19:59:03 INFO: Using large-database tuning
[4BXUQ] 19:59:03 INFO: My ID: 4BXUQL4-TKOGEMZ-JMPB25U-SBCDYVS-U5ADLRW-AEYNNYT-SOOJPTF-O4ME7AE
[4BXUQ] 19:59:04 INFO: Single thread SHA256 performance is 337 MB/s using minio/sha256-simd (287 MB/s using crypto/sha256).
[4BXUQ] 19:59:05 INFO: Hashing performance is 261.68 MB/s
[4BXUQ] 19:59:05 INFO: Migrating database to schema version 9...
[4BXUQ] 19:59:41 WARNING: Database schema: leveldb/table: corruption on data-block (pos=57173505): checksum mismatch, want=0xcbef81c9 got=0xf1fb3af5 [file=1571220.ldb]
[start] 19:59:41 INFO: syncthing v1.4.0 "Fermium Flea" (go1.13.4 linux-amd64) root@7d45b32d0253 2020-03-17 06:33:17 UTC
[start] 19:59:41 INFO: Using large-database tuning
[4BXUQ] 19:59:41 INFO: My ID: 4BXUQL4-TKOGEMZ-JMPB25U-SBCDYVS-U5ADLRW-AEYNNYT-SOOJPTF-O4ME7AE
[4BXUQ] 19:59:42 INFO: Single thread SHA256 performance is 319 MB/s using minio/sha256-simd (245 MB/s using crypto/sha256).
[4BXUQ] 19:59:44 INFO: Hashing performance is 264.42 MB/s
[4BXUQ] 19:59:44 INFO: Migrating database to schema version 9...
When I try to pull an older image, it says my database is a newer version and it won’t start. I did try various older images as well between 1.3.1 and their current one.
Any recommendations on how I can fix this and get syncthing running again? I’m a bit of a novice with Linux, but can likely do things with guidance. I currently use Portainer to manage my Docker containers.
Thank you!