Hi there! Pretty new here. I have an issue where I can’t deploy to my raspberry pi 4 anymore. Services are stuck at previous versions and exited, can’t restart them, and after logging in to the remote host and looking around I found that the Balena Engine is not running. When I tried restarting it manually, I got: Error starting daemon: failed to get temp dir to generate runtime scripts: mkdir /var/lib/docker/gen-runtimes865678124: no space left on device
Hello, the device UUID is perfectly fine to share in public. Just a question: are you trying to deploy a very big release to this device, according to the df -h output above you should have around 4,5G of free space
We’ve had a look at the device in question. There is more than enough space on the data partition, which is where the /var/lib/docker directory is mapped, and the error seems to suggest that it’s trying to map this directory to the RO root rather than the data partition. Having had a look at the diagnostics for the device, it also shows very slow media access. It’s possible that this is down to a corrupt SD card, which would also explain the strange disk space/mapping error. What kind of SD card is this? We generally recommend the SanDisk Extreme Pro range, as we’ve tested this heavily and they show the best results for the Pi series.
It might be well worth trying another SD card to see if this is the issue.
Thanks for looking into this! I’m using a Samsung card, but I have been using it for quite a while now, so it could be faulty. I will try another (newer and faster) Samsung to see if it works and report back.