-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
fork/exec: exec format error (question) #60
Comments
What OS are you running on? Is |
I have |
What happens when you execute redeploy.sh script manually? |
Also, who is the owner of the file? Under which user is webhook running? Can that user access the script? |
Output my $ ./redeploy.sh
Hello
Yes, my user is Or Is it necessary to use root access? |
What are the contents of |
|
Can you add |
Exists some complete example with |
Ok, I will try this... |
That's the problem. The first line must be something like this: #!/bin/sh |
That should solve it, can you please confirm so we can close the issue :-) |
@adnanh yeah I will confirm soon.. 👍 |
Glad we could help :-) 👍 |
a better error message would be helpful.
|
Wiki page with common errors and possible fixes would be even better :-) Feel free to contribute! |
wiki page <<< good error messages :) |
And the history changes: https://github.com/adnanh/webhook/wiki/Home/_history |
@adnanh I ❤️ u |
:) |
A change was made in response to adnanh#60 (fork/exec: exec format error) on the wiki that would be useful to also propagate to the readme.
it solved my issue, thanks a lot 👍 |
Hi,
I have following settings:
I request the hook:
$ curl http://localhost:9000/hooks/redeploy-webhook I got the payload!
On the terminal I got this error:
My simple
echo "Hello"
command inredeploy.sh
doesn't execute.What am I doing wrong?
The text was updated successfully, but these errors were encountered: