We are self-hosting our git, first with Bonobo git server, now with gitea.
On more than one occasion, we got the error when trying to clone our main repo (2.2 GB .git folder):
error: inflate: data stream error (incorrect data check)
fatal: pack has bad object at offset: ...
fatal: index-pack failed
The error sometimes also occurred when using git-fsck, but this time it doesn't. We always took the time to fix this error, but less than a week later, another error comes up.
What could cause this issue, and how can we fix it? The server that hosts the git runs rock stable otherwise, hosting our DC, multiple other programs and web sites (timecards, calendaring, intranet sites...). Should we search for the issue on the server side or would this be an issue with some git client? We haven't got a standardized git client, some use git for windows, some visual studio, some tortoise git.