Couldn't set refs/remotes/origin/master
Created by: ghost
After installed gitlab, I login and create a new project, the page show errors as following:
GitLab was unable to access your Gitolite system. Tips for Administrator: Check git logs in admin area
Check config/gitlab.yml for correct settings.
Diagnostic tool:
bundle exec rake gitlab:app:status RAILS_ENV=production Permissions:
sudo chmod -R 770 /home/git/repositories/ sudo chown -R git:git /home/git/repositories/
All the logs hava meaningful information, only in my unicorn.stderr.log
error: Couldn't set refs/remotes/origin/master error: Cannot update the ref 'refs/remotes/origin/master'. fatal: Could not get current working directory: No such file or directory
I following the official install instructions, and I run :
sudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production
All my diagnostics status is correct, where is the problem?