我使用GitLab 5.4.0-0
获得Bitnami Stack 5.4创建用户,登录和添加密钥后,推送到新存储库
git@gitlab.funshion.com:gitdemo1/gittest1.git: /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:763:in `initialize': getaddrinfo: Temporary failure in name resolution (SocketError)
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:763:in `open'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:763:in `block in connect'
from /opt/bitnami/ruby/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
from /opt/bitnami/ruby/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:763:in `connect'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
from /opt/bitnami/ruby/lib/ruby/1.9.1/net/http.rb:745:in `start'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:62:in `get'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:17:in `allowed?'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:60:in `validate_access'
from /opt/bitnami/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:23:in `exec'
from /opt/bitnami/apps/gitlab/gitlab-shell/bin/gitlab-shell:16:in `<main>'
更新: 请帮助启动GitLab服务器。我们尝试了3台计算机,没有成功。
更新2:gitlam.yml表示不支持relative_url_root,而Bitnami GitLab在server / gitlab /
运行# WARNING: This feature is no longer supported
更新3:通过将默认网址更改为根Gitlab 5.4 push connection refused,解决了类似的问题http://wiki.bitnami.com/Applications/BitNami_GitLab#How_to_change_the_default_URL_to_the_root.3f 但是在执行完所有这些步骤后,我的GitLab仍然在/ gitlab /上运行,甚至在重启之后。
访问/,获取消息“Not Found:/”而不是默认屏幕。所以转型并不充分。
答案 0 :(得分:5)
服务器本身无法解析域名。解决方案是在/ etc / hosts文件中添加域。
127.0.0.1 gitlab.company.com
答案 1 :(得分:0)
同时检查gitlab / config / resque.yml中的redis配置。可以指向redis.example.com。