nstemp
November 22, 2016, 12:19am
1
I recently run out of disk space and following this
https://meta.discourse.org/t/var-lib-docker-aufs-diff-increasing-in-size/31438/13
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
mpalmer
(Matt Palmer)
November 22, 2016, 12:21am
2
Did you do a rebuild after you cleared up the disk space problem?
nstemp
November 22, 2016, 12:26am
3
Yes I did. The error I posted was shown at the end of the rebuild. I tried rebuilding again, with the same result
mpalmer
(Matt Palmer)
November 22, 2016, 12:32am
4
Please post the complete output of the command you ran.
nstemp
November 22, 2016, 12:35am
5
Do you mean the whole output of rebuild command? That’s huge
1 Like
mpalmer
(Matt Palmer)
November 22, 2016, 12:36am
6
Yes, the whole output. Something is going badly wrong, and the problem could be anywhere in there.
2 Likes
nstemp
November 22, 2016, 9:51am
7
This is what I can get from console after the rebuild is finished:
http://pastebin.com/jfk07HWP
wesochuck
(Wes Osborn)
November 22, 2016, 1:47pm
8
Looks like you’re still low on disk space:
Error response from daemon: ... no space left on device
FAILED TO COMMIT
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
2 Likes
nstemp
November 22, 2016, 2:31pm
9
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
nstemp
November 22, 2016, 7:48pm
10
Please can someone help me?
nstemp
November 22, 2016, 8:07pm
12
How? I don’t know what to delete. Almost all disk space is consumed by discourse and docker