Ah. Just checking:

* "git" owns the surrounding folders all the way up to and including the one specified in 'repository_base_path' (see config/gitorious.yml)? * You can pull out the stored git paths by running the following one-liner in the root of you gitorious installation (one level up from the config/ dir)

RAILS_ENV=production script/runner "puts Repository.regular.all.map{|r|r.gitdir}"

I'd suggest verifying that all the thus listed paths both exist (they are relative to 'repository_base_path') and have correct permissions "above and below".

All I can think of off the top of my head..

cheers
Thomas


On 08/23/2012 03:43 PM, Bennit wrote:
"git" owns the repository and surrounding folders:
drwxr-x--- 5 git git 4096 Aug 22 19:09 client.git/
git-daemon etc are being run by the "git" user.

So I'm guessing that's not it.
Thanks for the try though.

Ben

On Wednesday, August 22, 2012 8:17:07 PM UTC+2, Bennit wrote:

    I installed gitorious successfully on my own host. I created a
    project with 3 repositories.

    First I cloned it via the ssh-link, added some files, did a commit
    and tried to push changes. This said the url is readonly.

    Then I tried following the "getting started" commands you see on
    fresh repositories on the gitorious instance.
    So I created a repository, added some files, did a commit and then
    I added the remote source. (copy paste commands, so I'm sure
    there're no typo's)
    Then finally: git push origin master

    => "access denied or wrong repository path"


    my ssh-key is added:
    $ ssh -T [email protected]
    Welcome, admin. Use git to push/pull your repositories

    So authentication works. I wondered if perhaps it was an ssl
    problem, but as far as I know of git protocol or ssh protocol
    don't have anything to do with ssl.
    I tried using the https url and then indeed it complains that the
    certificate couldn't be certified (as it is a self-signed one).

    So finally I take a look at the logs from
    gitorious, gitorious-auth log:
    I, [2012-08-22 20:02:07#18243]  INFO -- : Connection from
    "78.22.254.163 52366 22" (admin): git-receive-pack 'home/website.git'
    I, [2012-08-22 20:02:07#18243]  INFO -- : Access denied or bad
    repository path for "admin": "git-receive-pack 'home/website.git'"

    That's about all I could think of checking on top of my head. Any
    further ideas?

    Ben.

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]


--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to