Error cloning gitolite-admin repo while attempting to create a project or add ssh key
Created by: edrex
Presumably this will happen with other actions that use the admin repo as well.
When I attempt to create a project or add/remove an ssh key on a user, I am redirected to /errors/githost, with the following showing in the logs:
$ tail logs/githost.log
November 27, 2012 20:15 -> ERROR -> RuntimeError Git commit failed.
November 27, 2012 20:17 -> ERROR -> Pull error -> unable to clone gitolite-admin repo
$ tail ~git/.gitolite/logs/gitolite-2012-11.log
2012-11-27.20:15:22 12069 ssh ARGV=gitlab SOC=git-upload-pack 'gitolite-admin' FROM=127.0.0.1
2012-11-27.20:15:22 12069 access(gitolite-admin, gitlab, R, 'any'),-> refs/.*
2012-11-27.20:15:22 12069 trigger,Writable,access_1,ACCESS_1,gitolite-admin,gitlab,R,any,refs/.*
2012-11-27.20:15:22 12069 pre_git gitolite-admin gitlab R any -> refs/.*
2012-11-27.20:15:22 12069 system,git,shell,-c,git-upload-pack '/home/git/repositories/gitolite-admin.git'
2012-11-27.20:15:25 12069 END
The repo clones fine from the commandline and with gitlab:app:status
➜ gitlab rvmsudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production
Starting diagnostics
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
Can clone gitolite-admin?............YES
Can git commit?............YES
UMASK for .gitolite.rc is 0007? ............YES
/home/git/.gitolite/hooks/common/post-receive exists? ............YES
Validating projects repositories:
* example.....post-receive file ok
Finished
Versions:
➜ gitlab git log --pretty=format:'%ad %h %d' --abbrev-commit --date=short -1
2012-11-22 ced242a (HEAD, v3.1.0)
➜ gitlab sudo -u gitlab ssh git@localhost
hello gitlab, this is git@ankh running gitolite3 v3.04-0-gaf437c3 on git 1.7.9.5
R W gitolite-admin
R W testing
Project creation was working prior to upgrade from 2.9 to 3.1.
Any further troubleshooting steps/ideas? Thanks