Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-18 Thread Jaco Theron
Hi Marius, Yes, the Gitorious website and project links work but it seems that the SSH config and username does not work properly? My SSH key is successfully added in Gitorious and Ecplispe eGit. Please also note this error I get: 2013/01/18 10:19:30 [error] 26120#0: *21 upstream prematurely

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Thomas, Yes the user does own that directory and the directory is present on the disk. Thank you in advance, Jaco On Thursday, January 17, 2013 9:56:37 AM UTC+2, Thomas Kjeldahl Nilsson wrote: All right - next up, does the git/gitorious user/group own not only the app itself, but also

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Thomas, It seems that in this line of the /bin/gitorious file the error gets thrown: args = client.to_git_shell_argument Not sure why yet. Regards, Jaco On Thursday, January 17, 2013 11:17:22 AM UTC+2, Jaco Theron wrote: Hi Thomas, Yes the user does own that directory and the directory

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Thomas, It seems that somehow my $GITORIOUS_USER is cannot do some stuff on git command? I am not sure *$GITORIOUS_USER:* [gitorious@mars root]$ git jacot fatal: cannot exec 'git-jacot': Permission denied *$ROOT_USER:* [root@mars ~]# git jacot git: 'jacot' is not a git command. See 'git

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi, Please advise on anything I could check, I am still struggling with this same issue: I, [2013-01-17 14:53:36#13436] INFO -- : Connection from 192.168.10.27 62826 22 (jacot): git-upload-pack 'test-3/test-3.git' I, [2013-01-17 14:53:36#13436] INFO -- : Access denied or bad repository path

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Thomas Kjeldahl Nilsson
I´m currently out of ideas. Just curious, what is the command you run in your terminal to push? (Scrolled down and didn't see what the actual client side git push command looked like) -t On Thursday, January 17, 2013 at 2:01 PM, Jaco Theron wrote: Hi, I had a look at this link

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi, I am using Eclipse eGit plugin to push, the same I use currently to push to an older Gitorious server Regards, Jaco On Thursday, January 17, 2013 3:05:20 PM UTC+2, Thomas Kjeldahl Nilsson wrote: I´m currently out of ideas. Just curious, what is the command you run in your

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi, Maybe this will help as well. Why would it look for an html page? *In the /var/log/nginx/access.log file I get this line:* 192.168.XX.XX - - [17/Jan/2013:15:43:53 +0200] GET /test-3/test-3/config?username=jacot HTTP/1.1 404 168 - - - *and in the /var/log/nginx/error.log*: 2013/01/17

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Thomas Kjeldahl Nilsson
Pushing over ssh calls a ruby script, which in case needs to ask the Gitorious/Rails instance on the machine about metadata for the repo being pushed to. In order to do this it pings an html endpoint for that data, hence that result in the log. So test-3/test-3 project/repo is created and

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi, I renamed /etc/nginx/default.conf to /etc/nginx/default.conf.old and now get this from Eclipse eGit: gitori...@192.168.xx.xx:test-3/test-3.git: == Gitorious: == Temporary error. Please try again shortly

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Thomas Kjeldahl Nilsson
Marius, you have more of a grip on the nginx setup than me so I'll punt it to you. You got any ideas? :) cheers, Thomas On Thursday, January 17, 2013 at 3:37 PM, Jaco Theron wrote: Hi, I renamed /etc/nginx/default.conf to /etc/nginx/default.conf.old and now get this from Eclipse

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Marius, Do you think there is something to be done with nginx to get this working? Regards, Jaco On Thursday, January 17, 2013 4:44:31 PM UTC+2, Thomas Kjeldahl Nilsson wrote: Marius, you have more of a grip on the nginx setup than me so I'll punt it to you. You got any ideas? :)

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Marius, Here is an example of an SSH push /var/log/nginx/access.log printout: [17/Jan/2013:19:16:48 +0200] GET /test-4/test-4/config?username=jacot HTTP/1.1 502 172 - - - Here is an example of an HTTP push /var/log/nginx/access.log printout: [17/Jan/2013:19:30:57 +0200] GET

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi, Here is my 000-gitorious.conf file: upstream rails { server 127.0.0.1:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; }

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Marius, Also I checked with a find command and find no test-3 .html pages, if this should be the case? find /projects/gitorious/gitorious/public -name *.html Regards, Jaco On Thursday, January 17, 2013 6:15:59 PM UTC+2, Jaco Theron wrote: Hi Marius, Looking at the

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-17 Thread Jaco Theron
Hi Marius, Looking at the /var/log/nginx/error.log file: 2013/01/17 18:13:26 [error] 1773#0: *15 upstream prematurely closed connection while reading response header from upstream, client: 192.168.XX.XX, server: , request: GET /test-3/test-3/config?username=jacot HTTP/1.1, upstream:

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-16 Thread Thomas Kjeldahl Nilsson
Just checking something here first: there is a test-1/test-1 project/repo defined in the web interface before you try to push to it, or do you just push without creating the project/repo in the web frontend first? cheers, Thomas On Wednesday, January 16, 2013 at 2:52 PM, Jaco Theron wrote:

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-16 Thread Jaco Theron
Hi Thomas, No problem, yes I created it already via the web interface and it does exists. The user jacot is also the creator and administrator, reviewer and committer. Kind Regards Jaco On Wednesday, January 16, 2013 5:27:13 PM UTC+2, Thomas Kjeldahl Nilsson wrote: Just checking

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-16 Thread Thomas Kjeldahl Nilsson
Just checking off the most obvious possible issues, next: you've added your ssh key correctly, it has the green check next to it in the web ui? -t On Thursday, January 17, 2013 at 8:28 AM, Jaco Theron wrote: Hi Thomas, I should add that this is using the SSH push URL. I will not be

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-16 Thread Jaco Theron
Hi Thomas, No problem :-) Yes, I have added an SSH key, and after page refresh the green tick is visible. It is also the exact same key I still use on an old Gitorious server. Regards, Jaco On Thursday, January 17, 2013 9:40:29 AM UTC+2, Thomas Kjeldahl Nilsson wrote: Just checking

Re: [gitorious] Re: Gitorious 3 Eclipse eGit push error

2013-01-16 Thread Thomas Kjeldahl Nilsson
All right - next up, does the git/gitorious user/group own not only the app itself, but also the directory where the git repositories are stored on disk by gitorious? (the dir configured in therepository_base_path attribute in gitorious.yml?) And of course that directory needs to be present on