Hi all. I’m trying to install the latest omnibus build of gitlab-ce on CentOS 7 and running into issues.
The services all appear to start correctly with gitlab-ctl start, but when I try to view the webpage, I get an immediate 502 error. gitlab-ctl tail shows the following error almost every second:
==> /var/log/gitlab/sidekiq/current <== 2015-08-10_23:28:34.43413 /opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/bundler-1.5.3/lib/bundler/resolver.rb:302:in `resolve': Could not find gem 'annotate (~> 2.6.0.beta2) ruby' in the gems available on this machine. ( Bundler::GemNotFound)
gitlab-ctl reconfigure runs without issue.
I’ve done /opt/gitlab/embedded/bin/gem install annotate, then ran gitlab-ctl reconfigure again, but got the same results.
Checking the nginx log, I see this:
2015/08/10 17:27:37 [crit] 4150#0: *1 connect() to unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket failed (2: No such file or directory) while connecting to upstream, client: w.x.y.z, server: git.example.com , request: "GET / HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket:/"
Certainly the aforementioned issue with the missing gem is creating issues.
Any suggestions? I’m not a Ruby guru, but perhaps you can point me in the right direction?