I previously was getting logs consistently back from my Raspberry Pi 3 B+ running the resin node image. All that runs onboard is an express server.
Suddenly I no longer get any logs. If I use strace and attach to the PID of the process, then I can see the logs - but they are not being shown on the balena dashboard for the device. I’ve tried various solutions but nothing works. Any help is appreciated!
@freako987 -update- I have just updated the 7th device through the balenaCloud interface to the HOST OS VERSION balenaOS 2.29.2+rev2 and SUPERVISOR VERSION 9.0.1
It took around 15 minutes to complete the upgrade and rebooted at the finish…
The device is now showing logs in the ‘Log’ window as per the rest.
Doesn’t actually make any sense as the other 6 devices are running the original older host OS and Supervisor version and they still report home ok…
On this occasion though this update appears to have kicked this unit into life again.
Confused!
09.02.19 21:11:08 (+0000) main Feb 09 21:11:08 dc88858 python[222]: Sleeping for 10
09.02.19 21:11:18 (+0000) main Feb 09 21:11:18 dc88858 python[222]: Showing asset 2.png (image)
09.02.19 21:11:18 (+0000) main Feb 09 21:11:18 dc88858 python[222]: Sleeping for 10
09.02.19 21:11:28 (+0000) main Feb 09 21:11:28 dc88858 python[222]: Showing asset 5.png (image)
09.02.19 21:11:28 (+0000) main Feb 09 21:11:28 dc88858 python[222]: Sleeping for 10
Thanks for the response! The device is not on on the majority of the time (it controls an LED strip, I hope to post about the project once its finished). I could leave it on for an extended period after enabling support access if that works best.
@freako987:
There was a change to the logging subsystem some time ago - updating to the newest image should help here - https://www.balena.io/docs/reference/OS/updates/self-service/ - that would be the easiest fix here. In addition, for paying customers we offer on-device supervisor updates if they cannot update the whole image for some reasons.
@devsterp - how is it going now - do you see logs from every device now ?