Skip to content

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

Closed
@mpeter50

Description

@mpeter50

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions