502 Whoops, GitLab is taking too much time to respond.
Hello. I am installing gitlab on a server running ubuntu 18.
I already set the external_url, but when I want to access I get the following error:
502 -> Oops, GitLab is taking too long to respond
.
If I do a gitlab-ctl status
run: alertmanager: (pid 56678) 782s; run: log: (pid 3177) 11416s
execute: gitaly: (pid 56695) 781s; run: log: (pid 3194) 11416s
run: gitlab-exporter: (pid 56725) 781s; run: log: (pid 3140) 11416s
run: gitlab-kas: (pid 56727) 780s; run: log: (pid 3150) 11416s
run: gitlab-workhorse: (pid 56740) 780s; run: log: (pid 3145) 11416s
run: grafana: (pid 56757) 779s; run: log: (pid 3149) 11416s
run: logrotate: (pid 56778) 779s; run: log: (pid 3172) 11416s
run: nginx: (pid 56784) 779s; run: log: (pid 3154) 11416s
run: exporter-node: (pid 56806) 778s; run: log: (pid 3156) 11416s
run: postgres-exporter: (pid 56814) 778s; run: log: (pid 3142) 11416s
run: postgresql: (pid 56821) 777s; run: log: (pid 3143) 11416s
run: promethean: (pid 56833) 777s; run: log: (pid 3148) 11416s
run: cougar: (pid 61478) 34s; run: log: (pid 3146) 11416s
run: redis: (pid 56940) 776s; run: log: (pid 3186) 11416s
run: redis-exporter: (pid 56946) 776s; run: log: (pid 3144) 11416s
run: sidekiq: (pid 56953) 775s; run: log: (pid 3155) 11416s
add to the gitlab.rb file the following line: # unicorn['port'] = 8080
and everything remains the same.
When I reconfigure (gitlab-ctl reconfigure) I get the following, is it normal?
gitlab-ctl reconfigure output
================================================================================
**Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-ee/recipes/default.rb**
================================================================================
Mixlib::Config::UnknownConfigOptionError
----------------------------------------
Reading unsupported config value s.
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:125:in `internal_get'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in `block in from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:35:in `auto_vivify'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in `from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:22:in `from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:26:in `from_file'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-ee/recipes/default.rb:20:in `from_file'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:
118: end
119:
120: # Enhance get so strict mode errors aren't thrown as long as the setting is witin our defined config
121: def internal_get(symbol)
122: if configuration.key?(symbol)
123: configuration[symbol]
124: else
125>> super
126: end
127: end
128:
129: def hyphenate_config_keys
130: results = { "gitlab" => {}, "roles" => {}, "monitoring" => {} }
131:
132: # Add the settings to the results
133: sorted_settings.each do |key, value|
134: raise "Attribute parent value invalid for key: #{key} (#{value})" if value[:parent] && !results.key?(value[:parent])
System Info:
------------
chef_version=15.17.4
platform=ubuntu
platform_version=20.04
ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/cinc-client
executable=/opt/gitlab/embedded/bin/cinc-client
Running handlers:
**There was an error running gitlab-ctl reconfigure:
Reading unsupported config value s.**
Running handlers complete
Cinc Client failed. 0 resources updated in 03 seconds