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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using git 
 or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now get 
 the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 15:52:01#1968]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-1/test-2.git'

 Thank you in advance,
 Jaco T

 On Wednesday, January 16, 2013 3:28:35 PM UTC+2, Jaco Theron wrote:

 Hi,

 When I try to push a project from Eclipse eGit I get the following error:

 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 


 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 



 *The log file log/gitorious_auth.log:*

 I, [2013-01-16 15:23:39#4056]  INFO -- : Connection from 192.168.XX.XX 
 52190 22 (jacot): git-upload-pack 'test-1/test-2.git'
 F, [2013-01-16 15:23:39#4056] FATAL -- : EOFError end of file reached: 
 /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
   /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
   /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
   /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
   /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
   /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
   /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
   /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
   /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
   /usr/lib/ruby/1.8/net/http.rb:1051:in `request'
   /usr/lib/ruby/1.8/net/http.rb:772:in `get'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:88:in 
 `configuration'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:62:in 
 `real_path'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:76:in 
 `to_git_shell_argument'
   /usr/local/bin/gitorious:59

 Thank you in advance,
 Jaco T


  -- 
 To post to this group, send email to gito...@googlegroups.com
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com
  

   -- 
 To post to this group, send email to gito...@googlegroups.com
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com
  

   -- 
 To post to this group, send email to gito...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com javascript:
  
  
  

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


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 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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using 
 git or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now get 
 the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 15:52:01#1968]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-1/test-2.git'

 Thank you in advance,
 Jaco T

 On Wednesday, January 16, 2013 3:28:35 PM UTC+2, Jaco Theron wrote:

 Hi,

 When I try to push a project from Eclipse eGit I get the following error:

 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 


 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 



 *The log file log/gitorious_auth.log:*

 I, [2013-01-16 15:23:39#4056]  INFO -- : Connection from 192.168.XX.XX 
 52190 22 (jacot): git-upload-pack 'test-1/test-2.git'
 F, [2013-01-16 15:23:39#4056] FATAL -- : EOFError end of file reached: 
 /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
   /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
   /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
   /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
   /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
   /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
   /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
   /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
   /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
   /usr/lib/ruby/1.8/net/http.rb:1051:in `request'
   /usr/lib/ruby/1.8/net/http.rb:772:in `get'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:88:in 
 `configuration'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:62:in 
 `real_path'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:76:in 
 `to_git_shell_argument'
   /usr/local/bin/gitorious:59

 Thank you in advance,
 Jaco T


  -- 
 To post to this group, send email to gito...@googlegroups.com
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com
  

   -- 
 To post to this group, send email to gito...@googlegroups.com
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com
  

   -- 
 To post to this group, send email to gito...@googlegroups.com
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com
  
  
  

-- 
To post to this group, 

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 --help'.

Although I can check the git command for options, and do a version check:

[gitorious@mars root]$ git --version
git version 1.7.1

Thank you in advance,
Jaco

On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:

 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 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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using 
 git or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now get 
 the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 15:52:01#1968]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-1/test-2.git'

 Thank you in advance,
 Jaco T

 On Wednesday, January 16, 2013 3:28:35 PM UTC+2, Jaco Theron wrote:

 Hi,

 When I try to push a project from Eclipse eGit I get the following error:

 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 


 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 



 *The log file log/gitorious_auth.log:*

 I, [2013-01-16 15:23:39#4056]  INFO -- : Connection from 192.168.XX.XX 
 52190 22 (jacot): git-upload-pack 'test-1/test-2.git'
 F, [2013-01-16 15:23:39#4056] FATAL -- : EOFError end of file reached: 
 /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
   /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
   /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
   /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
   /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
   /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
   /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
   /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
   /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
   /usr/lib/ruby/1.8/net/http.rb:1051:in `request'
   /usr/lib/ruby/1.8/net/http.rb:772:in `get'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:88:in 
 `configuration'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:62:in 
 `real_path'
   /projects/gitorious/gitorious/bin/../lib/gitorious/ssh/client.rb:76:in 
 `to_git_shell_argument'
   

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 for jacot: git-upload-pack 'test-3/test-3.git'

Kind Regards,
Jaco

On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:

 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 --help'.

 Although I can check the git command for options, and do a version check:

 [gitorious@mars root]$ git --version
 git version 1.7.1

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:

 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 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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using 
 git or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now 
 get the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 15:52:01#1968]  INFO -- : Access denied or bad 
 repository path for jacot: git-upload-pack 'test-1/test-2.git'

 Thank you in advance,
 Jaco T

 On Wednesday, January 16, 2013 3:28:35 PM UTC+2, Jaco Theron wrote:

 Hi,

 When I try to push a project from Eclipse eGit I get the following 
 error:

 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 


 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 



 *The log file log/gitorious_auth.log:*

 I, [2013-01-16 15:23:39#4056]  INFO -- : Connection from 192.168.XX.XX 
 52190 22 (jacot): git-upload-pack 'test-1/test-2.git'
 F, [2013-01-16 15:23:39#4056] FATAL -- : EOFError end of file reached: 
 /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
   /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
   /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
   /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
   /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
   /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
   /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
   /usr/lib/ruby/1.8/net/http.rb:2028:in 

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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?
  
 Regards,
 Jaco
  
 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:
  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 for jacot: git-upload-pack 'test-3/test-3.git'
   
  Kind Regards,
  Jaco
   
  On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:
   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 --help'.

   Although I can check the git command for options, and do a version check:

   [gitorious@mars root]$ git --version
   git version 1.7.1


   Thank you in advance,
   Jaco

   On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:
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 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 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 disk first. :)  
   
  cheers,
  Thomas
   
   
  On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:
   
   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 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 using git or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to 
 be done?
  
 Still getting the error:
  
 Access denied or bad repository path for jacot: 
 git-upload-pack 'test-1/test-2.git'
  
 Regards,
 Jaco
  
  
 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron 
 wrote:
  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 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:

Hi,
 
I had the wrong port in gitorious.yml for this, change 
to 80 and now get the error:
 
Access denied or bad repository path for {user}
 
I, [2013-01-16 15:52:01#1968]  INFO -- : Connection 
from 192.168.XX.XX 52492 22 

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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 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 for jacot: git-upload-pack 'test-3/test-3.git'

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:

 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 --help'.

 Although I can check the git command for options, and do a version check:

 [gitorious@mars root]$ git --version
 git version 1.7.1

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:

 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 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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using git 
 or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now get 
 the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 15:52:01#1968]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-1/test-2.git'

 Thank you in advance,
 Jaco T

 On Wednesday, January 16, 2013 3:28:35 PM UTC+2, Jaco Theron wrote:

 Hi,

 When I try to push a project from Eclipse eGit I get the following error:

 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 


 gito...@192.168.xx.xx:test-1/test-2.git: 
 == Gitorious: ==
 fatal error
 

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 15:43:53 [error] 1761#0: *2 open() 
/usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
directory), client: 192.168.XX.XX, server: localhost, request: GET 
/test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

Thank you in advance,
Jaco

On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:

 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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 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 for jacot: git-upload-pack 'test-3/test-3.git'

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:

 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 --help'.

 Although I can check the git command for options, and do a version check:

 [gitorious@mars root]$ git --version
 git version 1.7.1

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:

 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 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 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 disk first. :) 

 cheers,
 Thomas

 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:

 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 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 using 
 git or http thus only the SSH.
 Maybe there are some other setting for the SSH that needs to be done?

 Still getting the error:

 Access denied or bad repository path for jacot: git-upload-pack 
 'test-1/test-2.git'

 Regards,
 Jaco


 On Wednesday, January 16, 2013 6:47:02 PM UTC+2, Jaco Theron wrote:

 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 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:

 Hi,

 I had the wrong port in gitorious.yml for this, change to 80 and now get 
 the error:
 
 Access denied or bad repository path for {user}

 I, [2013-01-16 15:52:01#1968]  INFO -- : Connection from 192.168.XX.XX 
 52492 22 (jacot): git-upload-pack 'test-1/test-2.git'
 I, [2013-01-16 

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 accessible in the gitorious 
frontend?  

--
Best regards,
Thomas Kjeldahl Nilsson,
Partner  Programmer,
Gitorious AS
http://gitorious.com





On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 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 15:43:53 [error] 1761#0: *2 open() 
 /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
 directory), client: 192.168.XX.XX, server: localhost, request: GET 
 /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX
  
 Thank you in advance,
 Jaco
  
 On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:
  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 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 
https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
But I am not sure what to check in Gitorious 3?
 
Regards,
Jaco
 
On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:
 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 for jacot: git-upload-pack 'test-3/test-3.git'
  
 Kind Regards,
 Jaco
  
 On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:
  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 --help'.
   
  Although I can check the git command for options, and do a version 
  check:
   
  [gitorious@mars root]$ git --version
  git version 1.7.1
   
   
  Thank you in advance,
  Jaco
   
  On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:
   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 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 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 disk first. :)  
  
 cheers,
 Thomas
  
  
 On Thursday, January 17, 2013 at 8:46 AM, Jaco Theron wrote:
  
  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 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 

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


In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 
63353 22 (jacot): git-upload-pack 'test-3/test-3.git'
F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
paths/permissions

This means I broke it maybe :-P so I reverted the name change :-)

And now changed 000-gitorious to 000-gitorious.conf

Now I get Eclipse eGit error:

gitori...@192.168.xx.xx:test-3/test-3.git: 
== Gitorious: ==
Access denied or wrong repository path


And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 
63686 22 (jacot): git-upload-pack 'test-3/test-3.git'
I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository 
path for jacot: git-upload-pack 'test-3/test-3.git'

And in /var/log/nginx/error.log:

2013/01/17 16:35:31 [error] 1783#0: *43 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: 
http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
192.168.XX.XX

?

Kind Regards,
Jaco

On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson 
wrote:

  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 accessible in the gitorious 
 frontend?

 --
 Best regards,
 Thomas Kjeldahl Nilsson,
 Partner  Programmer,
 Gitorious AS
 http://gitorious.com

 On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 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 15:43:53 [error] 1761#0: *2 open() 
 /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
 directory), client: 192.168.XX.XX, server: localhost, request: GET 
 /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:

 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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 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 for jacot: git-upload-pack 'test-3/test-3.git'

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:

 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 --help'.

 Although I can check the git command for options, and do a version check:

 [gitorious@mars root]$ git --version
 git version 1.7.1

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 12:05:43 PM UTC+2, Jaco Theron wrote:

 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 is present on the 
 disk.

 Thank you in advance,
 Jaco

 

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 eGit:
  
 gitori...@192.168.xx.xx (mailto:gitori...@192.168.xx.xx):test-3/test-3.git:  
 == Gitorious: ==
 Temporary error. Please try again shortly
 
  
 In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:
  
 I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 63353 
 22 (jacot): git-upload-pack 'test-3/test-3.git'
 F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
 paths/permissions
  
 This means I broke it maybe :-P so I reverted the name change :-)
  
 And now changed 000-gitorious to 000-gitorious.conf
  
 Now I get Eclipse eGit error:
  
 gitori...@192.168.xx.xx (mailto:gitori...@192.168.xx.xx):test-3/test-3.git:  
 == Gitorious: ==
 Access denied or wrong repository path
 
  
 And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:
  
 I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 63686 
 22 (jacot): git-upload-pack 'test-3/test-3.git'
 I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository path 
 for jacot: git-upload-pack 'test-3/test-3.git'
  
  
 And in /var/log/nginx/error.log:
  
 2013/01/17 16:35:31 [error] 1783#0: *43 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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX
  
 ?
  
 Kind Regards,
 Jaco
  
 On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson wrote:
  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 accessible in the gitorious 
  frontend?  
   
  --
  Best regards,
  Thomas Kjeldahl Nilsson,
  Partner  Programmer,
  Gitorious AS
  http://gitorious.com
   
   
   
   
   
  On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:
   
   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 15:43:53 [error] 1761#0: *2 open() 
   /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
   directory), client: 192.168.XX.XX, server: localhost, request: GET 
   /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

   Thank you in advance,
   Jaco

   On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:
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 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 
  https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
  But I am not sure what to check in Gitorious 3?
   
  Regards,
  Jaco
   
  On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:
   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 for jacot: git-upload-pack 'test-3/test-3.git'

   Kind Regards,
   Jaco

   On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron 
   wrote:
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 

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? :) 

 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 eGit:

 gito...@192.168.xx.xx javascript::test-3/test-3.git: 
 == Gitorious: ==
 Temporary error. Please try again shortly
 

 In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 
 63353 22 (jacot): git-upload-pack 'test-3/test-3.git'
 F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
 paths/permissions

 This means I broke it maybe :-P so I reverted the name change :-)

 And now changed 000-gitorious to 000-gitorious.conf

 Now I get Eclipse eGit error:

 gito...@192.168.xx.xx javascript::test-3/test-3.git: 
 == Gitorious: ==
 Access denied or wrong repository path
 

 And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 
 63686 22 (jacot): git-upload-pack 'test-3/test-3.git'
 I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-3/test-3.git'

 And in /var/log/nginx/error.log:

 2013/01/17 16:35:31 [error] 1783#0: *43 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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX

 ?

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson 
 wrote:

  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 accessible in the gitorious 
 frontend?

 --
 Best regards,
 Thomas Kjeldahl Nilsson,
 Partner  Programmer,
 Gitorious AS
 http://gitorious.com

 On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 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 15:43:53 [error] 1761#0: *2 open() 
 /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
 directory), client: 192.168.XX.XX, server: localhost, request: GET 
 /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:

 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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 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 for jacot: git-upload-pack 'test-3/test-3.git'

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 12:30:05 PM UTC+2, Jaco Theron wrote:

 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 --help'.

 Although I can check the git command for options, and do a version check:

 [gitorious@mars root]$ git --version
 git version 1.7.1

 Thank you in advance,
 Jaco

 On 

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 
/test-4/test-4.git/info/refs?service=git-upload-pack HTTP/1.1 200 0 - 
JGit/2.1.0.201209190230-r -

HTTP works but not SSH, I hope this helps getting to the bottom of this.

Kind Regards,
Jaco

On Thursday, January 17, 2013 7:23:49 PM UTC+2, Jaco Theron wrote:

 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? :) 

 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 eGit:

 gito...@192.168.xx.xx:test-3/test-3.git: 
 == Gitorious: ==
 Temporary error. Please try again shortly
 

 In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 
 63353 22 (jacot): git-upload-pack 'test-3/test-3.git'
 F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
 paths/permissions

 This means I broke it maybe :-P so I reverted the name change :-)

 And now changed 000-gitorious to 000-gitorious.conf

 Now I get Eclipse eGit error:

 gito...@192.168.xx.xx:test-3/test-3.git: 
 == Gitorious: ==
 Access denied or wrong repository path
 

 And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 
 63686 22 (jacot): git-upload-pack 'test-3/test-3.git'
 I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-3/test-3.git'

 And in /var/log/nginx/error.log:

 2013/01/17 16:35:31 [error] 1783#0: *43 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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX

 ?

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson 
 wrote:

  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 accessible in the gitorious 
 frontend?

 --
 Best regards,
 Thomas Kjeldahl Nilsson,
 Partner  Programmer,
 Gitorious AS
 http://gitorious.com

 On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 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 15:43:53 [error] 1761#0: *2 open() 
 /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
 directory), client: 192.168.XX.XX, server: localhost, request: GET 
 /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:

 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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 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 for jacot: git-upload-pack 'test-3/test-3.git'

 Kind Regards,
 Jaco

 On Thursday, January 17, 

Re: [gitorious] Gitorious update release

2013-01-17 Thread Thomas Kjeldahl Nilsson
Looks like you have a conflict. I suggest you repeat the git checkout operation 
on any files with conflicts, then try again. 

cheers,
Thomas


On Thursday, January 17, 2013 at 4:37 PM, Federico Don wrote:

 Thanks for your answer but now i have other issue
 
 when execute:
 
 # rake assets:clear
 (in /home/git/gitorious)
 Please install RDoc 2.4.2+ to generate documentation.
 rake aborted!
 /home/git/gitorious/lib/tasks/../gitorious.rb:19: syntax error, unexpected 
 tLSHFT, expecting kEND
  HEAD
   ^
 /home/git/gitorious/lib/tasks/../gitorious.rb:21: syntax error, unexpected 
 tEQQ, expecting kEND
 ===
^
 /home/git/gitorious/lib/tasks/../gitorious.rb:23: syntax error, unexpected 
 tRSHFT, expecting kEND
  v2.4.1
   ^
 /home/git/gitorious/lib/tasks/../gitorious.rb:23: no .digit floating 
 literal anymore; put 0 before dot
  v2.4.1
^
 /home/git/gitorious/Rakefile:10:in `require'
 (See full trace by running task with --trace)
 
 I have Rdoc 3.12
 
 # gem list -d rdoc
 
 *** LOCAL GEMS ***
 
 rdoc (3.12)
 Authors: Eric Hodel, Dave Thomas, Phil Hagelberg, Tony Strauss
 Rubyforge: http://rubyforge.org/projects/rdoc
 Homepage: http://docs.seattlerb.org/rdoc
 Installed at: /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8
 
 RDoc produces HTML and command-line documentation for Ruby projects
 
 Could you please help me?
 
 Thanks and regards,
 
 
 
 
 2013/1/17 Thomas Kjeldahl Nilsson tho...@gitorious.org 
 (mailto:tho...@gitorious.org)
  Hi Frederico,  
  
  seems you have touched that ldap lib file, but unless you have something 
  you need in there you can simply reset in like this:
  
  git checkout lib/gitorious/authentication/ldap_authentication.rb 
  
  and proceed with the merge. :) 
  
  cheers,
  Thomas
  
  
  On Thursday, January 17, 2013 at 12:16 AM, Federico Don wrote:
  
lib/gitorious/authentication/ldap_authentication.rb 
  
  
  -- 
  To post to this group, send email to gitorious@googlegroups.com 
  (mailto:gitorious@googlegroups.com)
  To unsubscribe from this group, send email to
  gitorious+unsubscr...@googlegroups.com 
  (mailto:gitorious%2bunsubscr...@googlegroups.com)
 
 -- 
 To post to this group, send email to gitorious@googlegroups.com 
 (mailto:gitorious@googlegroups.com)
 To unsubscribe from this group, send email to
 gitorious+unsubscr...@googlegroups.com 
 (mailto:gitorious+unsubscr...@googlegroups.com)

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


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;
  }
  
  listen 80;

  # Handle tarball downloads
  # Gitorious will send a X-Accel-Redirect header like
  # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz
  # Which should be streamed from /tarball-cache/project-repo-sha.tar.gz
  location /tarballs/ {
internal;
alias /projects/gitorious/tarballs/;
  }
  # Handle git-over-http requests
  # Gitorious will send a X-Accel-Redirect header like
  # X-Accel-Redirect: /git-http/project/repository.git/info/refs
  # Which should map to /repositories/project/repository.git/info/refs
  location /git-http/ {
internal;
alias /projects/gitorious/repositories/;
  }

}

And here is the nginx.conf:

user gitorious;
worker_processes  1;

error_log  /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;


events {
worker_connections  1024;
}


http {
include   /etc/nginx/mime.types;
default_type  application/octet-stream;

log_format  main  '$remote_addr - $remote_user [$time_local] $request 
'
  '$status $body_bytes_sent $http_referer '
  '$http_user_agent $http_x_forwarded_for';

access_log  /var/log/nginx/access.log  main;

sendfileon;
#tcp_nopush on;

keepalive_timeout  65;

#gzip  on;

include /etc/nginx/conf.d/*.conf;
}

Kind Regards,
Jaco

On Thursday, January 17, 2013 7:33:44 PM UTC+2, Jaco Theron wrote:

 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 
 /test-4/test-4.git/info/refs?service=git-upload-pack HTTP/1.1 200 0 - 
 JGit/2.1.0.201209190230-r -

 HTTP works but not SSH, I hope this helps getting to the bottom of this.

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 7:23:49 PM UTC+2, Jaco Theron wrote:

 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? :) 

 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 eGit:

 gito...@192.168.xx.xx:test-3/test-3.git: 
 == Gitorious: ==
 Temporary error. Please try again shortly
 

 In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 
 63353 22 (jacot): git-upload-pack 'test-3/test-3.git'
 F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
 paths/permissions

 This means I broke it maybe :-P so I reverted the name change :-)

 And now changed 000-gitorious to 000-gitorious.conf

 Now I get Eclipse eGit error:

 gito...@192.168.xx.xx:test-3/test-3.git: 
 == Gitorious: ==
 Access denied or wrong repository path
 

 And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 
 63686 22 (jacot): git-upload-pack 'test-3/test-3.git'
 I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-3/test-3.git'

 And in /var/log/nginx/error.log:

 2013/01/17 16:35:31 [error] 1783#0: *43 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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX

 ?

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson 
 wrote:

  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 accessible in the gitorious 
 frontend?

 --
 Best regards,
 Thomas Kjeldahl Nilsson,
 Partner  Programmer,
 Gitorious AS
 http://gitorious.com

 On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 Hi,

 Maybe this will help as well.  Why would it look for an html page?

 *In 

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 /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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX

 I tried this link:
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot

 and get:

 ===

 No data received
 Unable to load the webpage because the server sent no data.
 Here are some suggestions:

-Reloadhttp://192.168.10.44:3000/test-3/test-3/config?username=jacot 
 this 
webpage later.

  Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection 
 without sending any data.

 ===

 Any ideas for me to investigate?

 Thank you in advance,
 Jaco


-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


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: 
http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
192.168.XX.XX

I tried this link:
http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot

and get:

===

No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
   
   -Reloadhttp://192.168.10.44:3000/test-3/test-3/config?username=jacot 
this 
   webpage later.

 Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection 
without sending any data.

===

Any ideas for me to investigate?

Thank you in advance,
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? :) 

 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 eGit:

 gito...@192.168.xx.xx javascript::test-3/test-3.git: 
 == Gitorious: ==
 Temporary error. Please try again shortly
 

 In $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:02:57#2091]  INFO -- : Connection from 192.168.XX.XX 
 63353 22 (jacot): git-upload-pack 'test-3/test-3.git'
 F, [2013-01-17 16:02:57#2091] FATAL -- : Connection refused querying for 
 paths/permissions

 This means I broke it maybe :-P so I reverted the name change :-)

 And now changed 000-gitorious to 000-gitorious.conf

 Now I get Eclipse eGit error:

 gito...@192.168.xx.xx javascript::test-3/test-3.git: 
 == Gitorious: ==
 Access denied or wrong repository path
 

 And in $GITORIOUS_HOME/gitorous/log/gitorious_auth.log:

 I, [2013-01-17 16:35:31#2104]  INFO -- : Connection from 192.168.YY.YY 
 63686 22 (jacot): git-upload-pack 'test-3/test-3.git'
 I, [2013-01-17 16:35:31#2104]  INFO -- : Access denied or bad repository 
 path for jacot: git-upload-pack 'test-3/test-3.git'

 And in /var/log/nginx/error.log:

 2013/01/17 16:35:31 [error] 1783#0: *43 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: 
 http://192.168.XX.XX:3000/test-3/test-3/config?username=jacot;, host: 
 192.168.XX.XX

 ?

 Kind Regards,
 Jaco

 On Thursday, January 17, 2013 3:57:53 PM UTC+2, Thomas Kjeldahl Nilsson 
 wrote:

  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 accessible in the gitorious 
 frontend?

 --
 Best regards,
 Thomas Kjeldahl Nilsson,
 Partner  Programmer,
 Gitorious AS
 http://gitorious.com

 On Thursday, January 17, 2013 at 2:53 PM, Jaco Theron wrote:

 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 15:43:53 [error] 1761#0: *2 open() 
 /usr/share/nginx/html/test-3/test-3/config failed (2: No such file or 
 directory), client: 192.168.XX.XX, server: localhost, request: GET 
 /test-3/test-3/config?username=jacot HTTP/1.1, host: 192.168.XX.XX

 Thank you in advance,
 Jaco

 On Thursday, January 17, 2013 3:42:37 PM UTC+2, Jaco Theron wrote:

 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 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 
 https://groups.google.com/forum/?fromgroups=#!topic/gitorious/uJLVU85Dro8
 But I am not sure what to check in Gitorious 3?

 Regards,
 Jaco

 On Thursday, January 17, 2013 2:53:37 PM UTC+2, Jaco Theron wrote:

 Hi,

 Please advise on anything I could check, I am still struggling with this 

Re: [gitorious] How to find the which Gitorious version I am running on ?

2013-01-17 Thread Marius Mårnes Mathiesen

Thomas Kjeldahl Nilsson writes:

 Sure thing: if you're on an official version/release/tag, you can run
 the following command from the root of your Gitorious installation
 (ie. same dir as the Gemfile etc)

 rake versioning:changelog

insert periodic reminder to use bin/rake wherever appropriate

:-)
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com