From 9e92732a0cde4fd5708c242585108aec6648e16e Mon Sep 17 00:00:00 2001 From: Roland Date: Tue, 14 Jul 2026 20:32:09 -0600 Subject: [PATCH] kiwix: drop --address 0.0.0.0 so kiwix-serve works on trixie. Debian 13 ships kiwix-tools 3.7.0, whose kiwix-serve rejects the literal --address 0.0.0.0 ("IP address is not available on this system: 0.0.0.0") and exits 1, so wrolpi-kiwix fails to start on a fresh trixie image. kiwix-serve binds all interfaces by default when --address is omitted, on both the old (bookworm) and new (trixie) versions, so dropping the flag is portable. Verified on a trixie Pi (10.0.0.8): wrolpi-kiwix active, serving 200 on 9085 and via Caddy on 8085. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/start_kiwix_serve.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/start_kiwix_serve.sh b/scripts/start_kiwix_serve.sh index 59c47b4b..d996326a 100755 --- a/scripts/start_kiwix_serve.sh +++ b/scripts/start_kiwix_serve.sh @@ -24,4 +24,7 @@ find /media/wrolpi/zims -iname '*.zim' -exec kiwix-manage ${LIBRARY} add {} \; [ ! -f ${LIBRARY} ] && echo "Could not find any Zim files to import" && exit 2 # Serve HTTP kiwix on 9085. Caddy will serve HTTPS on 8085. -kiwix-serve --library ${LIBRARY} --address 0.0.0.0 --port 9085 +# Bind all interfaces by omitting --address: kiwix-serve defaults to all +# interfaces, and trixie's kiwix-tools 3.7.0 rejects the literal +# "--address 0.0.0.0" ("IP address is not available on this system"). +kiwix-serve --library ${LIBRARY} --port 9085