Compare commits

..
1 Commits
Author SHA1 Message Date
parkel 20fe76d282 Document recovery after an interrupted APT upgrade
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Successful in 2m11s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Successful in 2m27s
2026-12-05 13:18:44 +01:00
+26 -7
View File
@@ -342,13 +342,32 @@ console. To update only OS and service packages, use **Server packages**.
If APT lists a Coulobre update there, apply the Coulobre package first and If APT lists a Coulobre update there, apply the Coulobre package first and
refresh the server package list. refresh the server package list.
If an upgrade fails, inspect `/var/lib/coulobre-update/` as root and use ### Recover a failed APT upgrade
the [recovery procedure](#install-a-compatible-release-from-the-panel) when recovery is
required. Once the issue is resolved, run `sudo dpkg --configure -a` to Inspect `/var/lib/coulobre-update/status.json` as root. The `recovery` field,
finish configuration. For a full downgrade, restore the server snapshot when present, names the directory with the private `update.log` and the
including the package database. Removing the package removes its staged recovery files. If APT reports that linked receivers were not staged and
installer and remote installation service. The configured panel runtime, the running panel has not changed, use the
service configuration and customer data remain on the server. [linked-node upgrade procedure](#coordinate-a-release-across-linked-mail-and-dns-receivers).
If the status is `failed` and the previous runtime is healthy, fix the
reported pre-upgrade problem before retrying package configuration.
If the status is `recovery_required`, the wheel or database may already
have changed even though APT reports that the package is not configured.
Do not retry APT yet. Fix the cause and follow the
[panel runtime recovery procedure](#install-a-compatible-release-from-the-panel).
After the previous runtime, database and services are healthy and the
failed `status.json` has been archived, run `sudo dpkg --configure -a` to
apply the pending package. Confirm that `sudo dpkg --audit` reports no
problems and that the panel reports the target version. For linked
installations, keep receiver provisioning paused until all participating
panels and receivers are healthy and on the target release.
Restoring the panel runtime does not downgrade the APT package. For a full
downgrade, restore the server snapshot including the package database.
Removing the package is not a recovery procedure. It removes the staged
installer and remote installation service, but leaves the configured panel
runtime, service configuration and customer data on the server.
Web-initiated APT output is in `/var/lib/coulobre-update/apt-update.log`. Web-initiated APT output is in `/var/lib/coulobre-update/apt-update.log`.
If the web launcher was interrupted, verify that `coulobre-apt-update.service` If the web launcher was interrupted, verify that `coulobre-apt-update.service`