安装gitlab初次启动问题
ShellCommandFailed: Expected process to exit with [0], but received '1'
解决方法:
1、停止gitlab服务
sudo gitlab-ctl stop
2、执行 命令
sudo chmod 755 /var/opt/gitlab/postgresql
3、执行命令
sudo systemctl restart gitlab-runsvdir
4、执行命令
sudo gitlab-ctl reconfigure
5、启动
sudo gitlab-ctl restart
奇怪的是通过SecureCRT启动仍然失败(只有2项服务被启动)
但是通过xshell5远程启动可以成功(15项服务被启动)
见了鬼了,先不管了,任务要紧