social-reporting-tool/v2/deploy
DJP 7024acfdf0 deploy: chown briefs/ to uid 1000 so container can write per-report dirs
The V2 container runs as uid 1000 (Dockerfile.v2:39 USER 1000). When the
pipeline tried to mkdir briefs/<brief-id>/ on the production server, it hit
EACCES because the host directory was owned by root (V1 had a similar fix
in deploy.sh that we never ported).

- cutover-in-place.sh: chown -R 1000:1000 briefs/ before docker up.
- deploy-v2.sh: same chown on every redeploy + use --env-file (was missing).

Immediate manual fix on the running server (until next deploy):
  sudo chown -R 1000:1000 /opt/social-reporting/briefs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 20:06:56 -04:00
..
apache-social-reports-v2.conf Add V2: multi-team social-reporting platform with manifest-gated linking 2026-04-29 17:39:07 -04:00
cutover-in-place.sh deploy: chown briefs/ to uid 1000 so container can write per-report dirs 2026-04-29 20:06:56 -04:00
deploy-v2.sh deploy: chown briefs/ to uid 1000 so container can write per-report dirs 2026-04-29 20:06:56 -04:00
rollback-to-v1.sh Wire SPA + SSO redirect URI to /social-reports/ prefix; in-place cutover script 2026-04-29 18:40:38 -04:00
setup-v2.sh Wire SPA + SSO redirect URI to /social-reports/ prefix; in-place cutover script 2026-04-29 18:40:38 -04:00