极狐GitLab 正式推出面向 GitLab 老旧版本(12.x、13.x、14.x、15.x 等)免费用户的专业升级服务,点击查看详情

返回列表 发布新帖

Ubuntu 22.04 安装 Gitlab 16.11.1成功后一直停留在 Waiting for GitLab to boot 页面

923 3
发表于 2024-5-11 10:09:13 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
本帖最后由 豆腐多多 于 2024-5-11 10:16 编辑

>  本帖最后由 豆腐多多 于 2024-5-11 10:13 编辑


离线部署安装完成之后,访问一直显示Waiting for GitLab to boot
WechatIMG4.jpg

内存信息:
内存.jpg


端口号占用情况:

端口号.jpg

执行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: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-10T06:41:59Z","uri":""}

然后手动创建:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket,又显示failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: permission denied"

然后执行:chmod -R o+x /var/opt/gitlab/gitlab-rails/sockets

显示:dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused
回复

使用道具 举报

评论3

leichengLv.1 发表于 2024-5-11 10:35:29 | 显示全部楼层
gitlab-ctl status 看下
回复

使用道具 举报

豆腐多多楼主Lv.1 发表于 2024-5-11 11:11:21 | 显示全部楼层
leicheng 发表于 2024-5-11 10:35
gitlab-ctl status 看下

Snipaste_2024-05-11_11-10-18.jpg
回复

使用道具 举报

leichengLv.1 发表于 2024-5-11 15:47:35 | 显示全部楼层
根据文档这个方法获取从页面获取一下相应的correlation_id

https://docs.gitlab.com/ee/admin ... -id-in-your-browser

然后根据id搜索对应的日志

find /var/log/gitlab -type f -mtime 0 -exec grep 'correlation-id_xxxxxxx' '{}' '+'
回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2024 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表