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-28-2024, 09:28 PM   #1
abatie
Junior Member
abatie began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2017
Device: Kindle
database locked after crash

I had my system crash (mac 10.14), and when I restart calibre, it says "database is corrupt", details shows it's a database lock. I'm having it rebuild the database, but wondering if I can remove the lock somehow. Normally, a process id is saved in a lock file so the app can check to see if the lock is still valid or not - would be nice if calibre did that too...
abatie is offline   Reply With Quote
Old 05-28-2024, 09:58 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: 44,207
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre doesnt lock the database file. That would be sqlite, and sqlite does not leave stale locks after a crash as far as I know.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-29-2024, 02:26 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,194
Karma: 57532382
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Is this a LOCAL (attached to the computer) Hard Drive?
Calibre does not support any kind of network attached drive.
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to move Library to other location (database is locked) 9acca9 Calibre 1 04-24-2024 12:24 AM
Calibre 4.1 BusyError: database is locked Tanjamuse Calibre 3 10-10-2019 12:53 PM
language changed, database locked error Debby Calibre 2 01-21-2011 12:11 AM
Problem when saving to disk (database locked) gargoyle Calibre 1 12-05-2010 08:00 PM
Database locked using WebDav folder on Mac OS X astrodad Calibre 4 08-04-2008 01:01 PM


All times are GMT -4. The time now is 06:50 AM.


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