fix(backup-drill): drill [storage] app.ini uses the rootless layout path (#222) #223

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/222-drill-rootless-storage-appini in i main 2026-07-27 07:16:36 +00:00
Ägare

Fixes #222 — the restore drill's forgejo doctor fails (exit 1) post-ADR-0031.

restore-on-scratch.sh appended the [storage] section (for #188) to a hardcoded rootful path ${VOL_MP}/gitea/conf/app.ini, which doesn't exist 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 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 clear BackupDrillFailed. Syntax-check, ansible-lint (production), Prettier clean.

Closes #222.

Fixes #222 — the restore drill's `forgejo doctor` fails (exit 1) post-ADR-0031. `restore-on-scratch.sh` appended the `[storage]` section (for #188) to a hardcoded rootful path `${VOL_MP}/gitea/conf/app.ini`, which doesn't exist 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 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 clear `BackupDrillFailed`. Syntax-check, ansible-lint (production), Prettier clean. Closes #222.
supernaut lade till 1 incheckning 2026-07-26 21:22:52 +00:00
fix(backup-drill): write the drill [storage] app.ini to the layout-aware path (#222)
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m27s
3a2444276b
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.
supernaut sammanfogade incheckning 5ee96eb3b7 till main 2026-07-27 07:16:36 +00:00
supernaut tog bort grenen fix/222-drill-rootless-storage-appini 2026-07-27 07:16:36 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!223
Ingen beskrivning angiven.