# Pi Zero W update keeps failing

**URL:** <https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277>\
**Category:** balenaOS\
**Tags:** raspberrypizero, balenasound\
**Created:** [July 3, 2020, 1:00pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277 "2020-07-03T13:00:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnerdie](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jnerdie](https://forums.balena.io/u/jnerdie)\
**Post date:** [July 3, 2020, 1:00pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/1 "2020-07-03T13:00:04Z")

</div>

I am using a Pi Zero W to upgrade and old tube radio into a smart stereo. The update via the dashboard along with some of the containers keep failing.  
I have tried pausing the release of some of the containers until the update completes but they auto resume.  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![nazrhom](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@nazrhom](https://forums.balena.io/u/nazrhom)\
**Post date:** [July 3, 2020, 1:04pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/4 "2020-07-03T13:04:14Z")

</div>

Hello, could you have a look at the diagnostic page and see if any failed check? If not could you try and run the device diagnostics and share the results here?

---

<div class="post-metadata">

**Author:** ![jnerdie](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jnerdie](https://forums.balena.io/u/jnerdie)\
**Post date:** [July 3, 2020, 1:08pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/5 "2020-07-03T13:08:45Z")

</div>

outstanding response time thank you.

result of device diagnostic

‘ssh client socket error while initiating SSH connection’

---

<div class="post-metadata">

**Author:** ![nazrhom](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@nazrhom](https://forums.balena.io/u/nazrhom)\
**Post date:** [July 3, 2020, 1:14pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/6 "2020-07-03T13:14:21Z")

</div>

Thanks, just to clarify: did you see this error pop up after pressing the `Run diagnostic` button? Can you confirm the checks (on the top left there should be a `Device health checks` tab) are all reported as succeeded?

---

<div class="post-metadata">

**Author:** ![jnerdie](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jnerdie](https://forums.balena.io/u/jnerdie)\
**Post date:** [July 3, 2020, 1:26pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/7 "2020-07-03T13:26:19Z")

</div>

‘ssh client socket error while initiating SSH connection’ came from device diagnostics.

Device health checks can be seen in the image attached

 ![device health checks](https://global.discourse-cdn.com/balena/original/2X/a/ae7edb02208c73acd35efbfe8ed3539bf3c627a5.png)

---

<div class="post-metadata">

**Author:** ![nazrhom](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@nazrhom](https://forums.balena.io/u/nazrhom)\
**Post date:** [July 3, 2020, 2:30pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/9 "2020-07-03T14:30:03Z")

</div>

Are you able to open a connection to the device via the web terminal?

---

<div class="post-metadata">

**Author:** ![jnerdie](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jnerdie](https://forums.balena.io/u/jnerdie)\
**Post date:** [July 3, 2020, 2:42pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/11 "2020-07-03T14:42:05Z")

</div>

I have granted support access is that sufficient?

---

<div class="post-metadata">

**Author:** ![Ereski](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@Ereski](https://forums.balena.io/u/Ereski)\
**Post date:** [July 3, 2020, 5:16pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/12 "2020-07-03T17:16:06Z")

</div>

We would also need the device UUID to take a look.

Are you able to SSH into the device?

---

<div class="post-metadata">

**Author:** ![jnerdie](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jnerdie](https://forums.balena.io/u/jnerdie)\
**Post date:** [July 3, 2020, 5:24pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/13 "2020-07-03T17:24:09Z")

</div>

sent via private message

---

<div class="post-metadata">

**Author:** ![Ereski](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@Ereski](https://forums.balena.io/u/Ereski)\
**Post date:** [July 3, 2020, 5:32pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/14 "2020-07-03T17:32:34Z")

</div>

Looks like it has updated

---

<div class="post-metadata">

**Author:** ![Ereski](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@Ereski](https://forums.balena.io/u/Ereski)\
**Post date:** [July 3, 2020, 5:40pm UTC](https://forums.balena.io/t/pi-zero-w-update-keeps-failing/149277/15 "2020-07-03T17:40:07Z")

</div>

Nevermind. So, what is happening is that the balena engine is timing out while trying to start a container, which triggers a restart. The probable root cause is that the SD card is not handling the load well and stuff starts timing out. In those cases we usually recommend the SanDisk Extreme Pro SD card as from our experience it handles everything well.
