View Single Post
Old 10-06-2024, 06:51 AM   #1
alfie74
Junior Member
alfie74 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2024
Device: Sony PRS T-2
Calibre-web not updating when metadata.db is modified

Hi, I am having an issue with my calibre-web installation. I found that other users have been experiencing the same issue in the past, but I couldn't find any satisfying solution.

My goal is to keep managing my Calibre library on my desktop PC with the Calibre desktop application. I also need to connect an old ebook reader with USB, so I need this instance of Calibre to run on my PC. However, I also want to have the possibility to always access my library via web, even when my PC is not on. So I installed calibre-web on Docker on my Synology NAS. I set up a synchronization job, so that changes to the library on the PC are automatically synchronized to the NAS. It is a one-way synchronization, I wanted to make sure that only the Calibre desktop application is making changes to the main library.

This setup is working well, but there is one issue. When I add a new book to Calibre desktop, the metadata.db file is correctly updated on the NAS. However, this change is not visible on Calibre Web, until I restart Calibre Web (with Administration --> Restart).

I saw that some users in other forums suggested that one should not let another application modify the database while Calibre Web is running. That may well be the case, but then what should I do if I want to manage the database with Calibre desktop and at the same time use Calibre Web to make the content available to mobile devices? My understanding is that letting Calibre and Calibre Web use the same database (i.e., exactly the same file, without using a synchronization job) is also not recommended...

Thank you!
alfie74 is offline   Reply With Quote