F4-221 TOS 5.1.34(5月6日) DockerManager 1.1.98(5月5日)
rm -rf /Volume1/docker/git
mkdir -p /Volume1/docker/git/etc
mkdir -p /Volume1/docker/git/log
mkdir -p /Volume1/docker/git/opt
chmod -R 777 /Volume1/docker/git
docker run -d \
--publish 8443:443 \
--publish 8090:80 \
--publish 9922:22 \
--privileged=true \
--name gittest \
-v /Volume1/docker/git/etc:/etc/gitlab \
-v /Volume1/docker/git/log:/var/log/gitlab \
-v /Volume1/docker/git/opt:/var/opt/gitlab \
gitlab/gitlab-ce:15.4.3-ce.0
TOS 5.1.34 DockerManager 1.1.98 gitlab-ce还是无法运行
版主: TerraSupport, TMsupport, TMjack
Re: TOS 5.1.34 DockerManager 1.1.98 gitlab-ce还是无法运行
stdout 2023-05-07 08:14:35 "Recipe: gitlab::rails_pages_shared_path
"
stdout 2023-05-07 08:14:35 " * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
"
stdout 2023-05-07 08:14:35 " * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 " Error executing action `run` on resource 'ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared]'
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Mixlib::ShellOut::ShellCommandFailed
"
stdout 2023-05-07 08:14:35 " ------------------------------------
"
stdout 2023-05-07 08:14:35 " Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 " ---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " STDOUT:
"
stdout 2023-05-07 08:14:35 " STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 " Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 " ---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Cookbook Trace: (most recent call first)
"
stdout 2023-05-07 08:14:35 " ----------------------------------------
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:67:in `get_owner'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:42:in `block (3 levels) in class_from_file'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Resource Declaration:
"
stdout 2023-05-07 08:14:35 " ---------------------
"
stdout 2023-05-07 08:14:35 " # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " 36: ruby_block ""directory resource: #{new_resource.path}"" do
"
stdout 2023-05-07 08:14:35 " 37: block do
"
stdout 2023-05-07 08:14:35 " 38: # Ensure the directory exists
"
stdout 2023-05-07 08:14:35 " 39: storage_helper.ensure_directory_exists(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 40:
"
stdout 2023-05-07 08:14:35 " 41: # Ensure the permissions are set
"
stdout 2023-05-07 08:14:35 " 42: storage_helper.ensure_permissions_set(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 43:
"
stdout 2023-05-07 08:14:35 " 44: # Error out if we have not achieved the target permissions
"
stdout 2023-05-07 08:14:35 " 45: storage_helper.validate!(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 46: end
"
stdout 2023-05-07 08:14:35 " 47: not_if { storage_helper.validate(new_resource.path) }
"
stdout 2023-05-07 08:14:35 " 48: end
"
stdout 2023-05-07 08:14:35 " 49: end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Compiled Resource:
"
stdout 2023-05-07 08:14:35 " ------------------
"
stdout 2023-05-07 08:14:35 " # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ruby_block(""directory resource: /var/opt/gitlab/gitlab-rails/shared"") do
"
stdout 2023-05-07 08:14:35 " action [:run]
"
stdout 2023-05-07 08:14:35 " default_guard_interpreter :default
"
stdout 2023-05-07 08:14:35 " declared_type :ruby_block
"
stdout 2023-05-07 08:14:35 " cookbook_name ""gitlab""
"
stdout 2023-05-07 08:14:35 " recipe_name ""rails_pages_shared_path""
"
stdout 2023-05-07 08:14:35 " block #<Proc:0x00005599de480cd8 /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37>
"
stdout 2023-05-07 08:14:35 " not_if { #code block }
"
stdout 2023-05-07 08:14:35 " end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " System Info:
"
stdout 2023-05-07 08:14:35 " ------------
"
stdout 2023-05-07 08:14:35 " chef_version=17.10.0
"
stdout 2023-05-07 08:14:35 " platform=ubuntu
"
stdout 2023-05-07 08:14:35 " platform_version=20.04
"
stdout 2023-05-07 08:14:35 " ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
"
stdout 2023-05-07 08:14:35 " program_name=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 " executable=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 " Error executing action `create` on resource 'storage_directory[/var/opt/gitlab/gitlab-rails/shared]'
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Mixlib::ShellOut::ShellCommandFailed
"
stdout 2023-05-07 08:14:35 " ------------------------------------
"
stdout 2023-05-07 08:14:35 " ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 " ---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " STDOUT:
"
stdout 2023-05-07 08:14:35 " STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 " Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 " ---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Cookbook Trace: (most recent call first)
"
stdout 2023-05-07 08:14:35 " ----------------------------------------
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:67:in `get_owner'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:42:in `block (3 levels) in class_from_file'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Resource Declaration:
"
stdout 2023-05-07 08:14:35 " ---------------------
"
stdout 2023-05-07 08:14:35 " # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/rails_pages_shared_path.rb
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " 5: storage_directory node['gitlab']['gitlab-rails']['shared_path'] do
"
stdout 2023-05-07 08:14:35 " 6: owner account_helper.gitlab_user
"
stdout 2023-05-07 08:14:35 " 7: group account_helper.web_server_group
"
stdout 2023-05-07 08:14:35 " 8: mode '0751'
"
stdout 2023-05-07 08:14:35 " 9: end
"
stdout 2023-05-07 08:14:35 " 10:
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Compiled Resource:
"
stdout 2023-05-07 08:14:35 " ------------------
"
stdout 2023-05-07 08:14:35 " # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/rails_pages_shared_path.rb:5:in `from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " storage_directory(""/var/opt/gitlab/gitlab-rails/shared"") do
"
stdout 2023-05-07 08:14:35 " action [:create]
"
stdout 2023-05-07 08:14:35 " default_guard_interpreter :default
"
stdout 2023-05-07 08:14:35 " declared_type :storage_directory
"
stdout 2023-05-07 08:14:35 " cookbook_name ""gitlab""
"
stdout 2023-05-07 08:14:35 " recipe_name ""rails_pages_shared_path""
"
stdout 2023-05-07 08:14:35 " owner ""git""
"
stdout 2023-05-07 08:14:35 " group ""gitlab-www""
"
stdout 2023-05-07 08:14:35 " mode ""0751""
"
stdout 2023-05-07 08:14:35 " path ""/var/opt/gitlab/gitlab-rails/shared""
"
stdout 2023-05-07 08:14:35 " end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " System Info:
"
stdout 2023-05-07 08:14:35 " ------------
"
stdout 2023-05-07 08:14:35 " chef_version=17.10.0
"
stdout 2023-05-07 08:14:35 " platform=ubuntu
"
stdout 2023-05-07 08:14:35 " platform_version=20.04
"
stdout 2023-05-07 08:14:35 " ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
"
stdout 2023-05-07 08:14:35 " program_name=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 " executable=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] INFO: Running queued delayed notifications before re-raising exception
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Running handlers:
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] ERROR: Running exception handlers
"
stderr 2023-05-07 08:14:35 "There was an error running gitlab-ctl reconfigure:
"
stderr 2023-05-07 08:14:35 "
"
stderr 2023-05-07 08:14:35 "storage_directory[/var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stderr 2023-05-07 08:14:35 "---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stderr 2023-05-07 08:14:35 "STDOUT:
"
stderr 2023-05-07 08:14:35 "STDERR: stat: missing operand
"
stderr 2023-05-07 08:14:35 "Try 'stat --help' for more information.
"
stderr 2023-05-07 08:14:35 "---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stderr 2023-05-07 08:14:35 "Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stderr 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Notes:
"
stdout 2023-05-07 08:14:35 "Default admin account has been configured with following details:
"
stdout 2023-05-07 08:14:35 "Username: root
"
stdout 2023-05-07 08:14:35 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-05-07 08:14:35 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/res ... t-password.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Running handlers complete
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] ERROR: Exception handlers complete
"
stdout 2023-05-07 08:14:35 "Infra Phase failed. 20 resources updated in 35 seconds
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Notes:
"
stdout 2023-05-07 08:14:35 "Default admin account has been configured with following details:
"
stdout 2023-05-07 08:14:35 "Username: root
"
stdout 2023-05-07 08:14:35 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-05-07 08:14:35 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/res ... t-password.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: storage_directory[/var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 "---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 "STDOUT:
"
stdout 2023-05-07 08:14:35 "STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 "Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 "---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 "Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
"
stdout 2023-05-07 08:14:35 " * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
"
stdout 2023-05-07 08:14:35 " * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 " Error executing action `run` on resource 'ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared]'
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Mixlib::ShellOut::ShellCommandFailed
"
stdout 2023-05-07 08:14:35 " ------------------------------------
"
stdout 2023-05-07 08:14:35 " Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 " ---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " STDOUT:
"
stdout 2023-05-07 08:14:35 " STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 " Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 " ---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Cookbook Trace: (most recent call first)
"
stdout 2023-05-07 08:14:35 " ----------------------------------------
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:67:in `get_owner'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:42:in `block (3 levels) in class_from_file'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Resource Declaration:
"
stdout 2023-05-07 08:14:35 " ---------------------
"
stdout 2023-05-07 08:14:35 " # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " 36: ruby_block ""directory resource: #{new_resource.path}"" do
"
stdout 2023-05-07 08:14:35 " 37: block do
"
stdout 2023-05-07 08:14:35 " 38: # Ensure the directory exists
"
stdout 2023-05-07 08:14:35 " 39: storage_helper.ensure_directory_exists(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 40:
"
stdout 2023-05-07 08:14:35 " 41: # Ensure the permissions are set
"
stdout 2023-05-07 08:14:35 " 42: storage_helper.ensure_permissions_set(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 43:
"
stdout 2023-05-07 08:14:35 " 44: # Error out if we have not achieved the target permissions
"
stdout 2023-05-07 08:14:35 " 45: storage_helper.validate!(new_resource.path)
"
stdout 2023-05-07 08:14:35 " 46: end
"
stdout 2023-05-07 08:14:35 " 47: not_if { storage_helper.validate(new_resource.path) }
"
stdout 2023-05-07 08:14:35 " 48: end
"
stdout 2023-05-07 08:14:35 " 49: end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Compiled Resource:
"
stdout 2023-05-07 08:14:35 " ------------------
"
stdout 2023-05-07 08:14:35 " # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ruby_block(""directory resource: /var/opt/gitlab/gitlab-rails/shared"") do
"
stdout 2023-05-07 08:14:35 " action [:run]
"
stdout 2023-05-07 08:14:35 " default_guard_interpreter :default
"
stdout 2023-05-07 08:14:35 " declared_type :ruby_block
"
stdout 2023-05-07 08:14:35 " cookbook_name ""gitlab""
"
stdout 2023-05-07 08:14:35 " recipe_name ""rails_pages_shared_path""
"
stdout 2023-05-07 08:14:35 " block #<Proc:0x00005599de480cd8 /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:37>
"
stdout 2023-05-07 08:14:35 " not_if { #code block }
"
stdout 2023-05-07 08:14:35 " end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " System Info:
"
stdout 2023-05-07 08:14:35 " ------------
"
stdout 2023-05-07 08:14:35 " chef_version=17.10.0
"
stdout 2023-05-07 08:14:35 " platform=ubuntu
"
stdout 2023-05-07 08:14:35 " platform_version=20.04
"
stdout 2023-05-07 08:14:35 " ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
"
stdout 2023-05-07 08:14:35 " program_name=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 " executable=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 " Error executing action `create` on resource 'storage_directory[/var/opt/gitlab/gitlab-rails/shared]'
"
stdout 2023-05-07 08:14:35 " ================================================================================
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Mixlib::ShellOut::ShellCommandFailed
"
stdout 2023-05-07 08:14:35 " ------------------------------------
"
stdout 2023-05-07 08:14:35 " ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 " ---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " STDOUT:
"
stdout 2023-05-07 08:14:35 " STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 " Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 " ---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 " Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Cookbook Trace: (most recent call first)
"
stdout 2023-05-07 08:14:35 " ----------------------------------------
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:35:in `run_command'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:67:in `get_owner'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/storage_directory_helper.rb:48:in `ensure_permissions_set'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:42:in `block (3 levels) in class_from_file'
"
stdout 2023-05-07 08:14:35 " /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb:36:in `block in class_from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Resource Declaration:
"
stdout 2023-05-07 08:14:35 " ---------------------
"
stdout 2023-05-07 08:14:35 " # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/rails_pages_shared_path.rb
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " 5: storage_directory node['gitlab']['gitlab-rails']['shared_path'] do
"
stdout 2023-05-07 08:14:35 " 6: owner account_helper.gitlab_user
"
stdout 2023-05-07 08:14:35 " 7: group account_helper.web_server_group
"
stdout 2023-05-07 08:14:35 " 8: mode '0751'
"
stdout 2023-05-07 08:14:35 " 9: end
"
stdout 2023-05-07 08:14:35 " 10:
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " Compiled Resource:
"
stdout 2023-05-07 08:14:35 " ------------------
"
stdout 2023-05-07 08:14:35 " # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/rails_pages_shared_path.rb:5:in `from_file'
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " storage_directory(""/var/opt/gitlab/gitlab-rails/shared"") do
"
stdout 2023-05-07 08:14:35 " action [:create]
"
stdout 2023-05-07 08:14:35 " default_guard_interpreter :default
"
stdout 2023-05-07 08:14:35 " declared_type :storage_directory
"
stdout 2023-05-07 08:14:35 " cookbook_name ""gitlab""
"
stdout 2023-05-07 08:14:35 " recipe_name ""rails_pages_shared_path""
"
stdout 2023-05-07 08:14:35 " owner ""git""
"
stdout 2023-05-07 08:14:35 " group ""gitlab-www""
"
stdout 2023-05-07 08:14:35 " mode ""0751""
"
stdout 2023-05-07 08:14:35 " path ""/var/opt/gitlab/gitlab-rails/shared""
"
stdout 2023-05-07 08:14:35 " end
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 " System Info:
"
stdout 2023-05-07 08:14:35 " ------------
"
stdout 2023-05-07 08:14:35 " chef_version=17.10.0
"
stdout 2023-05-07 08:14:35 " platform=ubuntu
"
stdout 2023-05-07 08:14:35 " platform_version=20.04
"
stdout 2023-05-07 08:14:35 " ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
"
stdout 2023-05-07 08:14:35 " program_name=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 " executable=/opt/gitlab/embedded/bin/cinc-client
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] INFO: Running queued delayed notifications before re-raising exception
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Running handlers:
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] ERROR: Running exception handlers
"
stderr 2023-05-07 08:14:35 "There was an error running gitlab-ctl reconfigure:
"
stderr 2023-05-07 08:14:35 "
"
stderr 2023-05-07 08:14:35 "storage_directory[/var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stderr 2023-05-07 08:14:35 "---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stderr 2023-05-07 08:14:35 "STDOUT:
"
stderr 2023-05-07 08:14:35 "STDERR: stat: missing operand
"
stderr 2023-05-07 08:14:35 "Try 'stat --help' for more information.
"
stderr 2023-05-07 08:14:35 "---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stderr 2023-05-07 08:14:35 "Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
stderr 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Notes:
"
stdout 2023-05-07 08:14:35 "Default admin account has been configured with following details:
"
stdout 2023-05-07 08:14:35 "Username: root
"
stdout 2023-05-07 08:14:35 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-05-07 08:14:35 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/res ... t-password.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Running handlers complete
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] ERROR: Exception handlers complete
"
stdout 2023-05-07 08:14:35 "Infra Phase failed. 20 resources updated in 35 seconds
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "Notes:
"
stdout 2023-05-07 08:14:35 "Default admin account has been configured with following details:
"
stdout 2023-05-07 08:14:35 "Username: root
"
stdout 2023-05-07 08:14:35 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-05-07 08:14:35 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/res ... t-password.
"
stdout 2023-05-07 08:14:35 "
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-05-07 08:14:35 "[2023-05-07T08:14:35+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: storage_directory[/var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] (gitlab::rails_pages_shared_path line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
"
stdout 2023-05-07 08:14:35 "---- Begin output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 "STDOUT:
"
stdout 2023-05-07 08:14:35 "STDERR: stat: missing operand
"
stdout 2023-05-07 08:14:35 "Try 'stat --help' for more information.
"
stdout 2023-05-07 08:14:35 "---- End output of stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) ----
"
stdout 2023-05-07 08:14:35 "Ran stat --printf='%U' $(readlink -f /var/opt/gitlab/gitlab-rails/shared) returned 1
"
Re: TOS 5.1.34 DockerManager 1.1.98 gitlab-ce还是无法运行
你好,我们实验室验证是可以正常安装的,请检查一下你的配置。
联系我们的团队,请发送电子邮件到以下地址,记住用@代替(at):
技术团队:support(at)terra-master.com(技术支持)
服务团队: Service (at)terra-master.com(用于购买,退货,更换,RMA服务)
技术团队:support(at)terra-master.com(技术支持)
服务团队: Service (at)terra-master.com(用于购买,退货,更换,RMA服务)
Re: TOS 5.1.34 DockerManager 1.1.98 gitlab-ce还是无法运行
linux终端运行比较复杂,建议用图形见面使用docker。设置简单,还少出错。
按照以上步骤,你就可以在铁威马用上gitlab。
Re: TOS 5.1.34 DockerManager 1.1.98 gitlab-ce还是无法运行
我装康乐容器,里面自带mysql端口也设定3306,那我和NAS里装的mariaDB是不是也占用3306?不能共存?以前都可以安装成功,现在kangle里的mysql死活连不上,提示一直占用0.0.0.0:3306.不知道啥意思