![]() |
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. |
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
|
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. |
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.
|
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. |
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. |
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. |
| All times are GMT -4. The time now is 09:23 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.