fix(sandbox): Dolibarr dev mode (DOLI_PROD=0) + correct install.lock path #18
Reference in New Issue
Block a user
Delete Branch "claude/sandbox-dev-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
After seeding
erp-sandboxfrom prod, the home dashboard showed a generic "technical error" banner on every box. Root cause: prod mode ($dolibarr_main_prod=1, the image default viaDOLI_PROD) escalates the seed's minor non-fatal warnings into that banner. With prod-mode off, the boxes render fine — which is the right behaviour for a rehearsal/debug environment anyway.Changes
chart/templates/config.yaml: addDOLI_PROD: "0"only whenenv != prod. Prod's configmap is byte-identical (keeps the image defaultDOLI_PROD=1) — verified viahelm templatediff. ArgoCD rolls only the sandbox pod, after which prod-mode-off is durable (survives restarts), replacing my temporary in-pod edit.test/README.md: correct theinstall.lockpath — Dolibarr checks the data root (/var/www/documents, a PVC, so the lock persists), not/var/www/html. Also notes a prod-seeded sandbox still needs it created (the seed +documents/mycompanysync don't includeinstall.lock).(The live sandbox already has
install.lockcreated at the correct path and prod-mode flipped off; this PR makes the prod-mode setting durable.)🤖 Generated with Claude Code