<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 这句日志已经告诉你了。它的配置出错了

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?