-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Enable cron.git_gc_repos by default to avoid mirror syncing errors #23784
Comments
A quick google search says that |
Running
|
Or maybe we can change the issue's title to proposal a default value change? |
Done. |
Concurrent use of git gc and some git commands may lead to data corruption. I don't know if it is related to what is happening here: https://lore.kernel.org/git/CAOLTT8Tt3jW2yvm6BRU3yG+EvW1WG9wWFq6PuOcaHNNLQAaGjg@mail.gmail.com/ |
To avoid problems consider:
With such checkboxes admin may enable |
Description
Just noticed https://github.com/nextcloud/contacts mirror sync error:
Mirror was created many months ago and worked fine (everyday sync) till today. Manual resync throws same error in this mirror.
Commit 544c4227b061eb5331617430a3896872fd3915ab mentioned in errors is present in github but not in mirror (looks like orphaned on github).
Fresh https://github.com/nextcloud/contacts mirror setup on other system with same gitea+git versions does not throw such error on sync.
Gitea Version
v1.18.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.30.2
Operating System
No response
How are you running Gitea?
Compiled from sources.
Database
MySQL
The text was updated successfully, but these errors were encountered: