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 03-20-2016, 08:19 AM   #1
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
Question Library corruption?

Hallo,
I noticed something strange while comparing libraries.
I have a main lib with all my books and a temp one to clean-up new books. When I compare books in that lib with the main lib it sometimes does not find duplicates. When I copy the book concerned to the temp lib and do a compare books within the temp lib it finds the duplicate one. When I copy the new book from the temp lib to the main lib I get the message that the book is a duplicate! Is my main lib in some way a little bit corrupt?

Please help!

Last edited by fvdham; 03-20-2016 at 08:25 AM.
fvdham is offline   Reply With Quote
Old 03-20-2016, 06:45 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by fvdham View Post
Hallo,
I noticed something strange while comparing libraries.
I have a main lib with all my books and a temp one to clean-up new books. When I compare books in that lib with the main lib it sometimes does not find duplicates. When I copy the book concerned to the temp lib and do a compare books within the temp lib it finds the duplicate one. When I copy the new book from the temp lib to the main lib I get the message that the book is a duplicate! Is my main lib in some way a little bit corrupt?

Please help!
@fvdham - To determine if a library is corrupt run Library Maintenance->Check Library - the first phase checks the database, the second checks that database and library contents (folders & files) are coherent - i.e. there is nothing in one that's not in the other and vice versa.

How do you do the 'compare libraries'?

I use a similar process using the Find Duplicates plugin->Find library duplicates feature

BR
BetterRed is online now   Reply With Quote
Advert
Old 03-21-2016, 05:30 AM   #3
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
@BetterRed - I'am using the Find Duplicates plugin and I did check all my libs with the Library Maintenance tool . Nothing was wrong.

Is there an option to rebuild the library? (over 20.000 books)

Fred
fvdham is offline   Reply With Quote
Old 03-21-2016, 06:54 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@fvdham - if the check library didn't report any errors I'm not sure what good rebuilding it will do

Can you post screen shots of the settings you use in Find Duplicates->Library Duplicates and Preferences->Add Books

If you want to rebuild the database then I suggest you backup your library first, even though you think it is 'dodgy' its the best you have - right?

The Library Maintenance->Restore database feature will rebuild the database from those metadata.opf files you have no doubt noticed in the book folders

Could take a while, you might want to let it run overnight.

BR
BetterRed is online now   Reply With Quote
Old 03-21-2016, 08:54 AM   #5
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
I have no idee what happened, but the problem is gone. I did not change any settings or whatsoever. Maybe it has to do with my SSD drive? I think I had this problem a few times after I installed a SSD .
Anyway thanks for your help

Fred
fvdham is offline   Reply With Quote
Advert
Old 03-21-2016, 04:58 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@fvdham - good oh, thanks for letting us know.

Calibre is a primarily database driven, the 'working' database is an in-memory version, the on-disk database only exists to persist changes, and the author/book folders only come into play when you want to do something with a format or cover image file. So... you might want to consider moving the libraries off the SSD and onto a spinning drive, the performance hit shouldn't be much.

BR
BetterRed is online now   Reply With Quote
Old 03-22-2016, 06:36 AM   #7
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
I will try it when the problem reappears. I did not know about the 'working' database is being loaded into memory. I thought it was working directly on the hard drive.
Thanks for your reply. Everything is still working ok.

Fred
fvdham is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Corruption / FW 3.5.0 PeterT Kobo Reader 7 08-26-2014 04:10 PM
Conversion Corruption? martienne Kindle Formats 4 12-13-2009 02:54 PM
PRS-600 Corruption MovieBird Sony Reader 3 11-13-2009 08:27 AM
Corruption of SM card mark844 Fictionwise eBookwise 5 06-16-2008 02:23 PM
Database Corruption!! Alexander Turcic Announcements 0 07-22-2003 10:08 AM


All times are GMT -4. The time now is 07:14 AM.


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