-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Mirror repo: no such file or directory <path>/git-daemon-export-ok #17241
Comments
I have the same issue when creating a new repository via migration |
In general This error is mostly harmless - but it does indicate that the daemon-export-ok file is not being created for these repos. This appears to have been caused by #16508 but looking at the current state of 1.15 and master the related code requires that the repo is present but the function it is currently in assumes and requires the opposite. |
I have this error too but it does not have consequences 🤷♂️
|
There is an issue with go-gitea#16508 where it appears that create repo requires that the repo does not exist. This causes go-gitea#17241 where an error is reported because of this. This PR fixes this and also runs update-server-info for mirrors and generated repos. Fix go-gitea#17241 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure that git daemon export ok is created for mirrors There is an issue with #16508 where it appears that create repo requires that the repo does not exist. This causes #17241 where an error is reported because of this. This PR fixes this and also runs update-server-info for mirrors and generated repos. Fix #17241 Signed-off-by: Andrew Thornton <art27@cantab.net>
Backport go-gitea#17243 There is an issue with go-gitea#16508 where it appears that create repo requires that the repo does not exist. This causes go-gitea#17241 where an error is reported because of this. This PR fixes this and also runs update-server-info for mirrors and generated repos. Fix go-gitea#17241 Signed-off-by: Andrew Thornton <art27@cantab.net>
) Backport #17243 There is an issue with #16508 where it appears that create repo requires that the repo does not exist. This causes #17241 where an error is reported because of this. This PR fixes this and also runs update-server-info for mirrors and generated repos. Fix #17241 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure that git daemon export ok is created for mirrors There is an issue with go-gitea#16508 where it appears that create repo requires that the repo does not exist. This causes go-gitea#17241 where an error is reported because of this. This PR fixes this and also runs update-server-info for mirrors and generated repos. Fix go-gitea#17241 Signed-off-by: Andrew Thornton <art27@cantab.net>
Gitea Version
1.15.3
Git Version
2.25.1
Operating System
Ubuntu 20.04.3
How are you running Gitea?
I'm running official build: gitea-1.15.3-linux-amd64
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When I start a new mirror I see every time this
stacktrace in the gitea.log.
The mirror process is working.
Screenshots
No response
The text was updated successfully, but these errors were encountered: