-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
I installed 4.0.0 on debian buster with redmine 4.0.6 and ruby 2.5.5p157. It seems to be installed ok (although Bootstrap Kit did not work and had to be uninstalled -- maybe that is the problem?), as the /settings/plugin/redmine_git_hosting?tab=gitolite_config_test
url does not report any errors, but repository creation and key addition does not seem to work.
In the git_hosting.log, there is the following error when running the gitolite_config_test (but this cannot be seen on the web UI):
2020-02-11 14:49:20 +0100 [ERROR] Invalid Gitolite Admin SSH Keys
2020-02-11 14:49:20 +0100 [ERROR] Failed to authenticate SSH session: Unable to send userauth-publickey request
If I try to add a public key with the redmine admin user, I get the following output in the log:
2020-02-11 14:54:01 +0100 [ERROR] Git exited with non-zero status : 128 : 'sudo' '-n' '-u' 'gitolite3' '-i' 'git' '--git-dir' 'repositories/redmine/project/testing.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2020-02-11 14:54:01 +0100 [ERROR] Git exited with non-zero status : 128 : 'sudo' '-n' '-u' 'gitolite3' '-i' 'git' '--git-dir' 'repositories/redmine/project/testing.git' '-c' 'core.quotepath=false' '-c' 'log.decorate=no' 'branch' '--no-color' '--verbose' '--no-abbrev'
2020-02-11 14:54:42 +0100 [ERROR] Invalid Gitolite Admin SSH Keys
2020-02-11 14:54:42 +0100 [ERROR] Failed to authenticate SSH session: Unable to send userauth-publickey request
2020-02-11 14:54:42 +0100 [INFO] Create Gitolite Admin directory : '/tmp/redmine_git_hosting/gitolite3/gitolite-admin.git'
2020-02-11 14:54:42 +0100 [INFO] Testing if Redmine user 'user' can sudo to Gitolite user 'gitolite3'...
2020-02-11 14:54:42 +0100 [INFO] OK!
2020-02-11 14:54:43 +0100 [INFO] Installing Redmine Gitolite mirroring SSH keys ...
2020-02-11 14:54:43 +0100 [INFO] Done!
2020-02-11 14:55:01 +0100 [INFO] User 'admin' has added a SSH key
Is there any idea what the error could be? Or at least how I could test it better, to get more debug info?
Metadata
Metadata
Assignees
Labels
No labels