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 the"repository_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:
>>>>
>>>> [email protected]:test-1/test-2.git:
>>>> == Gitorious: ==========================================================
>>>> fatal error
>>>> ========================================================================
>>>>
>>>>
>>>> [email protected]: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 [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>>
>>>>
>>>> --
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>>
>>>>
>>>> --
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>>
>>>>
>>>>
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]