Merge pull request #2636 from alexbelgium/copilot/fix-download-issue-calibre-web

Fix calibre-web book downloads: install calibredb at build time
This commit is contained in:
Alexandre
2026-04-07 14:17:27 +02:00
committed by GitHub
3 changed files with 10 additions and 1 deletions

View File

@@ -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.

View File

@@ -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"

View File

@@ -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