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 05-15-2023, 05:12 PM   #1
thrak
Junior Member
thrak began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: Kindle
Angry Help! Database corrupted

Running Calibre on my Mac, the power cycled and now Calibre says my library is corrupted. It asks if I want it to try and rebuild it. I tell it to go ahead. It gives me an error, saying that "Restoring database failed." When I look at the details, it says:

Traceback (most recent call last):
File "calibre/db/restore.py", line 151, in run
Exception: Something bad happened

What do I try now? The library and its files exist. It looks like the database is bad. Can I fix it? Or, can I somehow import the books into another library?

The books still exist, so it's not a total loss. I would hate to have to enter them all again by hand.

Any ideas? Thanks in advance.

thrak
thrak is offline   Reply With Quote
Old 05-15-2023, 05:20 PM   #2
thrak
Junior Member
thrak began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: Kindle
Aha! I just tried adding books to a new library. It asked me for a folder and it's grinding away now. That looks like the solution to my problem. I'll know for sure in a few hours.
thrak is offline   Reply With Quote
Advert
Old 05-16-2023, 08:25 AM   #3
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
@thrak
If your database has corrupted itself once then in all likelihood it will happen again unless you find the root cause.

Please ensure that the directories where Calibre is storing its data is not on a NAS device or a One drive/idrive/google/any old cloud based backup system. Any system that has a 2 way backup /sync will cause corruption at some point.
georgemk is offline   Reply With Quote
Old 05-16-2023, 10:20 AM   #4
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,708
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 georgemk View Post
@thrak
If your database has corrupted itself once then in all likelihood it will happen again unless you find the root cause.

Please ensure that the directories where Calibre is storing its data is not on a NAS device or a One drive/idrive/google/any old cloud based backup system. Any system that has a 2 way backup /sync will cause corruption at some point.
If you read the OP's first post, the database became corrupted when the computer power cycled.
JSWolf is offline   Reply With Quote
Old 05-16-2023, 12:02 PM   #5
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
yes John, I missed that bit so I'm sorry I posted.Really sorry.

p.s. looking forward to you apologising when you don't read all the thread or miss out 1 bit of information which happens an awful lot.
georgemk is offline   Reply With Quote
Advert
Old 05-17-2023, 05:50 AM   #6
Bookstooge
Member Retired
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Posts: 805
Karma: 2091358
Join Date: May 2019
Device: Kindle Oasis 1st Gen, PB Era
Quote:
Originally Posted by georgemk View Post
yes John, I missed that bit so I'm sorry I posted.Really sorry.

p.s. looking forward to you apologising when you don't read all the thread or miss out 1 bit of information which happens an awful lot.
I have yet to see him EVER apologize. Even when he is blatantly in the wrong. The most we can hope for is a timeout for him harassing members with his behavior.
Bookstooge is offline   Reply With Quote
Old 07-06-2023, 08:55 AM   #7
nica
Junior Member
nica began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2023
Device: Kindle
Quote:
Originally Posted by georgemk View Post
@thrak
If your database has corrupted itself once then in all likelihood it will happen again unless you find the root cause.

Please ensure that the directories where Calibre is storing its data is not on a NAS device or a One drive/idrive/google/any old cloud based backup system. Any system that has a 2 way backup /sync will cause corruption at some point.
Any idea how to start looking for the root cause?
nica is offline   Reply With Quote
Old 07-06-2023, 10:50 AM   #8
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,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Memtest and hard drive health check are a good place to start. I don't know of tools to do that for Mac, though.
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted database Ktz Library Management 3 08-30-2016 09:22 AM
And..... Again my database is corrupted Mondriaan Devices 15 01-16-2016 12:05 AM
Corrupted database Qylie Calibre 8 08-28-2014 02:02 AM
Database Corrupted karimnaguib Calibre 2 05-12-2014 09:19 AM
Corrupted Database chilady1 Library Management 20 11-12-2013 08:13 PM


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


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