Access denied. Ever since upgrading to gitlab 6.0
Closed
Access denied. Ever since upgrading to gitlab 6.0
Created by: cmsimike
-
I don't have access to any git repo that was around before I upgraded to GitLab 6.0. I've created one repo since I upgraded to GitLab 6.0 and I can access that repo no problem.
-
Go into a directory with a git repo that existed before GitLab 6.0 and try a git pull or git push.
-
Expected behavior would be to pull or push
-
I get an Access Denied error.
Relevant log from gitlab-shell is gitlab-shell: Access denied for git command <git-upload-pack 'project.git'> by user with key key-5.
git@pascal:~/gitlab-shell/bin$ ./check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories: OK
/home/git/.ssh/authorized_keys: OK```
git@pascal:~/gitlab$ bundle exec rake gitlab:check RAILS_ENV=production Checking Environment ...
Git configured for git user? ... yes Has python2? ... yes python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.0 ? ... OK (1.7.0) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwxrws---? ... yes post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... Project Owner / project 1 ... ok Project Owner / project 2 ... ok Project Owner / project 3 ... ok Project Owner / project 4 ... ok Project Owner / project 5 ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... repository is empty Project Owner / project ... ok Project Owner / project ... ok
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes Database is SQLite ... no```
Version 6.0 This should be the hash: d422ee0f
System information
System: Ubuntu 11.10
Current User: git
Using RVM: yes
RVM Version: 1.19.0
Ruby Version: 1.9.3p327
Gem Version: 1.8.24
Bundler Version:1.3.4
Rake Version: 10.1.0
GitLab information
Version: 6.0.1
Revision: d422ee0
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://gitlab.example.com
HTTP Clone URL: https://gitlab.example.com/some-project.git
SSH Clone URL: git@gitlab.example.com:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
Been playing around with this for a while now and can't figure anything out. Help?