How do I fix this trouble?

gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:

sudo gitlab-ctl reconfigure

gitlab: GitLab should be reachable at
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
It looks like GitLab has not been configured yet; skipping the upgrade script.
root@debian:~# gitlab-ctl reconfigure
Starting Chef Client, version 12.12.15
resolving cookbooks for run list: [“gitlab”]
Synchronizing Cookbooks:

  • package (0.0.0)
  • gitlab (0.0.1)
  • runit (0.14.2)
    Installing Cookbook Gems:
    Compiling Cookbooks…
    Recipe: gitlab::default
  • directory[/etc/gitlab] action create (up to date)

Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb


GitLab external URL must include a schema and FQDN, e.g.

Cookbook Trace:

/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab_rails.rb:41:in `parse_external_url'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab_rails.rb:23:in `parse_variables'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/gitlab.rb:191:in `generate_config'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:37:in `from_file'

Relevant File Content:


35: def parse_external_url
36: return unless Gitlab[‘external_url’]
38: uri = URI(Gitlab[‘external_url’].to_s)
40: unless
41>> raise “GitLab external URL must include a schema and FQDN, e.g.
42: end
43: Gitlab[‘user’][‘git_user_email’] ||= “gitlab@#{}”
44: Gitlab[‘gitlab_rails’][‘gitlab_host’] =
45: Gitlab[‘gitlab_rails’][‘gitlab_email_from’] ||= “gitlab@#{}”
47: case uri.scheme
48: when “http”
49: Gitlab[‘gitlab_rails’][‘gitlab_https’] = false
50: Nginx.parse_proxy_headers(‘nginx’, false)



Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 07 seconds

If you want help you might want to the contents of your /etc/gtlab/gitlab/rb file or at the very least the external_url line from that file.