Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many lock file exists errors #29673

Closed
harryzcy opened this issue Mar 8, 2024 · 1 comment
Closed

Many lock file exists errors #29673

harryzcy opened this issue Mar 8, 2024 · 1 comment
Labels

Comments

@harryzcy
Copy link
Contributor

harryzcy commented Mar 8, 2024

Description

I'm having many lock file exists error in System Notices. I know it's likely because sync requests are triggered too quickly (I have a Github app that triggers it on every Github webhook), and it doesn't cause anything. But is there way to reduce the errors? Like using a retry logic, using a queue, etc.

Failed to update mirror repository '/data/git/repositories/harryzcy/repo.git': fatal: Unable to create '/data/git/repositories/harryzcy/repo.git/./objects/info/commit-graphs/commit-graph-chain.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Gitea Version

1.21.7

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?

Kubernetes with distributed storage

Database

PostgreSQL

@lunny
Copy link
Member

lunny commented Jun 13, 2024

Duplicate of #22578

@lunny lunny marked this as a duplicate of #22578 Jun 13, 2024
@lunny lunny closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants