Document recovery after an interrupted APT upgrade #321

Merged
parkel merged 1 commits from docs/apt-upgrade-recovery into main 2026-12-05 22:56:04 +01:00
Owner

Documentation

  • Separate a pre-upgrade refusal from a failure after the panel runtime or database may have changed.
  • Explain when to restore the previous runtime, archive the failed status, and finish the pending APT configuration. Clarify that a full downgrade requires a snapshot that also covers the package database.

Verification

  • On an isolated Ubuntu 26.04 VM, interrupted the Core 1.9.0 → 1.10.0 APT upgrade at the panel service restart, after wheel installation. The package entered the half-configured state and Coulobre reported recovery_required.
  • Restored the saved virtual environment and MariaDB dump. Core 1.9.0 served HTTPS again and retained the test hosting account.
  • After archiving the failed status, dpkg --configure -a completed the pending upgrade to 1.10.0. HTTPS and the test account were healthy, all ten Celery workers responded through RabbitMQ, and dpkg --audit was clean.
  • git diff --check and recovery-link checks passed.

This test covers local package recovery, not how the Premium coordinator recovers a failed multi-node run. No runtime changes.

## Documentation - Separate a pre-upgrade refusal from a failure after the panel runtime or database may have changed. - Explain when to restore the previous runtime, archive the failed status, and finish the pending APT configuration. Clarify that a full downgrade requires a snapshot that also covers the package database. ## Verification - On an isolated Ubuntu 26.04 VM, interrupted the Core 1.9.0 → 1.10.0 APT upgrade at the panel service restart, after wheel installation. The package entered the half-configured state and Coulobre reported `recovery_required`. - Restored the saved virtual environment and MariaDB dump. Core 1.9.0 served HTTPS again and retained the test hosting account. - After archiving the failed status, `dpkg --configure -a` completed the pending upgrade to 1.10.0. HTTPS and the test account were healthy, all ten Celery workers responded through RabbitMQ, and `dpkg --audit` was clean. - `git diff --check` and recovery-link checks passed. This test covers local package recovery, not how the Premium coordinator recovers a failed multi-node run. No runtime changes.
parkel added 1 commit 2026-12-05 13:33:37 +01:00
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
20fe76d282
parkel merged commit eff2fe2525 into main 2026-12-05 22:56:04 +01:00
parkel deleted branch docs/apt-upgrade-recovery 2026-12-05 22:56:04 +01:00
Sign in to join this conversation.