<Michael> 2019-10-10 11:08 采纳率: 0%
浏览 2298

docker gitlab无法启动

log信息:

{"log":"Thank you for using GitLab Docker Image!\n","stream":"stdout","time":"2019-10-10T09:16:52.21426952Z"}
{"log":"Current version: gitlab-ce=11.0.1-ce.0\n","stream":"stdout","time":"2019-10-10T09:16:52.214301816Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214314713Z"}
{"log":"Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file\n","stream":"stdout","time":"2019-10-10T09:16:52.214319953Z"}
{"log":"And restart this container to reload settings.\n","stream":"stdout","time":"2019-10-10T09:16:52.214324292Z"}
{"log":"To do it use docker exec:\n","stream":"stdout","time":"2019-10-10T09:16:52.214343587Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214354366Z"}
{"log":"  docker exec -it gitlab vim /etc/gitlab/gitlab.rb\n","stream":"stdout","time":"2019-10-10T09:16:52.214377118Z"}
{"log":"  docker restart gitlab\n","stream":"stdout","time":"2019-10-10T09:16:52.214383022Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214386485Z"}
{"log":"For a comprehensive list of configuration options please see the Omnibus GitLab readme\n","stream":"stdout","time":"2019-10-10T09:16:52.21441455Z"}
{"log":"https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md\n","stream":"stdout","time":"2019-10-10T09:16:52.214418999Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214422401Z"}
{"log":"If this container fails to start due to permission problems try to fix it by executing:\n","stream":"stdout","time":"2019-10-10T09:16:52.21445327Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214457817Z"}
{"log":"  docker exec -it gitlab update-permissions\n","stream":"stdout","time":"2019-10-10T09:16:52.214461178Z"}
{"log":"  docker restart gitlab\n","stream":"stdout","time":"2019-10-10T09:16:52.214470588Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214474058Z"}
{"log":"Preparing services...\n","stream":"stdout","time":"2019-10-10T09:16:55.216795708Z"}
{"log":"Starting services...\n","stream":"stdout","time":"2019-10-10T09:16:55.231112363Z"}
{"log":"Configuring GitLab package...\n","stream":"stdout","time":"2019-10-10T09:16:55.231559666Z"}
{"log":"/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system\n","stream":"stderr","time":"2019-10-10T09:16:55.237269641Z"}
{"log":"Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/fe8ab341c48f.json.\n","stream":"stdout","time":"2019-10-10T09:16:55.751260111Z"}
{"log":"This usually happens when your last run of `gitlab-ctl reconfigure` didn't complete successfully.\n","stream":"stdout","time":"2019-10-10T09:16:55.751280615Z"}
{"log":"This file is used to check if any of the unsupported configurations are enabled,\n","stream":"stdout","time":"2019-10-10T09:16:55.751283608Z"}
{"log":"and hence require a working reconfigure before upgrading.\n","stream":"stdout","time":"2019-10-10T09:16:55.751285925Z"}
{"log":"Please run `sudo gitlab-ctl reconfigure` to fix it and try again.\n","stream":"stdout","time":"2019-10-10T09:16:55.75128816Z"}

  • 写回答

1条回答 默认 最新

  • carroll18 2019-10-22 15:44
    关注

    "Please run sudo gitlab-ctl reconfigure to fix it and try again 这句日志已经告诉你了。它的配置出错了

    评论

报告相同问题?

悬赏问题

  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突