github new-usemame/Calibre-Web-NextGen v4.0.28

latest releases: v4.0.170, v4.0.169, v4.0.168...
one month ago

What's in this release

Stop "no such table: book_format_checksums" log spam when KOReader sync is disabled (#94, fixes upstream CWA #1183 — reporter @Bugg6).

If you upload books or save metadata changes on an instance that's never enabled KOReader sync, the logs were filling with errors like:

[cover-metadata-enforcer] Warning: Failed to store checksum for book 2
ERROR Failed to store checksum for book 2: no such table: book_format_checksums

Root cause: cps/helper.py called the checksum write on every metadata embed, regardless of whether KOReader sync was on. Without sync, the book_format_checksums table is never created, so every write failed.

Fix: gate the call on is_koreader_sync_enabled() — same gate other parts of the code already use. The pure utility function stays unguarded so explicit-backfill paths (used right after a user enables sync) still work. 3 regression tests pin the gate.

Pull

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.28
docker pull ghcr.io/new-usemame/calibre-web-nextgen:latest

Credits

Thanks to @Bugg6 for the precise repro on the CWA tracker. Original Calibre-Web by @janeczku, Calibre-Web-Automated additions by @crocodilestick.

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.