Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2021, 08:53 AM   #1
pamthereader
Member
pamthereader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2010
Location: WashingtonDC..VeniceIT
Device: Kindle Paperwhite 10thGen
Choices with 'corrupted library database'😖

A message to tell me that the Library DataBaase appears to be corrupted SUDDENLY appeared as I opened Calibre.. and the choices - let Calibre try to fix OR I can choose to have an 'new' 'EMPTY' database... oh my word.

And of course the current database count NOT be cmpletely fixed. I cannot imagine choosing to get an empty database so surely there are other steps to follow this that I don't know.

Can someone please walk me through this to get everything in good working order again
pamthereader is offline   Reply With Quote
Old 02-05-2021, 09:22 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,249
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Make a copy of your library. Then allow Calibre to try to fix it.
JSWolf is offline   Reply With Quote
Advert
Old 02-05-2021, 10:22 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Note: Jon refers to using the right-click item found on the
Library Icon: Library Maintenance : Restore database
theducks is offline   Reply With Quote
Old 02-05-2021, 10:37 AM   #4
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
That event happens to me not infrequently (at least once a month), since I have many, many libraries. It has never, once, been valid and warranted.

I learned years ago to always click the "X" in the upper right-hand corner of the dialog. I never, ever let Calibre do anything else, since no matter what it does is bad news. There should be a "Cancel - Do Nothing" button in that dialog.

If your Calibre Library is truly corrupted, you will get that same error again and again, which will tell you it was not an erroneous error message, and that you truly need to take some serious action. That has never been necessary for me.


DaltonST
DaltonST is offline   Reply With Quote
Old 02-05-2021, 11:03 AM   #5
pamthereader
Member
pamthereader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2010
Location: WashingtonDC..VeniceIT
Device: Kindle Paperwhite 10thGen
if the library (database) is corrupted, how will making a copy help with this? And Calibre has not been able to completely fix it and thus, will not let me into the APP.

Thanks, howeve, for the suggestion
pamthereader is offline   Reply With Quote
Advert
Old 02-05-2021, 11:06 AM   #6
pamthereader
Member
pamthereader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2010
Location: WashingtonDC..VeniceIT
Device: Kindle Paperwhite 10thGen
ummm, Dalton, are you suggesting this isn't unique and I should hunt further? Please know that I am definitely not asking for anyone to do the work.. I just don't KNOW the work to be done...and Calibre's attempts to fix this didn't.

And so I ask a simply, is it really safe to say "NO' to trying to fix; getting a BLANK library; and then what? Onward...thanks for listening
pamthereader is offline   Reply With Quote
Old 02-05-2021, 11:25 AM   #7
pamthereader
Member
pamthereader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2010
Location: WashingtonDC..VeniceIT
Device: Kindle Paperwhite 10thGen
Responding to this direction
Note: Jon refers to using the right-click item found on the
Library Icon: Library Maintenance : Restore database

At this moment, Calibre (w/ the message of corrupt database) will not open... is this command something WITHIN Calibre? And if so what else can I do for I am locked out apparently.
pamthereader is offline   Reply With Quote
Old 02-05-2021, 01:11 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by pamthereader View Post
Responding to this direction
Note: Jon refers to using the right-click item found on the
Library Icon: Library Maintenance : Restore database

At this moment, Calibre (w/ the message of corrupt database) will not open... is this command something WITHIN Calibre? And if so what else can I do for I am locked out apparently.
Move or rename Metadata.db (as a backup) in the Library folder.
That should allow the menu
Or use the CLI

Code:
restore_database

calibredb restore_database [options]

Restore this database from the metadata stored in OPF files in each directory of the calibre library. This is useful if your metadata.db file has been corrupted.

WARNING: This command completely regenerates your database. You will lose all saved searches, user categories, plugboards, stored per-book conversion settings, and custom recipes. Restored metadata will only be as accurate as what is found in the OPF files.

Whenever you pass arguments to calibredb that have spaces in them, enclose the arguments in quotation marks. For example: “/some path/with spaces”

--really-do-it, -r

    Really do the recovery. The command will not run unless this option is specified.
theducks is offline   Reply With Quote
Old 02-05-2021, 02:31 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,249
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The reason I say to make a copy of the library first is in case something happens while trying to fix it.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import an old Calibre library with corrupted database Beanxx Library Management 3 05-08-2015 04:12 PM
Corrupted database Qylie Calibre 8 08-28-2014 02:02 AM
Moving library, database corrupted YYZ2112 Library Management 11 12-11-2013 11:09 AM
[Old Thread] Corrupted library database smarties86 Calibre 2 09-02-2012 06:30 AM
Corrupted database garyft Calibre 3 05-13-2011 02:10 PM


All times are GMT -4. The time now is 10:49 AM.


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