-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Server crash with Unhandled rejection: SequelizeDatabaseError: SQLITE_CORRUPT: database disk image is malformed, promise: Promise
#3276
Comments
Can you double check that you are on |
The bottom left in the interface says |
Most likely the database is fixable from what I've seen with the other sqlite corrupt cases but I would need a copy of the db unless you are familiar with sqlite enough to run a query. A few columns need to be re-indexed. Otherwise you can restore from a backup before v2.12.0 |
If you want to fix the sqlite file yourself this is the thread #3199 (comment) |
Are there any downstream effects of not addressing this? It's only one book so far, could there be more in the future, or have the bug fixes addressed it? I should have a database backup prior to |
I think you'll have to address it if it didn't fix itself after the update. You are the first user that reported it didn't resolve itself. You can try soft deleting the book and running another scan. If that soft delete crashes the server you'll have to use a backup or run a REINDEX query on the db. |
I think I fixed it based on your instructions. First I deleted the book that was causing the issue from the ABS interface, but that crashed the server, and wouldn't bring it back up, the container just failed to start with database errors very similar to the initial message. So, I took the Thank you for your help, and for your work on ABS. |
This is reproduced on v2.15.0:
|
Hey! How can I fix this? V2.15.0 may have a fix to test for the issue mentioned upper ☝️☝️☝️ |
I tested with your database @hardwareadictos and was able to repro the issue. I'm not sure how we will roll out a fix yet for everyone incase anyone else has this issue but the fix is very simple if you can run the following sql command on the db:
I just ran this on your test db and the issue is resolved on startup. |
Fixed in v2.15.1. |
I can confirm! No more corruption errors on ABS! |
What happened?
Upon submitting metadata changes for 'English Pronunciation Made Easy' (metadata pulled from Audible, ASIN B01CH0U3LG), a full server crash occurs, see attached logs. The book itself plays fine, and this does not occur with any other book.
What did you expect to happen?
I expected metadata to be saved as normal, and the server to not crash.
Steps to reproduce the issue
Audiobookshelf version
v2.12.3
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
None
Logs
Additional Notes
No response
The text was updated successfully, but these errors were encountered: