Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-07-2026, 07:01 PM   #1
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 271
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Edited metadata.db. What are the implications?

Edited the "books" table in metadata.db as a bandaid fix to the broken Calibre Sync app due to v9 changes. (I added back the "isbn" and lccn" columns)

Everything is working fine now, but what are the implications as far as Calibre is concerned? Will this database get rebuilt at some point by something I do? Am I safe to leave these 2 fields back in?
VelvetElvis is offline   Reply With Quote
Old 02-07-2026, 08:21 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,989
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
DO NOT mess with metadata.db you risk total data loss if you do. calibre sync has already released a beta simply use that or wait a few more days.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-07-2026, 08:31 PM   #3
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 533
Karma: 5065098
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Kovid is of course correct that you should not mess with metadata.db.
But his comment that messing up the database can cause complete data loss is saddening.

One of the most wonderful features of the early versions of Calibre was that everything could be reconstructed from the book folders themselves.

I'm not sure when Calibre lost that level of safety.
slm is offline   Reply With Quote
Old 02-07-2026, 09:04 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,989
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That works when metadata.db is corrupted and cant be opened, and continues to work to this day.

Once you start modifying metadata.db outside of calibre you can do pretty much anything including changing data and those changes will propagate to the distributed backups, leading to the above mentioned total data loss. Simply *never* modify metadata.db outside of calibre. metadata.db is *internal to calibre*. And calibre has *never* been robust against users messing with metadata.db directly and never will be.
kovidgoyal is offline   Reply With Quote
Old 02-07-2026, 09:47 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,820
Karma: 80512154
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by kovidgoyal View Post
DO NOT mess with metadata.db you risk total data loss if you do. calibre sync has already released a beta simply use that or wait a few more days.
I believe Calibre Web has a beta. Calibre Sync on the other hand is MIA

Sent from my Pixel 9a using Tapatalk
PeterT is offline   Reply With Quote
Advert
Old 02-07-2026, 10:02 PM   #6
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 271
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Quote:
Originally Posted by kovidgoyal View Post
DO NOT mess with metadata.db you risk total data loss if you do. calibre sync has already released a beta simply use that or wait a few more days.
Egads! Thank you sir. I will restore my backup.
VelvetElvis is offline   Reply With Quote
Old 02-09-2026, 04:10 PM   #7
ReadingEnjoyer
Junior Member
ReadingEnjoyer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2026
Device: Phone/Tablet
I emailed the Calibre Sync developer yesterday. No response yet. The last update was pushed in April 2025. I rely on Calibre Sync and there is no alternative to it.
ReadingEnjoyer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to update book file with edited metadata? whiteowl Calibre 16 05-24-2025 10:34 PM
Metadata for edited volume mr3000jr Library Management 3 12-23-2020 11:28 AM
Edited metadata not loading on kindles KRT Devices 1 11-05-2012 10:24 AM
Edited metadata not loading on kindles KRT Amazon Kindle 3 11-02-2012 10:40 AM
Lost Edited Metadata roxy62 Library Management 1 02-23-2011 10:56 PM


All times are GMT -4. The time now is 08:15 PM.


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