Content
Gitolite-Plugin - Errors on configuration page
Added by Steffen Kroggel over 5 years ago
Hi there,
I just installed the Gitolite plugin based on the instructions here: https://github.com/opf/openproject-gitolite.
I am using Ubuntu and have installed OpenProject as a package (Openproject Version: 8.3.1 (Mysql2), Gitolite-Version: 8.2.0).
So far Gitolite seems to be set up correctly and also the permissions seem to be correct. I also cloned Gitolite-Admin accordingly.
hello gitolite_admin_id_rsa, this is git@[HOST] running gitolite3 v3.6.11-1-g37dfce9 on git 2.7.4
R W gitolite-admin
R W testing
Now to my problem: In OpenProject under Plugins > Gitolite > Configure I'm able to edit and save the tab "Gitolite". But if I want to save the tab "Storage", I get an Internal Server Error (500). I get the following error here:
I, [2019-04-10T10:48:35.366090 #1896] INFO -- : method=POST path=/settings/plugin/openproject_gitolite format=html controller=SettingsController action=plugin status=500 error='TypeError: no implicit conversion of nil into String' duration=13.27 view=0.00 db=2.69 user=1
F, [2019-04-10T10:48:35.367328 #1896] FATAL -- :
F, [2019-04-10T10:48:35.367397 #1896] FATAL -- : TypeError (no implicit conversion of nil into String):
F, [2019-04-10T10:48:35.367443 #1896] FATAL -- :
F, [2019-04-10T10:48:35.367487 #1896] FATAL -- : app/models/setting.rb:171:in `[]='
app/controllers/settings_controller.rb:72:in `plugin'
app/middleware/reset_current_user.rb:47:in `call'
I am not a Ruby programmer, but I tried to understand what is happening. Unfortunately without success. I would be grateful for a tip.
Thanks in advance!