﻿---
title: Re-running the ECE upgrade
description: By default, re-running the elastic-cloud-enterprise.sh upgrade command resumes the previous ECE upgrade process. However, if your previous ECE upgrade...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/deploy-manage/upgrade/orchestrator/re-running-the-ece-upgrade
products:
  - Elastic Cloud Enterprise
---

# Re-running the ECE upgrade
By default, re-running the `elastic-cloud-enterprise.sh upgrade` command resumes the previous ECE upgrade process. However, if your previous ECE upgrade attempt got stuck (for example, due to infrastructure problems, a host going offline, or similar) and re-attempting the upgrade still results in the upgrade process being blocked, run `elastic-cloud-enterprise.sh upgrade --force-upgrade` to ensure that any existing upgrade state gets cleared before starting the new ECE upgrade process.
The `--force-upgrade` parameter is also helpful in situations where the Elastic Cloud Enterprise platform is already upgraded to the desired target version but there are containers still running at the old version. These rare situations can also be caused by infrastructure issues, for example, runners temporarily going offline and not being "seen" by the upgrade process. Running `elastic-cloud-enterprise.sh upgrade --force-upgrade` with the same target version makes the Elastic Cloud Enterprise upgrader perform the upgrade procedure anyway, thereby covering any containers that failed to upgrade previously.
If the Elastic Cloud Enterprise platform was upgraded successfully and yet one or more system deployments were not upgraded to a higher Elastic Stack version during the very last phase of the Elastic Cloud Enterprise upgrade, we recommend running the Elastic Cloud Enterprise upgrader again without the `--force-upgrade` parameter. The Elastic Cloud Enterprise upgrader will recognize that the platform is already at the desired target version and will apply upgrade plans to system deployments.
Refer to [Default system deployment versions](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3898/deploy-manage/deploy/cloud-enterprise/default-system-deployment-versions) for details on the system deployment versions associated with each Elastic Cloud Enterprise version.