--- title: "Verify and recover platform upgrades" slug: "build-ai-ready-systems-operate-platform-verify-recover-platform-upgrades" description: "Prepare complete installation recovery, distinguish upgrade retries from image and data restore, and verify compatible state before resuming service." tags: ["Deployment", "Platform Operations", "Developer", "Operator"] updated: 2026-12-01T08:10:26Z published: 2026-12-01T08:10:26Z canonical: "docs.aifabrix.ai/build-ai-ready-systems-operate-platform-verify-recover-platform-upgrades" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.aifabrix.ai/llms.txt > Use this file to discover all available pages before exploring further. # Verify and recover platform upgrades Establish what changed after an upgrade and choose the next safe action from actual running state. Use the [backup and recovery guide](/docs/operate-platform-backup-restore-upgrade-recovery) and [environment architecture](/docs/architecture-platform-sizing-environments) for recovery ownership and isolation. ## Prerequisites Keep the original Controller, environment, operator profile, pre-change effective images and backup/key recovery references. Use authorized monitoring access and the installation's approved maintenance/recovery window. This procedure follows Builder 2.71.0 and Miso 2.1.65 source contracts; it is not a general compatibility promise for arbitrary image restores. Record whether the interruption happened before submission, during deployment, during readiness/version checks or after completion. A lost terminal or expired login does not cancel server-side work. Preserve the run summary and deployment IDs before attempting a repair. ## Where it lives The CLI plan and summary describe selected work; Controller deployment status describes server-side execution; effective running versions and health describe the result. Retain all three. Local runs also record outcomes in `~/.aifabrix/installation.log`; protect those records when collecting evidence. ## How to set 1. For a remote interruption, reauthenticate to the same target when required and inspect the submitted deployment: ``` aifabrix auth status aifabrix login --controller https://controller.example.com/miso --environment dev aifabrix deployment get --logs ``` Use your actual Controller and deployment ID. If the operation remains active, follow it rather than starting another deployment. 2. Rediscover remaining work using the original scope: ``` aifabrix upgrade --remote --check --refresh --environment dev ``` For a local run use `aifabrix upgrade --local --check --refresh`. Inspect every current/target version and reason. Unavailable versions are unknown. A row that was applied but not followed to completion needs server-side verification before retrying. 3. Classify the result and assign the next action: | Observation | Next action | | --- | --- | | Login cannot renew | Sign in as the same operator; inspect existing operation; rediscover | | Miso done, dependent applications blocked | Ask the custody owner to resolve key servability; preserve existing keys | | Deployment failed or cancelled | Inspect its failing stage and actual image before approved redeployment | | Version/readiness wait expired | Inspect provider state, application health and effective version | | Application already current | Verify behavior; do not force a downgrade to repeat the run | | Local self-helper pending/failed | Inspect helper state and previous image after reconnecting | 4. Continue only after prerequisites and current state are resolved: ``` aifabrix upgrade --remote --environment dev ``` The command rediscovers work; it does not replay an immutable transaction or roll back successful earlier applications. Use the local scope for local recovery. Test/Production still follows its separately approved deployment process. 5. When a previous image or state restore is needed, stop this generic retry path. Obtain the accepted release-specific image/data/key compatibility decision and use the installation's protected recovery runbook. Keep the original production state and recovery points intact until cutover is approved. ## Defaults and examples Remote follow normally permits 20 minutes for deployment and 10 for version readiness; custody and self-upgrade paths have their own waits. A timeout is not proof that the server stopped. Key custody can be complete or supported legacy-unsplit with explicit platform-key servability. A displayed blocked summary preserves already completed applications and leaves others unstarted. For local self-upgrade, reconnect after about five minutes and inspect `~/.aifabrix/upgrade-last.json` plus `upgrade --check`. An existing helper prevents another self-upgrade. Do not invoke the hidden completion command or remove a live process lock to force progress. ## Validate Confirm terminal deployments, effective images/versions, Controller and dependent-application health, user sign-in and a representative authorized operation. Check background completion where relevant. If changed capabilities or protection require it, repeat the associated integration/Role Assistant validation; platform health and certification remain separate evidence. Retain done, failed, blocked and not-started rows, previous and current versions, recovery-point references and the acceptance result. Never label an accepted request or a read-only check an applied-upgrade proof. For state restoration also verify scoped permissions, secret resolution, retained history and a new audit record. ## Common mistakes | Observation | Action | | --- | --- | | Login expires after an application was submitted | Inspect that deployment before rediscovery and retry. | | A previous image seems available | Obtain image/data/key compatibility approval before restore. | | Read-only check succeeds | Retain it as discovery evidence, not proof of an applied upgrade. | ## Limits There is no transactional platform rollback. A previous image cannot reverse schema migrations, restore keys or recover deleted state. This procedure is source-reviewed and needs an authorized target walkthrough; it does not establish an executed upgrade or restore. Use the named recovery authority for data restoration and production cutover. ## Related - [Diagnose platform health and logs](/build-ai-ready-systems-operate-platform-diagnose-platform-health-logs.md) - [Platform sizing and environments](/architecture-platform-sizing-environments.md) - [Backup, restore and upgrade recovery](/operate-platform-backup-restore-upgrade-recovery.md)