Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add support for auto-updating balenaOS and Supervisor #127

Open
ketilmo opened this issue Aug 6, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@ketilmo
Copy link
Owner

ketilmo commented Aug 6, 2024

First requested by @oliverhavrila in #100, having the option to auto-update balenaOs and Supervisor could be helpful. This could, for instance, be handled by a service controller service – potentially combined with this: #126.

Here is some relevant information:
https://forums.balena.io/t/automated-os-and-supervisor-updates/359033
https://github.com/balena-labs-projects/autohupr

@ketilmo ketilmo added the enhancement New feature or request label Aug 6, 2024
@ketilmo ketilmo added this to Roadmap Aug 6, 2024
@ketilmo ketilmo moved this to Under consideration in Roadmap Aug 6, 2024
@Teko012 Teko012 mentioned this issue Aug 11, 2024
@shawaj
Copy link
Collaborator

shawaj commented Sep 20, 2024

@Teko012 do you think it is useful to be able to update the Supervisor automatically independently of the OS?

Reason I ask, is that when you update the OS it automatically updates to the supervisor with that OS...I am not sure there is that much benefit to updating the supervisor in between OS updates? Especially for regularly updated devices like raspberry pi.

But perhaps more relevent for less frequently updated devices I guess.

@Teko012
Copy link
Collaborator

Teko012 commented Sep 20, 2024

Reason I ask, is that when you update the OS it automatically updates to the supervisor with that OS.

@shawaj Does it? I wasn't aware / never observed it. I guess they outline some cases where it can be useful: https://docs.balena.io/reference/supervisor/supervisor-upgrades/ We would need to extend this script if we would like to do it though.

@shawaj
Copy link
Collaborator

shawaj commented Sep 20, 2024

@Teko012 also, if I remember correctly I think that if you update the supervisor, and then the next OS update includes a supervisor version below that of the current supervisor on device (i.e. it would cause a downgrade of the supervisor) then the OS can't be updated.

I might be remembering incorrectly though I suppose.

But if that's the case I wonder if it could cause some unexpected behaviour

@Teko012
Copy link
Collaborator

Teko012 commented Sep 20, 2024

I think they explain it here: https://docs.balena.io/reference/OS/updates/update-process/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Under consideration
Development

No branches or pull requests

3 participants