August 2019
Beginner
608 pages
16h 7m
English
Fetch the Gitaly source with Git and compile with Go:
$ sudo -u git -H bundle exec rake "gitlab:gitaly:install[/home/git/gitaly,/home/git/repositories]" RAILS_ENV=production
Restrict Gitaly socket access:
$ sudo chmod 0700 /home/git/gitlab/tmp/sockets/private$ sudo chown git /home/git/gitlab/tmp/sockets/private
Make sure Gitaly is started:
$ sudo -u git bash -c "/home/git/gitlab/bin/daemon_with_pidfile /home/git/gitlab/tmp/pids//gitaly.pid /home/git/gitaly/gitaly /home/git/gitaly/config.toml >> /home/git/gitlab/log/gitaly.log 2>&1 &"
Take a look at /home/git/gitlab/log/gitaly.log for errors and check whether Gitaly processes are in the ps aux process list. It should run.
Read now
Unlock full access