Re: "Access denied or wrong repository path" when pushing

302 views
Skip to first unread message

alext

unread,
Jul 13, 2012, 12:16:39 PM7/13/12
to gito...@googlegroups.com
Problem solved. For whoever's interested, this was because of 2 reasons: apache not listening on port 80, and gitorious running on a sub URI.

On Thursday, July 12, 2012 5:22:57 PM UTC-4, alext wrote:
I just finished setting up a Gitorious installation and was testing some of the features to make sure it works. I created a test project, with a test repo, and then following the instructions I tried pushing from my local test repo, and I got this error:

atst@wks:~/test-new$ git push origin master                                                                                                                                                            

== Gitorious: ==========================================================
Access denied or wrong repository path
========================================================================

fatal: The remote end hung up unexpectedly

Some of the investigations that I did so far:

https://gitorious.domain.net/test/test/writable_by?username=atst returns true

git ls-remote origin:
== Gitorious: ==========================================================
Access denied or wrong repository path
========================================================================

fatal: The remote end hung up unexpectedly

gitorious_auth.log:
I, [2012-07-11 20:20:07#11773]  INFO -- : Connection from "10.12.1.31 49651 22" (atst): git-upload-pack 'test/test-new.git'
I, [2012-07-11 20:20:07#11773]  INFO -- : Access denied or bad repository path for "atst": "git-upload-pack 'test/test-new.git'"

gitorious.yml:
production:
  gitorious_client_port: 80
  gitorious_client_host: gitorious.domain.net
  gitorious_host: gitorious.domain.net
  repository_base_path: "/home/git/data/repositories"
  archive_cache_dir: "/home/git/data/tarballs"
  archive_work_dir: "/home/git/data/tarball-work"
  cookie_secret: random_seq
  use_ssl: true
  gitorious_user: git
  exception_notification_emails: ma...@domain.net
  messaging_adapter: stomp
  disable_record_throttling: false
  gitorious_support_email: other...@domain.net

The gitorious installation lives at: https://gitorious.domain.net/gitorious/. Also, the ssh key was added successfully to /home/git/.ssh/authorized_keys.

HTTP/1.1 302 Moved Temporarily
Content-Length: 0
Location: /?5b61c530

Does anyone have any idea what could be wrong? Any help is greatly appreciated, thank you in advance.

Gurce Isikyildiz

unread,
Jul 16, 2012, 1:19:51 AM7/16/12
to gito...@googlegroups.com, alext
Ah, which is making me wonder whether the sub-uri option still isn't working. There was talk in an older thread that gitorious would handle sub-uri's one day, but I guess that still isn't possible.
--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com




Gurce Isikyildiz | Software Engineer | Shuffle Master Australasia | P: +61 2 8707 6617 | F: +61 2 9773 0828

P Please consider the environment before printing this e-mail

                                
Internet Confidentiality Statement

This message is intended for the sole use of the individual and entity to whom
it is addressed, and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If you are not the intended 
addressee, nor authorized to receive for the intended addressee, you are hereby
notified that you may not use, copy, disclose or distribute to anyone the 
message or any information contained in the message. If you have received 
this message in error, please immediately advise the sender by reply email and 
delete the message. 
Thank you.

Reply all
Reply to author
Forward
0 new messages