ubuntu - Gitlab push origin master -
i have new version of gitlab installed nginx. can access front end no problem, can create users/add keys, , create projects. after creating first project attempted follow directions on project page, keep getting error. have checked logs , can't find relevant:
git push -u origin master
returns
/home/git/gitlab-shell/lib/gitlab_net.rb:71:in `get': undefined method `request_uri' #<uri::generic:0x00000001ca76b8> (nomethoderror) /home/git/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?' /home/git/gitlab-shell/lib/gitlab_shell.rb:59:in `validate_access' /home/git/gitlab-shell/lib/gitlab_shell.rb:23:in `exec' /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>' fatal: not read remote repository. please make sure have correct access rights
and repository exists.
as per other found online tried:
ssh git@myhost
and get:
pty allocation request failed on channel 0 /home/git/gitlab-shell/lib/gitlab_net.rb:71:in `get': undefined method `request_uri' # <uri::generic:0x00000002a60d40> (nomethoderror) /home/git/gitlab-shell/lib/gitlab_net.rb:38:in `discover' /home/git/gitlab-shell/lib/gitlab_shell.rb:77:in `user' /home/git/gitlab-shell/lib/gitlab_shell.rb:82:in `username' /home/git/gitlab-shell/lib/gitlab_shell.rb:36:in `exec' /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>' connection [ip_addr] closed.
well after days of googling tried 2 things , problem resolved:
- updated ec2 instance t1.micro m1.small, gitlab apparently requires closer gig of memory.
- during configuration set url in config files ip of server, changed references localhost.
Comments
Post a Comment