tekin 最近的时间轴更新
tekin

tekin

Linux
V2EX 第 92926 号会员,加入于 2015-01-21 13:36:11 +08:00
linux, java, python, C++
tekin 最近回复了
2015-01-23 16:38:49 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
@gevin 我就一台VPS暂时不安装docker了,以后需要时看看,谢谢
2015-01-23 15:12:19 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
windows下 git bash响应很慢,是什么问题导致的,大家有遇到过吗?
2015-01-23 15:10:35 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
总结一下:
如果机器配置低bitnami的和别的一键安装可能不合适,低配置最好自己编译安装,有点麻烦,但还是能成功的。 谢谢大家总算成功了。版本问题和权限问题。目前只能是ssh方式可以了。
2015-01-23 12:23:45 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
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'
2015-01-23 12:01:08 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
/etc/hosts添加 127.0.0.1 localhost 就可以了、我先测试功能
2015-01-23 11:52:43 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
重新安装了一遍,最后检查出问题:
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 not supported 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
2015-01-23 02:24:27 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
@lyf362345 系统是centos6,是按照官方教程一步步安装的,一次安装成功,但无法push、加我QQ
2015-01-23 00:57:37 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
@lerry 系统是centos吗?我也是默认配置,改了域名,但无法push,你的http还是https, ssh push正常吗?能Q远程看看吗?
2015-01-22 23:35:54 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
@lerry 我系统已经部署了一些应用,暂时就手动安装看看,能否把你的相关配置参数给我们看看,如:gitlab.yml, gitlab-shell config.yml, unicorn.rb, resque.yml里的IP和端口、ssh key等参数设置。
2015-01-22 23:34:46 +08:00
回复了 tekin 创建的主题 Ruby on Rails Gitlab 安装成功、创建项目后添加 ssh key、push 遇到各种问题
@RoshanWu 谢谢,我先看看
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1042 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
Developed with CodeLauncher
♥ Do have faith in what you're doing.