Compiling gitlab-workhorse throws the error No space left on device
Created by: spritle
We are trying to upgrade from 8.1 to 8.2 and when I was on Step: 5. Replace gitlab-git-http-server with gitlab-workhorse "sudo -u git -H make" throws the error "no space left on device"
git@gitlabhq:~/gitlab-workhorse$ sudo -u git -H make
go build -ldflags "-X main.Version 0.4.2-20151213.131422" -o gitlab-workhorse
# _/home/git/gitlab-workhorse
link: warning: option -X main.Version 0.4.2-20151213.131422 may not work in future releases; use -X main.Version=0.4.2-20151213.131422
/usr/local/go/pkg/tool/linux_amd64/link: flushing $WORK/_/home/git/gitlab-workhorse/_obj/exe/a.out:
write $WORK/_/home/git/gitlab-workhorse/_obj/exe/a.out: no space left on device
make: *** [gitlab-workhorse] Error 2
The server got 7GB space left.
git@gitlabhq:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda 20G 12G 7.0G 63% /
udev 487M 4.0K 487M 1% /dev
tmpfs 100M 236K 100M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 498M 0 498M 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 0 1.0M 0% /tmp
Please assist