-
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I had a hard container shutdown (on Unraid) and my sqlite database got corrupted somehow. When the container restarted it started "successfully" but actually was looping this error forever:
2026-02-03 10:38:41 INF syncthing v2.0.14 "Hafnium Hornet" (go1.24.12 linux-amd64) root@buildkitsandbox 2026-02-03 09:33:54 UTC [modernc-sqlite, noupgrade] (log.pkg=main) 2026-02-03 10:38:41 ERR Error opening database (error="openbase (PRAGMA optimize = 0x10002): database disk image is malformed (11)" log.pkg=main)
Expected Behavior
Container should fail to start instead of getting stuck in an error loop.
Steps To Reproduce
- Install container
- Corrupt index-v2 sqlite files
- Restart container
Environment
- Unraid 7.2.3
- Syncthing v2.0.14, Linux (64-bit Intel/AMD Container)
- Docker installed via Community ApplicationsCPU architecture
x86-64
Docker creation
Community Application template defaultsContainer logs
2026-02-03 10:38:41 INF syncthing v2.0.14 "Hafnium Hornet" (go1.24.12 linux-amd64) root@buildkitsandbox 2026-02-03 09:33:54 UTC [modernc-sqlite, noupgrade] (log.pkg=main)
2026-02-03 10:38:41 ERR Error opening database (error="openbase (PRAGMA optimize = 0x10002): database disk image is malformed (11)" log.pkg=main)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Issues