Hi! I’m trying to upgrade gitlab to gitlab-ee-12.3.2. Update fails. During the execution of “gitlab-ctl reconfigure”, I get an compiling Cookbooks error …
=================================================== ================================
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-ee/recipes/default.rb
=================================================== ================================
Mixlib :: Config :: UnknownConfigOptionError
Reading unsupported config value peer.
Cookbook Trace:
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:125:in internal_get ' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in
block in from_file ’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:29:in auto_vivify ' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.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/helpers/settings_helper.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 = 14.13.11
platform = centos
platform_version = 7.7.1908
ruby = ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
program_name = / opt / gitlab / embedded / bin / chef-client
executable = / opt / gitlab / embedded / bin / chef-client
Running handlers:
There was an error running gitlab-ctl reconfigure:
Reading unsupported config value peer.
Gitlab-ctl status command
run: alertmanager: (pid 13441) 64399s; run: log: (pid 4553) 67662s
run: gitaly: (pid 13456) 64398s; run: log: (pid 4441) 67664s
down: gitlab-monitor: 1s, normally up, want up; run: log: (pid 4489) 67663s
run: gitlab-pages: (pid 13689) 64367s; run: log: (pid 4546) 67663s
run: gitlab-workhorse: (pid 13795) 64366s; run: log: (pid 4429) 67664s
run: grafana: (pid 13906) 64366s; run: log: (pid 4540) 67663s
run: logrotate: (pid 12356) 3153s; run: log: (pid 4431) 67664s
run: nginx: (pid 14089) 64365s; run: log: (pid 4433) 67664s
run: node-exporter: (pid 14106) 64365s; run: log: (pid 4453) 67664s
run: postgres-exporter: (pid 14233) 64364s; run: log: (pid 4463) 67664s
run: postgresql: (pid 14267) 64364s; run: log: (pid 4426) 67664s
run: prometheus: (pid 14288) 64363s; run: log: (pid 4432) 67664s
run: redis: (pid 14335) 64363s; run: log: (pid 4462) 67664s
run: redis-exporter: (pid 14340) 64363s; run: log: (pid 4475) 67663s
run: registry: (pid 14350) 64362s; run: log: (pid 4442) 67664s
run: sidekiq: (pid 14361) 64362s; run: log: (pid 4430) 67664s
run: unicorn: (pid 14368) 64361s; run: log: (pid 4445) 67664s
Please tell me which way to go to solve the problem