<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.13 </button>

- [Latest](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/latest/troubleshooting/recover-upgrade)
- [Version 1.16](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.16/troubleshooting/recover-upgrade.md.txt)
- [Earlier versions (unsupported)](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.13/getting-support.md.txt#version-support)

<br />

Occasionally, Google Distributed Cloud may run into conditions where you need to
start an upgrade over again, or fix an error condition to complete the upgrade
successfully. The following conditions may occur when upgrading clusters. Try
to complete the cluster upgrade as noted with the condition.

## Recover admin, hybrid, and standalone cluster upgrades

Admin, hybrid, and standalone clusters are all upgraded with the [`bmctl upgrade`
command](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.13/how-to/upgrade).

If your upgrade doesn't complete successfully, check the following conditions
and try the upgrade again.

- `bmctl` fails to parse the config file due to a mistake. Fix the config file and rerun the command.
- `bmctl` fails to bootstrap the temporary cluster. Retry the command.
- the log files indicate that the upgrade failed a [preflight check](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.13/installing/preflight.md.txt). Correct the preflight condition, or force the upgrade.
- the upgrade took too long (more than 30 minutes) or timed out. Retry the upgrade command.

## Recover user cluster upgrades

User clusters are [upgraded from an associated admin cluster](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.13/how-to/upgrade.md.txt)
with the `kubectl apply` command.

If your upgrade doesn't complete successfully, check the following conditions
and try the upgrade again.

- Preflight check failed. Check the preflight check log and fix the corresponding error.
- You may need to construct a new preflight custom resource [following these instructions](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.13/installing/preflight.md.txt#re-enabling_preflight_checks) and apply it to the cluster. Check that the triggered preflight passes, and that the cluster reconciler picks up the latest passing state.