# push problem for new repo on repo.or.cz

6 messages from 2009-03-09 to 2009-03-09. Participants: Michael J Gruber, Johannes Schindelin, Petr Baudis.
Thread: https://gitlist.dev/t/18229

## Michael J Gruber, 2009-03-09 16:02

Subject: push problem for new repo on repo.or.cz
Message-ID: <49B53DAF.9080004@drmicha.warpmail.net>
URL: https://gitlist.dev/e/49B53DAF.9080004%40drmicha.warpmail.net

```
Hi there

I have problems pushing into a new project on repo.or.cz. My user (mjg)
is added in the admin interface, the key is correct because I've been
using it for a while already for other projects (forks though). I'm
using a qualified refspec. What else could be wrong on my side, assuming
it's not the scripts on repo.or.cz? My git is 1.6.2.

Michael

git  push  git+ssh://repo.or.cz/srv/git/conformal.git master:master
Counting objects: 14, done.
Delta compression using 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (14/14), 11.50 KiB, done.
Total 14 (delta 3), reused 0 (delta 0)
error: unpack failed: unpacker exited with error code
To git+ssh://repo.or.cz/srv/git/conformal.git
 ! [remote rejected] master -> master (n/a (unpacker error))
error: unable to create temporary sha1 filename ./objects/a3: Permission
denied

fatal: failed to write object
error: failed to push some refs to
'git+ssh://repo.or.cz/srv/git/conformal.git'

```

## Johannes Schindelin, 2009-03-09 16:14

Subject: Re: push problem for new repo on repo.or.cz
Message-ID: <alpine.DEB.1.00.0903091713010.6358@intel-tinevez-2-302>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0903091713010.6358%40intel-tinevez-2-302
In-Reply-To: <49B53DAF.9080004@drmicha.warpmail.net>

```
Hi,

On Mon, 9 Mar 2009, Michael J Gruber wrote:

> I have problems pushing into a new project on repo.or.cz. My user (mjg)
> is added in the admin interface, the key is correct because I've been
> using it for a while already for other projects (forks though). I'm
> using a qualified refspec. What else could be wrong on my side, assuming
> it's not the scripts on repo.or.cz? My git is 1.6.2.

I guess it is your impatience.

Users are not really added from the web interface, that would be 
dangerous, as the web application would need more permissions than it 
deserves.  Therefore, the web application writes to a file which is 
handled by a cron job with those permissions.

So, wait 10 minutes and try again; I am sure it will work then.

Ciao,
Dscho

```

## Michael J Gruber, 2009-03-09 16:46

Subject: Re: push problem for new repo on repo.or.cz
Message-ID: <49B547FF.3020807@drmicha.warpmail.net>
URL: https://gitlist.dev/e/49B547FF.3020807%40drmicha.warpmail.net
In-Reply-To: <alpine.DEB.1.00.0903091713010.6358@intel-tinevez-2-302>

```
Johannes Schindelin venit, vidit, dixit 09.03.2009 17:14:
> Hi,
> 
> On Mon, 9 Mar 2009, Michael J Gruber wrote:
> 
>> I have problems pushing into a new project on repo.or.cz. My user (mjg)
>> is added in the admin interface, the key is correct because I've been
>> using it for a while already for other projects (forks though). I'm
>> using a qualified refspec. What else could be wrong on my side, assuming
>> it's not the scripts on repo.or.cz? My git is 1.6.2.
> 
> I guess it is your impatience.
> 
> Users are not really added from the web interface, that would be 
> dangerous, as the web application would need more permissions than it 
> deserves.  Therefore, the web application writes to a file which is 
> handled by a cron job with those permissions.
> 
> So, wait 10 minutes and try again; I am sure it will work then.

You mean like as in 360 seconds? I can't wait!!!

Well, actually, I tried several times, and it's been more like something
between half an hour and an hour now. The project's gitweb site is up,
so something has had the permissions to create something, so to say, or
else I would have suspected cronjob inflicted time quantisation or
backlog as you did. Which is why I suspected that I missed something
(such as having to set
core.allowDenialofPushToEmptyRepoWithoutExplicitForceOption to false).

OK, I'll try again tomorrow. How patient is that ;)

Michael

```

