From 80cc758e6c4f99d14576d03be22b5e7b0b422a3a Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 20 Jul 2026 13:12:30 -0600 Subject: [PATCH] zim: drop --address 0.0.0.0 in the Docker entrypoint so kiwix-serve works on trixie The zim Docker image is FROM debian:13, whose kiwix-tools 3.7.0 rejects the literal "--address 0.0.0.0" ("IP address is not available on this system"), so the container failed to start after loading the library. Omit --address; kiwix-serve then defaults to binding all interfaces. This mirrors 9e92732a, which applied the same fix to the systemd start_kiwix_serve.sh path. Co-Authored-By: Claude Opus 4.8 (1M context) --- docker/zim/entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/zim/entrypoint.sh b/docker/zim/entrypoint.sh index 52c307c3..e0df9a03 100755 --- a/docker/zim/entrypoint.sh +++ b/docker/zim/entrypoint.sh @@ -4,4 +4,7 @@ rm -f /library.xml # Find all Zim files and import them. find /media/wrolpi -iname '*.zim' -exec /import_zim.sh {} \; -kiwix-serve --monitorLibrary --library /library.xml --address 0.0.0.0 --port 80 +# 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 --monitorLibrary --library /library.xml --port 80