Skip to content

Fail to download actions logs #34038

Closed
@Sirherobrine23

Description

@Sirherobrine23

Description

From merged #33858, cannot download logs

Gitea log

2025/03/27 14:32:03 .../repo/actions/view.go:481:Logs() [D] DownloadActionsRunJobLogsWithIndex: job index is out of range: 1
2025/03/27 14:32:03 .../context/context_response.go:69:(*Context).HTML() [D] Template: status/404
2025/03/27 14:32:03 HTTPRequest [I] router: completed GET /gitea/gitea_docker/actions/runs/656/jobs/1/logs for xxx.xxx.xxx.xxx:27090, 404 Not Found in 28.3ms @ actions/view.go:468(actions.Logs)

Gitea Version

a759496

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Gravacao.da.tela.2025_03_27.11-22-50.mp4

Git Version

2.49.0

Operating System

Linux

How are you running Gitea?

Custom docker image

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions