Repository navigation
SHM file gets deleted when backing up sqlite3 db, causing db to unusable until restarting app #512
Unanswered
Iceman248
asked this question in
Legacy Q&A
Replies: 1 comment
|
Revisiting this. I know there is a new major version v5 out there, but I wasn't ready to upgrade to it yet. Any progress on this issue? Thanks. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
It seems to trigger a checkpoint to move data from WAL file to main DB file, then backs up that file, then I noticed WAL file was zeroed out, but that SHM file was deleted and I was getting I/O errors and DB ultimately wouldn't work, had to restart app to get it going again. It recreated the SHM file.
Steps to reproduce
What is the expected correct behavior?
Either doesn't delete SHM file or recreates it if needs to
Relevant logs and/or screenshots
Environment
Any logs | docker-compose.yml
Possible fixes
All reactions