


You try one after the other but probably forget to uninstall them or just leave them, even if they’re not that great. I was able to reclaim about 4.It’s easy to get carried away when you see so many fun apps on Google Play. I then purge all unused, stopped or dangling images

Sudo find / -type f -size +10M -exec ls -lh Īs you can see from the screenshot, it turns of that unused and docker related containers are the source I tried to figure out which files are consuming my storage the most using I followed those steps to solve my issue, In my case, I have an app with nginx, postgresql and gunicorn all containerized. Error!Į: Write error - write (28: No space left on device)Į: The package lists or status file could not be parsed or opened.Īny help to free up space and get the server running again will be greatly appreciated. Lastly, I ran sudo apt-get clean sudo apt-get autoclean and it gave me the following errors: Reading package lists. I ran sudo dpkg -configure -a and got pkg: error: failed to write status database record about 'libexpat1-dev:amd64' to '/var/lib/dpkg/status': No space left on device I tried to free up the space by running sudo apt-get autoremove and it gave me E: dpkg was interrupted, you must manually run 'sudo dpkg -configure -a' to correct the problem. I have no idea why there is no more space, or what caused it but df -h gives the following output: Filesystem Size Used Avail Use% Mounted on When I run sudo apt-get update I get a long list of errors but the main one that stood out was E: Write error - write (28: No space left on device)

Furthermore, when trying to reach Jenkins I'm getting 502 Bad Gateway. There is no more space available to do updates, and every command I try to free up space doesn't work. I have an Ubuntu ec2 instance running nginx and Jenkins.
