![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jan 2011
Device: Nook
|
Update from O.8.7 to 0.8.8, library now corrupt?
Last night I updated from 0.8.7 to 0.8.8 and now when I try to open Calibre I get the following message:
Your Calibre database appears to be corrupted. Do you want calibre to try and repair it automatically? If you say No, a new empty calibre library will be created. and then when I show details I get this Traceback (most recent call last): File "site-packages\calibre\gui2\main.py", line 215, in initialize_db File "site-packages\calibre\library\database2.py", line 194, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 24, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 611, in upgrade_version_20 File "site-packages\calibre\library\sqlite.py", line 308, in run DatabaseException: duplicate column name: link RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 268, in run OperationalError: duplicate column name: link I try to repair the database and it fails to do so. Is there anything I can do to get it to open my calibre library? I have nearly 3000 books in it, and I don't want to have to re-add them all to a new library. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jan 2011
Device: Nook
|
Thank you! I ran the debug cmd prompt from the other thread and it fixed my main library.
Only one issue, now Calibre doesn't remember the other libraries I had. When I go to switch library, there are no other libraries listed. How can I get Calibre to find the other libraries? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use switch/create library and enter the path to the library.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2011
Device: none
|
Please Help Me
Quote:
Corrupted database Your calibre database appears to be corrupted. Do you want calibre to try and repair it automatically? If you say No, a new empty calibre library will be created. Traceback (most recent call last): File "site-packages\calibre\gui2\main.py", line 215, in initialize_db File "site-packages\calibre\library\database2.py", line 214, in __init__ File "site-packages\calibre\library\database2.py", line 318, in initialize_dynamic File "site-packages\calibre\library\sqlite.py", line 308, in run DatabaseException: database disk image is malformed RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 268, in run DatabaseError: database disk image is malformed https://www.mobileread.com/forums/sho...79#post1667079 |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,227
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your database corruption has nothing to do with the update. You need to use the restore database feature in calibre. delete the metadata.db file, then start calibre, it will show a blank book list. Click the arrow next to the calibre icon and select Library Maintenenace->Restore Library
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library corrupt? | haze | Library Management | 2 | 06-28-2011 09:37 PM |
Re-importing Library after corrupt metadata.db | samhain | Library Management | 3 | 03-07-2011 01:57 PM |
Update to Sony Library - am I crazy? | cozworth | Sony Reader | 2 | 09-02-2010 04:03 PM |
corrupt metadata.db and redoing library | Dopedangel | Calibre | 6 | 01-01-2010 04:49 PM |
PC based software library corrupt | exvaxman | Sony Reader | 4 | 11-13-2006 03:29 PM |