open-balena icon indicating copy to clipboard operation
open-balena copied to clipboard

Cannot provision on balenaOS 2.88.5

Open gabrielepmattia opened this issue 2 years ago • 4 comments

I'm trying to provision a Raspberry Pi 4 but it does not attach to the fleet once booted. After searching and debugging I discovered that the API call to api.example.com/connectivity-check does not return the 'Date' header for allowing the Raspberry to update the date and then correctly pulling the containers or using HTTPS with a new certificate.

Can I simply bump the open-balena-api image to latest version 0.188.3 in the file /compose/versions and still getting the server working? Or is it planned to support versions of balenaOS >= 2.88.x?

https://github.com/balena-io/open-balena/blob/39f7f6b0cc8d323b0fe604c3fc54a5d0ea723fc6/compose/versions#L1

gabrielepmattia avatar Jan 20 '22 16:01 gabrielepmattia

Hi @gabrielepmattia,

I've been busy with upgrading my openBalena instance, and there were some problems trying to upgrade to the newest API service (See issue 926, PR 972 & PR 928).

One of the problems was that the OpenBalena API container can't start because of a wrong dependency while starting. The other one is missing permissions while provisioning a device, because of a hook.

So, for the time being, I'd suggest to use an older BalenaOS version until this is fixed. Once this is fixed, I'll upgrade my OpenBalena instance and create a PR with the newest versions after testing the upgrade.

bartversluijs avatar Jan 20 '22 16:01 bartversluijs

Thanks @bartversluijs! I hope that it will get fixed soon, in the meanwhile I will try to use balenaOS versions <= 2.80.10 that is the last one released before June 30, 2021, that is the last update of this repo. I hope that they will work on Raspberry Pi 4.

I also think that this repo should have a compatibility alert on the README.md, even for the maximum (tested) version, not only for the minimum.

gabrielepmattia avatar Jan 20 '22 17:01 gabrielepmattia

As an update, once #137 is merged, this will fix this issue.

bartversluijs avatar Apr 22 '22 15:04 bartversluijs

This is fixed by #137. Upgrade to v3.6.0 of open-balena and you'll be able to provision balenaOS 2.88.5 devices :)

bartversluijs avatar May 10 '22 17:05 bartversluijs