[9.4.3-ce.0] Upgrade pg-upgrade fail on Ubuntu 16
I have this erron on pg-upgrade:
Recipe: gitlab::gitlab-rails
-
directory[/var/log/gitlab] action create (up to date)
-
ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
-
ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
-
ruby_block[directory resource: true] action run
run
on resource 'ruby_block[directory resource: true]'no implicit conversion of true into String
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:42:in
expand_path' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:42:in
ensure_directory_exists' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:29:in `block (3 levels) in from_file'26: ruby_block "directory resource: #{params[:path]}" do 27: block do 28: # Ensure the directory exists 29: storage_helper.ensure_directory_exists(params[:path]) 30: 31: # Ensure the permissions are set 32: storage_helper.ensure_permissions_set(params[:path]) 33: 34: # Error out if we have not achieved the target permissions 35: storage_helper.validate!(params[:path]) 36: end 37: not_if { storage_helper.validate(params[:path]) } 38: end 39: end
ruby_block("directory resource: true") do params {:path=>true, :owner=>"git", :group=>nil, :mode=>"0700", :name=>true} action [:run] retries 0 retry_delay 2 default_guard_interpreter :default block_name "directory resource: true" declared_type :ruby_block cookbook_name "gitlab" recipe_name "gitlab-rails" block #Proc:0x00000002497788@/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:27 not_if { #code block } end
x86_64-linux