R-1007 closed: proven live on demo-hp — a real power cut mid-upload, 41 of 41 broken photos repaired by Immich itself, 120 controls untouched
gates / gates (push) Successful in 6m59s

Docs 02/05/07/13 and capability F12 (PROVEN-LIVE); the audit's C and D sections; R-1020 (the
duration reads 0) and R-1021 (the hub build builds a stale checkout) filed; STATUS one screen.
Register 133 -> 140 (this session: opened 2, closed 1; another session added 6). Both plugs ON.
Report: REPORT-immich-repair-2026-10-14.md.

Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
admin committed 2026-10-14 17:50:17 +02:00
1 parent 8395aee4c2
commit 170d090e7b
23 files changed
+616 -8

No files matched your search

@@ -458,6 +458,16 @@ nothing holds the entry open (a killed worker leaves `tar`/`zstd` writing for mi
`audits/power-cut-fixes-2026-10-14/`. A full host root also breaks LVM's own metadata writes (C4) — the reason this matters
beyond one skipped night.
**[FACT, 2026-10-14] A power cut while an app writes leaves some of its files ZERO BYTES, and from controller v0.311.0 the
app repairs them itself.** ext4 keeps the name and loses the data written in the last seconds: the night's cut left 81 of
101 recent Immich photos with empty thumbnails and previews and one original gone (`audits/night-power-2026-10-13/` R2);
the R-1007 live proof (demo-hp 9201, 15:25:04 UTC, mid-upload) left 41 photos with both files empty. Immich never redoes
them (its „missing" run reads its database, not the disk). After an UNCLEAN boot the controller runs the app's
`after_unclean_boot` block (`02` `aftercrash/`): 41 of 41 repaired in 10 s, the 120 control files untouched (mtimes),
the lost-file check read (0 lost). A lost ORIGINAL is restored only from a backup (Tier 2, the night's DB + volumes; the
upload library is a mandatory class) or uploaded again by the household — its app page lists it
(`audits/immich-repair-2026-10-14/`).
**[FACT] What the whole-guest tiers do NOT carry.** `mp8 /mnt/felhom-drives` and
`mp9 /etc/felhom-bootstrap` are **host bind mounts** and are out of `vzdump` scope entirely (LIVE
`pct config 9201`, both hosts). So the whole-guest tiers carry the guest and **none of the customer's