返回列表 发布新帖

docker部署失败

338 3
发表于 2024-3-14 17:07:02 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
  1. ---- Begin output of chgrp git /var/opt/gitlab/.ssh ----
  2. STDOUT:
  3. STDERR: chgrp: changing group of ‘/var/opt/gitlab/.ssh’: Operation not permitted
  4. ---- End output of chgrp git /var/opt/gitlab/.ssh ----
  5. Ran chgrp git /var/opt/gitlab/.ssh returned 1
复制代码


开心交流,交流开心。
回复

使用道具 举报

评论3

小马哥楼主Lv.8 发表于 2024-3-14 17:07:29 | 显示全部楼层
There was an error running gitlab-ctl reconfigure:

  1. storage_directory[/var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
  2. ---- Begin output of chgrp git /var/opt/gitlab/.ssh ----
  3. STDOUT:
  4. STDERR: chgrp: changing group of ‘/var/opt/gitlab/.ssh’: Operation not permitted
  5. ---- End output of chgrp git /var/opt/gitlab/.ssh ----
  6. Ran chgrp git /var/opt/gitlab/.ssh returned 1
复制代码
开心交流,交流开心。
回复

使用道具 举报

小马哥楼主Lv.8 发表于 2024-3-14 17:07:44 | 显示全部楼层
本帖最后由 小马哥 于 2024-3-14 17:12 编辑

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:

  1. docker exec -it gitlab vim /etc/gitlab/gitlab.rb
  2. docker restart gitlab
复制代码


For a comprehensive list of configuration options please see the Omnibus GitLab readme



If this container fails to start due to permission problems try to fix it by executing:
  1. docker exec -it gitlab update-permissions
  2. docker restart gitlab
复制代码


Screen Shot 2024-03-14 at 5.08.07 PM.png
开心交流,交流开心。
回复

使用道具 举报

小马哥楼主Lv.8 发表于 2024-3-14 17:08:20 | 显示全部楼层
If this container fails to start due to permission problems try to fix it by executing:

  1. docker exec -it gitlab update-permissions
  2. docker restart gitlab
复制代码
开心交流,交流开心。
回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2024 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表