1
xiaket 2018-08-01 07:59:58 +08:00
docker logs 看看报错
|
2
zhazhadi OP @xiaket 麻烦看一下什么问题
Preparing services... Starting services... Configuring GitLab package... /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 29: ulimit: open files: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 34: ulimit: max user processes: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/144.202.9.30.json. This usually happens when your last run of `gitlab-ctl reconfigure` didn't complete successfully. This file is used to check if any of the unsupported configurations are enabled, and hence require a working reconfigure before upgrading. Please run `sudo gitlab-ctl reconfigure` to fix it and try again. Thank you for using GitLab Docker Image! Current version: gitlab-ce=11.1.2-ce.0 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: docker exec -it gitlab vim /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Preparing services... Starting services... Configuring GitLab package... /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 29: ulimit: open files: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 34: ulimit: max user processes: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/144.202.9.30.json. This usually happens when your last run of `gitlab-ctl reconfigure` didn't complete successfully. This file is used to check if any of the unsupported configurations are enabled, and hence require a working reconfigure before upgrading. Please run `sudo gitlab-ctl reconfigure` to fix it and try again. |
3
f2f2f 2018-08-01 09:37:40 +08:00
是不是安装完 gitlab 后有 apt update 过?你的 git 配置坏掉了
|
4
iUnix 2018-08-01 09:40:27 +08:00 via Android
log 里面都告诉你怎么处理了。
|
6
reechang 2018-08-01 10:04:24 +08:00 via Android
这台电脑内存多大? git lab 经常爆内存
|
7
ArthurKing 2018-08-01 10:14:41 +08:00
之前也在 Docker 中跑过 GitLab,经常出问题,后来虚拟机里面装个 Ubuntu,然后再装 GitLab,完美运行……后来想最大问题应该是 GitLab 要求最小 4G 内存……
|
8
samaxu 2018-08-01 11:00:07 +08:00
Please run `sudo gitlab-ctl reconfigure` to fix it and try again.
已经告诉你了啊 日志 |
10
zhazhadi OP @ArthurKing Ubuntu 里直接装 gitlab ?没用 docker 了吗?
|