Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External-pre-receive-hook stopped working after updated a new 'Data Center' instead ‘Server' license. - Hook script xxxx not found. #140

Open
gsobel opened this issue Feb 25, 2024 · 0 comments

Comments

@gsobel
Copy link

gsobel commented Feb 25, 2024

Hello,
After we issued a new license to our Bitbucket. transitioned from a 'Server' to a 'Data Center' license, all the 'external-pre-receive-hook' executions failed, displaying the following error message:
"/<bitbucket_home>/shared/external-hooks/<>: No such file or directory remote: external-pre-receive-hook declined."
Currently, all 'external-hooks' scripts are located at '/<bitbucket_home>/external-hooks/'. However, the server is expecting them to be in '/<bitbucket_home>/shared/external-hooks/'.
Could you please advise on how to direct new scripts to be written to the 'shared/external-hooks' folder or how to direct the server to look for the hooks at 'bitbucket/external-hooks'?
Currently, we've temporarily fixed it by copying the 'external-hooks' folder to the 'shared' configuration. However, a more permanent solution would involve configuring either the script writing process or the server configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant