马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
离线安装gitlab-jh(版本15.2.0)在私网环境,修改gitlab的external_url为私网IP:端口,以及puma[‘listen’],puma[‘port’],并对/var/opt/gitlab/gitlab-rails授写入权限,启动后仍然报502,gitlab-ctl tail看日志发现以下错误:
- ==> /var/log/gitlab/gitlab-workhorse/current <==
- {“correlation_id”:"",“duration_ms”:0,“error”:“badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused”,“level”:“error”,“method”:“GET”,“msg”:"",“time”:“2022-07-27T09:55:05+08:00”,“uri”:""}
- 2022-07-27_01:29:13.28749 /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/puma-5.6.2/lib/puma/binder.rb:341:in `initialize’: Address already in use - bind(2) for “127.0.0.1” port 8080 (Errno::EADDRINUSE)
复制代码
请问如何解决,谢谢!
|