|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 30408862
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
Corrupt database
Well, successfully copied my library across from the other machine.
Issues: 1. Double-clicking a book tries re-adding it to the library instead of opening the viewer 2. The database is corrupt and I get the following error message when I try to restore it: Spoiler:
Running calibre 7.26 on a Mac Mini M4 MacOS Sequoia 15.7.3 (24G419) (Yeah, I know, ancient version, but I want to complete my cross-reference with LibraryThing before upgrading.) |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,246
Karma: 29630732
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can always restore from command line by running
calibredb restore_database -r |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,673
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If so, change the file open association in Finder to the calibre viewer rather than the calibre library manager On Windows that would be: ebook-viewer.exe, rather than calibre.exe. BR |
|
|
|
|
|
|
#4 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 30408862
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 30408862
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,400
Karma: 153646249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Time to rebuild the database.
|
|
|
|
|
|
#7 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,673
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#8 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,673
Karma: 33011292
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
2. What sort of file EPUB, MOBI, CSV…? 3. Is that file type checked in Preferences->Behaviour->Use internal viewer for:? 4. What's in Preferences->Tweaks->Control behavior of the book list? Post a screen shot. BR |
|
|
|
|
|
|
#9 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,246
Karma: 29630732
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#10 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,771
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The question you want to think about is WHY it went bad.
Did you sync to another instance? Have your Library on a NAS or Shared drive? If you don't fix the cause, it will happen again AND you will loose data or books. |
|
|
|
|
|
#11 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 30408862
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
Quote:
Anyway, the database on the source machine has been fixed; I'm now copying files to the target machine. Part of the issue seems to have been the s.l.o.w transfer via iCloud with a somewhat flaky Internet connection. I have another 10 or so files to copy across, then I'll try again. Is there a way to purge the library on the target machine? That's actually an older instance, and the source machine is the current instance. |
|
|
|
|
|
|
#12 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,771
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
A purge? Just delete the Library folder contents.
No DB and No Books... No Library BTW adding books (or DB) any other way (other than a total EXACT COPY while calibre is not running) is what leads to a corrupt Library. Everything added or remove MUST be done by Calibre (except the COMPLETE restore) |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calibre corrupt error corrupt error database disk image is malformed | didu812 | Calibre | 50 | 04-10-2024 08:51 AM |
| Database corrupt, what can I do? | elstupid | Calibre | 7 | 05-14-2023 03:24 PM |
| Aura HD Corrupt database? | patrik | Kobo Reader | 34 | 01-13-2014 02:10 AM |
| Corrupt database | tonyjbird | Introduce Yourself | 5 | 04-03-2012 06:26 AM |
| Corrupt database | jjansen | Calibre | 4 | 10-26-2011 11:51 PM |