mirror of
https://github.com/Screenly/Anthias.git
synced 2026-08-03 03:12:24 -04:00
- Create the `viewer` user with a fixed UID/GID (1000) in the shared Dockerfile.base.j2 so it exists, and resolves identically, in the viewer, server and celery images. - Drop the implicit `useradd -g video viewer` from the viewer image (it picked the next free uid per image and was absent from server/celery), keeping `video` as a supplementary group. Without a pinned id, ownership of /data/.anthias (shared across the containers) was non-deterministic, so a `chown viewer …` in one container and the uid a file was written as in another could disagree — a root cause behind the upgraded-device config-permission crash-loop. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>