- Pull requests are not being updated when the source or target branch is updated
- Configured repository hooks are not being enforced when updates are pushed to a repository
- Branch permissions are not being enforced when updates are pushed to a repository
The atlassian-bitbucket.log contains this message:
The symptoms described above indicate that the repository hooks in Bitbucket's repositories are not being called. This can have a variety of reasons (e.g. hooks being manually overwritten, hooks not being executable). More information about possible causes and ways to resolve them can be found in this Knowledge Base article.
This problem also occurs when the core.hooksPath setting (supported in git 2.9 and higher) is configured in the ~/.gitconfig file of the Bitbucket (service) user, or in the system-wide /etc/gitconfig configuration file, Bitbucket Server's repository hooks are no longer called.
Bitbucket should override the core.hooksPath setting in its shared/config/git/system-config to ensure its own hooks are called.
Remove the core.hooksPath setting from the Bitbucket user's ~/.gitconfig and/or the system-wide /etc/gitconfig.