# OS Update Fails on One Device – Need Help Resolving

**URL:** <https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937>\
**Category:** balenaOS\
**Created:** [October 14, 2025, 2:46pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937 "2025-10-14T14:46:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aditya1](https://forums.balena.io/u/Aditya1)\
**Post date:** [October 14, 2025, 2:46pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/1 "2025-10-14T14:46:32Z")

</div>

Hi team,

I’m facing an issue while trying to update the OS on one of my devices. Every time I initiate the update, it gets stuck and eventually shows **“OS update failed”**.

I’ve tried restarting the device and reattempting the update, but the problem persists. Other devices are updating fine — it’s just this one that’s causing trouble.

Has anyone encountered this before or can suggest steps to troubleshoot and resolve it?

Thanks in advance for your support!  
WARNING:esys:../tpm2-tss-3.2.0/src/tss2-esys/api/Esys\_EvictControl.c:330:Esys\_EvictControl\_Finish() Received TPM Error  
ERROR:esys:../tpm2-tss-3.2.0/src/tss2-esys/api/Esys\_EvictControl.c:114:Esys\_EvictControl() Esys Finish ErrorCode (0x0000014b)  
ERROR: Esys\_EvictControl(0x14B) - tpm:error(2.0): insufficient space for NV allocation  
ERROR:esys:../tpm2-tss-3.2.0/src/tss2-esys/esys\_tr.c:356:Esys\_TR\_Close() Error: Esys handle does not exist (70018).  
ERROR: Esys\_TR\_Close(0x70018) - esapi:The ESYS\_TR resource object is bad  
ERROR: Unable to run tpm2\_evictcontrol  
[hostapp-update][ERROR] Failed to run the new hooks. Running current hooks..

---

<div class="post-metadata">

**Author:** ![samuel-duffield1](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/samuel-duffield1/32/10378_2.png) [@samuel-duffield1](https://forums.balena.io/u/samuel-duffield1)\
**Post date:** [October 14, 2025, 8:52pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/2 "2025-10-14T20:52:21Z")

</div>

Hi @Aditya1 ,

Can you do me a favour and run `journalctl | grep "VPN connection is"` on the HostOS just to make sure your VPN connection is stable when performing the update?

---

<div class="post-metadata">

**Author:** ![Aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aditya1](https://forums.balena.io/u/Aditya1)\
**Post date:** [October 15, 2025, 9:32am UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/3 "2025-10-15T09:32:23Z")

</div>

**Hi** @samuel-duffield1 \*\*  
it gives result this and VPN connection is stable when i am upgrading the OS\*\*

Oct 14 11:12:17 f6ff590 8bc19dc80882[3306]: [info] VPN connection is not active.  
Oct 14 11:12:17 f6ff590 balena-supervisor[5921]: [info] VPN connection is not active.  
Oct 14 11:13:35 f6ff590 8bc19dc80882[3315]: [info] VPN connection is not active.  
Oct 14 11:13:35 f6ff590 balena-supervisor[5918]: [info] VPN connection is not active.  
Oct 14 11:13:43 f6ff590 8bc19dc80882[3315]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 8bc19dc80882[3315]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 balena-supervisor[5918]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 balena-supervisor[5918]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 balena-supervisor[5918]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 balena-supervisor[5918]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 8bc19dc80882[3315]: [info] VPN connection is active.  
Oct 14 11:13:43 f6ff590 8bc19dc80882[3315]: [info] VPN connection is active.

---

<div class="post-metadata">

**Author:** ![Aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aditya1](https://forums.balena.io/u/Aditya1)\
**Post date:** [October 16, 2025, 12:27pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/4 "2025-10-16T12:27:55Z")

</div>

@samuel-duffield1 What can i do further to resolve this issue

---

<div class="post-metadata">

**Author:** ![rosswesleyporter](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@rosswesleyporter](https://forums.balena.io/u/rosswesleyporter)\
**Post date:** [October 16, 2025, 11:59pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/5 "2025-10-16T23:59:59Z")

</div>

@Aditya1, what device type are you using? Given the TPM errors, I’m guessing `Generic x86_64 (GPT)` with secure boot enabled. True?

---

<div class="post-metadata">

**Author:** ![Aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aditya1](https://forums.balena.io/u/Aditya1)\
**Post date:** [October 17, 2025, 12:47am UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/6 "2025-10-17T00:47:03Z")

</div>

@rosswesleyporter Yes it is and secure boot enabled

---

<div class="post-metadata">

**Author:** ![ab77](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab77/32/2870_2.png) [@ab77](https://forums.balena.io/u/ab77)\
**Post date:** [October 21, 2025, 11:37pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/7 "2025-10-21T23:37:30Z")

</div>

> [@Aditya1](#):
>
> \>\> insufficient space for NV allocation

This is the most likely cause. Yes, we’ve encountered this error in the lab and the only solution I could find so far is to clear TPM (tpm2\_clear) and re-flash, which is obviously rather destructive. There may be another solution, we’ll need to check and come back to this here.

---

<div class="post-metadata">

**Author:** ![Aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aditya1](https://forums.balena.io/u/Aditya1)\
**Post date:** [October 22, 2025, 3:05am UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/8 "2025-10-22T03:05:36Z")

</div>

@ab77 thanks for checking in. Waiting for your response regarding the other solution

---

<div class="post-metadata">

**Author:** ![rosswesleyporter](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@rosswesleyporter](https://forums.balena.io/u/rosswesleyporter)\
**Post date:** [October 23, 2025, 9:48pm UTC](https://forums.balena.io/t/os-update-fails-on-one-device-need-help-resolving/374937/9 "2025-10-23T21:48:36Z")

</div>

Hi @Aditya1,

A few follow-up questions:

- What is the current balenaOS version on the device?
- What balenaOS version are you trying to upgrade to?
- What hardware (or virtual machine) are you using?
- Has the device been provisioned or upgraded an unusual number of times e.g. more than 10?
- Are you using the TPM for anything besides secure boot?
