Post receive hook failing
Created by: m4tthumphrey
Since upgrading to 4.0, the post commit hooks are running but when I look in Resque they return this error:
undefined method `id' for nil:NilClass
/home/gitlab/gitlab/app/models/project.rb:104:in `find_with_namespace'
/home/gitlab/gitlab/app/workers/post_receive.rb:9:in `perform'
The arguments for this were:
"repositories/data/repo_name"
"..."
"..."
"refs/heads/develop"
"..."
I'm a bit confused as the repo_path
im supplying doesn't (or shouldn't) contain a /
so it should never hit project.rb:104....
In my setup the /home/git/repositories
is a symlink to /repositories/data
, I'm not sure it that is a factor?