Skip to content

Task: Garbage collect LFS meta objects cancelled: unable to remove meta-object #26135

Closed
@earl-warren

Description

@earl-warren

Description

The cron job to garbage collect LFS fails.

Steps to reproduce:

  • docker run -d --name gitea -p 8081:3000 -e GITEA__server__LFS_START_SERVER=true -e GITEA__security__INSTALL_LOCK=true -e GITEA__log__LEVEL=debug -e GITEA__server__ROOT_URL=http://0.0.0.0:8081/ gitea/gitea:1.20 bash -c '/bin/s6-svscan /etc/s6 & sleep 10 ; su -c "gitea admin user create --admin --username root --password admin1234 --email [email protected]" git && sleep infinity'
  • Upload a LFS file to a repository
  • Go to the admin panel
  • Manually run the cron job to garbage collect LFS
  • Hover on the fail button and see the error message

Gitea Version

v1.20.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

docker run -d --name gitea -p 8081:3000 -e GITEA__server__LFS_START_SERVER=true -e GITEA__security__INSTALL_LOCK=true -e GITEA__log__LEVEL=debug -e GITEA__server__ROOT_URL=http://0.0.0.0:8081/ gitea/gitea:1.20 bash -c '/bin/s6-svscan /etc/s6 & sleep 10 ; su -c "gitea admin user create --admin --username root --password admin1234 --email [email protected]" git && sleep infinity'

Database

SQLite

Related

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