请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

gitlab-ctl reconfigure报错

以下是报错信息

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

Mixlib::Config::UnknownConfigOptionError

Reading unsupported config value ture.

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:inblock 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:infrom_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:infrom_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=centos
platform_version=7.5.1804
ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [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 ture.

Running handlers complete
Chef Infra Client failed. 0 resources updated in 04 seconds

正在回答 回答被采纳积分+3

1回答

一路向北 2021-12-24 17:24:47

具体上下文提供一下

0 回复 有任何疑惑可以回复我~
  • 提问者 命中注定i #1
    Starting Chef Infra Client, version 15.17.4
    resolving cookbooks for run list: ["gitlab"]
    Synchronizing Cookbooks:
      - gitlab (0.0.1)
      - package (0.1.0)
      - logrotate (0.1.0)
      - postgresql (0.1.0)
      - monitoring (0.1.0)
      - registry (0.1.0)
      - mattermost (0.1.0)
      - consul (0.1.0)
      - gitaly (0.1.0)
      - praefect (0.1.0)
      - gitlab-kas (0.1.0)
      - gitlab-pages (0.1.0)
      - letsencrypt (0.1.0)
      - nginx (0.1.0)
      - runit (5.1.3)
      - acme (4.1.4)
      - crond (0.1.0)
      - redis (0.1.0)
    Installing Cookbook Gems:
    Compiling Cookbooks... 
    
    这是上文  没有下文 下文就是提问的最后一行了
    回复 有任何疑惑可以回复我~ 2021-12-24 17:27:00
  • 具体找客服加一下视频qq群详聊
    回复 有任何疑惑可以回复我~ 2021-12-24 17:36:07
  • 提问者 命中注定i 回复 一路向北 #3
    好的 , 我已在群里提问 谢谢
    回复 有任何疑惑可以回复我~ 2021-12-24 17:42:37
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信