I tried to setup a docker container with redmine and the git hosting plugin. The container runs fine and the redmine web UI allows to configure all needed settings. When I checked the config test everything seems to be fine:
But when I check the logs in /usr/src/redmine/log/git_hosting.log the following ERRORs are listed:
2021-06-01 10:00:20 +0000 [INFO] Enable RW access on all Gitolite repositories
2021-06-01 10:00:20 +0000 [INFO] Create Gitolite Admin directory : '/tmp/redmine_git_hosting/git/gitolite-admin.git'
2021-06-01 10:00:20 +0000 [ERROR] Invalid Gitolite Admin SSH Keys
2021-06-01 10:00:20 +0000 [ERROR] FATAL: R any gitolite-admin id_rsa DENIED by fallthru
(or you mis-spelled the reponame)
2021-06-01 10:00:20 +0000 [INFO] Testing if Redmine user 'redmine' can sudo to Gitolite user 'git'...
2021-06-01 10:00:20 +0000 [INFO] OK!
Since there was a similar issue #747 I'm aware that my ssh key should be created in PEM format which I did by using ssh-keygen -m PEM -N '' -f id_rsa. Another issue #777 mentioned related problems and the user was very kind to provide his dockerfile, so I tried to get it running but failed. It is most likely that I just forgot something during my setup but I'm absolutley stucked right now. Maybe someone has an idea what I can try to solve this problem.
Hi there,
I tried to setup a docker container with redmine and the git hosting plugin. The container runs fine and the redmine web UI allows to configure all needed settings. When I checked the config test everything seems to be fine:
But when I check the logs in
/usr/src/redmine/log/git_hosting.log
the following ERRORs are listed:Since there was a similar issue #747 I'm aware that my ssh key should be created in PEM format which I did by using
ssh-keygen -m PEM -N '' -f id_rsa
. Another issue #777 mentioned related problems and the user was very kind to provide his dockerfile, so I tried to get it running but failed. It is most likely that I just forgot something during my setup but I'm absolutley stucked right now. Maybe someone has an idea what I can try to solve this problem.