Discourse isn't starting

I recently run out of disk space and following this

my discourse isn’t even starting now… I have no idea what to do now and I need help ASAP

It’s a +2000 users community and I would like to fix it now.

This is the error I get when I try to start:

Unable to find image ‘local_discourse/app:latest’ locally
Pulling repository docker.io/local_discourse/app
Error: image local_discourse/app:latest not found

Did you do a rebuild after you cleared up the disk space problem?

Yes I did. The error I posted was shown at the end of the rebuild. I tried rebuilding again, with the same result

Please post the complete output of the command you ran.

Do you mean the whole output of rebuild command? That’s huge

1 Like

Yes, the whole output. Something is going badly wrong, and the problem could be anywhere in there.


This is what I can get from console after the rebuild is finished:

Looks like you’re still low on disk space:

Error response from daemon: ... no space left on device

What does your disk space look like:

administrator@proddiscourse:~$ df -h
administrator@proddiscourse:~# cd /var/discourse/
administrator@proddiscourse:/var/discourse# sudo du -h -d 1 |sort -h -r
Filesystem      Size  Used Avail Use% Mounted on
udev            1,9G     0  1,9G   0% /dev
tmpfs           386M   40M  347M  11% /run
/dev/vda1        20G   19G  1,2G  95% /
tmpfs           1,9G  4,0K  1,9G   1% /dev/shm
tmpfs           5,0M     0  5,0M   0% /run/lock
tmpfs           1,9G     0  1,9G   0% /sys/fs/cgroup
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           386M     0  386M   0% /run/user/0
/var/discourse# sudo du -h -d 1 |sort -h -r
3,2G    ./shared
3,2G    .
1,7M    ./.git
168K    ./image
108K    ./templates
24K     ./samples
12K     ./scripts
12K     ./containers
4,0K    ./cids
4,0K    ./bin

Please can someone help me?

Free up disk space…

How? I don’t know what to delete. Almost all disk space is consumed by discourse and docker

Follow this: