Quote:
Originally Posted by kamanza
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