-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Webhooks api stopped working #13907
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
Comments
Thanks @lunny, the error has changed now, looks like the DB is good and I can create webhook from the web interface. :) I'm still having trouble getting Drone to create its webhook over the API. Its showing gitea/routers/api/v1/utils/hook.go Lines 54 to 58 in bc1cf6e
|
What are the valid hook types? I tried |
I might have fixed this... just testing, will PR soon |
Nope. Ignore previous message, I can't get it to work. No PR coming :( |
I think the error is still there but I'm having trouble getting a complied version to work in my drone environment. I don't supposed there is a linux-amd64 compiled version available for download? |
I also see issues enabling drone repos on latest gitea master - could be related to this issue here. |
I can confirm the bug is still present on #13937 and master. Using older version (1.13) I am able to create webhook over api using swagger
But on #13937 and master I get the |
[x]
):Description
After upgrading from a db version 160 to 162 I get the following error when trying to add a new webhook:
Error 1366: Incorrect integer value: 'gitea' for column git.webhook.hook_task_type
Also Drone integration hooks are failing. Probably others too.
Maybe the migration is incomplete? #13664
The text was updated successfully, but these errors were encountered: