A few months ago, I completed a much needed upgrade from version 11.11.8 to 13.12.5. I followed the upgrade path as documented here: Upgrading GitLab | GitLab
Recently, I noticed that global git hooks haven’t been working for projects created after I performed the upgrade. All repositories before the upgrade were kept in user directories located in /data/gitlab/git-data/repositories and the hooks directory inside the repository directory was a symlink to /opt/gitlab/embedded/service/gitlab-shell/hooks. Since the upgrade, they’re now going into /data/gitlab/git-data/repositories/@hashed and the hooks directory is not symlinked.
I’ve seen other discussion about this problem, most notably this one: Gitlab 12.X - problem with global Git hooks
The solution here was to explicitly specify the path to the global hooks directory in gitlab.rb, even though it’s the default location. I made this change and created a new repository to test, but I still saw no symlink in the repository’s directory.
What should I try next to fix this?