My raspberrypi3 is stuck in “Online (VPN only)”, also /mnt/data is full.
I was able to resolve it thanks to these commands
Yes, those commands will recover the device, but will also delete any data written inside the app containers.
/mnt/data partition is shared between the application (for any use, in the form of named volumes) and balenaEngine for the purpose of storing application images and the data written inside by applications inside the container filesystem (e.g. data writing to the
/home folder inside app containers). If
/mnt/data gets completely full, it can unfortunately prevent balenaEngine from operating correctly and even from starting, which in turn could prevent applications and the balena supervisor from operating correctly or even starting.
So to recover the device, the first thing to do is free up some space in the
/mnt/data partition. If your application uses named volumes (e.g. if it writes files to the
/data folder as visible inside the app container), you will be able to see individual files (for selective deletion) in subfolders of
/mnt/data/docker/volumes/. For inspection, some other commands you can run are:
cd /mnt/data/docker find volumes du -hs *
Hi, yes. This issue is known to be fixed in version 2.50.4+rev1