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

Template rendering error while opening a worker management page at /admin/monitor #21207

Closed
mpeter50 opened this issue Sep 19, 2022 · 0 comments · Fixed by #21208
Closed

Template rendering error while opening a worker management page at /admin/monitor #21207

mpeter50 opened this issue Sep 19, 2022 · 0 comments · Fixed by #21208
Labels
Milestone

Comments

@mpeter50
Copy link
Contributor

Description

I was using the /admin/monitor page for checking the load of Gitea.

After clicking on Review/Add Workers in the line of mirror-channel, on the page that opened I wanted to a new flush worker with no timeout, but after clicking the add button I got an error page, of which I included a screenshot below.

Then I've gone back to the /admin/monitor page, which loaded fine.
But when I wanted to reenter the worker management page of the mirror-channel worker, I still got the same error.

Checking the docker logs revealed that this single line is printed when this error happens:

2022/09/19 13:38:25 ...s/context/context.go:232:HTML() [E] [632854b1] Render failed: template: admin/queue:160:59: executing "admin/queue" at <.i18n.Tr>: can't evaluate field i18n in type *queue.PoolWorkers

While searching for similar issues, I've found this: #16877 (comment)

Gitea Version

1.17.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/mpeter50/db86a7d61895a14c44f855139cc2ac10

Screenshots

image

Git Version

No response

Operating System

Raspbian

How are you running Gitea?

I build Gitea myself with docker buildx, with no modifications, and I run Gitea with docker compose.

Database

MySQL

@lunny lunny added this to the 1.17.3 milestone Sep 19, 2022
techknowlogick pushed a commit that referenced this issue Sep 20, 2022
Fix #21207

Co-authored-by: Lauris BH <lauris@nix.lv>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants