git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: error: unpack failed: unpack-objects abnormal exit

From
SSSitesh Shrivastava <siteshshrivastava@gmail.com>
Date
Nov 5, 2013, 07:46 UTC
Message-ID
<CALK6XSj3=_krX24nX+G1V7c8Wq42XfU0G0qZ0oTpzm7+=emx_A@mail.gmail.com>
In-Reply-To
<20131104230321.GA31503@sigill.intra.peff.net>
Thanks a lot for replying!

That exactly was the problem. We've configured gitosis to allow access over 'ssh://' (Read / Write) while 'git://' access was limited (Read only). Changing the configuration worked out just fine.

-Thanks & Regards, Sitesh

On Tue, Nov 5, 2013 at 4:33 AM, Jeff King <peff@peff.net> wrote:
Show 39 quoted lines
> On Fri, Nov 01, 2013 at 04:02:10PM +0530, Sitesh Shrivastava wrote:
>
>> I'm using a gitosis server. Suddenly I'm not able to push to the
>> remote server. Everyone else is able to push to the same server. Btw I
>> can't push to *any repo* on the server. This is the error I get:
>>
>> Counting objects: 5, done.
>> Delta compression using up to 4 threads.
>> Compressing objects: 100% (3/3), done.
>> Writing objects: 100% (3/3), 353 bytes | 0 bytes/s, done.
>> Total 3 (delta 1), reused 0 (delta 0)
>> error: unpack failed: unpack-objects abnormal exit
>> To git://git.srv.net/code-repo.git
>>  ! [remote rejected] master -> master (n/a (unpacker error))
>> error: failed to push some refs to 'git://git.srv.net/code-repo.git'
>
> You are trying to push over the "git://" protocol. That isn't enabled by
> default (because it has no authentication at all). Did you enable it? If
> so, does the user running git-daemon have permission to write to the
> repository?
>
> The server notes that unpack-objects fails, but in older git versions
> the stderr of unpack-objects does not get sent to the client. If your
> git-daemon process is logging somewhere, you might check that log for
> more details.
>
> Since v1.7.12.3, that output is sent over the sideband channel to the
> client. So another option is to upgrade the version of git on the
> server.
>
>> Can something be wrong with my git installation?
>> git --version
>> git version 1.8.3.2
>
> That's your client version. The server version is older than that (in
> v1.7.12.3, the unpacker error message also dropped the "n/a" bit, so the
> output above comes from a server older than that).
>
> -Peff
Previous: Jeff King
Message 3 of 3 in “error: unpack failed: unpack-objects abnormal exit”
  1. Sitesh ShrivastavaNov 1, 2013
  2. Jeff KingNov 4, 2013
  3. Sitesh ShrivastavaNov 5, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.