fix(backup-drill): drill [storage] app.ini uses the rootless layout path (#222) #223
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!223
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/222-drill-rootless-storage-appini"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Fixes #222 — the restore drill's
forgejo doctorfails (exit 1) post-ADR-0031.restore-on-scratch.shappended the[storage]section (for #188) to a hardcoded rootful path${VOL_MP}/gitea/conf/app.ini, which doesn't exist in the rootless layout (nogitea/subdir). Append to${WORK_MP}/conf/app.iniinstead — the same layout-aware file the main app.ini is already written to.Diagnosed from the manual drill (2026-07-26):
restic check+ restore succeeded (10.341 GiB in 8:29 — the #219/#220 lock fix working), then doctor failed at the app.ini write. This was the only remaining drill failure.After merge + apply (
--tags backup-drill), a manual drill should pass and clearBackupDrillFailed. Syntax-check, ansible-lint (production), Prettier clean.Closes #222.
Post-ADR-0031 the restore drill's forgejo doctor failed (exit 1): the [storage] section was appended to a hardcoded rootful path (${VOL_MP}/gitea/conf/app.ini), absent in the rootless layout (no gitea/ subdir). Append to ${WORK_MP}/conf/app.ini instead — the same layout-aware file the main app.ini is written to. The restic lock fix (#219/#220) works; this was the remaining drill failure.