Recently I had this problem too. I now suspect it has to do with file locking, by SQLite via Samba. If I execute the following on my Samba server
sudo smbstatus | grep metadata.db
when I'm having the problem, even hours after the last Calibre process has exited on my Windows machine I see that my machine is holding an EXCLUSIVE+BATCH lock on Calibre's metadata.db file located on my Samba server machine. Still investigating why ...
Last edited by mccreigh; 07-11-2017 at 09:10 AM.
Reason: Earlier misdiagnosis
|