Hi All,
I am installing gitlab on ubuntu and almost at the end of completion i am getting below mentioned multiple errors. can you please let me know what could be the problem. please find the console output for ref
-
ruby_block[create certificate for xxxserver.com] action run
================================================================================ Error executing action `run` on resource 'ruby_block[create certificate for xxxserver.com]' ================================================================================ RuntimeError ------------ [xxxserver.com] Validation failed, unable to request certificate Cookbook Trace: --------------- /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:111:in `block (3 levels) in class_from_file' Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb 108: ruby_block "create certificate for #{new_resource.cn}" do # ~FC014 109: block do 110: unless (all_validations.map { |authz| authz.status == 'valid' }).all? 111: fail "[#{new_resource.cn}] Validation failed, unable to request certificate" 112: end 113: 114: begin 115: newcert = acme_cert(order, new_resource.cn, mykey, new_resource.alt_names) 116: rescue Acme::Client::Error => e 117: fail "[#{new_resource.cn}] Certificate request failed: #{e.message}" 118: else 119: Chef::Resource::File.new("#{new_resource.cn} SSL new crt", run_context).tap do |f| 120: f.path new_resource.crt 121: f.owner new_resource.owner 122: f.group new_resource.group 123: f.content newcert 124: f.mode 00644 125: end.run_action :create 126: end 127: end 128: end Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:108:in `block in class_from_file' ruby_block("create certificate for xxxserver.com") do action [:run] default_guard_interpreter :default declared_type :ruby_block cookbook_name "letsencrypt" block #<Proc:0x0000000005102570@/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:109> block_name "create certificate for xxxserver.com" end System Info: ------------ chef_version=14.13.11 platform=ubuntu platform_version=16.04 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
================================================================================
Error executing actioncreate
on resource ‘acme_certificate[staging]’RuntimeError
ruby_block[create certificate for xxxserver.com] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb line 108) had an error: RuntimeError: [xxxserver.com] Validation failed, unable to request certificate
Cookbook Trace:
/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:111:in `block (3 levels) in class_from_file’
Resource Declaration:
suppressed sensitive resource output
Compiled Resource:
suppressed sensitive resource output
System Info:
chef_version=14.13.11
platform=ubuntu
platform_version=16.04
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================================================================================
Error executing actioncreate
on resource ‘letsencrypt_certificate[xxxserver.com]’