# Upgrading an ECE Cluster from 3.6.2 to 3.7.1

**URL:** <https://discuss.elastic.co/t/upgrading-an-ece-cluster-from-3-6-2-to-3-7-1/360361>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Tags:** docker\
**Created:** [May 28, 2024, 9:12am UTC](https://discuss.elastic.co/t/upgrading-an-ece-cluster-from-3-6-2-to-3-7-1/360361 "2024-05-28T09:12:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibollman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibollman/32/131438_2.png) [@ibollman](https://discuss.elastic.co/u/ibollman)\
**Post date:** [May 28, 2024, 9:12am UTC](https://discuss.elastic.co/t/upgrading-an-ece-cluster-from-3-6-2-to-3-7-1/360361/1 "2024-05-28T09:12:16Z")

</div>

Dear community,

I am struggling with the following topic:

We have an ECE cluster with 3.6.2 running on Ubuntu 20.04.6 LTS and Docker 20.10.24.  
As it is suggested [here](https://www.elastic.co/guide/en/cloud-enterprise/3.6/ece-configure-hosts-ubuntu-cloud.html) the Docker versions are pinned:

```auto
echo "docker-ce hold" | sudo dpkg --set-selections
echo "docker-ce-cli hold" | sudo dpkg --set-selections
echo "containerd.io hold" | sudo dpkg --set-selections

```

So the currently installed and pinned packages needed for ECE 3.6 are:

```auto
docker-ce/focal,now 5:20.10.24~3-0~ubuntu-focal amd64
docker-ce-cli/focal,now 5:20.10.24~3-0~ubuntu-focal amd64
containerd.io/focal,now 1.6.21-1 amd64

```

Now ECE 3.7.1 is out and we would like to upgrade. But as it is written in the [official release notes](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-release-notes-3.7.0.html):

> Ubuntu 20.04, SLES 12, and SLES 15 with Docker \< 24.0 are no longer supported. They are now only supported with Docker 24.0.

So we need to upgrade our Docker first! Also the release notes say, that

> Ubuntu 18.04 is no longer supported.

Well, we have currently Ubuntu 20.04, but it is totally possible, that with the next major ECE version it will not be supported as well. So we would like to upgrade our Docker and our Ubuntu to be better prepared for the future.

**Now now to my main issue:**

How to do the upgrade of Docker and ECE and also Ubuntu?

I think, the ECE service can be stopped and then Docker can be upgraded. But will the ECE Upgrade script work then?  
`bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) upgrade`  
Will an upgraded Docker version from 20.10 to 24.0 not completed break ECE 3.6?

So I am now really struggling with the correct order of the upgrade steps ☹

Is there probably a How-To-Do for that? All I have found till now are HTDs for a clean install of ECE 3.7 and the needed software prerequisites for it. But how to do the upgrade with outdated prerequisites and the fact, that the current ECE 3.6 will not work with the Docker version needed for ECE 3.7.

It is now a classic "Chicken and egg problem" for me ☹

If there are some HTDs, then a link to that would greatly help.

Thank you kindly in advance!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 28, 2024, 1:50pm UTC](https://discuss.elastic.co/t/upgrading-an-ece-cluster-from-3-6-2-to-3-7-1/360361/2 "2024-05-28T13:50:37Z")

</div>

Hi @ibollman

Since you are running ECE you have a commercial subscription and thus commercial technical support.

I highly recommend open a support ticket and put that same information into support ticket.

---

<div class="post-metadata">

**Author:** ![ibollman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibollman/32/131438_2.png) [@ibollman](https://discuss.elastic.co/u/ibollman)\
**Post date:** [May 28, 2024, 2:40pm UTC](https://discuss.elastic.co/t/upgrading-an-ece-cluster-from-3-6-2-to-3-7-1/360361/3 "2024-05-28T14:40:44Z")

</div>

OK, thank you, will do.
