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

Corrupted proc structure #645

Closed
4 tasks done
ChewingBever opened this issue Dec 30, 2021 · 2 comments · Fixed by #647
Closed
4 tasks done

Corrupted proc structure #645

ChewingBever opened this issue Dec 30, 2021 · 2 comments · Fixed by #647
Labels
bug Something isn't working
Milestone

Comments

@ChewingBever
Copy link
Contributor

Component

server

Describe the bug

After running a few builds, I get the issue where the UI just shows the error "An unknown error occured" without loading the UI. Each time this page is accessed, the error message is accompagnied by a log message saying something about a "corrupt proc structure" (see Additional Context section). You find an example of such a bugged out page here. I'll keep it up for a bit as I don't need really need it atm, maybe it can help you guys figure out the problem. The "repair repository" button doesn't help.

For reference, I use this stack file for deploying Woodpecker inside my Docker swarm.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-b4094b9d"}

Additional context

{"time":"2021-12-30T14:29:58Z","message":"LogLevel = warn"}
{"level":"warn","error":"sql: no rows in result set","time":"2021-12-30T14:30:30Z"}
{"level":"error","error":"Error #01: Corrupt proc structure\n","ip":"10.0.1.3","latency":7.694769,"method":"GET","path":"/api/repos/rusty-bever/blog/builds/2","status":500,"time":"2021-12-30T14:30:31Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","time":"2021-12-30T14:30:31Z"}
{"level":"error","error":"Error #01: Corrupt proc structure\n","ip":"10.0.1.3","latency":8.75056,"method":"GET","path":"/api/repos/rusty-bever/blog/builds/2","status":500,"time":"2021-12-30T14:33:00Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","time":"2021-12-30T14:33:00Z"}
{"level":"error","error":"Error #01: Corrupt proc structure\n","ip":"10.0.1.3","latency":5.638969,"method":"GET","path":"/api/repos/rusty-bever/blog/builds/2","status":500,"time":"2021-12-30T14:33:19Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","time":"2021-12-30T14:33:19Z"}
{"level":"error","error":"Error #01: Corrupt proc structure\n","ip":"10.0.1.3","latency":5.858869,"method":"GET","path":"/api/repos/rusty-bever/blog/builds/2","status":500,"time":"2021-12-30T14:33:37Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0","time":"2021-12-30T14:33:37Z"}

Validations

@6543 6543 added bug Something isn't working and removed pending:bug labels Dec 30, 2021
@6543 6543 added this to the 0.15.0 milestone Dec 31, 2021
@6543
Copy link
Member

6543 commented Dec 31, 2021

@ChewingBever can test it via woodpeckerci/woodpecker-server:test-647 image if this fix your issue?

@ChewingBever
Copy link
Contributor Author

I tested it both with my own built image & @6543's, & the bug does indeed seem to be fixed!

@6543 6543 closed this as completed in #647 Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants