Skip to content

Commit

Permalink
Add update locks section on hostOS updates
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
jaomaloy authored and jaomaloy committed Oct 6, 2023
1 parent 1a4b21a commit 3e92571
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/reference/OS/updates/self-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ Update time can vary significantly, depending on the speed of your network, the

If your {{ $names.os.lower }} update fails for any reason, the device should still be recoverable. For devices running {{ $names.os.lower }} 2.x, the user application should still be running normally, and the reasons for failure can be examined through the update logs at `/mnt/data/balenahup/` (or potentially the legacy location `/mnt/data/resinhup/`). If you have any issues, please contact us on the [troubleshooting section of the forums][troubleshooting].

## Update locks

[Update locks](https://docs.balena.io/learn/deploy/release-strategy/update-locking/) is a mechanism that allows applications to enter critical sections of code and prevent updates that would interrupt the application from running. Update locks can also be used to delay the reboot that applies a hostOS update operation until the application exits the critical section by removing the update locks. [Overriding update locks](https://docs.balena.io/learn/deploy/release-strategy/update-locking/#overriding-the-lock) will ignore existing locks and allow a hostOS update process to proceed with a reboot.


You can learn more about what exactly goes on during the update process [here][update-process].

<!-- links -->
Expand Down

0 comments on commit 3e92571

Please sign in to comment.