Closed Kami-no closed 9 years ago
Okay, I've added an ebuild for gitlab-shell-2.3.1 and installed that on my server. Now I'm seeing the same problem. I'm going to investigate ...
I deleted the ebuild for 2.2.0 and fixed the one for 2.3.1; it now generates a random token that is stored in the .gitlab_shell_secret file. It works for me, so please test it.
$ git push /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in'
fatal: Could not read from remote repository.
read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in
secret_token' from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:inpost' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:in
allowed?' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:invalidate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:in
exec' from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `Please make sure you have the correct access rights and the repository exists.
$ git pull /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in'
fatal: Could not read from remote repository.
read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in
secret_token' from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:inpost' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:in
allowed?' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:invalidate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:in
exec' from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `Please make sure you have the correct access rights and the repository exists.
No problems with 2.0.1
PS: which repo is the freshest?