gitlab-shell hooks/update not executable
Only 2 of the 3 hooks in gitlab-shell/hooks are executable. The update hook is not executable, resulting in the following error You want to delete a branch.
Started DELETE "/gitlab/<group>/<repo>/branches/<branch>" for <ip> at 2016-11-26 16:38:41 +0100 Processing by Projects::BranchesController#destroy as JS Parameters: {"namespace_id"=>"<group>", "project_id"=>"<repo>", "id"=>"<branch>"} Started POST "/gitlab/api/v3/internal/allowed" for <ip> at 2016-11-26 16:38:42 +0100 Completed 500 Internal Server Error in 405ms (ActiveRecord: 9.5ms)
Errno::EACCES (Permission denied - /var/git/repositories/<group>/<repo>.git/hooks/update): lib/gitlab/git/hook.rb:76:in 'block in call_update_hook' lib/gitlab/git/hook.rb:75:in 'chdir' lib/gitlab/git/hook.rb:75:in 'call_update_hook' lib/gitlab/git/hook.rb:25:in 'block in trigger' lib/gitlab/git/hook.rb:20:in 'trigger' app/services/git_hooks_service.rb:28:in 'run_hook' app/services/git_hooks_service.rb:12:in 'block in execute' app/services/git_hooks_service.rb:11:in 'each' app/services/git_hooks_service.rb:11:in 'execute' app/models/repository.rb:185:in 'rm_branch' app/services/delete_branch_service.rb:24:in 'execute' app/controllers/projects/branches_controller.rb:55:in 'destroy' lib/gitlab/request_profiler/middleware.rb:15:in 'call' lib/gitlab/middleware/go.rb:16:in 'call'
Andries