reconquest / atlassian-external-hooks

External Hooks plugin for Atlassian Bitbucket
https://external-hooks.reconquest.io
Other
44 stars 37 forks source link

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

Open gsobel opened 7 months ago

gsobel commented 7 months ago

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: _"//shared/external-hooks/<>: No such file or directory remote: external-pre-receive-hook declined."_ Currently, all 'external-hooks' scripts are located at '//external-hooks/'. However, the server is expecting them to be in '//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.