-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Error "failed to update size for mirror repository: updateSize: lstat [...] no such file or directory" #26765
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
Labels
Comments
Weird, the code already handles this situation gitea/modules/repository/create.go Lines 300 to 304 in 1e76a82
|
But the message he got is the file doesn't exist
|
Yes, |
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
go-gitea#28276) The git command may operate the git directory (add/remove) files in any time. So when the code iterates the directory, some files may disappear during the "walk". All "IsNotExist" errors should be ignored. Fix go-gitea#26765
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
go-gitea#28276) The git command may operate the git directory (add/remove) files in any time. So when the code iterates the directory, some files may disappear during the "walk". All "IsNotExist" errors should be ignored. Fix go-gitea#26765
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Errors like
rarely occur in gitea 1.19 while syncing mirror. No such problem on next mirror sync.
Gitea Version
1.19.3
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?
Compiled from source.
Database
MySQL
The text was updated successfully, but these errors were encountered: