Regarding error Missing blob

30 views
Skip to first unread message

Claudio DeSouza

unread,
Aug 18, 2025, 12:53:43 PMAug 18
to Repo and Gerrit Discussion
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:
[submodule "miracl-core"]
        path = miracl-core
        url = https://github.com/miracl/core

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

Claudio DeSouza

unread,
Aug 18, 2025, 12:59:47 PMAug 18
to Repo and Gerrit Discussion
Actually doing some digging I have found this content, it is still part of our repo, and it is a case where a rust crate is checked out in our tree, so the `.submodules` file is checked out there, too, but there's nothing special about it. This is a change that was introduced to our github repo just last month in fact, in a repo with 70k+ changes to it.

Claudio DeSouza

unread,
Aug 18, 2025, 1:34:41 PMAug 18
to Repo and Gerrit Discussion
Hello

I have managed to get this sorted by pushing the tags we had in the repo, and then manually creating a master branch using the latest tag.

Thanks.
Reply all
Reply to author
Forward
0 new messages