[root@localhost gitlab]
Starting Chef Infra Client, version 15.14.0
resolving cookbooks
for
run list: [
"gitlab"
]
Synchronizing Cookbooks:
- gitlab (0.0.1)
- package (0.1.0)
- logrotate (0.0.0)
- postgresql (0.1.0)
- redis (0.1.0)
- registry (0.1.0)
- gitaly (0.1.0)
- praefect (0.1.0)
- monitoring (0.1.0)
- mattermost (0.1.0)
- gitlab-kas (0.1.0)
- consul (0.1.0)
- nginx (0.1.0)
- gitlab-pages (0.1.0)
- runit (5.1.3)
- letsencrypt (0.1.0)
- acme (4.1.1)
- crond (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
================================================================================
Recipe Compile Error
in
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default
.rb
================================================================================
SyntaxError
-----------
/etc/gitlab/gitlab
.rb:1311: unknown regexp options - gtlab
...nx[
'ssl_dhparam'
] =
/etc/gitlab/dhparams
.pem
... ^~~~~~~
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper
.rb:106:
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:106:
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'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper
.rb:
99:
100: def from_file(_file_path)
101:
102: config_strict_mode
true
103:
104: Gitlab::Deprecations::NodeAttribute.log_deprecations =
true
105:
106>> Gitlab::ConfigMash.auto_vivify { super }
107: ensure
108: config_strict_mode
false
109: Gitlab::Deprecations::NodeAttribute.log_deprecations =
false
110: end
111:
112:
113: def internal_set(symbol, value)
114:
if
configuration.key?(symbol)
115: configuration[symbol] = value
System Info:
------------
chef_version=15.14.0
platform=centos
platform_version=7.9.2009
ruby=ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [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:
/etc/gitlab/gitlab
.rb:1311: unknown regexp options - gtlab
...nx[
'ssl_dhparam'
] =
/etc/gitlab/dhparams
.pem
... ^~~~~~~
Running handlers complete
Chef Infra Client failed. 0 resources updated
in
02 seconds