## Petr Baudis, 2009-03-09 16:51

Subject: Re: push problem for new repo on repo.or.cz
Message-ID: <20090309165139.GV8940@machine.or.cz>
URL: https://gitlist.dev/e/20090309165139.GV8940%40machine.or.cz
In-Reply-To: <49B53DAF.9080004@drmicha.warpmail.net>

```
  Hello,

On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
> I have problems pushing into a new project on repo.or.cz. My user (mjg)
> is added in the admin interface, the key is correct because I've been
> using it for a while already for other projects (forks though). I'm
> using a qualified refspec. What else could be wrong on my side, assuming
> it's not the scripts on repo.or.cz? My git is 1.6.2.

  your user has actually not been added in the admin interface, please
try again.

  Best,

				Petr "Pasky" Baudis

```

## Johannes Schindelin, 2009-03-09 16:59

Subject: Re: push problem for new repo on repo.or.cz
Message-ID: <alpine.DEB.1.00.0903091758390.6358@intel-tinevez-2-302>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0903091758390.6358%40intel-tinevez-2-302
In-Reply-To: <20090309165139.GV8940@machine.or.cz>

```
Hi,

On Mon, 9 Mar 2009, Petr Baudis wrote:

> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
> > I have problems pushing into a new project on repo.or.cz. My user 
> > (mjg) is added in the admin interface, the key is correct because I've 
> > been using it for a while already for other projects (forks though). 
> > I'm using a qualified refspec. What else could be wrong on my side, 
> > assuming it's not the scripts on repo.or.cz? My git is 1.6.2.
>
> your user has actually not been added in the admin interface, please try 
> again.

Indeed.  I should have checked before giving a smart-ass answer ;-)

Note: when adding a user, you have to enter the admin password...  Failing 
that, you will see exactly the same form, but a red warning saying that 
the user has not been added.

Ciao,
Dscho

```

## Michael J Gruber, 2009-03-09 17:11

Subject: Re: push problem for new repo on repo.or.cz
Message-ID: <49B54DB9.9010407@drmicha.warpmail.net>
URL: https://gitlist.dev/e/49B54DB9.9010407%40drmicha.warpmail.net
In-Reply-To: <alpine.DEB.1.00.0903091758390.6358@intel-tinevez-2-302>

```
Johannes Schindelin venit, vidit, dixit 09.03.2009 17:59:
> Hi,
> 
> On Mon, 9 Mar 2009, Petr Baudis wrote:
> 
>> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
>>> I have problems pushing into a new project on repo.or.cz. My user 
>>> (mjg) is added in the admin interface, the key is correct because I've 
>>> been using it for a while already for other projects (forks though). 
>>> I'm using a qualified refspec. What else could be wrong on my side, 
>>> assuming it's not the scripts on repo.or.cz? My git is 1.6.2.
>> your user has actually not been added in the admin interface, please try 
>> again.
> 
> Indeed.  I should have checked before giving a smart-ass answer ;-)
> 
> Note: when adding a user, you have to enter the admin password...  Failing 
> that, you will see exactly the same form, but a red warning saying that 
> the user has not been added.

Uhm, what I had done:

- added the user
- got back the same admin form /which now listed mjg as a user which had
been added/ (with a checkmark)
- after the push failed, went to the form again, hit update again, still
saw mjg listed as a user for the project.

So, there was no red warning, instead there was a confirmation.

OK, I went back now. mjg was not listed any more. Added it (again), now
things work, I'm happy, I shut up.

Well, what may have happened was that the red warning was displayed at
the top of the paage while the confirmation was listed at the bottom.

In any case, thanks for hosting!

Cheers,
Michael

```
