GitLab unusable - Not interacting with Gitolite?
Created by: avosirenfal
I got GitLab installed and configured. I added my public key to my account and then added a project. Unfortunately, the project does not appear to exist in Gitolite, nor do my keys appear to have been added (not in .gitolite/keydir or .ssh/authorized_keys)
GitLab doesn't complain, the project is created fine. Permissions are correct, according to gitlab:app:status, but it says the post_receive file is missing for the project.. which is unsurprising since there is no project in /home/git/repositories
gitlab@server:~$ 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
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
Can clone gitolite-admin?............YES
UMASK for .gitolite.rc is 0007? ............YES
/home/git/.gitolite/hooks/common/post-receive exists? ............YES
Validating projects repositories:
Herp.....post-receive file missing
rake aborted!
unexpected return
Tasks: TOP => gitlab:app:status
(See full trace by running task with --trace)
EDIT: The gitolite-admin repo does exist. I'm able to both clone the gitolite-admin repo and write in that directory:
gitlab@server:~$ git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
Cloning into '/tmp/gitolite-admin'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
Receiving objects: 100% (6/6), 751 bytes, done.
remote: Total 6 (delta 0), reused 0 (delta 0)
gitlab@server:~$ mkdir /home/git/repositories/test
gitlab@server:~$ touch /home/git/repositories/test/asdf
I'm at a loss and GitLab is unusable as a result. What do I do? I'm not sure where to even start looking.
Thanks in advance.