Fix install.sh ownership of bind-mounted state dirs

↗ view on GitHub · Claude · 2026-05-15 · 0db16e4c

The backend container runs as uid 10001 (Dockerfile creates pip user)
and the backup sidecar runs as the alpine postgres user (uid 70).
install.sh was leaving ${DATA_ROOT}/storage and ${DATA_ROOT}/backups
owned by root:root which made encrypted blob writes and nightly
pg_dump fail on a fresh deployment. chown them to the right uids
before bringing the stack up.

Also fixes a stale "mikeApi" reference in the session-token route
comment.
Repository cpatpa/PIP
Author Claude <noreply@anthropic.com>
Authored
Parents c91262ac
Stats 2 files changed , +11 , -6
Part of Bare-metal installer + operator tooling

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-0db16e4c.md from inside the repo you want the change in.

⬇ Download capture-commit-0db16e4c.md