ericpaulbishop / redmine_git_hosting

A ChiliProject/Redmine plugin which makes configuring your own git hosting easy.
186 stars 37 forks source link

gitolite-admin repository not cloned #149

Closed jehoshua02 closed 12 years ago

jehoshua02 commented 12 years ago

From what I understand, the redmine_git_hosting plugin is supposed to clone the gitolite-admin repository to /tmp/redmine_git_hosting/ at some point, but I have seen nothing of the sort.

I have two users, chili and git, who can freely sudo into each other.

Logged in as chili, I could execute this just fine:

env GIT_SSH="/tmp/redmine_git_hosting/gitolite_admin_ssh" git clone git@192.168.1.7:gitolite-admin.git

I even created a test user, copied the gitolite_admin_id_rsa private key, and tried cloning from there. Worked fine.

But when I create a new project, add a user with a public key, and try to git push -u origin master from my work station, it asks for the git user's password. It's because redmine_git_hosting is not updating the keys with gitolite. It hasn't even cloned the gitolite-admin repo.

What gives? Any idea what else I can check?

jehoshua02 commented 12 years ago

First, I reinstalled gitolite, and made sure I could clone the gitolite-admin repository. This ruled out ssh and gitolite as the problem.

Then I restarted httpd. Seems everything works.

However, I am getting some weird "update anomalies" after updating public keys, creating and deleting projects, but that's another issue.