Gitlab 7.8.4无法使用SSH或HTTPS进行推送

Gitlab 7.8.4无法使用SSH或HTTPS进行推送,gitlab,git-shell,Gitlab,Git Shell,我们的设置: Gitlab CE Gitlab 7.8.4 Git外壳:2.5.4 Gitlab API:v3 红宝石:2.1.5p273 轨道:4.1.1 这是一个测试,它位于一个私有存储库上,该存储库由尝试推送到它的同一用户拥有(用户是admin)。环境检查是干净的,没有错误。无论我们尝试HTTPS还是SSH,都会出现相同的错误。SSH在升级之前工作 错误: git push -u origin master /usr/local/lib/ruby/2.1.0/json/common.rb:

我们的设置: Gitlab CE Gitlab 7.8.4 Git外壳:2.5.4 Gitlab API:v3 红宝石:2.1.5p273 轨道:4.1.1

这是一个测试,它位于一个私有存储库上,该存储库由尝试推送到它的同一用户拥有(用户是admin)。环境检查是干净的,没有错误。无论我们尝试HTTPS还是SSH,都会出现相同的错误。SSH在升级之前工作

错误:

git push -u origin master
/usr/local/lib/ruby/2.1.0/json/common.rb:155:in `parse': 757: unexpected token at 'false' (JSON::ParserError)
    from /usr/local/lib/ruby/2.1.0/json/common.rb:155:in `parse'
    from /home/git/gitlab-shell/lib/gitlab_access_status.rb:13:in     `create_from_json'
    from /home/git/gitlab-shell/lib/gitlab_net.rb:34:in `check_access'
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:25:in `exec'
    from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists. 
尝试将git shell的不同版本恢复到2.2.0

# ssh git@gitlab.domain.com
PTY allocation request failed on channel 0
Welcome to GitLab, Anonymous!
Connection to gitlab.domain.com closed.

正如Geoff指出的,我的问题是gitlab shell/config.yml配置不当。一旦纠正了gitlab_url的类型,我们就可以在HTTPS和SSH上进行推拉操作,而不会出现任何问题。

您可以发布gitlab shell/config.yml?Ha的内容吗。可以那太令人沮丧了,我从来没看过。我在更新时不知何故在URL中引入了一个输入错误。修正了。一切正常。修复gitlab shell/config.yml中的gitlab_url是StackOverflow中90%关于推送能力的问题的答案。:)
# ssh git@gitlab.domain.com
PTY allocation request failed on channel 0
Welcome to GitLab, Anonymous!
Connection to gitlab.domain.com closed.