mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
6b7bd07976
commit
9e92732a0c
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue