-
Notifications
You must be signed in to change notification settings - Fork 116
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
Plugin breaks if gitolite user == redmine user #526
Comments
I also bumped into this problem, but, after while, I found this: http://redmine-git-hosting.io/how-to/maintain/ , "To restore/update your plugin settings" section. |
EDIT: Finally my settings.yml got accepted. :) My user 'gitolite' differs from default 'git', that's why I try to change the plugin parameter for gitolite_user as well.
I've followed two approaches as described in the docs (*2). While restoring the default settings the command line signals that it's processing updates in settings({ partial: 'settings/redmine_git_hosting', default: RedmineGitHosting.settings, gitolite_user: 'gitolite' }) After updating the database it became obvious that appending gitolite_user isn't a solution here. Redmine 3.2 is running on Apache Passenger with Redmine Git Hosting (1.2.0) and Gitolite3. Great appreciation for redmine_git_hosting! :) I'm just starting to get familiar with the concepts of ruby, gems and bundler. References for other readers looking for a solution: |
@cschlusche about the init.rb file : Before RGH 1.2, default settings was stored in plugin's Now default settings are stored in Instead copy the settings you want to override in
Explained here : http://redmine-git-hosting.io/configuration/notes/#deployment-and-configuration |
Hello
So im about to use this plugin now but I can't get it working
my gitolite runs under the user 'redmine' so I changed
:gitolite_user => 'redmine',
whenever I try to configure the package I get internal error
The logfile prints:
I've done a lots of reloading and checked the changes of init.rb apply - they do. but it still breaks on this part.
Why does it need to sudo into 'git'... its not used! where does this git-user come from?
are the default-settings from init.rb are cached/stored somewhere?
nevermind - its stored in the database after migration I think. You should mention to check the init.rb config-settings before installation in your 'Get started'!
Thanks
The text was updated successfully, but these errors were encountered: