Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuring GitLab package...
- /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
- JSON file with existing configuration not found inside /opt/gitlab/embedded/nodes.
- Skipping config check.
- gitlab preinstall:
- gitlab preinstall: This node does not appear to be running a database
- gitlab preinstall: Skipping version check, if you think this is an error exit now
- gitlab preinstall:
- Configuring GitLab...
- Starting Chef Client, version 13.6.4
- resolving cookbooks for run list: ["gitlab"]
- Synchronizing Cookbooks:
- - gitlab (0.0.1)
- - package (0.1.0)
- - registry (0.1.0)
- - postgresql (0.1.0)
- - mattermost (0.1.0)
- - consul (0.0.0)
- - gitaly (0.1.0)
- - letsencrypt (0.1.0)
- - nginx (0.1.0)
- - runit (0.14.2)
- - crond (0.1.0)
- - acme (3.1.0)
- - compat_resource (12.19.0)
- Installing Cookbook Gems:
- Compiling Cookbooks...
- Recipe: gitlab::default
- * directory[/etc/gitlab] action create (up to date)
- Converging 474 resources
- * directory[/etc/gitlab] action create (up to date)
- * directory[Create /var/opt/gitlab] action create (up to date)
- * directory[/opt/gitlab/embedded/etc] action create
- - create new directory /opt/gitlab/embedded/etc
- - change mode from '' to '0755'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- * template[/opt/gitlab/embedded/etc/gitconfig] action create
- - create new file /opt/gitlab/embedded/etc/gitconfig
- - update content in file /opt/gitlab/embedded/etc/gitconfig from none to 987af3
- --- /opt/gitlab/embedded/etc/gitconfig 2018-07-22 16:32:30.326093883 +0000
- +++ /opt/gitlab/embedded/etc/.chef-gitconfig20180722-42-jowa1p 2018-07-22 16:32:30.326093883 +0000
- @@ -1 +1,11 @@
- +[pack]
- + threads = 1
- +[receive]
- + fsckObjects = true
- +advertisePushOptions = true
- +[repack]
- + writeBitmaps = true
- +[transfer]
- + hideRefs=^refs/tmp/
- +hideRefs=^refs/keep-around/
- - change mode from '' to '0755'
- Recipe: gitlab::web-server
- * account[Webserver user and group] action create (up to date)
- Recipe: gitlab::users
- * directory[/var/opt/gitlab] action create (up to date)
- * account[GitLab user and group] action create (up to date)
- * template[/var/opt/gitlab/.gitconfig] action create (up to date)
- * directory[/var/opt/gitlab/.bundle] action create (up to date)
- Recipe: gitlab::gitlab-shell
- * storage_directory[/var/opt/gitlab/.ssh] action create
- * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
- (up to date)
- * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
- * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
- * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
- * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
- * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create
- - create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml
- * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
- - create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret
- * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run
- [execute] /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
- ================================================================================
- Error executing action `run` on resource 'execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '1'
- ---- Begin output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
- STDOUT:
- STDERR: /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
- ---- End output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
- Ran /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions returned 1
- Resource Declaration:
- ---------------------
- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-shell.rb
- 100: execute "#{gitlab_shell_keys_check} check-permissions" do
- 101: user git_user
- 102: group git_group
- 103: end
- 104:
- Compiled Resource:
- ------------------
- # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-shell.rb:100:in `from_file'
- execute("/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions") do
- action [:run]
- default_guard_interpreter :execute
- command "/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions"
- backup 5
- group "git"
- returns 0
- user "git"
- declared_type :execute
- cookbook_name "gitlab"
- recipe_name "gitlab-shell"
- domain nil
- end
- System Info:
- ------------
- chef_version=13.6.4
- platform=ubuntu
- platform_version=16.04
- ruby=ruby 2.4.4p296 (2018-03-28 revision 63013) [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:
- execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] (gitlab::gitlab-shell line 100) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
- ---- Begin output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
- STDOUT:
- STDERR: /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
- from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
- from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
- from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
- ---- End output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
- Ran /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions returned 1
- Running handlers complete
- Chef Client failed. 5 resources updated in 05 seconds
- Thank you for using GitLab Docker Image!
- Current version: gitlab-ce=11.1.0-ce.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement