Active Directory / LDAP Failing During Push

94 views
Skip to first unread message

Michael Gardner

unread,
Feb 25, 2014, 5:03:45 PM2/25/14
to gito...@googlegroups.com
Hello,

I've been able to setup an install of Gitorious on CentOS 6 using the "installer" method found on getgitorious.

Install went fine. Took me a bit of time to setup the LDAP configuration. I'm currently able to login, create a project, and create a repository.

However when I try to do an initial commit and push I get:

<project_stub>/<repo_stub.git> does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I've basically followed everything on the "Congratulations on your new repository!" page.

It's asking me for my password for my us...@domain.com account. I enter the same one that I would for logging into the site.

I'm not seeing any errors show up in production.log. Is there other log output that I could pull?

Thanks,

Mike G.

Michael Gardner

unread,
Feb 28, 2014, 8:44:13 AM2/28/14
to gito...@googlegroups.com
Figured this out. Was a problem with TortoiseGit. Remember to setup your public and private keys correctly.

If anyone finds this from a Google search later on here's what I did:
1. Setup your repo in Gitorious.
2. Init your repo in Gitorious
3. Open "Git Bash" in your repo's directory
4. Generate the SSH Key with "ssh-keygen -t rsa" and press ‘Return’ in every question. Go to your Gitorious dashboard, click on “Manage SSH Keys” then “Add SSH Key“, copy the content of ".ssh/id_rsa.pub” (the output in the shell window should tell you where this file is located; mine was found in my users directory) in Gitorious and click save.
5. Follow the rest of the instructions in the getting started section shown on the Gitorious page for your repo.

I used this page to figure it out: http://www.cnx-software.com/2011/12/13/adding-a-project-to-gitorious-with-a-windows-computer/#ixzz2uckUASFf

Paweł Pierzchała

unread,
Feb 28, 2014, 9:07:06 AM2/28/14
to gito...@googlegroups.com
Thanks for sharing the fix!

Cheers,
Pawel



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

---
You received this message because you are subscribed to the Google Groups "Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages