Compare commits

...

11 Commits

Author SHA1 Message Date
Alexandre
0264df6bec Merge pull request #2636 from alexbelgium/copilot/fix-download-issue-calibre-web
Fix calibre-web book downloads: install calibredb at build time
2026-04-07 14:17:27 +02:00
Alexandre
598b2b5b1a Merge pull request #2633 from alexbelgium/copilot/fix-env-vars-not-passed
Fix env vars not propagated to s6-overlay v3 services in hotio-based addons
2026-04-07 14:17:02 +02:00
github-actions
402563eee3 GitHub bot: changelog [nobuild] 2026-04-07 05:09:42 +00:00
Alexandre
430d4f36dd Merge pull request #2638 from ToledoEM/bentopdf
bump bentopdf to 2.8.2

Thanks !
2026-04-07 07:07:42 +02:00
ToledoEM
d415125e14 bump bentopdf to 2.8.2 2026-04-06 23:36:21 +01:00
copilot-swe-agent[bot]
96c0cba649 Increment unpackerr version to v0.15.2-2
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/eae8b432-cfc9-4557-b5df-06bef6c8f237

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-06 20:19:17 +00:00
copilot-swe-agent[bot]
cb733396c9 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>
2026-04-06 20:18:06 +00:00
copilot-swe-agent[bot]
6cd9dec8ad 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>
2026-04-06 18:31:47 +00:00
copilot-swe-agent[bot]
9768083c6b Initial plan 2026-04-06 18:17:52 +00:00
copilot-swe-agent[bot]
44ebe0e22f Fix env vars not propagated to s6-overlay v3 services and disable forwarder when VPN not configured
- Add /etc/s6-overlay/s6-rc.d/*/run to the injection list in 00-global_var.sh
  so environment variables reach s6 v3 service run scripts (used by hotio containers)
- Disable service-forwarder in 90-vpn.sh default case (no VPN provider)
- Add VPN_AUTO_PORT_FORWARD=false check to explicitly disable forwarder

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/95bdc987-dd03-486d-bf05-6172624d1238

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-04-06 12:07:13 +00:00
copilot-swe-agent[bot]
8ce91f7e3e Initial plan 2026-04-06 11:57:40 +00:00
10 changed files with 31 additions and 5 deletions

View File

@@ -234,7 +234,7 @@ cp "$ENV_FILE" "$ETC_ENV_FILE"
################################################################################
# Inject into scripts and shells (best-effort)
################################################################################
for f in /etc/services.d/*/run /etc/cont-init.d/*.sh /entrypoint.sh /etc/bash.bashrc "${GLOBAL_VAR_FILES:-}"; do
for f in /etc/services.d/*/run /etc/s6-overlay/s6-rc.d/*/run /etc/cont-init.d/*.sh /entrypoint.sh /etc/bash.bashrc "${GLOBAL_VAR_FILES:-}"; do
[[ -f "$f" ]] && inject_block "$f"
done

View File

@@ -1,5 +1,11 @@
## 2.8.2 (07-04-2026)
- Minor bugs fixed
# Changelog
## 2.8.2
- Update to upstream BentoPDF v2.8.2
## 2.5.0
- Initial release of BentoPDF Home Assistant add-on

View File

@@ -1,6 +1,6 @@
# Global build args — must be declared before the first FROM to be usable in FROM instructions
ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base:3.23
ARG BUILD_VERSION=2.5.0
ARG BUILD_VERSION=2.8.2
# Stage 1: Download and extract the BentoPDF dist release (includes bundled WASM)
FROM alpine:3.21 AS dist

View File

@@ -2,7 +2,7 @@ name: "BentoPDF"
slug: bentopdf
image: ghcr.io/alexbelgium/bentopdf-{arch}
description: "Privacy-first PDF toolkit. 50+ tools, all processing client-side in the browser. Files never leave your device."
version: "2.5.0"
version: "2.8.2"
url: "https://github.com/alexbelgium/hassio-addons/tree/master/bentopdf"
arch:
- amd64

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

View File

@@ -1,4 +1,8 @@
## v0.15.2-2 (2026-04-06)
- Fix environment variables not being passed into the container (e.g. VPN_AUTO_PORT_FORWARD, VPN_ENABLED)
- Disable VPN port forwarder service when no VPN provider is configured
## v0.15.2 (2026-03-14)
- Update to latest version from Unpackerr/unpackerr (changelog : https://github.com/Unpackerr/unpackerr/releases)

View File

@@ -100,4 +100,4 @@ schema:
slug: unpackerr
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "v0.15.2"
version: "v0.15.2-2"

View File

@@ -23,5 +23,12 @@ case "$VPN_PROVIDER" in
sed -i "1a sleep infinity" /etc/s6*/s6*/service-privoxy/run
sed -i "1a sleep infinity" /etc/s6*/s6*/service-proton/run
sed -i "1a sleep infinity" /etc/s6*/s6*/service-pia/run
sed -i "1a sleep infinity" /etc/s6*/s6*/service-forwarder/run
;;
esac
# Disable port forwarder when VPN_AUTO_PORT_FORWARD is explicitly false
VPN_AUTO_PORT_FORWARD="${VPN_AUTO_PORT_FORWARD:-}"
if [ "${VPN_AUTO_PORT_FORWARD,,}" = "false" ]; then
sed -i "1a sleep infinity" /etc/s6*/s6*/service-forwarder/run 2>/dev/null || true
fi