GitLab hooks not being called

Hi,

I have the subgit mirror working between a git repo and an svn one.

Could this be interfering with my pre-receive hook in GitLab?
No matter what I do I do not seem to be able to get it to activate.

Hi Steve,

no, SubGit hooks should not interfere with GitLab’s. Do I understand correctly you have create a hook that should be invoked by GitLab and it does not being triggered? Have this hook been worked before and haven’t you upgraded GitLab recently?

Hi,

We had a previous version of GitLab and the server side pre-receive hook would not fire.
We upgraded it to the latest version on Monday but the hook still does not seem to fire.
It has never worked, currently it is set to simply ‘exit 1’ and refuse everything but it is not doing that.

Aha - it seems to work now. It looks like it was caused by the directory attributes being wrong.
I cannot say I fully understand it but I am not a Linux head!

Hi Steve,

glad to here it works now :)
Yet I don’t completely get what’s happening, too. Anyway, SubGit should not affect GitLab’s hooks if it’s configured to work in GitLab environment.