Skip to content

CleanupLogs infinite loop #33567

Closed
Closed
@ericLemanissier

Description

@ericLemanissier

Description

I'm in a situation where the CRON task "Cleanup expired actions resources" has been running for 9 hours, and seems to be continually trying to delete the same 100 log files, but always failing with ..s/actions/cleanup.go:105:CleanupLogs() [E] Failed to remove log ... (in storage false) of task ...: dbfs remove "...": file does not exist
I don't know why these file do not exist, but certainly the failure to delete them could be simply ignored in this case, and continue with the rest of this task's cleanup ?

Gitea Version

1.23.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/ericLemanissier/b7377035b5fdcad1e7de8ec21dbeef3c

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

SQLite

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