Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2020, 06:14 PM   #1
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Upgrade 3.x to 5.0.1 lost books

My library on a NAS has been working fine using version 3.x on Windows 7. I have a new Windows 10 computer and I installed 5.0.1. When I open calibre only 204 authors out of 248 are in the library.
How do I fix this? If I tell calibre to Add books and point it to the existing directories, will it add the books it thinks are missing and ignore the others that it already knows about?
Rick DeBay is offline   Reply With Quote
Old 09-26-2020, 06:30 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Rick DeBay View Post
My library on a NAS


https://manual.calibre-ebook.com/faq...rked-drive-nas

Last edited by ownedbycats; 09-26-2020 at 06:50 PM.
ownedbycats is online now   Reply With Quote
Advert
Old 09-26-2020, 06:57 PM   #3
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,719
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Rick DeBay View Post
My library on a NAS has been working fine using version 3.x on Windows 7. I have a new Windows 10 computer and I installed 5.0.1. When I open calibre only 204 authors out of 248 are in the library.
How do I fix this? If I tell calibre to Add books and point it to the existing directories, will it add the books it thinks are missing and ignore the others that it already knows about?
Rick - you need to read this, it has been in the FAQ since version 0.something ==>> https://manual.calibre-ebook.com/faq...rked-drive-nas.

You can find many threads where users have run into problems after years of storing libraries on network storage (NASes, servers, cloud spaces etc).

Put your library on a local drive, then make sure you have the Add Books preferences set to ignore duplicates, and test on a couple of books before letting it rip.

BR
BetterRed is online now   Reply With Quote
Old 09-26-2020, 07:17 PM   #4
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Quote:
Originally Posted by BetterRed View Post
...make sure you have the Add Books preferences set to ignore duplicates, and test on a couple of books before letting it rip.
Would that be the Adding books dialog, Adding actions tab, When using the "Copy to library" action check for duplicates?
Rick DeBay is offline   Reply With Quote
Old 09-26-2020, 07:26 PM   #5
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Quote:
Originally Posted by BetterRed View Post
Add Books preferences set to ignore duplicates, and test on a couple of books before letting it rip.
Loading from the existing library location duplicated every directory. Was this expected?

