Supervisor restarts every 24 hours

I’m seeing some strange behavior on our rpi3 devices.
Every 24 hours the logs show “Supervisor starting” and then a repeat of the most recent service log entry.

I checked 10+ devices and they’re all having the same issue.
Device: rpi3 (3 B 1.2 and 3 B+)
OS: balenaOS 2.51.1+rev1
Supervisor: 11.4.10

There are also rpi 2 devices on the same app and they’re not having the issue.

Logs:

15.06.20 10:13:31 (-0400) <wpe> Cog-Message: <https://REDACTED> Loaded successfully.
15.06.20 10:27:26 (-0400) Supervisor starting
15.06.20 10:13:31 (-0400) <wpe> Cog-Message: <https://REDACTED> Loaded successfully.
16.06.20 10:27:45 (-0400) Supervisor starting
15.06.20 10:13:31 (-0400) <wpe> Cog-Message: <https://REDACTED> Loaded successfully.
17.06.20 10:27:58 (-0400) Supervisor starting
15.06.20 10:13:31 (-0400) <wpe> Cog-Message: <https://REDACTED> Loaded successfully.

Hi @nick.slocum,

Thanks for reporting this issue. I believe the underlying issue has already been fixed upstream (https://github.com/balena-os/meta-balena/pull/1917). That should be available in balenaOS v2.51.3 and above, though those have yet to make it to production. We will update you when that’s released for your Raspberry Pi 3 device type.

Just to confirm, what version of balenaOS are you running on the Raspberry Pi 2 devices?

Thanks for the update

The Raspberry Pi 2 devices are running:
OS: balenaOS 2.48.0+rev1
Supervisor: 10.8.0

Great, thanks for getting back to me. That lines up with my theory of what is causing the restarts, as the problematic change was introduced in balenaOS 2.49.0+rev1.

Hi Nick, we just closed out a GitHub issue that triggered an update to this thread, and wanted to inform you that balenaOS v2.51.3 did in fact get released, which should resolve the “Supervisor starting” issue you were experiencing. Thanks!