From 52a803f54580f28574a237d63ca3a8b9c46fd558 Mon Sep 17 00:00:00 2001 From: retr0 Date: Mon, 6 Apr 2026 16:35:48 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Icecast=20l=C3=A4uft=20nicht=20als=20roo?= =?UTF-8?q?t=20(changeowner=20nobody)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Icecast verweigert den Start als root. Lösung: - changeowner-Direktive in icecast.xml: wechselt zu nobody nach Start - Log- und Run-Verzeichnisse gehören nobody für Schreibzugriff Co-Authored-By: Claude Sonnet 4.6 --- busch_radio_spotify/run.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/busch_radio_spotify/run.sh b/busch_radio_spotify/run.sh index 44bad32..8168b5a 100644 --- a/busch_radio_spotify/run.sh +++ b/busch_radio_spotify/run.sh @@ -27,8 +27,10 @@ bashio::log.info "Bitrate : ${BITRATE} kbps" bashio::log.info "Stream-Port : ${STREAM_PORT}" bashio::log.info "Stream-Pfad : ${STREAM_MOUNT}" -# ── Verzeichnisse anlegen ───────────────────────────────────────────────────── +# ── Verzeichnisse anlegen + Berechtigungen für nobody-User setzen ──────────── +# Icecast läuft im Container als root, wechselt aber via changeowner zu nobody. mkdir -p /var/log/icecast /run/icecast /tmp/busch-radio +chown -R nobody:nobody /var/log/icecast /run/icecast /tmp/busch-radio # ── Icecast-Webroot ermitteln ───────────────────────────────────────────────── # Alpine und Debian legen Icecast in unterschiedliche Pfade @@ -109,6 +111,11 @@ cat > /tmp/busch-radio/icecast.xml < 0 + + + nobody + nobody + ICECAST_EOF