error: unpack failed: error Missing tree 53785115a166684c6b36c3cf98cd4c1d6awer165

1,079 views
Skip to first unread message

Sheik Farzand

unread,
Apr 17, 2017, 3:32:05 AM4/17/17
to Repo and Gerrit Discussion

Hi,


Sometimes i face this error in some repo while pushing. Is this because of dangling commits? If i use --no-thin option it works fine.


Is this because of any mistake in my server side configuration? Can i rectify it without using --no-thin option?


error: unpack failed: error Missing tree 53785115a166684c6b36c3cf98cd4c1d6awer165

fatal: Unpack error, check server log

To ssh://gerrit.host.com:8282/SAM/PROJ/projects

 ! [remote rejected] branch_release -> branch_release (n/a (unpacker error))

error: failed to push some refs to 'ssh://gerrit.host.com:8282/SAM/PROJ/projects'


Gerrit version 2.13.2


Thanks

Sheik Farzand

Hector Oswaldo Caballero

unread,
Apr 17, 2017, 4:54:41 PM4/17/17
to Repo and Gerrit Discussion
We used to have this problem in the past but after adding the following setting parameter in the gerrit.config file we rarely see any if ever:

  receive.checkReferencedObjectsAreReachable = false

The documentation for this setting is here: https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#receive.checkReferencedObjectsAreReachable

Please see a more detailed discussion about this problem here:

    https://groups.google.com/forum/#!searchin/repo-discuss/missing$20tree|sort:relevance/repo-discuss/ytdFOWgid6g/IiS-7A_pfVYJ

vista...@gmail.com

unread,
Apr 17, 2017, 9:11:20 PM4/17/17
to Repo and Gerrit Discussion
Hi

I suggest that adding gc config in gerrit.config.

bibo...@huawei.com

unread,
Apr 18, 2017, 2:21:13 AM4/18/17
to Repo and Gerrit Discussion
hi

gerrit version is v2.13.5

we run gerrit gc once everyweek , but we sometimes face the same error.
Reply all
Reply to author
Forward
0 new messages