Hello,
I'm trying to add a repository that we have in Github to a self-hosted Gerrit instance of ours but I keep receiving the same error message when trying to push our master:
error: remote unpack failed: error Missing blob 987edd9563d633c68db3f5f644ca95aaf0e44137
fatal: Unpack error, check server log
When I do git show on my computer for that blob hash I see this:
We don't have any submodules in this repo at the moment, and I can't find any references to this particular submodule shown in this blob being in our repo.
The gerrit log looks like this:
[2025-08-18T15:58:51.639Z] [SSH git-receive-pack /brave-core (admin)] WARN org.eclipse.jgit.internal.storage.file.PackDirectory : Pack file /var/gerrit/git/brave-core.git/objects/pack/pack-55e3936c5528bf0a48715adf01b5af9f805cbd33.pack is corrupt, removing it from pack list
org.eclipse.jgit.errors.CorruptObjectException: Object at 956,422,149 in /var/gerrit/git/brave-core.git/objects/pack/pack-55e3936c5528bf0a48715adf01b5af9f805cbd33.pack has bad zlib stream
My question is: how do I fix this failure? This blob may have been part of this repo at some point, and now it seems to be blocking me adding our master to gerrit, but I'm not sure how to address this.
Claudio