* push fails -- temporary sha1, no such file / corruptiion ???
@ 2009-07-22 2:21 lytles
2009-07-22 7:04 ` Tay Ray Chuan
0 siblings, 1 reply; 3+ messages in thread
From: lytles @ 2009-07-22 2:21 UTC (permalink / raw)
To: git
i have a "centralized" bare repository, and 2 local clones. i make changes on
the local clones and push the changes (to origin). i'm using ssh as my
transport. this has been working for about a year, but i don't make frequent
commits
today i tried to push to origin (from both a remote machine, and the machine
on which the central repo lives), and the push failed:
--------------------------------------------------------------------------------------------------------------------------------
# git push
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
error: unable to create temporary sha1 filename ./objects/2f: No such file
or directory
fatal: failed to write object
Writing objects: 100% (2/2), 260 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
error: unpack failed: unpacker exited with error code
To /home/*****/repos/git/home.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to '/home/*******/repos/git/home.git'
--------------------------------------------------------------------------------------------------------------------------------
the "object/2f" varies with attempts to push from different remote repos,
but it's always an "object/??". multiple attempts to push from the same
remote repo always results in the same "object/??"
git version 1.6.0.4
ubuntu 9.04 (jaunty)
amd64
"git fsck --full" doesn't return any errors for either the remote or the
central repos. a fresh clone of the central repo results in the same error
when i attempt to push. cloning the remote repos works, and pushes succeed.
i did a /forcefsck and didn't see any errors (but also couldn't find any
real logs - hidden by the splash screen i guess)
i'm not sure which version of git was used to create the repository, but it
was probably 1.5.4 (ie, ubuntu hardy). incidentally, i have another
repository "triplet" that i use for a different set of code that is working
fine, that was created and used with the same machines/toolchains/versions
any idea what is going wrong ???
--
View this message in context: http://n2.nabble.com/push-fails----temporary-sha1%2C-no-such-file---corruptiion-----tp3297467p3297467.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: push fails -- temporary sha1, no such file / corruptiion ???
2009-07-22 2:21 push fails -- temporary sha1, no such file / corruptiion ??? lytles
@ 2009-07-22 7:04 ` Tay Ray Chuan
2009-07-22 17:55 ` seth's list
0 siblings, 1 reply; 3+ messages in thread
From: Tay Ray Chuan @ 2009-07-22 7:04 UTC (permalink / raw)
To: lytles; +Cc: git
Hi,
On Wed, Jul 22, 2009 at 10:21 AM, lytles<srlytle.list@gmail.com> wrote:
> the "object/2f" varies with attempts to push from different remote repos,
> but it's always an "object/??". multiple attempts to push from the same
> remote repo always results in the same "object/??"
have you checked the permissions on your remote repo, particularly the
objects/ directory?
This is just a shot in the dark. I used to have pushes failing due to
stricter permissions on the remote side.
--
Cheers,
Ray Chuan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: push fails -- temporary sha1, no such file / corruptiion ???
2009-07-22 7:04 ` Tay Ray Chuan
@ 2009-07-22 17:55 ` seth's list
0 siblings, 0 replies; 3+ messages in thread
From: seth's list @ 2009-07-22 17:55 UTC (permalink / raw)
To: Tay Ray Chuan; +Cc: git
(sorry for the dup Tay)
the permissions look ok to me. what should they be ?
drwxr-xr-x 8 lytles lytles 4096 2009-07-21 20:06 .
drwxr-xr-x 4 lytles lytles 4096 2009-07-21 20:06 objects/
-rw-r--r-- 2 lytles lytles 54 2009-07-21 20:06 objects/info/packs
drwxr-xr-x 2 lytles lytles 4096 2009-07-21 20:06 objects/pack
-r--r--r-- 2 lytles lytles 18208 2009-07-21 20:06 objects/pack/pack-
9f4893584105c3f5b62cb9ff05e3d4d1f495a9f8.idx
-r--r--r-- 2 lytles lytles 34209770 2009-07-21 20:06
objects/pack/pack-9f4893584105c3f5b62cb9ff05e3d4d1f495a9f8.pack
any other thoughts on what caused the errors / corruption ?
On Wed, Jul 22, 2009 at 3:04 AM, Tay Ray Chuan <rctay89@gmail.com> wrote:
>
> Hi,
>
> On Wed, Jul 22, 2009 at 10:21 AM, lytles<srlytle.list@gmail.com> wrote:
> > the "object/2f" varies with attempts to push from different remote repos,
> > but it's always an "object/??". multiple attempts to push from the same
> > remote repo always results in the same "object/??"
>
> have you checked the permissions on your remote repo, particularly the
> objects/ directory?
>
> This is just a shot in the dark. I used to have pushes failing due to
> stricter permissions on the remote side.
>
> --
> Cheers,
> Ray Chuan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-22 17:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 2:21 push fails -- temporary sha1, no such file / corruptiion ??? lytles
2009-07-22 7:04 ` Tay Ray Chuan
2009-07-22 17:55 ` seth's list
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).