Files
felhom.eu/documentation/audits/evidence-spike-app-update-2026-09-01/phase9-teardown-nextcloud.txt
T
admin 56c7e373a3
gates / gates (push) Successful in 18s
SPIKE: what an app update actually does, and which other paths do it too
THE GATE IS ANSWERED: YES. compose up -d upgrades an app whose compose file has
already moved, and the Restart button does it — 18.3s with a network pull when
the target image is absent, 0.5s when present, against a negative control that
did not even recreate the container. The boot reconciler does the same thing
unattended when an app fails to come back (bootrecon.go:269 -> StartStack).

AND ONE FEAR IS SMALLER THAN THE BRIEF CLAIMED: a plain power cut upgrades
nothing. Docker restores the old containers and the reconciler logs 'no
boot-orphaned apps (nothing to start)'.

AND ONE IS BIGGER: app data CANNOT be rolled back. Once a migration has run,
the old image refuses to start — Nextcloud: 'the version of the data (32.0.9.2)
is higher than the docker image version (31.0.14.1) and downgrading is not
supported'. 'Rollback' is the wrong word for this arc and is struck.

Phases 0-6 all run, on demo-hp (Tier 0, disposable). Phase 6 run on operator
confirmation. Peti's box was never contacted. No production code written in any
repo: felhom-controller is at 960d29b0612c before and after, tree clean, and
build/vet/test are green — run at the end to prove exactly that.

Register: R-438/439/440 updated with live evidence; R-441..R-445 opened
(restore-vs-sync conflict; remove_hdd_data inert with no paths.hdd_path, 128 MB
left behind; update reports success over a broken app; no fleet fstrim; hub
telemetry outlives the app). Capability map gains three measured rows. The
mechanism is written down in 02-controller-module-map.md as MEASURED BEHAVIOUR,
not [DESIGN] — the operator has not ruled. STATUS.md carries the one decision.

Five claims in the brief are named as wrong, including two of my own method.
2026-09-01 21:35:32 +02:00

62 lines
1.7 KiB
Plaintext

### TEARDOWN LAYER 1 — the machine: remove the throwaway nextcloud stack this spike created
2026-09-01T19:14:36Z
{"ok":false,"error":"stack \"nextcloud\" is still running — stop it first before removing"}
HTTP=409
### verify gone
nextcloud nextcloud:32.0.9-apache Up About a minute (healthy)
nextcloud-db mariadb:11.6 Up 15 minutes (healthy)
nextcloud-redis redis:7-alpine Up 15 minutes (healthy)
(empty above = containers gone)
nextcloud_nextcloud_db_data
nextcloud_nextcloud_html
nextcloud_nextcloud_redis_data
(empty above = volumes gone)
app.yaml
docker-compose.yml
nextcloud
paperless
romm
### stop first, then remove
{"ok":true,"message":"Stack nextcloud stop completed"}
HTTP=200
{"ok":true,"data":{"removed":"nextcloud","volumes_removed":null,"hdd_paths_removed":null,"hdd_paths_preserved":null},"message":"Stack nextcloud removed"}
HTTP=200
### verify gone
containers:
volumes:
hdd appdata:
nextcloud
paperless
romm
stack dir:
docker-compose.yml
### removing the spike's own leftover (128 MB the product did not remove)
2026-09-01T19:17:28Z
128M /mnt/felhom-drives/hdd_1/appdata/nextcloud/
after:
paperless
romm
any nextcloud left anywhere under /mnt:
stack dir (template only, app.yaml gone = not deployed):
docker-compose.yml
images:
nextcloud:34.0.1-apache
nextcloud:32.0.9-apache
nextcloud:31.0.14-apache
### remove ONLY the three nextcloud images this spike pulled (targeted rmi, never a prune)
/dev/mapper/pve-vm--9201--disk--0 32G 958M 29G 4% /
removed nextcloud:31.0.14-apache
removed nextcloud:32.0.9-apache
removed nextcloud:34.0.1-apache
remaining nextcloud images:
(none)
/dev/mapper/pve-vm--9201--disk--0 32G 958M 29G 4% /
stack dir now:
.
..
.felhom.yml
docker-compose.yml