Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 06:09 AM   #1
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 41
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
[FIXED] Calibre 9.3.1 incorrectly reports database is corrupted

When starting Calibre 9.3.1 on macOS 15.7 Sequoia, it incorrectly reports that the database is corrupted. See attached screenshot. After reverting to 8.6.2, everything works normally.

This error has also been reported on Reddit.

Another problem is that the message box cannot be closed without affecting the database, so I had to kill the process manually to avoid this. Suggestion: add an [Exit] button that does not modify the database.
--

PS..
I also reported this on bugs.launchpad.net/calibre, tho I am not sure it was the right channel.
Attached Thumbnails
Click image for larger version

Name:	Calibre v9.3.1 Corrupt database message 2026-02-26.png
Views:	36
Size:	304.3 KB
ID:	221425  

Last edited by Boilerplate4U; Yesterday at 10:13 AM. Reason: Issue fixed
Boilerplate4U is offline   Reply With Quote
Old Yesterday, 10:13 AM   #2
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 41
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Problem fixed thanks to Kovid Goyal.

Here is the deal with the Corrupted database error. It was caused by an old metax database view of unknown origin.

Calibre 9 removes three long unused columns from the "books" table (isbn, lccn and flags). If something previously created a SQLite view called metax in your metadata.db (likely a third party plugin that somehow needed an extended meta view) then SQLite refuses to drop those columns because metax still references them.

To fix: Click [NO] in the error dialog to avoid creating an empty library, then open your metadata.db with a SQLite tool and run:

Quote:
DROP VIEW IF EXISTS metax;
Then save, reopen Calibre, and the upgrade should complete normally.
Boilerplate4U is offline   Reply With Quote
Advert
Reply

Tags
9.3.1


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre database corrupted Reader4106 Library Management 6 08-06-2025 12:08 AM
Calibre database missing or corrupted zamorano Calibre Companion 20 05-22-2020 06:25 AM
Corrupted Database with Calibre 2.75 vincentim2 Calibre 1 12-23-2016 08:47 PM
Import an old Calibre library with corrupted database Beanxx Library Management 3 05-08-2015 05:12 PM
[Old Thread] Calibre database keeps getting corrupted on Win 7 - help!?! jer989 Calibre 17 01-01-2013 04:36 PM


All times are GMT -4. The time now is 05:03 PM.


MobileRead.com is a privately owned, operated and funded community.