[staging-blocker] deploy_staging.sh main fails: readonly SQLite during migrate #131
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Oprettet ifm. issue #90 release readiness.
Deploy kommando:
./infra/staging/deploy_staging.sh mainFejl:
django.db.utils.OperationalError: attempt to write a readonly databaseObservationer i CT 143:
/opt/wpp-staging/app/db.sqlite3ejes afroot:root(mode 664)runuser -u wppDette blokerer staging deploy af seneste main.
Implemented fix and opened PR for blocker.
What changed:
db.sqlite3from repository so release/deploy source archives do not ship a stale SQLite DB artifact.attempt to write a readonly databaseduring stagingmigrate.Checks run:
bash -n infra/staging/deploy_staging.shtest -z "$(git ls-files db.sqlite3)"Artifacts:
12fc12f955618b895f14e2109e24409206bc2fd6fix/staging-sqlite-artifact-131->main)