qq_35473192
Nio不是nio
采纳率0%
2019-10-10 11:08 阅读 1.8k

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条回答 默认 最新

  • qq_40722827 carroll18 2019-10-22 15:44

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

    点赞 1 评论 复制链接分享

相关推荐