Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Create/Administer Gitolite Repositories #1

Open
KazW opened this issue Feb 3, 2011 · 3 comments
Open

Cannot Create/Administer Gitolite Repositories #1

KazW opened this issue Feb 3, 2011 · 3 comments

Comments

@KazW
Copy link

KazW commented Feb 3, 2011

Hi, Let me start off by thanking you for undertaking this project, it's much needed since gitosis is no longer being maintained (or at least hasn't been update for over a year).

I have managed to successfully install and configure this plugin, and I added a key for my user. However, when I created the repository in redmine, my gitolite configuration was not updated. Also, when I click the repository tab in the project, it displays an error page about the repository not being created yet. I followed the instructions on the page, but since gitolite has not created the repository permissions or my key, the process failed.

It maybe worth mentioning that the gitosis plugin started exhibiting the same behaviour once I made the switch to an sqlite backend.

Log output:
The revision '' has a wrong format
Rendering template within layouts/base
Rendering repositories/git_instructions

@KazW
Copy link
Author

KazW commented Feb 4, 2011

I've switched to using mysql, however now I'm getting the same results as mentioned in issue #2

@odd-poet
Copy link
Owner

odd-poet commented Feb 4, 2011

i think it's not database problem.

After create project and repository in redmine, check git repositories.(e.g. /opt/gitolite/repositories). Your projects's repository directory should exist in there because gitolite creates bare repository.

If your repository directory is not created, this plugin doesn't work properly.
The reason maybe that redmine couldn't access gitolite-admin.

check below.

  1. check 'Gitolite identity file' is correct. (redmine > administration > plugins > redmine-gitolite plugin configure)
  2. check redmine has right to access gitolite-admin with that key.

@KazW
Copy link
Author

KazW commented Feb 4, 2011

Redmine is able to modify the gitolite.conf file and add keys, however the repositories aren't created by redmine. This maybe an issue with my gitolite install, I'm looking into it.

There is some issue with using sqlite though, as Redmine could only modify the gitolite.conf file after I switched databases. This issue also seems to affect the gitosis plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants