2014-04-06 3 views
2

새로운 버전의 gitlab을 nginx와 함께 설치했습니다. 프런트 엔드에 아무 문제없이 액세스 할 수 있으며 사용자를 만들거나 키를 추가하거나 프로젝트를 만들 수 있습니다. 첫 번째 프로젝트를 만든 후 프로젝트 페이지의 지침을 따르려고했지만이 오류가 계속 발생합니다. 나는 모든 로그를 확인하고 관련 아무것도 찾을 수 없습니다Gitlab push origin master

git push -u origin master 

반환

/home/git/gitlab-shell/lib/gitlab_net.rb:71:in `get': undefined method `request_uri' for #<URI::Generic:0x00000001ca76b8> (NoMethodError) 
    from /home/git/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?' 
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:59:in `validate_access' 
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:23: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 

및 저장소가 존재한다.

내가 온라인으로 볼 수있는 다른 도움이 당으로 나는 다음 시도 :

ssh [email protected] 

얻을 :

PTY allocation request failed on channel 0 
/home/git/gitlab-shell/lib/gitlab_net.rb:71:in `get': undefined method `request_uri' for # <URI::Generic:0x00000002a60d40> (NoMethodError) 
    from /home/git/gitlab-shell/lib/gitlab_net.rb:38:in `discover' 
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:77:in `user' 
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:82:in `username' 
    from /home/git/gitlab-shell/lib/gitlab_shell.rb:36:in `exec' 
    from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>' 
Connection to [ip_addr] closed. 

답변

2

그럼 인터넷 검색의 일 후에 나는 마지막으로 두 가지를 시도하고 문제가 해결된다

  • 는 gitlab 분명히의 공연에 가까운 요구하는 m1.small에 t1.micro에서 내 EC2 인스턴스를 업데이트 기억.
  • 구성 중에 서버의 IP 주소 으로 설정 파일의 url을 설정 했으므로이 참조를 localhost로 변경했습니다.
0

이 < = 힘내 - 1.8.4,
때문에하는 자식 혼란 스럽다 시도를 새로운 버전은 https를 사용하는 동안 push에 문제가있을 수 있습니다.

+0

실제로 1.8.3 – Trey

+0

을 사용하고 있습니다. 문제가 없지만 1.8.4를 사용하고 있습니다. 그러나 Windows에서 비슷한 문제가 발생하여 1.8.2로 버전을 변경합니다. 결정된. –

관련 문제