![]() |
#1 |
Bibliothekar
![]() Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
Power failure messed up files in library
I had been processing a few hundred books and had to stop to go out of town. While I was gone there was a power failure, and when I returned I discovered that many of the formats were missing. When I click on 'edit metadata' the database still lists the ebooks, but shows the actual files aren't there any more, and the covers are missing too. This happened to random books throughout the database.
When I exited the 'edit metadata' and checked the 'Formats' column, it shows the list of formats as being there - but they aren't. Next, I selected one of the books and clicked on 'Open containing folder' it contained only the metadata.opf file, the epub and cover file were missing. Then I went up to the parent directory, (/home/Calibre/Calibre Library/Lynsay Sands/) and found that it contains this tree: Code:
├── Der Teufel und die Lady (28113) │** ├── cover.jpg │** ├── Der Teufel und die Lady - Lynsay Sands.epub │** └── metadata.opf ├── Der Teufel Und Die Lady (28113) │** └── metadata.opf I repeated that on a second book and got this: Code:
└── Schwanengesang (28504) └── metadata.opf Code:
├── Kryptografie_ Verfahren, Protokolle, Infrastrukturen (28880) │** ├── cover.jpg │** ├── Kryptografie_ Verfahren, Protokolle, Infra - Klaus Schmeh.epub │** └── metadata.opf └── Kryptografie_ Verfahren, Protokolle, Infrastrukturen (iX Edition) (28880) └── metadata.opf |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Run Library Maintenance (both phases) and resolve the reports.
BUT Before that, have the OS check (and repair) the drive (folders) Unless an active Calibre (Add/rename) operation was interrupted, those results could not occur on a standard drive. Changes are done almost immediately (Only that OPF may lag if part of a bulk change. That is a metadata backup) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliothekar
![]() Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
No joy on that suggestion. But I did find a method that helped:
1. I created a new library named MASTER. 2. I did a copy-to-library with delete after copy, which moved all books still in the database from Calibre library to MASTER. After that was done there were still books in the directory tree of Calibre library. Those were the "missing" book files. I re-added them to the new library: problem solved. A lot of work, but it fixed the problem with the most automation possible. Thanks for the suggestions. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Messed up Library [open thread] | EvM1 | Library Management | 24 | 04-06-2016 05:13 AM |
[CLOSED] Messed up Library | EvM1 | Calibre | 2 | 03-30-2016 09:38 PM |
Messed up my library | pollybel | Library Management | 2 | 06-22-2013 04:23 PM |
Calibre reader messed up files | bedook | Calibre | 3 | 05-21-2013 10:17 AM |
Sone Reader Library messed up | Roffee | Sony Reader | 5 | 09-11-2010 08:19 AM |