janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.19k stars 1.41k forks source link

Scheduled Task Reconnect Calibre Database fails #3107

Closed cortomalese closed 4 months ago

cortomalese commented 4 months ago

Hi, Thank you for your work! I would like to draw your attention to this malfunction.

Regards, Corto

Describe the bug/problem

Scheduled Task Reconnect Calibre Database fails

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Admin page'
  2. Click on 'Edit schedule tasks settings'
  3. Activate Reconnect Calibre Database
  4. Save
  5. Go to 'Task page'
  6. Look at Tasks table.

Logfile

calibre-web.log

Expected behavior

Calibre-web updating changes made to metadata.db by Calibre app.

Screenshots Calibre-Web _ Tasks.pdf

Environment (please complete the following information):

Additional context Database background sync via rsync

OzzieIsaacs commented 4 months ago

It's very clever programmed. Please start calibre-web with the command line parameter "-r". I'll check if I can change it

cortomalese commented 4 months ago

Thank you @OzzieIsaacs : how can I start calibre-web with the command line parameter "-r" with docker-commander, please?

OzzieIsaacs commented 4 months ago

I have no idea, you need to ask tge docker provider. The other option is to switch to nightly build, then it works out of the box

cortomalese commented 4 months ago

Thanks, I'll take a look and let you know.

cortomalese commented 4 months ago

I switched to nightly and the database reconnection was successful. Thanks!