You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirror repo from github to self-hosted gitea, and then add a push mirror for this repo. When the sync button is clicked, Error is displayed, and the mouse is placed on Error to display git cat-file --batch-check --batch-all-object [/data/gitea/data/gitea-repositories/mirrors/linux.git]: context deadline exceeded -
View Notice Details
Jul 22, 2023, 10:38 PM GMT+8
Failed to update mirror repository '/data/gitea/data/gitea-repositories/mirrors/linux.git': fatal: Unable to create '/data/gitea/data/gitea-repositories/mirrors/linux.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
v1.20+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
MySQL
The text was updated successfully, but these errors were encountered:
Im not a maintainer neither a experienced Gitea contributor. But I'm trying to figure out what it may be. I found 2 reasons
By some reason gitea is spawning two git instances at same time in the same repository, creating this lock file that is giving the error
The time was exceeded. Do it last more than 5 minutes? If so probably it exceeded the timeout. If you're self-hosting gitea by yourself maybe you can try to extend this timeout in own app.ini configuration file under Git properties
Its not clear for me what exactly what happen when timeout is exceeded but I'll search more
Description
Mirror repo from github to self-hosted gitea, and then add a push mirror for this repo. When the sync button is clicked, Error is displayed, and the mouse is placed on
Error
to displaygit cat-file --batch-check --batch-all-object [/data/gitea/data/gitea-repositories/mirrors/linux.git]: context deadline exceeded -
Gitea Version
v1.20+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
MySQL
The text was updated successfully, but these errors were encountered: