GitLab v5.0 git click problems

I am creating this question to help others find documentation on two GitLab configuration issues when trying to initialize a repo:

1: The git user on your GitLab server requires a password even after setting up the SSH key in the GitLab interface:

$ git push -u origin master
git@hostname password: 

2: the gitlab shell client seems to be looking for the wrong place for your repo when trying to click ( /home/git/repositorieswhere all the repositories should be stored as indicated in /home/git/gitlab-shell/config.yml):

$ git push -v -u origin master
Pushing to git@hostname:sadmicrowave/test-project.git
fatal: 'sadmicrowave/test-project.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
+5
source share
1 answer

SSH GitLab, , /home/git/.ssh/authorized_keys. https://github.com/gitlabhq/gitlabhq/issues/3120, :

rake gitlab:shell:setup RAILS_ENV=production

: RAILS_EVN=production, , cannot load such file -- rb-inotify

git sudo, sudo, , (git) .ssh

$ sudo chgrp -R git /home/git/.ssh
$ sudo chown -R git /home/git/.ssh

GitLab, SSH- ( , ).

/home/git/.ssh/authorized_keys, git push -v -u origin master , !

+6

All Articles