You have less than 5GB of free space on the disk. You will need more space to continue

Docker version 17.06.0-ce, build 02c1d87

> root@vps439337:/var/discourse# ./launcher start app --skip-prereqis
You have less than 5GB of free space on the disk. You will need more space to continue

Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)y
WARNING! This will remove:
        - all stopped containers
        - all volumes not used by at least one container
        - all networks not used by at least one container
        - all dangling images
Are you sure you want to continue? [y/N]
If the cleanup was successful, you may try again now

root@vps439337:/var/discourse# df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
udev              990456       0    990456   0% /dev
tmpfs             199916    3180    196736   2% /run
/dev/vda1       10098468 5266100   4815984  53% /
tmpfs             999560       0    999560   0% /dev/shm
tmpfs               5120       0      5120   0% /run/lock
tmpfs             999560       0    999560   0% /sys/fs/cgroup
tmpfs             199916       0    199916   0% /run/user/0
root@vps439337:/var/discourse#

So… add more disk space? 10gb is going to be very tight with rebuilds. Even a digital ocean $10/month droplet has 30gb.

1 Like

hello Jeff,

I have a VPS from OVH(SSD 1), it’s seems like easier to install Discourse at DigitalOcean.
When i skip the error, i have this message, is it normal ? are they sure ton install correctly and fastly Discourse with DigitalOcean cloud server ?

Thanx in advance, i’am totally newbie

root@vps439337:/var/discourse# ./launcher start app --skip-prereqs

/usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=produ                        ction -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZ                        E=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=40000                        0 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/pos                        tgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_HOSTNAME=51.xxx                        .199.189 -e DISCOURSE_DEVELOPER_EMAILS=xxxxxx@gmail.com -e DISCOURSE_SMTP_ADD                        RESS=smtp.elasticemail.com -e DISCOURSE_SMTP_PORT=2525 -e DISCOURSE_SMTP_USER_NA                        ME=xxxxx@gmail.com -e DISCOURSE_SMTP_PASSWORD=xxxxxxx -h vps439337-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 4                        43:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/stan                        dalone/log/var-log:/var/log --mac-address 02:0f:d2:b2:46:cd local_discourse/app                         /sbin/boot
Unable to find image 'local_discourse/app:latest' locally
Pulling repository docker.io/local_discourse/app
/usr/bin/docker: Error: image local_discourse/app:latest not found.
See '/usr/bin/docker run --help'.
root@vps439337:/var/discourse#

I don’t know if the problem you’re having is similar to the one I had, but this got me past my “space” problem.

https://meta.discourse.org/t/upgrade-memory-and-image-problems/66977/5?u=mittineague

1 Like

I ran through the exact same problem as @AHI and just upgraded the VPS for more disk space. Glad to see this can now be avoided :slight_smile:

Salut @_vincent, oui mais bon, je trouve que les offres DigitalOcean sont meilleur qu’OVH… T’as pris quel offre toi ?

@AHI Go to DigitalOcean

Yo @NotAfk, I upgraded from the 3.5€/mo VPS SSD 1 to the 7€/mo VPS SSD 2.

1 Like

For anyone else looking for a quick way to free some disk space, I freed up about 4GB by cleaning up old linux kernel headers:

sudo apt install byobu
sudo purge-old-kernel