Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fury@debian:~/gitlab$ kubectl logs gitlab-gitlab-2271988649-qgtkp
- Thank you for using GitLab Docker Image!
- Current version: gitlab-ce=9.2.0-ce.0
- Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
- And restart this container to reload settings.
- To do it use docker exec:
- docker exec -it gitlab vim /etc/gitlab/gitlab.rb
- docker restart gitlab
- For a comprehensive list of configuration options please see the Omnibus GitLab readme
- https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
- If this container fails to start due to permission problems try to fix it by executing:
- docker exec -it gitlab update-permissions
- docker restart gitlab
- Preparing services...
- Starting services...
- Configuring GitLab package...
- /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
- /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
- Configuring GitLab...
- ================================================================================
- Error executing action `run` on resource 'ruby_block[directory resource: /gitlab-data/ssh]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '1'
- ---- Begin output of stat --printf='%U' $(readlink -f /gitlab-data/ssh) ----
- STDOUT:
- STDERR: stat: missing operand
- Try 'stat --help' for more information.
- ---- End output of stat --printf='%U' $(readlink -f /gitlab-data/ssh) ----
- Ran stat --printf='%U' $(readlink -f /gitlab-data/ssh) returned 1
- Cookbook Trace:
- ---------------
- /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:35:in `run_command'
- /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:67:in `get_owner'
- /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
- /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:32:in `block (3 levels) in from_file'
- Resource Declaration:
- ---------------------
- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb
- 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
- Compiled Resource:
- ------------------
- # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:26:in `block in from_file'
- ruby_block("directory resource: /gitlab-data/ssh") do
- params {:path=>"/gitlab-data/ssh", :owner=>"git", :group=>"git", :mode=>"0700", :name=>"/gitlab-data/ssh"}
- action [:run]
- retries 0
- retry_delay 2
- default_guard_interpreter :default
- block_name "directory resource: /gitlab-data/ssh"
- declared_type :ruby_block
- cookbook_name "gitlab"
- recipe_name "gitlab-shell"
- block #<Proc:0x00000004f10be0@/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:27>
- not_if { #code block }
- end
- Platform:
- ---------
- x86_64-linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement