{"thread":{"id":"18229","subject":"push problem for new repo on repo.or.cz","startedAt":"2009-03-09T16:02:55Z","lastAt":"2009-03-09T17:11:21Z","messageCount":6,"participants":["Michael J Gruber","Johannes Schindelin","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"107472","messageId":"49B53DAF.9080004@drmicha.warpmail.net","threadId":"18229","inReplyTo":null,"subject":"push problem for new repo on repo.or.cz","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2009-03-09T16:02:55Z","receivedAt":"2009-03-09T16:02:55Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Hi there\n\nI have problems pushing into a new project on repo.or.cz. My user (mjg)\nis added in the admin interface, the key is correct because I've been\nusing it for a while already for other projects (forks though). I'm\nusing a qualified refspec. What else could be wrong on my side, assuming\nit's not the scripts on repo.or.cz? My git is 1.6.2.\n\nMichael\n\ngit  push  git+ssh://repo.or.cz/srv/git/conformal.git master:master\nCounting objects: 14, done.\nDelta compression using 2 threads.\nCompressing objects: 100% (11/11), done.\nWriting objects: 100% (14/14), 11.50 KiB, done.\nTotal 14 (delta 3), reused 0 (delta 0)\nerror: unpack failed: unpacker exited with error code\nTo git+ssh://repo.or.cz/srv/git/conformal.git\n ! [remote rejected] master -> master (n/a (unpacker error))\nerror: unable to create temporary sha1 filename ./objects/a3: Permission\ndenied\n\nfatal: failed to write object\nerror: failed to push some refs to\n'git+ssh://repo.or.cz/srv/git/conformal.git'\n"},{"id":"107476","messageId":"alpine.DEB.1.00.0903091713010.6358@intel-tinevez-2-302","threadId":"18229","inReplyTo":"49B53DAF.9080004@drmicha.warpmail.net","subject":"Re: push problem for new repo on repo.or.cz","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-03-09T16:14:25Z","receivedAt":"2009-03-09T16:14:25Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 9 Mar 2009, Michael J Gruber wrote:\n\n> I have problems pushing into a new project on repo.or.cz. My user (mjg)\n> is added in the admin interface, the key is correct because I've been\n> using it for a while already for other projects (forks though). I'm\n> using a qualified refspec. What else could be wrong on my side, assuming\n> it's not the scripts on repo.or.cz? My git is 1.6.2.\n\nI guess it is your impatience.\n\nUsers are not really added from the web interface, that would be \ndangerous, as the web application would need more permissions than it \ndeserves.  Therefore, the web application writes to a file which is \nhandled by a cron job with those permissions.\n\nSo, wait 10 minutes and try again; I am sure it will work then.\n\nCiao,\nDscho\n"},{"id":"107477","messageId":"49B547FF.3020807@drmicha.warpmail.net","threadId":"18229","inReplyTo":"alpine.DEB.1.00.0903091713010.6358@intel-tinevez-2-302","subject":"Re: push problem for new repo on repo.or.cz","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2009-03-09T16:46:55Z","receivedAt":"2009-03-09T16:46:55Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Johannes Schindelin venit, vidit, dixit 09.03.2009 17:14:\n> Hi,\n> \n> On Mon, 9 Mar 2009, Michael J Gruber wrote:\n> \n>> I have problems pushing into a new project on repo.or.cz. My user (mjg)\n>> is added in the admin interface, the key is correct because I've been\n>> using it for a while already for other projects (forks though). I'm\n>> using a qualified refspec. What else could be wrong on my side, assuming\n>> it's not the scripts on repo.or.cz? My git is 1.6.2.\n> \n> I guess it is your impatience.\n> \n> Users are not really added from the web interface, that would be \n> dangerous, as the web application would need more permissions than it \n> deserves.  Therefore, the web application writes to a file which is \n> handled by a cron job with those permissions.\n> \n> So, wait 10 minutes and try again; I am sure it will work then.\n\nYou mean like as in 360 seconds? I can't wait!!!\n\nWell, actually, I tried several times, and it's been more like something\nbetween half an hour and an hour now. The project's gitweb site is up,\nso something has had the permissions to create something, so to say, or\nelse I would have suspected cronjob inflicted time quantisation or\nbacklog as you did. Which is why I suspected that I missed something\n(such as having to set\ncore.allowDenialofPushToEmptyRepoWithoutExplicitForceOption to false).\n\nOK, I'll try again tomorrow. How patient is that ;)\n\nMichael\n"},{"id":"107478","messageId":"20090309165139.GV8940@machine.or.cz","threadId":"18229","inReplyTo":"49B53DAF.9080004@drmicha.warpmail.net","subject":"Re: push problem for new repo on repo.or.cz","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2009-03-09T16:51:39Z","receivedAt":"2009-03-09T16:51:39Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hello,\n\nOn Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:\n> I have problems pushing into a new project on repo.or.cz. My user (mjg)\n> is added in the admin interface, the key is correct because I've been\n> using it for a while already for other projects (forks though). I'm\n> using a qualified refspec. What else could be wrong on my side, assuming\n> it's not the scripts on repo.or.cz? My git is 1.6.2.\n\n  your user has actually not been added in the admin interface, please\ntry again.\n\n  Best,\n\n\t\t\t\tPetr \"Pasky\" Baudis\n"},{"id":"107480","messageId":"alpine.DEB.1.00.0903091758390.6358@intel-tinevez-2-302","threadId":"18229","inReplyTo":"20090309165139.GV8940@machine.or.cz","subject":"Re: push problem for new repo on repo.or.cz","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-03-09T16:59:48Z","receivedAt":"2009-03-09T16:59:48Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 9 Mar 2009, Petr Baudis wrote:\n\n> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:\n> > I have problems pushing into a new project on repo.or.cz. My user \n> > (mjg) is added in the admin interface, the key is correct because I've \n> > been using it for a while already for other projects (forks though). \n> > I'm using a qualified refspec. What else could be wrong on my side, \n> > assuming it's not the scripts on repo.or.cz? My git is 1.6.2.\n>\n> your user has actually not been added in the admin interface, please try \n> again.\n\nIndeed.  I should have checked before giving a smart-ass answer ;-)\n\nNote: when adding a user, you have to enter the admin password...  Failing \nthat, you will see exactly the same form, but a red warning saying that \nthe user has not been added.\n\nCiao,\nDscho\n"},{"id":"107482","messageId":"49B54DB9.9010407@drmicha.warpmail.net","threadId":"18229","inReplyTo":"alpine.DEB.1.00.0903091758390.6358@intel-tinevez-2-302","subject":"Re: push problem for new repo on repo.or.cz","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2009-03-09T17:11:21Z","receivedAt":"2009-03-09T17:11:21Z","isPatch":false,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Johannes Schindelin venit, vidit, dixit 09.03.2009 17:59:\n> Hi,\n> \n> On Mon, 9 Mar 2009, Petr Baudis wrote:\n> \n>> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:\n>>> I have problems pushing into a new project on repo.or.cz. My user \n>>> (mjg) is added in the admin interface, the key is correct because I've \n>>> been using it for a while already for other projects (forks though). \n>>> I'm using a qualified refspec. What else could be wrong on my side, \n>>> assuming it's not the scripts on repo.or.cz? My git is 1.6.2.\n>> your user has actually not been added in the admin interface, please try \n>> again.\n> \n> Indeed.  I should have checked before giving a smart-ass answer ;-)\n> \n> Note: when adding a user, you have to enter the admin password...  Failing \n> that, you will see exactly the same form, but a red warning saying that \n> the user has not been added.\n\nUhm, what I had done:\n\n- added the user\n- got back the same admin form /which now listed mjg as a user which had\nbeen added/ (with a checkmark)\n- after the push failed, went to the form again, hit update again, still\nsaw mjg listed as a user for the project.\n\nSo, there was no red warning, instead there was a confirmation.\n\nOK, I went back now. mjg was not listed any more. Added it (again), now\nthings work, I'm happy, I shut up.\n\nWell, what may have happened was that the red warning was displayed at\nthe top of the paage while the confirmation was listed at the bottom.\n\nIn any case, thanks for hosting!\n\nCheers,\nMichael\n"}]}