View Single Post
Old 10-26-2022, 05:44 PM   #2
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,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ZodWallop View Post
This morning I opened Calibre and it decided the database is corrupt. So I let it restore the database. The problem is once it finishes and says the restoration was successful, it immediately pops a message up saying the database is no good and wants to restore it. I have done this over and over and over.

How can I just have Calibre rescan the Calibre library folder and rebuild the library?
That's what a database restore does, it rebuilds the database from the metadata.opf files in the book folders.

Where is the library, on a local disk or a network drive of some sort - i.e. a server, a NAS, a Cloud provider?

Did the message at the end have any warnings? Example:

Code:
calibre, version 6.7.1
WARNING: Success: Restoring the database succeeded with some warnings click "Show details" to see the details. The old database was saved as: D:\Calibre\Libraries\CopyTest\metadata_pre_restore.db

The following custom columns have conflicting definitions and were not fully restored:
	#float
	used:	Float, float, False, {'number_format': '{0:,.5f}', 'description': '', 'decimals': 5}
	other:	Float, float, False, {'description': '', 'number_format': None}
	other:	Float, float, False, {'number_format': '{0:,.5f}', 'description': ''}
BR
BetterRed is offline   Reply With Quote