Hi, did you try a local ssh to the device? It might be that the CLI is just not properly recognizing the variant due to some recent OS changes in the way this is reported.
HI again, and do you have an os.sshKeys entry configured in config.json? Before a development image would allow passwordless logins even if keys were configured, but now if keys are present it will use them instead.
Hi again, thanks for the config.json. It does indeed seem to be a production image, which is now controlled by the developmentMode variable in config.json. Please try switching this from false to true.
Where did you download this image from? The API is supposed to configure this correctly when a request for an image is made from either the dashboard or the CLI, so something went wrong.
I just tried another one, Raspberry Pi 4 BalenaOS 2.85.2+rev3. This time even without preloading or config I couldn’t ssh into the device. I looked at the config file and it is as follows:
This may or may not be related (my apologies if it is not), but I just used the BalenaCloud dashboard to update my development RPi 4 to the newest OS (balenaOS 2.87.16+rev1), and it somehow switched to a Production image. It was previously a Development image that I had in Local mode for a very long time, so I was very surprised when I couldn’t switch back to Local mode after the update.
I don’t think I have any data or logs that would help troubleshoot this, but there were some weird things that happened during the update: it stalled at 50%, then appeared to fail (status went away and showed the old version). I switched it out of Local mode at this point, and then a few minutes later the device rebooted and the status was “Update successful, device rebooting”. After the reboot, the device was displayed as a Production build and my request to enable Local mode failed.
@jmakivic unfortunately as I was actively developing on that device, I had to quickly re-flash it back to a development image. If it happens again I will post here.
We have now made the required changes to correctly configure unmanaged images with the desired development/production mode. So fetching unmanaged images from the CLI or the downloads page now works.
Also, a migration was added to balenaOS v2.88.13 so that a device that is configured as development mode keeps the configuration when updating to a newer unified OS release.