I set up a fresh CentOS 6.6 install and used the Omniubus installer for the CE of Gitlab.
When running gitlab-ctl reconfigure I get the following errors:
================================================================================ Recipe Compile Error in /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb ================================================================================ RuntimeError ------------ External URL must include a FQDN Cookbook Trace: --------------- /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb:95:in `parse_external_url' /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb:191:in `generate_config' /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:34:in `from_file' Relevant File Content: ---------------------- /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb: 88: 89: def parse_external_url 90: return unless external_url 91: 92: uri = URI(external_url.to_s) 93: 94: unless uri.host 95>> raise "External URL must include a FQDN" 96: end 97: Gitlab['user']['git_user_email'] ||= "gitlab@#{uri.host}" 98: Gitlab['gitlab_rails']['gitlab_host'] = uri.host 99: Gitlab['gitlab_rails']['gitlab_email_from'] ||= "gitlab@#{uri.host}" 100: 101: case uri.scheme 102: when "http" 103: Gitlab['gitlab_rails']['gitlab_https'] = false 104: when "https" The FQDN of the server is correctly set, I have an external IP. DNS is configured for the FQDN to point at my external IP.
Here's the contents of my /etc/gitlab/gitlab.rb in case that is useful:
# Check and change the external_url to the address your users will type in their browser external_url 'gitlab.thefallenphoenix.net' gitlab_rails['gitlab_email_from'] = '[email protected]'