You are not logged in.
Pages: 1
I followed the GitLab setup guide on the wiki but after finishing and running the check command:
sudo -u gitlab bundle exec rake gitlab:check RAILS_ENV=productionI get this as part of the output:
Check GitLab API access: FAILED: Failed to connect to internal API
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u gitlab -H editor /usr/share/webapps/gitlab-shell/config.yml
Please fix the error above and rerun the checks.Following the error message I used systemctl to see if the gitlab services were running (sidekiq and unicorn) and both were. Is there maybe another service I need to start?
I should mention that I felt comfortable with everything during the setup other than when I modifying /etc/webapps/gitlab/gitlab.yml I was told to set the hostname with a FQDN but for now I just want to access it over my LAN so I tried both leaving it as localhost and changing it to my server's hostname, neither or which passed the checks.
If it isn't as simple as not having a service turned on, I think I've probably just messed up the configuration files. Can anyone offer a clearer walkthrough of how to configure everything?
Thanks in advance.
EDIT:
So I got it to pass the checks by changing some configuration values but it appears I can only access gitlab from localhost. Is there a guide on how to configure it to allow LAN access?
EDIT:
To fix I set gitlab_url in /etc/webapps/gitlab-shell/config to my private IP, then went into /etc/webapps/gitlab/unicorn.rb and set it to listen on that private ip instead of 127.0.0.1.
Last edited by valevalorin (2015-10-16 13:26:33)
Offline
Pages: 1