My Discourse dev environment (ubuntu VM) is running out of disk space, despite doubling the VM’s disk size to 24GB last week. Do I need to manually delete old versions of Discourse or run a cleanup script or something? I can’t think of why else I’d be running out of disk space again since my instance of Discourse only has two users and a couple dozen posts.
Probably log files,
rm -fr tmp/*
You can run
ncdu to find where all the space is (
apt-get install ncdu)
Looks like the
tmp folder under
discourse doesn’t have that much.
discourse folder apparently only has 1.2GB. Is anything for Discourse stored elsewhere that I can check directly so I don’t have to wait scanning the whole drive?
Try cleaning up your Docker images and containers, if you’re using it:
Perfect, that’s what I needed!
Is there any particular reason you’re not saying
here? That seems like a much clearer, simpler piece of advice to give people?
In general this is totally right, but we don’t really have this helper on our dev docker path. We should certainly have a ‘d/cleanup’ for our dev docker setup, @riking maybe add that?
Lint appears to have flaked?
Sorry I missed that this was a dev question!