A user, jshockley, reports that their self-hosted Discourse forum on GCP (Ubuntu 18.04) is consuming 18GB of disk space despite minimal usage (only 3 users, 27MB uploads, 190MB backups). They’ve tried ./launcher cleanup with no space reclaimed and face upgrade failures due to low disk space. Falco suggests cleaning old Docker images, but jshockley confirms zero space recovered. Falco asks about Snap packages, which jshockley is unfamiliar with. pfaffman notes the root partition (/dev/sda1) has 11GB in use and advises regular ./launcher cleanup after rebuilds. jshockley reports manually running apt-get cleanup commands to free space before rebuilding, suspecting the issue lies more with the Ubuntu system than Discourse itself. pfaffman notes that even Digital Ocean’s 1GB droplet has 25GB disk, which is usually sufficient for small forums. jshockley reiterates that their other, more active forum runs fine on a smaller disk, suggesting this VM’s Linux setup is misconfigured or bloated. They consider resizing the GCP disk, though it’s not trivial.
Hello. I’m constantly getting low free space issue with my forum that has only 3 users and barely any files uploaded.
I’ve run the cleanup and docker cleanup but as you can see we have only 190mb of backups and 27mb of uploads. The disc in use 18GB. How can we be taking up so much space? It causes upgrades to not run and doesn’t make sense.
Self-hosted on GCP with Ubuntu 1804 Bionic OS.
Any thoughts on how to control the system from bloating or possible over-caching issues filling up our install?
Thanks Jay. I have tried all of the above and when I run cleanup I get 0mb recovered. Further the error during rebuild app says I have less than 5GB of space which also wasn’t accurate.
I had to run a bunch of Linux cleanup commands to recover space “apt-get” commands then I was able to run the launcher rebuild.
I’m guessing this has more to do with my Unbuntu version and health than discourse directly.
Digital Ocean’s 1GB droplet has 25GB of disk, which is usually enough not to cause immediate problems for a small forum. But even then it’s easy to fill the disk with a few backups.
We are a micro forum for in house use only. 27mb of uploads and only 198mb of backups. 18GB disc shoudl be more than engough but the Linux setup was filling up. I can increase the disc size all though it’s not trivial on Google Cloud as I’ve had to do this before.
We have another forum with far more data and users on a smaller disc that is running just fine. Something got wonky on this install/virtual machine.