V2EX tekin
 tekin 最近的时间轴更新
tekin

tekin

Linux
V2EX 第 92926 号会员,加入于 2015-01-21 13:36:11 +08:00
linux, java, python, C++
tekin 最近回复了
@gevin 我就一台VPS暂时不安装docker了,以后需要时看看,谢谢
windows下 git bash响应很慢,是什么问题导致的,大家有遇到过吗?
总结一下:
如果机器配置低bitnami的和别的一键安装可能不合适,低配置最好自己编译安装,有点麻烦,但还是能成功的。 谢谢大家总算成功了。版本问题和权限问题。目前只能是ssh方式可以了。
ssh方式正常,但 http方式 push报错:
Total 3 (delta 0), reused 0 (delta 0)
remote: /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill': Net::ReadTimeout (Net::ReadTimeout)
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http/response.rb:39:in `read_status_line'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http/response.rb:28:in `read_new'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1408:in `block in transport_request'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1405:in `catch'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1405:in `transport_request'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:1378:in `request'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:103:in `block in post'
remote: from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:853:in `start'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:103:in `post'
remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:28:in `check_access'
remote: from /home/git/gitlab-shell/lib/gitlab_access.rb:21:in `exec'
remote: from hooks/pre-receive:13:in `<main>'
To http://xxxxx/root/hello.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://xxxxx/root/hello.git'
/etc/hosts添加 127.0.0.1 localhost 就可以了、我先测试功能
重新安装了一遍,最后检查出问题:
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `initialize': Address family notsupported by protocol - socket(2) for "localhost" port 8080 (Errno::EAFNOSUPPORT)
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `open'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
from /usr/local/ruby/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:878:in `connect'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
from /usr/local/ruby/lib/ruby/2.1.0/net/http.rb:852:in `start'
from /home/git/gitlab-shell/lib/gitlab_net.rb:86:in `get'
from /home/git/gitlab-shell/lib/gitlab_net.rb:44:in `check'
from /home/git/gitlab-shell/bin/check:11:in `<main>'
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.

config.yml:
gitlab_url: "http://localhost:8080"

unicorn.rb:
listen "127.0.0.1:8080", :tcp_nopush => true

gitlab.yml:
port: 80
@lyf362345 系统是centos6,是按照官方教程一步步安装的,一次安装成功,但无法push、加我QQ
@lerry 系统是centos吗?我也是默认配置,改了域名,但无法push,你的http还是https, ssh push正常吗?能Q远程看看吗?
@lerry 我系统已经部署了一些应用,暂时就手动安装看看,能否把你的相关配置参数给我们看看,如:gitlab.yml, gitlab-shell config.yml, unicorn.rb, resque.yml里的IP和端口、ssh key等参数设置。
@RoshanWu 谢谢,我先看看
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2772 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 12ms UTC 12:35 PVG 20:35 LAX 05:35 JFK 08:35
Do have faith in what you're doing.
ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86