새로운 버전의 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.
실제로 1.8.3 – Trey
을 사용하고 있습니다. 문제가 없지만 1.8.4를 사용하고 있습니다. 그러나 Windows에서 비슷한 문제가 발생하여 1.8.2로 버전을 변경합니다. 결정된. –