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 01-14-2023, 09:28 PM   #1
kamanza
Zealot
kamanza began at the beginning.
 
Posts: 115
Karma: 10
Join Date: Jan 2011
Device: none
Corrupted database

After reinstalling windows, I installed Calibre and attempted to use my previously existing libraries. Calibre declared that the databases were corrupted and started rebuilding them. After a few hours nothing was happening: the attempt of rebuilding was still going on. So I cancelled it and tried to create an empty library - and the database of an empty folder also appeared corrupted.
If anybody knows how to solve this problem, I'll be extremely grateful.
kamanza is offline   Reply With Quote
Old 01-15-2023, 11:02 AM   #2
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
Quote:
Originally Posted by kamanza View Post
After reinstalling windows, I installed Calibre and attempted to use my previously existing libraries. Calibre declared that the databases were corrupted and started rebuilding them. After a few hours nothing was happening: the attempt of rebuilding was still going on. So I cancelled it and tried to create an empty library - and the database of an empty folder also appeared corrupted.
If anybody knows how to solve this problem, I'll be extremely grateful.

Historically, under Windows 10 at least, Calibre was unforgiving of even a highly transient inability to read/write to a particular directory, and immediately declared the Library "corrupt". This happened to me multiple times per month (I ran Calibre many times per hour via command line), and I simply X'd out of the offer to restore/rebuild the Library. I never clicked the offered buttons, but simply closed that window with the X in the upper right corner, and ran Calibre again, always successfully. Unfortunately, you are past that now.

In Windows, go to: Settings > Virus & Threat Protection > Ransomware Protection > Controlled Folder Access. Confirm that your Calibre Library is not "protected". For example, you might have put your Library underneath your Documents folder. Also confirm that all of Calibre's many executable files are allowed to access your Controlled Folders.

Suggestion: if your Library is underneath your User Documents folder, move it elsewhere. Wherever you put it, ensure that you personally "own" it in Windows via Folder > Properties > Security > Advanced. Also give yourself "Full Control" of the Library and its subdirectories.

UAC (User Account Control) in Windows can be easily turned off using WinAero, https://winaero.com.

If you are not an Administrator on your own PC, and do not have Full Control of all of your personal folders, you might have other analogous issues that you will have to suss out for yourself.


DaltonST
DaltonST is offline   Reply With Quote
Advert
Old 01-20-2023, 12:42 AM   #3
kamanza
Zealot
kamanza began at the beginning.
 
Posts: 115
Karma: 10
Join Date: Jan 2011
Device: none
Thaks for the reply, but in the meanwhile I found a work-around: I created an empty library on another local disk, which calibre agreed to do , and then imported all the books from the old library. After that it was simple to just moive the library to the location i wanted in the first place.
kamanza 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
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
Corrupted database garyft Calibre 3 05-13-2011 02:10 PM


All times are GMT -4. The time now is 03:35 AM.


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