Thanks, @nazrhom. I’ve been doing some more testing and it seems like sometimes I get the following response, even when nothing has been updated:
{'api_port': 48484, 'ip_address': '192.168.0.140', 'os_version': 'balenaOS 2.50.1+rev1', 'supervisor_version': '11.4.10', 'update_pending': True, 'update_failed': True, 'update_downloaded': False, 'status': 'Installed', 'download_progress': None}
For the last hour or so I’ve been changing some stuff in the shared volume and restarting services/rebooting the device. I haven’t done any release builds, changed the device’s pinned release, or anything like that at all. Sometimes, but not every time, when I power cycle the device the supervisor comes back with the above status indicating that an update is pending. Restarting the service does not change the status. If I power cycle the device again, on the other hand, it seems to clear this condition maybe half or more of the time.
It seems like I can replicate this condition if I first restart the service manually at least once and let it come up to steady state before power cycling the device, though it’s hard to tell if there’s a real correlation there.
There’s nothing I can see in the host OS journal that would explain why it’s saying there’s an update pending. Any ideas?