I’m trying to set up the Balena.io National Rail sign project on my Raspberry Pi 4, and I keep hitting the above error on first download-from-cloud device setup. Log snippets below:
My Raspberry Pi 4 is connected to Ethernet, but it does the same over wifi as well, with refreshed SD card images on each occasion. It gets to anywhere between 20 and 60 percent complete before I get a ECONNREFUSED error. Does anyone have any advice?
I’ve granted 12 hours of support access for UDID 4dbdad259c01df1443125fa0ac23e27b. I’m new to balena so I’ve probably noobed it up somewhere…
Hi there, looking at the device diagnostics log, it would appear this device has issues with slow/corrupted SD card. Do you have another SD card you could try to re-provision with?
I’ve had a look at the logs and can see that balena-engine is continually restarting. I’ve pinged our balena-engine team to look into this further.
Do you have other devices running the same application and the same version of OS without any issues?
Hello @ajlennon
It seems that the application has filled the /mnt/data partition completely which is preventing balena-engine from starting. The /mnt/data/docker/volumes/1819046_media/ contains most of the data. Try clearing the contents of this volume, after backing it up as necessary, and see whether the device will then run normally.
Doh! I wish I had thought of that. Didn’t think it would fill up so quickly! Thanks very point for pointing it out to me.
A comment I would make is that overloading CPU or memory is always a cause of unexpected failure. It would be very good if the Balena framework could protect us from ourselves when we get these things wrong