redmine-git-hosting / redmine_git_hosting

A Redmine plugin which makes configuring your own Git hosting easy ;)
http://redmine-git-hosting.io
MIT License
274 stars 117 forks source link

Fresh install and it doesn't work #741

Closed mrPsycho closed 3 years ago

mrPsycho commented 4 years ago

Hello, i already created two tickets while i was trying install this plugin.. and they are mostly for documentation..

so maybe this one depends on it, but nowhere written.

when i add public key on redmine UI, key don't get in authorized_keys file for git user. also, no projects are being created under /home/git/repositories.... on logs i see this error:

2019-12-07 21:00:48 +0300 [ERROR] Git exited with non-zero status : 128 : 'sudo' '-n' '-u' 'git' '-i' 'git' '--git-dir' 'repositories/inet/
qwe.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'

but, from redmine i can do this command

what to check?

pulecp commented 4 years ago

Hi @mrPsycho,

make sure that your test page is green at first

https://redmine.example.com/settings/plugin/redmine_git_hosting?tab=gitolite_config_test

mrPsycho commented 4 years ago

It is green: redmine

PowerKiKi commented 3 years ago

Assuming this is either resolved or obsolete.