My YunoHost server
Hardware: vm virtualbox
YunoHost version: 3.7.1.1
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:
Description of my issue
Gitlab install script error(log under here.Some chinese inside.Please translate by yourself.)
2020-04-18 16:15:12,104: DEBUG - * account[GitLab user and group] action create
2020-04-18 16:15:16,138: DEBUG - * group[GitLab user and group] action create
2020-04-18 16:15:16,138: DEBUG - e[32m- create group gite[0m
2020-04-18 16:15:20,065: DEBUG - e[0m * linux_user[GitLab user and group] action create
2020-04-18 16:15:20,066: DEBUG - e[32m- create user gite[0m
2020-04-18 16:15:20,066: DEBUG - e[0m
2020-04-18 16:15:20,067: DEBUG - e[0m * template[/var/opt/gitlab/.gitconfig] action create
2020-04-18 16:15:20,067: DEBUG - e[32m- create new file /var/opt/gitlab/.gitconfige[0m
2020-04-18 16:15:20,067: DEBUG - e[32m- update content in file /var/opt/gitlab/.gitconfig from none to 3a9aece[0m
2020-04-18 16:15:20,068: DEBUG - e[37m--- /var/opt/gitlab/.gitconfig 2020-04-18 16:15:20.024747950 +0800e[0m
2020-04-18 16:15:20,068: DEBUG - e[37m+++ /var/opt/gitlab/.chef-.gitconfig20200418-32638-1pburd9.gitconfig 2020-04-18 16:15:20.024747950 +0800e[0m
2020-04-18 16:15:20,069: DEBUG - e[37m@@ -1 +1,14 @@e[0m
2020-04-18 16:15:20,069: DEBUG - e[37m+# This file is managed by gitlab-ctl. Manual changes will bee[0m
2020-04-18 16:15:20,070: DEBUG - e[37m+# erased! To change the contents below, edit /etc/gitlab/gitlab.rbe[0m
2020-04-18 16:15:20,070: DEBUG - e[37m+# and run `sudo gitlab-ctl reconfigure`.e[0m
2020-04-18 16:15:20,071: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,071: DEBUG - e[37m+[user]e[0m
2020-04-18 16:15:20,071: DEBUG - e[37m+ name = GitLabe[0m
2020-04-18 16:15:20,072: DEBUG - e[37m+ email = gitlab@sl132.nohost.mee[0m
2020-04-18 16:15:20,072: DEBUG - e[37m+[core]e[0m
2020-04-18 16:15:20,072: DEBUG - e[37m+ autocrlf = inpute[0m
2020-04-18 16:15:20,072: DEBUG - e[37m+ alternateRefsCommand="exit 0 #"e[0m
2020-04-18 16:15:20,072: DEBUG - e[37m+ fsyncObjectFiles = truee[0m
2020-04-18 16:15:20,073: DEBUG - e[37m+[gc]e[0m
2020-04-18 16:15:20,073: DEBUG - e[37m+ auto = 0e[0m
2020-04-18 16:15:20,073: DEBUG - e[32m- change mode from '' to '0644'e[0m
2020-04-18 16:15:20,073: DEBUG - e[32m- change owner from '' to 'git'e[0m
2020-04-18 16:15:20,074: DEBUG - e[32m- change group from '' to 'git'e[0m
2020-04-18 16:15:20,075: DEBUG - e[0m * directory[/var/opt/gitlab/.bundle] action create
2020-04-18 16:15:20,076: DEBUG - e[32m- create new directory /var/opt/gitlab/.bundlee[0m
2020-04-18 16:15:20,076: DEBUG - e[32m- change owner from '' to 'git'e[0m
2020-04-18 16:15:20,076: DEBUG - e[32m- change group from '' to 'git'e[0m
2020-04-18 16:15:20,076: DEBUG - e[0mRecipe: gitlab::gitlab-shelle[0m
2020-04-18 16:15:20,077: DEBUG - * storage_directory[/var/opt/gitlab/.ssh] action create
2020-04-18 16:15:20,379: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run
2020-04-18 16:15:20,379: DEBUG - e[32m- execute the ruby block directory resource: /var/opt/gitlab/.sshe[0m
2020-04-18 16:15:20,380: DEBUG - e[0m
2020-04-18 16:15:20,380: DEBUG - e[0m * directory[/var/log/gitlab/gitlab-shell/] action create
2020-04-18 16:15:20,482: DEBUG - e[32m- create new directory /var/log/gitlab/gitlab-shell/e[0m
2020-04-18 16:15:20,483: DEBUG - e[32m- change mode from '' to '0700'e[0m
2020-04-18 16:15:20,483: DEBUG - e[32m- change owner from '' to 'git'e[0m
2020-04-18 16:15:20,483: DEBUG - e[0m * directory[/var/opt/gitlab/gitlab-shell] action create
2020-04-18 16:15:20,483: DEBUG - e[32m- create new directory /var/opt/gitlab/gitlab-shelle[0m
2020-04-18 16:15:20,484: DEBUG - e[32m- change mode from '' to '0700'e[0m
2020-04-18 16:15:20,484: DEBUG - e[32m- change owner from '' to 'git'e[0m
2020-04-18 16:15:20,484: DEBUG - e[0m * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
2020-04-18 16:15:20,484: DEBUG - * template[/var/opt/gitlab/gitlab-shell/config.yml] action create
2020-04-18 16:15:20,485: DEBUG - e[32m- create new file /var/opt/gitlab/gitlab-shell/config.ymle[0m
2020-04-18 16:15:20,485: DEBUG - e[32m- update content in file /var/opt/gitlab/gitlab-shell/config.yml from none to 170f03e[0m
2020-04-18 16:15:20,485: DEBUG - e[37m--- /var/opt/gitlab/gitlab-shell/config.yml 2020-04-18 16:15:20.412750355 +0800e[0m
2020-04-18 16:15:20,485: DEBUG - e[37m+++ /var/opt/gitlab/gitlab-shell/.chef-config20200418-32638-w9yk1p.yml 2020-04-18 16:15:20.408750330 +0800e[0m
2020-04-18 16:15:20,486: DEBUG - e[37m@@ -1 +1,40 @@e[0m
2020-04-18 16:15:20,486: DEBUG - e[37m+# This file is managed by gitlab-ctl. Manual changes will bee[0m
2020-04-18 16:15:20,486: DEBUG - e[37m+# erased! To change the contents below, edit /etc/gitlab/gitlab.rbe[0m
2020-04-18 16:15:20,486: DEBUG - e[37m+# and run `sudo gitlab-ctl reconfigure`.e[0m
2020-04-18 16:15:20,490: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,490: DEBUG - e[37m+# GitLab user. git by defaulte[0m
2020-04-18 16:15:20,490: DEBUG - e[37m+user: gite[0m
2020-04-18 16:15:20,491: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,491: DEBUG - e[37m+# Url to gitlab instance. Used for api calls. Should end with a slash.e[0m
2020-04-18 16:15:20,491: DEBUG - e[37m+gitlab_url: "http://127.0.0.1:8081/git"e[0m
2020-04-18 16:15:20,491: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,492: DEBUG - e[37m+http_settings:e[0m
2020-04-18 16:15:20,492: DEBUG - e[37m+ e[0m
2020-04-18 16:15:20,492: DEBUG - e[37m+# user: someonee[0m
2020-04-18 16:15:20,492: DEBUG - e[37m+# password: somepasse[0m
2020-04-18 16:15:20,492: DEBUG - e[37m+# ca_file: /etc/ssl/cert.peme[0m
2020-04-18 16:15:20,493: DEBUG - e[37m+# ca_path: /etc/pki/tls/certse[0m
2020-04-18 16:15:20,493: DEBUG - e[37m+# self_signed_cert: falsee[0m
2020-04-18 16:15:20,493: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,494: DEBUG - e[37m+# File used as authorized_keys for gitlab usere[0m
2020-04-18 16:15:20,495: DEBUG - e[37m+auth_file: "/var/opt/gitlab/.ssh/authorized_keys"e[0m
2020-04-18 16:15:20,495: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,495: DEBUG - e[37m+# Log file.e[0m
2020-04-18 16:15:20,495: DEBUG - e[37m+# Default is gitlab-shell.log in the root directory.e[0m
2020-04-18 16:15:20,496: DEBUG - e[37m+log_file: "/var/log/gitlab/gitlab-shell/gitlab-shell.log"e[0m
2020-04-18 16:15:20,496: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,496: DEBUG - e[37m+# Log level. INFO by defaulte[0m
2020-04-18 16:15:20,496: DEBUG - e[37m+log_level: e[0m
2020-04-18 16:15:20,496: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,497: DEBUG - e[37m+log_format: jsone[0m
2020-04-18 16:15:20,497: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,497: DEBUG - e[37m+# Audit usernames.e[0m
2020-04-18 16:15:20,501: DEBUG - e[37m+# Set to true to see real usernames in the logs instead of key ids, which is easier to follow, bute[0m
2020-04-18 16:15:20,502: DEBUG - e[37m+# incurs an extra API call on every gitlab-shell command.e[0m
2020-04-18 16:15:20,502: DEBUG - e[37m+audit_usernames: e[0m
2020-04-18 16:15:20,502: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,503: DEBUG - e[37m+migration:e[0m
2020-04-18 16:15:20,503: DEBUG - e[37m+ {"enabled":true,"features":[]}e[0m
2020-04-18 16:15:20,503: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,503: DEBUG - e[37m+e[0m
2020-04-18 16:15:20,504: DEBUG - e[32m- change mode from '' to '0640'e[0m
2020-04-18 16:15:20,504: DEBUG - e[32m- change owner from '' to 'root'e[0m
2020-04-18 16:15:20,504: DEBUG - e[32m- change group from '' to 'git'e[0m
2020-04-18 16:15:20,504: DEBUG - e[0m * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create
2020-04-18 16:15:20,505: DEBUG - e[32m- create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.ymle[0m
2020-04-18 16:15:20,505: DEBUG - e[0m
2020-04-18 16:15:20,505: DEBUG - e[0m * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
2020-04-18 16:15:20,507: DEBUG - e[32m- create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secrete[0m
2020-04-18 16:15:20,508: DEBUG - e[0m * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing
2020-04-18 16:15:20,508: DEBUG - e[32m- create new file /var/opt/gitlab/.ssh/authorized_keyse[0m
2020-04-18 16:15:20,508: DEBUG - e[32m- change mode from '' to '0600'e[0m
2020-04-18 16:15:20,508: DEBUG - e[32m- change owner from '' to 'git'e[0m
2020-04-18 16:15:20,509: DEBUG - e[32m- change group from '' to 'git'e[0m
2020-04-18 16:15:20,509: DEBUG - e[0mRecipe: gitlab::gitlab-railse[0m
2020-04-18 16:15:20,509: DEBUG - * storage_directory[/var/opt/gitlab/git-data] action create
2020-04-18 16:15:20,712: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/git-data] action run
2020-04-18 16:15:20,813: DEBUG - e[32m- execute the ruby block directory resource: /var/opt/gitlab/git-datae[0m
2020-04-18 16:15:20,814: DEBUG - e[0m
2020-04-18 16:15:20,814: DEBUG - e[0m * storage_directory[/var/opt/gitlab/git-data/repositories] action create
2020-04-18 16:15:20,814: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run
2020-04-18 16:15:20,815: DEBUG - e[0m
2020-04-18 16:15:20,815: DEBUG - ================================================================================e[0m
2020-04-18 16:15:20,815: DEBUG - e[31mError executing action `run` on resource 'ruby_block[directory resource: /var/opt/gitlab/git-data/repositories]'e[0m
2020-04-18 16:15:20,815: DEBUG - ================================================================================e[0m
2020-04-18 16:15:20,816: DEBUG -
2020-04-18 16:15:20,816: DEBUG - e[0m Mixlib::ShellOut::ShellCommandFailede[0m
2020-04-18 16:15:20,816: DEBUG - ------------------------------------e[0m
2020-04-18 16:15:20,816: DEBUG - Expected process to exit with [0], but received '1'
2020-04-18 16:15:20,817: DEBUG - e[0m ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,817: DEBUG - e[0m STDOUT:
2020-04-18 16:15:20,918: DEBUG - e[0m STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:15:20,918: DEBUG - e[0m ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,918: DEBUG - e[0m Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1e[0m
2020-04-18 16:15:20,919: DEBUG -
2020-04-18 16:15:20,919: DEBUG - e[0m Cookbook Trace:e[0m
2020-04-18 16:15:20,919: DEBUG - ---------------e[0m
2020-04-18 16:15:20,919: DEBUG - /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
2020-04-18 16:15:20,920: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:42:in `ensure_directory_exists'
2020-04-18 16:15:20,920: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37:in `block (3 levels) in class_from_file'e[0m
2020-04-18 16:15:20,922: DEBUG -
2020-04-18 16:15:20,922: DEBUG - e[0m Resource Declaration:e[0m
2020-04-18 16:15:20,922: DEBUG - ---------------------e[0m
2020-04-18 16:15:20,923: DEBUG - # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb
2020-04-18 16:15:20,923: DEBUG - e[0m
2020-04-18 16:15:20,923: DEBUG - e[0m 34: ruby_block "directory resource: #{new_resource.path}" do
2020-04-18 16:15:20,924: DEBUG - e[0m 35: block do
2020-04-18 16:15:20,924: DEBUG - e[0m 36: # Ensure the directory exists
2020-04-18 16:15:20,924: DEBUG - e[0m 37: storage_helper.ensure_directory_exists(new_resource.path)
2020-04-18 16:15:20,924: DEBUG - e[0m 38:
2020-04-18 16:15:20,925: DEBUG - e[0m 39: # Ensure the permissions are set
2020-04-18 16:15:20,925: DEBUG - e[0m 40: storage_helper.ensure_permissions_set(new_resource.path)
2020-04-18 16:15:20,925: DEBUG - e[0m 41:
2020-04-18 16:15:20,925: DEBUG - e[0m 42: # Error out if we have not achieved the target permissions
2020-04-18 16:15:20,926: DEBUG - e[0m 43: storage_helper.validate!(new_resource.path)
2020-04-18 16:15:20,936: DEBUG - e[0m 44: end
2020-04-18 16:15:20,936: DEBUG - e[0m 45: not_if { storage_helper.validate(new_resource.path) }
2020-04-18 16:15:20,936: DEBUG - e[0m 46: end
2020-04-18 16:15:20,937: DEBUG - e[0m 47: end
2020-04-18 16:15:20,937: DEBUG - e[0m
2020-04-18 16:15:20,937: DEBUG - e[0m Compiled Resource:e[0m
2020-04-18 16:15:20,938: DEBUG - ------------------e[0m
2020-04-18 16:15:20,938: DEBUG - # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:34:in `block in class_from_file'
2020-04-18 16:15:20,938: DEBUG - e[0m
2020-04-18 16:15:20,939: DEBUG - e[0m ruby_block("directory resource: /var/opt/gitlab/git-data/repositories") do
2020-04-18 16:15:20,939: DEBUG - e[0m action [:run]
2020-04-18 16:15:20,939: DEBUG - e[0m default_guard_interpreter :default
2020-04-18 16:15:20,940: DEBUG - e[0m declared_type :ruby_block
2020-04-18 16:15:20,940: DEBUG - e[0m cookbook_name "gitlab"
2020-04-18 16:15:20,940: DEBUG - e[0m block #<Proc:0x0000563fd2507518@/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:35>
2020-04-18 16:15:20,941: DEBUG - e[0m block_name "directory resource: /var/opt/gitlab/git-data/repositories"
2020-04-18 16:15:20,941: DEBUG - e[0m not_if { #code block }
2020-04-18 16:15:20,941: DEBUG - e[0m end
2020-04-18 16:15:20,942: DEBUG - e[0m
2020-04-18 16:15:20,942: DEBUG - e[0m System Info:e[0m
2020-04-18 16:15:20,942: DEBUG - ------------e[0m
2020-04-18 16:15:20,943: DEBUG - chef_version=14.14.29
2020-04-18 16:15:20,943: DEBUG - e[0m platform=debian
2020-04-18 16:15:20,943: DEBUG - e[0m platform_version=9.12
2020-04-18 16:15:20,944: DEBUG - e[0m ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
2020-04-18 16:15:20,944: DEBUG - e[0m program_name=/opt/gitlab/embedded/bin/chef-client
2020-04-18 16:15:20,945: DEBUG - e[0m executable=/opt/gitlab/embedded/bin/chef-cliente[0m
2020-04-18 16:15:20,945: DEBUG -
2020-04-18 16:15:20,946: DEBUG - e[0m e[0m
2020-04-18 16:15:20,946: DEBUG - ================================================================================e[0m
2020-04-18 16:15:20,947: DEBUG - e[31mError executing action `create` on resource 'storage_directory[/var/opt/gitlab/git-data/repositories]'e[0m
2020-04-18 16:15:20,947: DEBUG - ================================================================================e[0m
2020-04-18 16:15:20,948: DEBUG -
2020-04-18 16:15:20,948: DEBUG - e[0m Mixlib::ShellOut::ShellCommandFailede[0m
2020-04-18 16:15:20,948: DEBUG - ------------------------------------e[0m
2020-04-18 16:15:20,956: DEBUG - ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
2020-04-18 16:15:20,958: DEBUG - e[0m ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,958: DEBUG - e[0m STDOUT:
2020-04-18 16:15:20,958: DEBUG - e[0m STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:15:20,959: DEBUG - e[0m ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,959: DEBUG - e[0m Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1e[0m
2020-04-18 16:15:20,960: DEBUG -
2020-04-18 16:15:20,960: DEBUG - e[0m Cookbook Trace:e[0m
2020-04-18 16:15:20,960: DEBUG - ---------------e[0m
2020-04-18 16:15:20,961: DEBUG - /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
2020-04-18 16:15:20,961: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:42:in `ensure_directory_exists'
2020-04-18 16:15:20,963: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37:in `block (3 levels) in class_from_file'e[0m
2020-04-18 16:15:20,964: DEBUG -
2020-04-18 16:15:20,964: DEBUG - e[0m Resource Declaration:e[0m
2020-04-18 16:15:20,964: DEBUG - ---------------------e[0m
2020-04-18 16:15:20,965: DEBUG - # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb
2020-04-18 16:15:20,967: DEBUG - e[0m
2020-04-18 16:15:20,967: DEBUG - e[0m 56: storage_directory repositories_storage['path'] do
2020-04-18 16:15:20,968: DEBUG - e[0m 57: owner gitlab_user
2020-04-18 16:15:20,968: DEBUG - e[0m 58: mode "2770"
2020-04-18 16:15:20,969: DEBUG - e[0m 59: end
2020-04-18 16:15:20,970: DEBUG - e[0m 60: end
2020-04-18 16:15:20,970: DEBUG - e[0m
2020-04-18 16:15:20,971: DEBUG - e[0m Compiled Resource:e[0m
2020-04-18 16:15:20,972: DEBUG - ------------------e[0m
2020-04-18 16:15:20,972: DEBUG - # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:56:in `block in from_file'
2020-04-18 16:15:20,973: DEBUG - e[0m
2020-04-18 16:15:20,973: DEBUG - e[0m storage_directory("/var/opt/gitlab/git-data/repositories") do
2020-04-18 16:15:20,974: DEBUG - e[0m action [:create]
2020-04-18 16:15:20,982: DEBUG - e[0m default_guard_interpreter :default
2020-04-18 16:15:20,983: DEBUG - e[0m declared_type :storage_directory
2020-04-18 16:15:20,983: DEBUG - e[0m cookbook_name "gitlab"
2020-04-18 16:15:20,983: DEBUG - e[0m recipe_name "gitlab-rails"
2020-04-18 16:15:20,984: DEBUG - e[0m owner "git"
2020-04-18 16:15:20,984: DEBUG - e[0m mode "2770"
2020-04-18 16:15:20,985: DEBUG - e[0m path "/var/opt/gitlab/git-data/repositories"
2020-04-18 16:15:20,985: DEBUG - e[0m end
2020-04-18 16:15:20,990: DEBUG - e[0m
2020-04-18 16:15:20,990: DEBUG - e[0m System Info:e[0m
2020-04-18 16:15:20,991: DEBUG - ------------e[0m
2020-04-18 16:15:20,991: DEBUG - chef_version=14.14.29
2020-04-18 16:15:20,991: DEBUG - e[0m platform=debian
2020-04-18 16:15:20,991: DEBUG - e[0m platform_version=9.12
2020-04-18 16:15:20,992: DEBUG - e[0m ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
2020-04-18 16:15:20,992: DEBUG - e[0m program_name=/opt/gitlab/embedded/bin/chef-client
2020-04-18 16:15:20,992: DEBUG - e[0m executable=/opt/gitlab/embedded/bin/chef-cliente[0m
2020-04-18 16:15:20,992: DEBUG -
2020-04-18 16:15:20,993: DEBUG - e[0me[0m
2020-04-18 16:15:20,993: DEBUG - Running handlers:e[0m
2020-04-18 16:15:20,993: DEBUG - There was an error running gitlab-ctl reconfigure:
2020-04-18 16:15:20,994: DEBUG -
2020-04-18 16:15:20,995: DEBUG - storage_directory[/var/opt/gitlab/git-data/repositories] (gitlab::gitlab-rails line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
2020-04-18 16:15:20,996: DEBUG - ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,996: DEBUG - STDOUT:
2020-04-18 16:15:20,997: DEBUG - STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:15:20,997: DEBUG - ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:15:20,997: DEBUG - Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1
2020-04-18 16:15:20,998: DEBUG -
2020-04-18 16:15:20,998: DEBUG - Running handlers complete
2020-04-18 16:15:20,998: DEBUG - e[0mChef Client failed. 23 resources updated in 43 secondse[0m
2020-04-18 16:15:20,999: DEBUG - dpkg: 处理软件包 gitlab-ce (--install)时出错:
2020-04-18 16:15:20,999: DEBUG - 子进程 已安装 post-installation 脚本 返回错误状态 1
2020-04-18 16:15:21,099: DEBUG - 在处理时有错误发生:
2020-04-18 16:15:21,100: DEBUG - gitlab-ce
2020-04-18 16:15:21,100: DEBUG - + package_check_action
2020-04-18 16:15:21,100: DEBUG - + local sysctl_file=/opt/gitlab/embedded/cookbooks/package/resources/gitlab_sysctl.rb
2020-04-18 16:15:21,101: DEBUG - + '[' '!' -f /opt/gitlab/embedded/cookbooks/package/resources/gitlab_sysctl.rb ']'
2020-04-18 16:15:21,101: DEBUG - + ynh_replace_string '--match_string=command "sysctl -e --system"' '--replace_string=command "sysctl -e --system || true"' --target_file=/opt/gitlab/embedded/cookbooks/package/resources/gitlab_sysctl.rb
2020-04-18 16:15:21,102: DEBUG - + local legacy_args=mrf
2020-04-18 16:15:21,102: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-04-18 16:15:21,103: DEBUG - + declare -Ar args_array
2020-04-18 16:15:21,103: DEBUG - + local match_string
2020-04-18 16:15:21,103: DEBUG - + local replace_string
2020-04-18 16:15:21,104: DEBUG - + local target_file
2020-04-18 16:15:21,104: DEBUG - + ynh_handle_getopts_args '--match_string=command "sysctl -e --system"' '--replace_string=command "sysctl -e --system || true"' --target_file=/opt/gitlab/embedded/cookbooks/package/resources/gitlab_sysctl.rb
2020-04-18 16:15:21,105: DEBUG - + set +x
2020-04-18 16:15:21,105: DEBUG - + local delimit=@
2020-04-18 16:15:21,105: DEBUG - + match_string='command "sysctl -e --system"'
2020-04-18 16:15:21,105: DEBUG - + replace_string='command "sysctl -e --system || true"'
2020-04-18 16:15:21,106: DEBUG - + sed --in-place 's@command "sysctl -e --system"@command "sysctl -e --system || true"@g' /opt/gitlab/embedded/cookbooks/package/resources/gitlab_sysctl.rb
2020-04-18 16:15:21,206: DEBUG - + ynh_exec_warn_less dpkg --configure gitlab-ce
2020-04-18 16:15:21,207: DEBUG - + eval dpkg --configure gitlab-ce
2020-04-18 16:15:21,208: DEBUG - ++ dpkg --configure gitlab-ce
2020-04-18 16:15:21,208: DEBUG - 正在设置 gitlab-ce (12.9.2-ce.0) ...
2020-04-18 16:16:06,636: DEBUG - Starting Chef Client, version 14.14.29e[0m
2020-04-18 16:16:11,401: DEBUG - resolving cookbooks for run list: ["gitlab"]e[0m
2020-04-18 16:16:15,322: DEBUG - Synchronizing Cookbooks:e[0m
2020-04-18 16:16:15,333: DEBUG - - gitlab (0.0.1)e[0m
2020-04-18 16:16:15,438: DEBUG - - postgresql (0.1.0)e[0m
2020-04-18 16:16:15,438: DEBUG - - redis (0.1.0)e[0m
2020-04-18 16:16:15,438: DEBUG - - registry (0.1.0)e[0m
2020-04-18 16:16:15,439: DEBUG - - mattermost (0.1.0)e[0m
2020-04-18 16:16:15,439: DEBUG - - monitoring (0.1.0)e[0m
2020-04-18 16:16:15,439: DEBUG - - package (0.1.0)e[0m
2020-04-18 16:16:15,440: DEBUG - - letsencrypt (0.1.0)e[0m
2020-04-18 16:16:15,440: DEBUG - - gitaly (0.1.0)e[0m
2020-04-18 16:16:15,440: DEBUG - - nginx (0.1.0)e[0m
2020-04-18 16:16:15,440: DEBUG - - runit (4.3.0)e[0m
2020-04-18 16:16:15,441: DEBUG - - consul (0.1.0)e[0m
2020-04-18 16:16:15,541: DEBUG - - acme (4.1.1)e[0m
2020-04-18 16:16:15,542: DEBUG - - crond (0.1.0)e[0m
2020-04-18 16:16:15,542: DEBUG - - praefect (0.1.0)e[0m
2020-04-18 16:16:15,542: DEBUG - Installing Cookbook Gems:e[0m
2020-04-18 16:16:15,844: DEBUG - Compiling Cookbooks...e[0m
2020-04-18 16:16:27,843: DEBUG - Recipe: gitlab::defaulte[0m
2020-04-18 16:16:27,844: DEBUG - * directory[/etc/gitlab] action create (up to date)
2020-04-18 16:16:32,276: DEBUG - Converging 272 resourcese[0m
2020-04-18 16:16:32,377: DEBUG - * directory[/etc/gitlab] action create (up to date)
2020-04-18 16:16:32,378: DEBUG - * directory[Create /var/opt/gitlab] action create (up to date)
2020-04-18 16:16:32,378: DEBUG - * directory[Create /var/log/gitlab] action create (up to date)
2020-04-18 16:16:32,379: DEBUG - * directory[/opt/gitlab/embedded/etc] action create (up to date)
2020-04-18 16:16:32,380: DEBUG - * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date)
2020-04-18 16:16:32,380: DEBUG - Recipe: gitlab::web-servere[0m
2020-04-18 16:16:32,381: DEBUG - * account[Webserver user and group] action create
2020-04-18 16:16:32,381: DEBUG - * group[Webserver user and group] action create (up to date)
2020-04-18 16:16:32,382: DEBUG - * linux_user[Webserver user and group] action create (up to date)
2020-04-18 16:16:32,382: DEBUG - (up to date)
2020-04-18 16:16:32,385: DEBUG - Recipe: gitlab::userse[0m
2020-04-18 16:16:32,385: DEBUG - * directory[/var/opt/gitlab] action create (up to date)
2020-04-18 16:16:32,386: DEBUG - * account[GitLab user and group] action create
2020-04-18 16:16:32,487: DEBUG - * group[GitLab user and group] action create (up to date)
2020-04-18 16:16:32,487: DEBUG - * linux_user[GitLab user and group] action create (up to date)
2020-04-18 16:16:32,487: DEBUG - (up to date)
2020-04-18 16:16:32,488: DEBUG - * template[/var/opt/gitlab/.gitconfig] action create (up to date)
2020-04-18 16:16:32,488: DEBUG - * directory[/var/opt/gitlab/.bundle] action create (up to date)
2020-04-18 16:16:32,488: DEBUG - Recipe: gitlab::gitlab-shelle[0m
2020-04-18 16:16:32,489: DEBUG - * storage_directory[/var/opt/gitlab/.ssh] action create
2020-04-18 16:16:32,589: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
2020-04-18 16:16:32,590: DEBUG - (up to date)
2020-04-18 16:16:32,590: DEBUG - * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
2020-04-18 16:16:32,591: DEBUG - * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
2020-04-18 16:16:32,591: DEBUG - * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
2020-04-18 16:16:32,692: DEBUG - * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
2020-04-18 16:16:32,693: DEBUG - * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
2020-04-18 16:16:32,693: DEBUG - (up to date)
2020-04-18 16:16:32,694: DEBUG - * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
2020-04-18 16:16:32,694: DEBUG - * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date)
2020-04-18 16:16:32,695: DEBUG - Recipe: gitlab::gitlab-railse[0m
2020-04-18 16:16:32,695: DEBUG - * storage_directory[/var/opt/gitlab/git-data] action create
2020-04-18 16:16:32,797: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
2020-04-18 16:16:32,799: DEBUG - (up to date)
2020-04-18 16:16:32,800: DEBUG - * storage_directory[/var/opt/gitlab/git-data/repositories] action create
2020-04-18 16:16:32,901: DEBUG - * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run
2020-04-18 16:16:32,902: DEBUG - e[0m
2020-04-18 16:16:32,902: DEBUG - ================================================================================e[0m
2020-04-18 16:16:32,908: DEBUG - e[31mError executing action `run` on resource 'ruby_block[directory resource: /var/opt/gitlab/git-data/repositories]'e[0m
2020-04-18 16:16:32,909: DEBUG - ================================================================================e[0m
2020-04-18 16:16:32,911: DEBUG -
2020-04-18 16:16:32,912: DEBUG - e[0m Mixlib::ShellOut::ShellCommandFailede[0m
2020-04-18 16:16:32,912: DEBUG - ------------------------------------e[0m
2020-04-18 16:16:32,913: DEBUG - Expected process to exit with [0], but received '1'
2020-04-18 16:16:32,922: DEBUG - e[0m ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:32,922: DEBUG - e[0m STDOUT:
2020-04-18 16:16:32,923: DEBUG - e[0m STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:16:32,924: DEBUG - e[0m ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:32,924: DEBUG - e[0m Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1e[0m
2020-04-18 16:16:32,925: DEBUG -
2020-04-18 16:16:32,925: DEBUG - e[0m Cookbook Trace:e[0m
2020-04-18 16:16:32,932: DEBUG - ---------------e[0m
2020-04-18 16:16:32,932: DEBUG - /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
2020-04-18 16:16:32,933: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:42:in `ensure_directory_exists'
2020-04-18 16:16:32,937: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37:in `block (3 levels) in class_from_file'e[0m
2020-04-18 16:16:32,938: DEBUG -
2020-04-18 16:16:32,938: DEBUG - e[0m Resource Declaration:e[0m
2020-04-18 16:16:32,939: DEBUG - ---------------------e[0m
2020-04-18 16:16:32,939: DEBUG - # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb
2020-04-18 16:16:32,940: DEBUG - e[0m
2020-04-18 16:16:32,940: DEBUG - e[0m 34: ruby_block "directory resource: #{new_resource.path}" do
2020-04-18 16:16:32,940: DEBUG - e[0m 35: block do
2020-04-18 16:16:32,941: DEBUG - e[0m 36: # Ensure the directory exists
2020-04-18 16:16:32,948: DEBUG - e[0m 37: storage_helper.ensure_directory_exists(new_resource.path)
2020-04-18 16:16:32,948: DEBUG - e[0m 38:
2020-04-18 16:16:32,961: DEBUG - e[0m 39: # Ensure the permissions are set
2020-04-18 16:16:32,962: DEBUG - e[0m 40: storage_helper.ensure_permissions_set(new_resource.path)
2020-04-18 16:16:32,962: DEBUG - e[0m 41:
2020-04-18 16:16:32,967: DEBUG - e[0m 42: # Error out if we have not achieved the target permissions
2020-04-18 16:16:32,968: DEBUG - e[0m 43: storage_helper.validate!(new_resource.path)
2020-04-18 16:16:32,968: DEBUG - e[0m 44: end
2020-04-18 16:16:32,969: DEBUG - e[0m 45: not_if { storage_helper.validate(new_resource.path) }
2020-04-18 16:16:32,969: DEBUG - e[0m 46: end
2020-04-18 16:16:32,970: DEBUG - e[0m 47: end
2020-04-18 16:16:32,970: DEBUG - e[0m
2020-04-18 16:16:32,970: DEBUG - e[0m Compiled Resource:e[0m
2020-04-18 16:16:32,971: DEBUG - ------------------e[0m
2020-04-18 16:16:32,971: DEBUG - # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:34:in `block in class_from_file'
2020-04-18 16:16:32,972: DEBUG - e[0m
2020-04-18 16:16:32,972: DEBUG - e[0m ruby_block("directory resource: /var/opt/gitlab/git-data/repositories") do
2020-04-18 16:16:32,972: DEBUG - e[0m action [:run]
2020-04-18 16:16:32,973: DEBUG - e[0m default_guard_interpreter :default
2020-04-18 16:16:32,973: DEBUG - e[0m declared_type :ruby_block
2020-04-18 16:16:32,988: DEBUG - e[0m cookbook_name "gitlab"
2020-04-18 16:16:32,989: DEBUG - e[0m block #<Proc:0x000055631e68eff8@/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:35>
2020-04-18 16:16:32,989: DEBUG - e[0m block_name "directory resource: /var/opt/gitlab/git-data/repositories"
2020-04-18 16:16:32,990: DEBUG - e[0m not_if { #code block }
2020-04-18 16:16:32,990: DEBUG - e[0m end
2020-04-18 16:16:32,990: DEBUG - e[0m
2020-04-18 16:16:32,991: DEBUG - e[0m System Info:e[0m
2020-04-18 16:16:32,991: DEBUG - ------------e[0m
2020-04-18 16:16:32,992: DEBUG - chef_version=14.14.29
2020-04-18 16:16:32,992: DEBUG - e[0m platform=debian
2020-04-18 16:16:32,992: DEBUG - e[0m platform_version=9.12
2020-04-18 16:16:32,993: DEBUG - e[0m ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
2020-04-18 16:16:33,001: DEBUG - e[0m program_name=/opt/gitlab/embedded/bin/chef-client
2020-04-18 16:16:33,001: DEBUG - e[0m executable=/opt/gitlab/embedded/bin/chef-cliente[0m
2020-04-18 16:16:33,002: DEBUG -
2020-04-18 16:16:33,002: DEBUG - e[0m e[0m
2020-04-18 16:16:33,003: DEBUG - ================================================================================e[0m
2020-04-18 16:16:33,003: DEBUG - e[31mError executing action `create` on resource 'storage_directory[/var/opt/gitlab/git-data/repositories]'e[0m
2020-04-18 16:16:33,004: DEBUG - ================================================================================e[0m
2020-04-18 16:16:33,004: DEBUG -
2020-04-18 16:16:33,005: DEBUG - e[0m Mixlib::ShellOut::ShellCommandFailede[0m
2020-04-18 16:16:33,005: DEBUG - ------------------------------------e[0m
2020-04-18 16:16:33,006: DEBUG - ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
2020-04-18 16:16:33,014: DEBUG - e[0m ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:33,015: DEBUG - e[0m STDOUT:
2020-04-18 16:16:33,015: DEBUG - e[0m STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:16:33,015: DEBUG - e[0m ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:33,016: DEBUG - e[0m Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1e[0m
2020-04-18 16:16:33,016: DEBUG -
2020-04-18 16:16:33,017: DEBUG - e[0m Cookbook Trace:e[0m
2020-04-18 16:16:33,017: DEBUG - ---------------e[0m
2020-04-18 16:16:33,017: DEBUG - /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
2020-04-18 16:16:33,022: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:42:in `ensure_directory_exists'
2020-04-18 16:16:33,023: DEBUG - e[0m /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37:in `block (3 levels) in class_from_file'e[0m
2020-04-18 16:16:33,023: DEBUG -
2020-04-18 16:16:33,024: DEBUG - e[0m Resource Declaration:e[0m
2020-04-18 16:16:33,024: DEBUG - ---------------------e[0m
2020-04-18 16:16:33,024: DEBUG - # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb
2020-04-18 16:16:33,025: DEBUG - e[0m
2020-04-18 16:16:33,025: DEBUG - e[0m 56: storage_directory repositories_storage['path'] do
2020-04-18 16:16:33,027: DEBUG - e[0m 57: owner gitlab_user
2020-04-18 16:16:33,032: DEBUG - e[0m 58: mode "2770"
2020-04-18 16:16:33,033: DEBUG - e[0m 59: end
2020-04-18 16:16:33,038: DEBUG - e[0m 60: end
2020-04-18 16:16:33,042: DEBUG - e[0m
2020-04-18 16:16:33,043: DEBUG - e[0m Compiled Resource:e[0m
2020-04-18 16:16:33,043: DEBUG - ------------------e[0m
2020-04-18 16:16:33,044: DEBUG - # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:56:in `block in from_file'
2020-04-18 16:16:33,044: DEBUG - e[0m
2020-04-18 16:16:33,044: DEBUG - e[0m storage_directory("/var/opt/gitlab/git-data/repositories") do
2020-04-18 16:16:33,045: DEBUG - e[0m action [:create]
2020-04-18 16:16:33,045: DEBUG - e[0m default_guard_interpreter :default
2020-04-18 16:16:33,045: DEBUG - e[0m declared_type :storage_directory
2020-04-18 16:16:33,047: DEBUG - e[0m cookbook_name "gitlab"
2020-04-18 16:16:33,048: DEBUG - e[0m recipe_name "gitlab-rails"
2020-04-18 16:16:33,049: DEBUG - e[0m owner "git"
2020-04-18 16:16:33,050: DEBUG - e[0m mode "2770"
2020-04-18 16:16:33,051: DEBUG - e[0m path "/var/opt/gitlab/git-data/repositories"
2020-04-18 16:16:33,051: DEBUG - e[0m end
2020-04-18 16:16:33,052: DEBUG - e[0m
2020-04-18 16:16:33,056: DEBUG - e[0m System Info:e[0m
2020-04-18 16:16:33,057: DEBUG - ------------e[0m
2020-04-18 16:16:33,058: DEBUG - chef_version=14.14.29
2020-04-18 16:16:33,074: DEBUG - e[0m platform=debian
2020-04-18 16:16:33,074: DEBUG - e[0m platform_version=9.12
2020-04-18 16:16:33,075: DEBUG - e[0m ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
2020-04-18 16:16:33,076: DEBUG - e[0m program_name=/opt/gitlab/embedded/bin/chef-client
2020-04-18 16:16:33,076: DEBUG - e[0m executable=/opt/gitlab/embedded/bin/chef-cliente[0m
2020-04-18 16:16:33,077: DEBUG -
2020-04-18 16:16:33,077: DEBUG - e[0me[0m
2020-04-18 16:16:33,078: DEBUG - Running handlers:e[0m
2020-04-18 16:16:33,078: DEBUG - There was an error running gitlab-ctl reconfigure:
2020-04-18 16:16:33,078: DEBUG -
2020-04-18 16:16:33,081: DEBUG - storage_directory[/var/opt/gitlab/git-data/repositories] (gitlab::gitlab-rails line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
2020-04-18 16:16:33,085: DEBUG - ---- Begin output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:33,085: DEBUG - STDOUT:
2020-04-18 16:16:33,086: DEBUG - STDERR: mkdir: 无法创建目录"/var/opt/gitlab/git-data/repositories": 设备上没有空间
2020-04-18 16:16:33,086: DEBUG - ---- End output of mkdir -p /var/opt/gitlab/git-data/repositories ----
2020-04-18 16:16:33,087: DEBUG - Ran mkdir -p /var/opt/gitlab/git-data/repositories returned 1
2020-04-18 16:16:33,087: DEBUG -
2020-04-18 16:16:33,087: DEBUG - Running handlers complete
2020-04-18 16:16:33,088: DEBUG - e[0mChef Client failed. 0 resources updated in 26 secondse[0m
2020-04-18 16:16:33,189: DEBUG - dpkg: 处理软件包 gitlab-ce (--configure)时出错:
2020-04-18 16:16:33,190: DEBUG - 子进程 已安装 post-installation 脚本 返回错误状态 1
2020-04-18 16:16:33,191: DEBUG - 在处理时有错误发生:
2020-04-18 16:16:33,192: DEBUG - gitlab-ce
2020-04-18 16:16:33,193: DEBUG - + ynh_exit_properly
2020-04-18 16:16:33,194: DEBUG - + local exit_code=1
2020-04-18 16:16:33,194: DEBUG - + '[' 1 -eq 0 ']'
2020-04-18 16:16:33,196: DEBUG - + trap '' EXIT
2020-04-18 16:16:33,196: DEBUG - + set +eu
2020-04-18 16:16:33,197: DEBUG - + sleep 0.5
2020-04-18 16:16:33,700: DEBUG - + type -t ynh_clean_setup
2020-04-18 16:16:33,701: DEBUG - + ynh_clean_setup
2020-04-18 16:16:33,701: DEBUG - + ynh_exec_warn_less ynh_secure_remove --file=/tmp/tmp.UtiMJUhX5F
2020-04-18 16:16:33,701: DEBUG - + eval ynh_secure_remove --file=/tmp/tmp.UtiMJUhX5F
2020-04-18 16:16:33,702: DEBUG - ++ ynh_secure_remove --file=/tmp/tmp.UtiMJUhX5F
2020-04-18 16:16:33,705: DEBUG - ++ local legacy_args=f
2020-04-18 16:16:33,706: DEBUG - ++ args_array=([f]=file=)
2020-04-18 16:16:33,706: DEBUG - ++ declare -Ar args_array
2020-04-18 16:16:33,707: DEBUG - ++ local file
2020-04-18 16:16:33,707: DEBUG - ++ ynh_handle_getopts_args --file=/tmp/tmp.UtiMJUhX5F
2020-04-18 16:16:33,707: DEBUG - ++ set +x
2020-04-18 16:16:33,708: DEBUG - ++ local 'forbidden_path= /var/www /home/yunohost.app'
2020-04-18 16:16:33,708: DEBUG - ++ '[' 1 -ge 2 ']'
2020-04-18 16:16:33,708: DEBUG - ++ [[ -z /tmp/tmp.UtiMJUhX5F ]]
2020-04-18 16:16:33,708: DEBUG - ++ [[ /var/www /home/yunohost.app =~ /tmp/tmp\.UtiMJUhX5F ]]
2020-04-18 16:16:33,709: DEBUG - ++ [[ /tmp/tmp.UtiMJUhX5F =~ ^/[[:alnum:]]+$ ]]
2020-04-18 16:16:33,709: DEBUG - ++ [[ F = \/ ]]
2020-04-18 16:16:33,710: DEBUG - ++ '[' -e /tmp/tmp.UtiMJUhX5F ']'
2020-04-18 16:16:33,710: DEBUG - ++ rm -R /tmp/tmp.UtiMJUhX5F
2020-04-18 16:16:33,811: DEBUG - + ynh_clean_check_starting
2020-04-18 16:16:33,835: WARNING -
2020-04-18 16:16:34,029: DEBUG - + '[' -n '' ']'
2020-04-18 16:16:34,029: DEBUG - + '[' -n '' ']'
2020-04-18 16:16:34,030: DEBUG - + ynh_die
2020-04-18 16:16:34,030: DEBUG - + local legacy_args=mc
2020-04-18 16:16:34,030: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-04-18 16:16:34,031: DEBUG - + declare -Ar args_array
2020-04-18 16:16:34,031: DEBUG - + local message
2020-04-18 16:16:34,032: DEBUG - + local ret_code
2020-04-18 16:16:34,032: DEBUG - + ynh_handle_getopts_args
2020-04-18 16:16:34,033: DEBUG - + set +x
2020-04-18 16:16:34,033: DEBUG - + echo ''
2020-04-18 16:16:34,034: DEBUG - + exit 1
2020-04-18 16:16:34,244: ERROR - Could not install gitlab: An error occurred inside the app installation script
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 301, in wrapper
curr_v = params[k]
KeyError: 'label'