# Can't downgrade to a correct version of elastic after an attempt to upgrade to 7.6.2

**URL:** <https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [March 29, 2020, 5:54pm UTC](https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573 "2020-03-29T17:54:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmad\_Al-Masry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmad_al-masry/32/65270_2.png) [@Ahmad\_Al-Masry](https://discuss.elastic.co/u/Ahmad_Al-Masry)\
**Post date:** [March 29, 2020, 5:54pm UTC](https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573/1 "2020-03-29T17:54:04Z")

</div>

Hi  
By mistake, I have the assumption that 7.6.2 is released on container and so I upgraded thee configurations and applied and ECK accepted the configuration.  
Unfortunately the pods are failing to start and I can't rollback to 7.6.1.  
Can anyone give me a workaround?

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [March 30, 2020, 7:29am UTC](https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573/2 "2020-03-30T07:29:36Z")

</div>

**Edit** : if you are experiencing a similar issue please refer to [If you upgraded Elasticsearch to the wrong version](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-common-problems.html#k8s-common-problems-version-downgrade) first.

* * *

Hi @Ahmad_Al-Masry, that's an identified issue in our Github repository: [Versions existence should be validated · Issue #2455 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/issues/2455).

Until we figure out the best way to fix it, I think you can try the following:

- disable the [validation webhook](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-troubleshooting.html#k8s-webhook-troubleshooting) (`kubectl delete validatingwebhookconfiguration elastic-webhook.k8s.elastic.co`)
- apply the manifest with the rollbacked version
- manually delete the Pod that is failing to start in the new unknown version (`kubectl delete pod <pod_name>`)

Once everything is back to its normal state, you can re-create the validating webhoook by reapplying ECK yaml manifests (the one you applied to install ECK).

With [Versions existence should be validated · Issue #2455 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/issues/2455) we'll try to figure out a better way to do that.

---

<div class="post-metadata">

**Author:** ![Ahmad\_Al-Masry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmad_al-masry/32/65270_2.png) [@Ahmad\_Al-Masry](https://discuss.elastic.co/u/Ahmad_Al-Masry)\
**Post date:** [March 30, 2020, 10:04am UTC](https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573/3 "2020-03-30T10:04:49Z")

</div>

Thanks  
It worked 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:51am UTC](https://discuss.elastic.co/t/cant-downgrade-to-a-correct-version-of-elastic-after-an-attempt-to-upgrade-to-7-6-2/225573/4 "2022-11-04T07:51:17Z")

</div>


