Skip to content

HTTP 500 when displaying runner management #30378

Closed
@vanyle

Description

@vanyle

Description

When accessing https://mygiteaurl.com/admin/actions/runners/ I get a 500 error.

An error occurred:

Render failed, failed to render template: admin/actions, error: template error: builtin(bindata):shared/actions/runner_list:76:40 : executing "shared/actions/runner_list" at <.BelongsToOwnerName>: error calling BelongsToOwnerName: runtime error: invalid memory address or nil pointer dereference
----------------------------------------------------------------------
						<td><span data-tooltip-content="{{.BelongsToOwnerName}}">{{.BelongsToOwnerType.LocaleString ctx.Locale}}</span></td>
						                                  ^
----------------------------------------------------------------------

The issue persist after restarting Gitea. I think my database is in an incorrect state.
It occured after messing with creating Gitea Runners.

Gitea Version

1.21.10

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/vanyle/9a2bcdc8da1a17d2c692ebe8965de8b7

Screenshots

image

Git Version

2.40.1

Operating System

Linux (Ubuntu)

How are you running Gitea?

I am using Docker.
sudo docker compose up

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions