For the first time in likely more than a year I opened the balena dashboard to reconfigure a remote device. The console popped up with a lot of warning about upgrading otherwise my device will go offline after 1 August.
This was the first I hear about this. I would expect an email warning me that my devices will go offline.
I then tried updating the supervisor and host OS, which failed most of the time. In the end after many tries I managed to get my device on OS v3.0.5. Trying to update to anything later fails with the following warning in the logfile under /mnt/data/balenahup
root@b0b34a0:~# cat /mnt/data/balenahup/upgrade-2.x.sh.20230711_151019.log
================upgrade-2.x.sh HEADER START====================
Tue Jul 11 15:10:19 UTC 2023
[000000000][LOG]Raw target version: 3.0.6
[000000001][LOG]Loading info from config.json
[000000003][LOG]Target version supports hostapps, no device type support check required.
[000000003][LOG]Target OS version "3.0.6" OK.
[000000003][LOG]OS variant: 3.0.5
[000000003][ERROR]Host OS version "3.0.5" not supported.
root@b0b34a0:~# cat /mnt/data/balenahup/upgrade-2.x.sh.20230711_150734.log
================upgrade-2.x.sh HEADER START====================
Tue Jul 11 15:07:34 UTC 2023
[000000000][LOG]Raw target version: 3.0.8
[000000002][LOG]Loading info from config.json
[000000003][LOG]Target version supports hostapps, no device type support check required.
[000000003][LOG]Target OS version "3.0.8" OK.
[000000003][LOG]OS variant: 3.0.5
[000000003][ERROR]Host OS version "3.0.5" not supported.
In the meantime the log output on the dashboard is spammed constantly with:
In the current state the dashboard is stuck saying “updating” and “Downloading” for the service. But the service never updates, while the old one is running.
Today my device came back online. It still showed “updating” and the service wasn’t running. I was however able to do an update to OS v3.1.0 and that also updated the supervisor to v14.11.12.
After the OS update, and another 10 minute wait for the device to come back online, it still says “updating” even though we’re on the latest OS and supervisor. The service is still not running.
Forcing the service to run pops up with this message:
Error!Request error: App not found: an app needs to be installed for this endpoint to work. If you’ve recently moved this device from another app, please push an app and wait for it to be installed first.
It seems like the default no splash image causes the supervisor to go into a restart loop. I defined an override splash image now, and that seems to make the supervisor run and download the service.