Bug: admin-app PM2-service kaperte port 3016 vom backend-staging. Backend ging in crash-loop (22 restarts), nginx routete /api auf admin Nuxt-app → HTTP 302 redirect zu /login → Frontend „JSON Parse error: Unexpected character: <". Root cause: backend-staging-Infisical-env hat PORT=3016, NITRO_PORT=3016 als secrets. Admin-Script exportierte PORT=3017 VOR `infisical run` — aber Infisical overrode mit den 3016-secrets innerhalb seines bash-c block. Fix: PORT/NITRO_PORT/NITRO_HOST exports MOVED inside `bash -c` block, AFTER infisical-env-injection. Hard-override gewinnt jetzt. Verified manual: - pm2 stop+delete rebreak-admin-staging → port 3016 frei - pm2 restart rebreak-staging → online auf 3016 - curl /api/auth/me → HTTP 401 JSON (war 302 HTML) - Backend wieder healthy Pending: nächster admin-deploy via GH-Actions wird sich mit fixed script auf 3017 starten. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
Self-hosted mirror of rebreak monorepo
Languages
TypeScript
68%
Vue
7.9%
Swift
7.7%
Shell
4.2%
JavaScript
3.1%
Other
8.9%