Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. fury@debian:~/gitlab$ kubectl logs gitlab-gitlab-2271988649-qgtkp
  2. Thank you for using GitLab Docker Image!
  3. Current version: gitlab-ce=9.2.0-ce.0
  4.  
  5. Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
  6. And restart this container to reload settings.
  7. To do it use docker exec:
  8.  
  9. docker exec -it gitlab vim /etc/gitlab/gitlab.rb
  10. docker restart gitlab
  11.  
  12. For a comprehensive list of configuration options please see the Omnibus GitLab readme
  13. https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
  14.  
  15. If this container fails to start due to permission problems try to fix it by executing:
  16.  
  17. docker exec -it gitlab update-permissions
  18. docker restart gitlab
  19.  
  20. Preparing services...
  21. Starting services...
  22. Configuring GitLab package...
  23. /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
  24. /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
  25. Configuring GitLab...
  26.  
  27. ================================================================================
  28. Error executing action `run` on resource 'ruby_block[directory resource: /gitlab-data/ssh]'
  29. ================================================================================
  30.  
  31. Mixlib::ShellOut::ShellCommandFailed
  32. ------------------------------------
  33. Expected process to exit with [0], but received '1'
  34. ---- Begin output of stat --printf='%U' $(readlink -f /gitlab-data/ssh) ----
  35. STDOUT:
  36. STDERR: stat: missing operand
  37. Try 'stat --help' for more information.
  38. ---- End output of stat --printf='%U' $(readlink -f /gitlab-data/ssh) ----
  39. Ran stat --printf='%U' $(readlink -f /gitlab-data/ssh) returned 1
  40.  
  41. Cookbook Trace:
  42. ---------------
  43. /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:35:in `run_command'
  44. /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:67:in `get_owner'
  45. /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
  46. /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:32:in `block (3 levels) in from_file'
  47.  
  48. Resource Declaration:
  49. ---------------------
  50. # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb
  51.  
  52. 26: ruby_block "directory resource: #{params[:path]}" do
  53. 27: block do
  54. 28: # Ensure the directory exists
  55. 29: storage_helper.ensure_directory_exists(params[:path])
  56. 30:
  57. 31: # Ensure the permissions are set
  58. 32: storage_helper.ensure_permissions_set(params[:path])
  59. 33:
  60. 34: # Error out if we have not achieved the target permissions
  61. 35: storage_helper.validate!(params[:path])
  62. 36: end
  63. 37: not_if { storage_helper.validate(params[:path]) }
  64. 38: end
  65. 39: end
  66.  
  67. Compiled Resource:
  68. ------------------
  69. # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:26:in `block in from_file'
  70.  
  71. ruby_block("directory resource: /gitlab-data/ssh") do
  72. params {:path=>"/gitlab-data/ssh", :owner=>"git", :group=>"git", :mode=>"0700", :name=>"/gitlab-data/ssh"}
  73. action [:run]
  74. retries 0
  75. retry_delay 2
  76. default_guard_interpreter :default
  77. block_name "directory resource: /gitlab-data/ssh"
  78. declared_type :ruby_block
  79. cookbook_name "gitlab"
  80. recipe_name "gitlab-shell"
  81. block #<Proc:0x00000004f10be0@/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/storage_directory.rb:27>
  82. not_if { #code block }
  83. end
  84.  
  85. Platform:
  86. ---------
  87. x86_64-linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement