-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Unable to deliver webhook task[53215]: webhook does not exist [id: 134] #25744
Comments
I can pick this one. Could you share the repro steps. It will be very use ful for me to understand . |
I'm very sorry, I didn't notice this bug before and now I don't know how to reproduce it, anyway he will throw it when I start the gitea instance. |
I will try to repro it. |
I found it but different error Steps to repo: |
But if you see the error
Its showing different error. |
I guess you might get the same error as me when you restart your gitea instance with console |
Are you testing it on your local system or on testing instance. The error only persist when we delete any repo with a webhook |
prod |
@hiifong Shall we close this issue, Since I have tried multple time, multiple ways to repro it, still no luck. I have not seen the above issue again. Ofcourse we can reopen this if we encountered |
Maybe we should clean the tasks in queues before deleting database records when deleting a repository. |
@hiifong I can take this forward. :) |
TBH, it's not the right way. Queue item couldn't/shouldn't be deleted ad-hoc. It should simply ignore the non-existing webhooks. |
Shall we log warn level instead of error level in the program. |
Maybe yes. |
…-gitea#26039) Attemp fix: go-gitea#25744 Fixing the log level when we delete any repo then we get error hook not found by id. That should be warn level to reduce the noise in the logs. --------- Co-authored-by: delvh <dev.lh@web.de>
very strange,here is my gitea compiled from the latest commit @puni9869
Gitea version: |
It works on my system, mine system's configs are same as yours. |
…-gitea#26039) (go-gitea#26211) Backport go-gitea#26039 by @puni9869 Attemp fix: go-gitea#25744 Fixing the log level when we delete any repo then we get error hook not found by id. That should be warn level to reduce the noise in the logs. Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com> (cherry picked from commit c5fe09d)
Description
Gitea Version
v1.20+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
MySQL
The text was updated successfully, but these errors were encountered: