mirror of https://github.com/Nezreka/SoulSync.git
`core/streaming/prepare.py:94-97` creates /app/Stream lazily via `os.makedirs(stream_folder, exist_ok=True)` on first playback. Under standard Docker this works because the container's `root` writes /app without restriction. Under rootless Docker / Podman the in-container soulsync UID maps to a host UID that can't write to /app, so the mkdir silently fails and the streaming "Play" flow errors out with no obvious user-facing cause. Same root cause + same fix shape as the May 2026 /app/Staging restart- loop fix — pre-bake the directory at image build time (when the layer is owned by root), and thread it through every entrypoint.sh spot that touches the canonical app-dir list. Not added to VOLUME — /app/Stream is a transient single-file cache (cleared on every new playback), no persistence value. Touched lines: - Dockerfile: mkdir + chown line that pre-bakes runtime dirs. - entrypoint.sh: the recursive chown gated on UID change, the always-runs mkdir + chown, and the writability audit loop. No code change. Streaming tests pass unchanged (they use tmp_path, not /app/Stream).pull/656/head
parent
02dc776692
commit
a33faaeb38
Loading…
Reference in new issue