Hey there,
Thanks to the openbalena team for a great product. I’ve setup an openbalena server, can login to it, setup apps, and configure OS images, but I’m stuck on getting devices to show up as online once they boot up. Whether prod or dev images, the devices boots, provisions and registers with my openbalena server. I can see them when I run balena devices for example. But they always show up as offline, and are basically inaccessible.
I’ve read a couple other threads where this seems to be about the server’s self-signed certificates, and that there may have been a recent release that fixes this. I’ve stopped my server and confirmed my clone is current with the master branch, and then restarted the server, but same result. If this issue was resolved with the recent release, are there special steps to take to ensure my server functions as expected? Maybe I’m missing something.
If others have had success getting devices to show up as connected, can ssh to them, and push releases, did you encounter this issue? and if so did you find a workaround?
Hi @critzo thanks for the feedback. The devices showing offline and disabled SSH access is something we are aware of and are currently working to solve.
Despite the device showing as offline you should still be able to create applications and push releases, let me know if this works for you.
@duncan that sounds like you might be running an outdated openBalena installation – the fix involved changes to the backend as well. You’ll need to git pull and then ./scripts/compose pull to get the latest.
If you do run the latest however, you can check VPN and API service logs with ./scripts/compose exec SERVICE_NAME journalctl -fn100 and see if there are any pointers as to what might be going wrong. Please do post them here if so.
Yes. I have a single Raspberry Pi 3 B device running a development version of 2.29.2+rev1 and I can successfully push from balena-cli, but it appears offline and is on my local network at home.
Thanks, I will run through those when I get home later in the day and I will let you know!
Jan 22 16:04:06 8c2d7b1 openvpn[1131]: Tue Jan 22 16:04:06 2019 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Jan 22 16:04:06 8c2d7b1 openvpn[1131]: Tue Jan 22 16:04:06 2019 Restart pause, 120 second(s)
I don’t know why is that, but it seems it just can’t connect to the server. How did you configure DNS? Can you reprovision the device on a new application with no pushed code and see if the device gets online eventually?