Scenario A: update script fails before new container build
The previous version should still be running. Inspect the error, source release checksum and disk usage. Do not manually delete volumes to retry. Verify that an encrypted .wgbk was created and copied outside Docker volume.
Scenario B: migration fails during boot
Stop changes, retain the full docker compose logs and copied snapshot. Inspect Alembic version and failing statement from a staging clone. There is no guaranteed in-place code downgrade. Restore DB and compatible app keys together from the tested pre-upgrade recovery set before launching the previous release.
Scenario C: license UUID changes after upgrade
This indicates the prior PostgreSQL volume was replaced or a new Compose project was used. Stop and restore the original project and volume. Do not ask the customer to send private signing keys or reinitialize their paid license silently.
Scenario D: certificate or management IP changed
Confirm .env.preproduction and site TLS files were copied/retained. Use physical or out-of-band console for management-IP troubleshooting. Never automatically run apply-network as part of a software patch.
Customer checklist
Record version, DB migration, site hostnames, expected ports, last backup checksum, license ID, endpoint usage, switch/AD/RADIUS credentials present, and verified readiness state. Escalate unexplained schema/clock rollback errors before enabling network enforcement.
en/docs/operations/upgrade-recovery.mdRead documentation Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