09/26/2020 07:21 PM <DIR> Expanse 0.1 - Drive (1234)
07/21/2020 11:34 PM <DIR> Expanse 0.1 - Drive (4156)
09/26/2020 07:22 PM <DIR> Expanse 0.25 - The Churn (1246)
07/21/2020 11:33 PM <DIR> Expanse 0.25 - The Churn (4151)
09/26/2020 07:22 PM <DIR> Expanse 0.5 - The Butcher of Anders (1243)
06/20/2020 07:40 PM <DIR> Expanse 0.5 - The Butcher of Anders (4153)
09/26/2020 07:22 PM <DIR> Expanse 01 - Leviathan Wakes (1241)
06/20/2020 07:40 PM <DIR> Expanse 01 - Leviathan Wakes (4160)
09/26/2020 07:21 PM <DIR> Expanse 02 - Caliban's War (1238)
06/20/2020 07:39 PM <DIR> Expanse 02 - Caliban's War (4155)
09/26/2020 07:22 PM <DIR> Expanse 02.5 - Gods of Risk (1245)
07/21/2020 11:34 PM <DIR> Expanse 02.5 - Gods of Risk (4157)
09/26/2020 07:22 PM <DIR> Expanse 03 - Abaddon's Gate (1239)
06/20/2020 07:39 PM <DIR> Expanse 03 - Abaddon's Gate (4154)
09/26/2020 07:21 PM <DIR> Expanse 04 - Cibola Burn (1235)
06/20/2020 07:40 PM <DIR> Expanse 04 - Cibola Burn (4159)
09/26/2020 07:21 PM <DIR> Expanse 05 - Nemesis Games (1236)
06/20/2020 07:40 PM <DIR> Expanse 05 - Nemesis Games (4152)
09/26/2020 07:22 PM <DIR> Expanse 05.5 - The Vital Abyss_ An (1240)
07/21/2020 11:33 PM <DIR> Expanse 05.5 - The Vital Abyss_ An (4150)
09/26/2020 07:22 PM <DIR> Expanse 06 - Babylon's Ashes (1244)
06/20/2020 07:39 PM <DIR> Expanse 06 - Babylon's Ashes (4161)
09/26/2020 07:22 PM <DIR> Expanse 06.5 - Strange Dogs (Expans (1237)
06/20/2020 07:39 PM <DIR> Expanse 06.5 - Strange Dogs (Expans (4149)
09/26/2020 07:22 PM <DIR> Expanse 07 - Persepolis Rising (1242)
07/21/2020 11:32 PM <DIR> Expanse 07 - Persepolis Rising (4158)
Rick DeBay is offline   Reply With Quote
Advert
Old 09-26-2020, 07:39 PM   #6
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Readded books retained custom tags

After adding the James S.A. Corey directory in the library, each book was added with the correct custom tags. Where would it have found these if the records were lost/corrupted from the database?
Rick DeBay is offline   Reply With Quote
Old 09-26-2020, 07:41 PM   #7
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,719
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Au contraire - that's was what I'd hoped you'd be able to avoid

Try, creating an empty library on local storage based on your old library:

Click image for larger version

Name:	Screenshot 2020-09-27 093855.jpg
Views:	196
Size:	28.0 KB
ID:	182248

Then add the books from the old NAS library to it.

BR
BetterRed is online now   Reply With Quote
Old 09-26-2020, 07:44 PM   #8
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Books not found on device

The books were already on the device, but are not found after they were re-added to the library. How does calibre correlate books on the device to the library? Are the books on the device tagged with a hidden ID?
Rick DeBay is offline   Reply With Quote
Old 09-26-2020, 07:46 PM   #9
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,719
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Rick DeBay View Post
After adding the James S.A. Corey directory in the library, each book was added with the correct custom tags. Where would it have found these if the records were lost/corrupted from the database?
Maybe the metadata opf files or from the book, what's in first Add Books->Reading metadata check box

Long time since I did this

BR
BetterRed is online now   Reply With Quote
Old 09-26-2020, 07:47 PM   #10
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,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by BetterRed View Post
Au contraire - that's was what I'd hoped you'd be able to avoid

Try, creating an empty library on local storage based on your old library:

Attachment 182248

Then add the books from the old NAS library to it.

BR
What I suggest that should work better is to create a local directory and then copy all the other directories that you want to this directory and then build a new database. That way all the info in the metadata.opf files will get read and your data kept.
JSWolf is offline   Reply With Quote
Old 09-26-2020, 07:52 PM   #11
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,719
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Calibre is driven by its database, not the folder structure - that's metadata.db file in the library folder.

Adding the books from the old NAS library to a fresh local library with the Add from directories and subdirectories option and duplicates disallowed is probably the best way.

Jon and I saying the same thing - I think
BetterRed is online now   Reply With Quote
Old 09-26-2020, 07:54 PM   #12
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,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by BetterRed View Post
Calibre is driven by its database, not the folder structure - that's metadata.db file in the library folder.

Adding the books from the old NAS library to a fresh local library with the Add from directories and subdirectories option and duplicates disallowed is probably the best way.
No it's not the best way (IMHO). The best way is to rebuild the database so the data in all those metadata.opf files can populate this database.
JSWolf is offline   Reply With Quote
Old 09-26-2020, 07:56 PM   #13
Rick DeBay
Member
Rick DeBay began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2020
Device: Kobo Aura One
Quote:
Originally Posted by BetterRed View Post
Maybe the metadata opf files or from the book, what's in first Add Books->Reading metadata check box
"Read metadata from file contents rather than file name" is checked.
You are correct, it pulled it from metadata.opf inside the <subject> element.

In that case I'm surprised there is no "rescan library" option to compare the database to the contents it's indexing.
Rick DeBay is offline   Reply With Quote
Old 09-26-2020, 07:57 PM   #14
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: 31,047
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 Rick DeBay View Post
Would that be the Adding books dialog, Adding actions tab, When using the "Copy to library" action check for duplicates?
simply copy the Library FOLDER from the NAS.
If you have a (empty of books) default Calibre Library folder. You could PASTE the contents of that Library folder into it (this loses anything that was in there. Do not try this to merge 2 libraries)
theducks is offline   Reply With Quote
Old 09-26-2020, 08:01 PM   #15
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,719
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JSWolf View Post
No it's not the best way (IMHO). The best way is to rebuild the database so the data in all those metadata.opf files can populate this database.
I think we're saying the same thing - fresh local database

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I've lost my books BMAUCH Library Management 1 02-15-2017 05:26 AM
Touch Wifi settings are lost on each upgrade jusmee Kobo Reader 5 10-17-2012 10:41 PM
preinstalled books lost while firmware-upgrade drkuhl Introduce Yourself 4 02-20-2010 06:40 PM
Books lost in upgrade Kypt Sony Reader 5 12-20-2009 08:37 AM
Bookmark / lost page bugs with new firmware upgrade HarryT Bookeen 30 07-18-2008 05:31 PM


All times are GMT -4. The time now is 08:24 PM.


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