08-27-2012, 03:54 PM | #1 | |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
|
Unable to open database file
Whenever I try to update any piece of metadata in any of my books, I get the following error message:
Quote:
Finally, when I do Library Maintenance/Check library, I simply get no response, as if I had pressed on nothing. It seems like I got a serious database issue, but I have not idea how to fix it. Any help would be greatly appreciated. Thanks in advance. W. PS - I am running version 0.8.66 on Mac OS X Mountain Lion. |
|
08-27-2012, 03:56 PM | #2 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Go to your calibre library folder and delete/rename the metadata.db file. Then start calibre and follow the instructions here: http://manual.calibre-ebook.com/faq....n-app-is-blank
|
Advert | |
|
08-28-2012, 01:46 AM | #3 | |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
|
Thanks for the prompt reply, Kovid.
Unfortunately, your suggestion did not help. I exited Calibre and deleted 'metadata.db' (I also had a 'metadata_pre_restore.db' and a 'metadata_db_prefs_backup.json', that I deleted as well). Upon re-opening Calibre, I was asked whether I wanted to rebuild my corrupted database or open an empty one. The accompanying error message was: Quote:
Do I have any options left to salvage my library and its metadata or is my only choice to create a fresh empty library and reimport all the 16k+ books from the current Calibre database folder? Thanks in advance. W. |
|
08-28-2012, 01:56 AM | #4 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to figure out what is preventing the db file from being opened. I'd guess it because you have your db on a networked drive or you have some ativirus program that is locking it.
|
08-28-2012, 04:29 AM | #5 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
|
Thanks Kovid, but the database in on a local external USB drive over which I have full read/write privileges and my Mac is without any 3rd party antivirus.
Could you maybe suggest some other leads that I could investigate? Also, if I can't find anything and must reimport all the books into a fresh library (losing, I suppose, all my metadata in the process), should I simply go to 'Add book... (assumes every ebook file is a different book)', select the folder of the old library and just let Calibre work for a few hours? Is there something else that I need to be aware of? Thanks a lot! W. |
Advert | |
|
08-28-2012, 04:33 AM | #6 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes the add books is all you need to do,and you wont lose metadata doing it.
Though if you make your library in the same place, you'll likely suffer from the same problem again. |
08-28-2012, 05:04 AM | #7 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2010
Device: iPad / Kindle DX
|
I ran Mac OS X's Disk Utility on the external hard drive to scan it and repair it, and it did the trick!
Thanks a lot Kovid for pointing me in the right direction, responding so quickly and starting this great software! Bye for now. W. |
Tags |
corrupt, database, unable |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to open any books | Paulinafrica | Amazon Kindle | 42 | 03-19-2012 04:48 PM |
unable to update your devices database.syncing cannot be completed? | baronrus | Kobo Reader | 5 | 12-20-2010 10:25 AM |
We are unable to update your device's database. Syncing cannot be completed. | talios | Kobo Reader | 1 | 12-10-2010 03:16 AM |
Unable to open database file | JulieR | Calibre | 2 | 04-24-2009 04:40 AM |
Unable to open file that is 8MB | timyap | Sony Reader | 12 | 05-09-2008 09:51 AM |