请选择 进入手机版 | 继续访问电脑版
返回列表 发布新帖

新建项目提示500错误

205 4
发表于 2024-5-26 14:35:52 | 显示全部楼层 阅读模式

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

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

×

本帖最后由 DECO 于 2024-5-26 15:12 编辑

本帖最后由 DECO 于 2024-5-26 15:09 编辑

您好:

我在本地部署gitlab库,新建group,subgroup均正常;在subgroup或group新建 private project时无法成功,页面提示500 error,请问怎么解决?感谢回复!

application_json.log 错误如下:

{"severity":"ERROR","time":"2024-05-26T06:48:51.170Z","correlation_id":"01HYSTHCRPE01BY166SFFBH4NP","meta.caller_id":"ProjectsController#create","meta.remote_ip":"192.xxx.xx.x","meta.feature_category":"groups_and_projects","meta.user":"root","meta.user_id":1,"meta.client_id":"user/1","message":"Unable to save project. Error: 14:connections to all backends failing; last error: UNKNOWN: unix:/var/opt/gitlab/gitaly/gitaly.socket: No such file or directory. debug_error_string:{UNKNOWN:Error received from peer {grpc_message:\"connections to all backends failing; last error: UNKNOWN: unix:/var/opt/gitlab/gitaly/gitaly.socket: No such file or directory\", grpc_status:14, created_time:\"2024-05-26T14:48:51.144325731+08:00\"}}"}

回复

使用道具 举报

评论4

zookeeperLv.7 发表于 2024-5-26 22:49:49 | 显示全部楼层
看报错gitaly应该没有启动,gitlab-ctl status 看一下gitaly状态。
回复

使用道具 举报

DECO楼主Lv.1 发表于 2024-5-27 09:05:35 | 显示全部楼层
感谢回复状态如下:
run: gitaly: (pid 3441) 0s; run: log: (pid 2379) 60s
run: gitlab-kas: (pid 2384) 60s; run: log: (pid 2378) 60s
run: gitlab-workhorse: (pid 2390) 60s; run: log: (pid 2375) 60s
run: logrotate: (pid 2391) 60s; run: log: (pid 2374) 60s
run: nginx: (pid 2381) 60s; run: log: (pid 2377) 60s
run: postgresql: (pid 2388) 60s; run: log: (pid 2382) 60s
run: puma: (pid 2385) 60s; run: log: (pid 2380) 60s
run: redis: (pid 2386) 60s; run: log: (pid 2376) 60s
run: sidekiq: (pid 2389) 60s; run: log: (pid 2383) 60s
回复

使用道具 举报

DECO楼主Lv.1 发表于 2024-5-27 09:05:52 | 显示全部楼层
zookeeper 发表于 2024-5-26 22:49
看报错gitaly应该没有启动,gitlab-ctl status 看一下gitaly状态。

感谢回复状态如下:
run: gitaly: (pid 3441) 0s; run: log: (pid 2379) 60s
run: gitlab-kas: (pid 2384) 60s; run: log: (pid 2378) 60s
run: gitlab-workhorse: (pid 2390) 60s; run: log: (pid 2375) 60s
run: logrotate: (pid 2391) 60s; run: log: (pid 2374) 60s
run: nginx: (pid 2381) 60s; run: log: (pid 2377) 60s
run: postgresql: (pid 2388) 60s; run: log: (pid 2382) 60s
run: puma: (pid 2385) 60s; run: log: (pid 2380) 60s
run: redis: (pid 2386) 60s; run: log: (pid 2376) 60s
run: sidekiq: (pid 2389) 60s; run: log: (pid 2383) 60s
回复

使用道具 举报

zookeeperLv.7 发表于 2024-5-31 14:43:48 | 显示全部楼层
可以看到run: gitaly: (pid 3441) 0s; 应该是不停的在重启。gitaly组建存在问题。
回复

使用道具 举报

意见建议

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