From 6cd9dec8ad14059b652269d92c323b2ec03858b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Apr 2026 18:31:47 +0000 Subject: [PATCH 2/3] fix: install calibre at build time to ensure calibredb is available for book downloads The calibre-web addon relies on calibredb to retrieve book metadata for downloads. Previously, calibre was only installed at runtime via DOCKER_MODS (linuxserver/mods:universal-calibre), which could fail due to network issues or changes in the init sequence. Installing calibre at build time ensures calibredb is always available in the container, fixing the 500 Internal Server Error when downloading books. Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/6f6e6795-4a2c-4c6a-88b2-931def081d20 Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com> --- calibre_web/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index b87ebb8b0..9b564feed 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -35,6 +35,12 @@ RUN \ && echo '#!/bin/sh' > /usr/bin/xdg-desktop-menu && chmod +x /usr/bin/xdg-desktop-menu \ && echo '#!/bin/sh' > /usr/bin/xdg-mime && chmod +x /usr/bin/xdg-mime +# Install calibre binaries (provides calibredb required for book downloads) +# hadolint ignore=DL4006 +RUN \ + wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin install_dir=/opt/calibre +ENV PATH="/opt/calibre:${PATH}" + # Global LSIO modifications COPY ha_lsio.sh /ha_lsio.sh ARG CONFIGLOCATION="/config" From cb733396c9967896db31e3838688bb5ae6829d61 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Apr 2026 20:18:06 +0000 Subject: [PATCH 3/3] chore: increment calibre-web version to 0.6.26-2 Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/79054690-99be-456e-846b-5646f334273a Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com> --- calibre_web/CHANGELOG.md | 3 +++ calibre_web/config.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/calibre_web/CHANGELOG.md b/calibre_web/CHANGELOG.md index a96ee742e..d26368446 100644 --- a/calibre_web/CHANGELOG.md +++ b/calibre_web/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.6.26-2 (2026-04-06) +- Fix: Install calibre (calibredb) at build time to fix 500 error when downloading books + ## 0.6.26 (2026-02-07) - Update to latest version from linuxserver/docker-calibre-web (changelog : https://github.com/linuxserver/docker-calibre-web/releases) - Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details. diff --git a/calibre_web/config.yaml b/calibre_web/config.yaml index ab0e2af0b..b63722503 100644 --- a/calibre_web/config.yaml +++ b/calibre_web/config.yaml @@ -116,5 +116,5 @@ schema: slug: calibre-web udev: true url: https://github.com/alexbelgium/hassio-addons/tree/master/calibre_web -version: "0.6.26" +version: "0.6.26-2" video: true