Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9905

Closed
Open
Created Dec 13, 2015 by Administrator@rootOwner

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

Assignee
Assign to
Time tracking