Roadmap for BalenaOS Updates in OpenBalena

#1

Hi Balena team,

Congrats on the rebrand and the OpenBalena release, fantastic to see this open source’d instead of the industry re-inventing this particular wheel over and over!

We’re super keen to pivot our development efforts to OpenBalena for base device registration and management, however need to understand the plans for OpenBalena’s OS updates.

Q: Will this be the same “dual partition, auto-reboot into old OS on failed boot” solution currently found in BalenaCloud? Or is this something the community is expected to re-invent for the open source version?

Any details you could expand on the plans here/timeframes and anything the community can do to help push this forward?

Kind Regards,
Matt

2 Likes

Remote OS upgrade of custom host image possible?
Remote OS upgrade of custom host image possible?
#2

Hello @KyrosMatt, host OS updates will be supported on openBalena and will be identical to balenaCloud. The current server-side bits for host OS updates on balenaCloud depend on functionality that is not relevant to openBalena (for legacy device support reasons) so we’re looking to start clean and implement a better solution that will be identical in both platforms.

Currently, host OS updates are planned for the first non-beta openBalena release. There is no ETA currently, we’re working as fast as we can, but also want to reap the benefit of starting clean in some fronts. You can find a brief roadmap here: https://github.com/balena-io/open-balena#roadmap

0 Likes

#4

Hi @KyrosMatt,

HostOS update functionality is available in OpenBalena also.

At this moment the user will need to manually execute some binaries to update the hostOS and the supervisor.

Regards!

0 Likes

#5

Hey @dfunckt @spanceac.

Thanks for the info and the super fast responses :smiley:
That is exactly what we wanted to know.

0 Likes

#6

Hello @spanceac,
could you share any link/hint on where such commands can be found ?

0 Likes

#10

@KyrosMatt, @KingRial, sorry for the delay - a previous reply to this thread failed to be synced here because of an issue with our support software.

We are working to make host OS upgrades easier on openBalena. Meanwhile, the following example shows how to upgrade the host OS and the supervisor by running some commands on the host OS itself.

For example, assuming a Raspberry Pi 3 running balenaOS version v2.26.0 that should be upgraded to version v2.29.0, the first command to run (on a host OS shell) is:

  • hostapp-update -r -i resin/resinos:2.31.0_rev1-raspberrypi3

The names of host OS images (such as “resin/resinos:2.31.0_rev1-raspberrypi3”) can be found on the Docker Hub: https://hub.docker.com/r/resin/resinos/tags
Please select the highest available image “revision”, e.g. ‘rev3’ in preference to ‘rev2’ or ‘rev1’.

Then the balena supervisor needs to be updated as well. For example, the command to update the supervisor to version v9.2.8 (to be executed on a host OS shell) is:

  • update-resin-supervisor -t v9.9.0

Although the balena supervisor can be updated independently of balenaOS, we test selected versions of the supervisor with balenaOS releases, so it’s a good idea to use those supervisor versions. Search the meta-balena ChangeLog for “supervisor” to find out the supervisor version that goes together with a balenaOS version.

WARNING: for anyone reading this post, these instructions only apply to openBalena. If using balenaCloud, or if you are unsure, please upgrade the host OS through the web dashboard.

1 Like