gitlab报错 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"解决方案

来源:互联网 发布:软件测试需要会什么 编辑:程序博客网 时间:2024/05/02 02:05

gitlab报错 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200",如下图

 

这个问题网上有些人给出这样的解决方法是不行的,

所谓:git config --globalhttp.postBuffer 24288000

git config --list

最有代表的是这个帖子:http://blog.csdn.net/ijibu/article/details/10830853

http://stackoverflow.com/questions/17683295/git-bash-error-rpc-failed-result-18-htp-code-200b-1kib-s

 

解决方法参考:

http://blog.csdn.net/nydia_xiangxiang/article/details/45058505

 

gitlab的安装目录文件结构

 

需要查看gitlab的报错信息在/gitlab/log/unicorn.stderr.log

 

很显然说超时了,那么修改默认配置即可,找到配置文件/config/unicorn.rb

timeout 240

这个改大即可

 

重启gitlab服务

# service gitlab restart

0 0