TOS5.1.67 创建docker gitlab/gitlab-ce继续失败。

有关 Docker 的使用讨论。

版主: TerraSupportTMsupportTMjack

回复
wishful
帖子: 220
注册时间: 2019年 12月 21日 星期六 8:25 pm

TOS5.1.67 创建docker gitlab/gitlab-ce继续失败。

帖子 wishful »

创建docker gitlab/gitlab-ce 继续失败。
stdout 2023-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "Running handlers:
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] ERROR: Running exception handlers
"
stderr 2023-08-27 12:52:42 "There was an error running gitlab-ctl reconfigure:
"
stderr 2023-08-27 12:52:42 "
"
stderr 2023-08-27 12:52:42 "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-08-27 12:52:42 "---- Begin output of mkdir -p /var/opt/gitlab/gitlab-rails/shared ----
"
stderr 2023-08-27 12:52:42 "STDOUT:
"
stderr 2023-08-27 12:52:42 "STDERR: mkdir: cannot create directory ‘/var/opt/gitlab/gitlab-rails’: Permission denied
"
stderr 2023-08-27 12:52:42 "---- End output of mkdir -p /var/opt/gitlab/gitlab-rails/shared ----
"
stderr 2023-08-27 12:52:42 "Ran mkdir -p /var/opt/gitlab/gitlab-rails/shared returned 1
"
stdout 2023-08-27 12:52:42 "
"
stderr 2023-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "Notes:
"
stdout 2023-08-27 12:52:42 "Default admin account has been configured with following details:
"
stdout 2023-08-27 12:52:42 "Username: root
"
stdout 2023-08-27 12:52:42 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-08-27 12:52:42 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "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-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "Running handlers complete
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] ERROR: Exception handlers complete
"
stdout 2023-08-27 12:52:42 "Infra Phase failed. 8 resources updated in 10 seconds
"
stdout 2023-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "Notes:
"
stdout 2023-08-27 12:52:42 "Default admin account has been configured with following details:
"
stdout 2023-08-27 12:52:42 "Username: root
"
stdout 2023-08-27 12:52:42 "Password: You didn't opt-in to print initial root password to STDOUT.
"
stdout 2023-08-27 12:52:42 "Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
"
stdout 2023-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "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-08-27 12:52:42 "
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08:00] FATAL: ---------------------------------------------------------------------------------------
"
stdout 2023-08-27 12:52:42 "[2023-08-27T20:52:42+08: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-08-27 12:52:42 "---- Begin output of mkdir -p /var/opt/gitlab/gitlab-rails/shared ----
"
stdout 2023-08-27 12:52:42 "STDOUT:
"
stdout 2023-08-27 12:52:42 "STDERR: mkdir: cannot create directory ‘/var/opt/gitlab/gitlab-rails’: Permission denied
"
stdout 2023-08-27 12:52:42 "---- End output of mkdir -p /var/opt/gitlab/gitlab-rails/shared ----
"
stdout 2023-08-27 12:52:42 "Ran mkdir -p /var/opt/gitlab/gitlab-rails/shared returned 1
"
头像
wifisky
帖子: 278
注册时间: 2020年 11月 24日 星期二 10:39 pm
China

Re: TOS5.1.67 创建docker gitlab/gitlab-ce继续失败。

帖子 wifisky »

CE和EE什么区别?
官方网站docker创建代码网址是什么?
NAS发烧友
wishful
帖子: 220
注册时间: 2019年 12月 21日 星期六 8:25 pm

Re: TOS5.1.67 创建docker gitlab/gitlab-ce继续失败。

帖子 wishful »

wifisky 写了: 2023年 8月 27日 星期天 9:49 pm CE和EE什么区别?
官方网站docker创建代码网址是什么?
EE属于企业版,增了很多功能。CE弱一些,个人用可以了。
回复

回到 “Docker”