{"action":"created","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/506","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/506/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/506/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/506","id":105576918,"number":506,"title":"Cannot apply Settings, got 500 Error","user":{"login":"Rubinum","id":5645798,"avatar_url":"https://avatars.githubusercontent.com/u/5645798?v=3","gravatar_id":"","url":"https://api.github.com/users/Rubinum","html_url":"https://github.com/Rubinum","followers_url":"https://api.github.com/users/Rubinum/followers","following_url":"https://api.github.com/users/Rubinum/following{/other_user}","gists_url":"https://api.github.com/users/Rubinum/gists{/gist_id}","starred_url":"https://api.github.com/users/Rubinum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rubinum/subscriptions","organizations_url":"https://api.github.com/users/Rubinum/orgs","repos_url":"https://api.github.com/users/Rubinum/repos","events_url":"https://api.github.com/users/Rubinum/events{/privacy}","received_events_url":"https://api.github.com/users/Rubinum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-09-09T11:21:39Z","updated_at":"2015-12-02T12:08:07Z","closed_at":"2015-09-11T18:07:58Z","body":"I installed a fresh new instance of redmine including the redmine-git-hosting plugin and the Redmine Bootstrap Kit plugin.\r\n\r\nI strictly followed this guide to do so: \r\nhttp://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_2_integrated_with_Gitolite_2_on_Debian_Wheezy_with_Apache_and_Phusion_Passenger\r\n\r\nEverything works fine, but when I try to change settings on the redmine-surfice for this plugin(Redmine -> Administration (you have to be admin)-> Plugins -> Redmine Git Hosting Plugin Konfiguration) then I got an 500 error from Redmine.\r\n\r\nThe logs say (/path_to_Redmine/logs/production.log): \r\n```\r\nStarted GET \"/redmine/settings/plugin/redmine_git_hosting?tab=gitolite_redmine_config\" for 10.32.1.58 at 2015-09-09 07:02:53 -0400\r\nProcessing by SettingsController#plugin as HTML\r\n  Parameters: {\"tab\"=>\"gitolite_redmine_config\", \"id\"=>\"redmine_git_hosting\"}\r\n  Current user: admin (id=1)\r\n  Rendered plugins/redmine_bootstrap_kit/app/views/common/_modal_base.html.haml (0.3ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/common/_git_hosting_js_headers.html.haml (2.6ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_ssh.html.haml (0.6ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_storage.html.haml (0.7ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_file.html.haml (1.1ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_global.html.haml (1.1ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_access.html.haml (1.7ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_hooks.html.haml (1.7ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_cache.html.haml (0.7ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_notify.html.haml (1.0ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_display_access.html.haml (0.9ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_redmine_config.html.haml (2.8ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_sidekiq_interface.html.haml (0.4ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_config_test.html.haml (474.2ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_recycle_bin.html.haml (15.8ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/redmine_git_hosting/_gitolite_rescue.html.haml (0.9ms)\r\n  Rendered common/_tabs.html.erb (508.3ms)\r\n  Rendered plugins/redmine_git_hosting/app/views/settings/_redmine_git_hosting.html.haml (511.7ms)\r\n  Rendered settings/plugin.html.erb within layouts/admin (513.2ms)\r\n  Rendered admin/_menu.html.erb (3.3ms)\r\n  Rendered layouts/base.html.erb (28.8ms)\r\nCompleted 200 OK in 549ms (Views: 546.0ms | ActiveRecord: 1.1ms)\r\nStarted POST \"/redmine/settings/plugin/redmine_git_hosting\" for 10.32.1.58 at 2015-09-09 07:05:10 -0400\r\nProcessing by SettingsController#plugin as HTML\r\n  Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"emFExKfLHkaCYIZ21mcrth/BBO52I70HHLCXmuovHCrwFt1wNHmaG9fJWnVcitzhEymreLPRiHCzOB2Yj+Y3Mw==\", \"settings\"=>{\"gitolite_user\"=>\"git\", \"gitolite_ssh_private_key\"=>\"/opt/redmine/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa\", \"gitolite_ssh_public_key\"=>\"/opt/redmine/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa.pub\", \"gitolite_server_host\"=>\"localhost\", \"gitolite_server_port\"=>\"22\", \"gitolite_global_storage_dir\"=>\"repositories/\", \"gitolite_recycle_bin_dir\"=>\"recycle_bin/\", \"gitolite_redmine_storage_dir\"=>\"\", \"gitolite_lib_dir\"=>\"bin/lib/\", \"gitolite_config_file\"=>\"gitolite.conf\", \"gitolite_identifier_prefix\"=>\"redmine_\", \"gitolite_identifier_strip_user_id\"=>\"true\", \"gitolite_temp_dir\"=>\"/tmp/redmine_git_hosting/\", \"gitolite_recycle_bin_expiration_time\"=>\"24.0\", \"gitolite_log_level\"=>\"info\", \"git_config_username\"=>\"Redmine Git Hosting\", \"git_config_email\"=>\"redmine@example.net\", \"ssh_server_domain\"=>\"localhost\", \"http_server_domain\"=>\"localhost\", \"https_server_domain\"=>\"localhost\", \"http_server_subdir\"=>\"\", \"gitolite_http_by_default\"=>\"1\", \"show_repositories_url\"=>\"true\", \"gitolite_daemon_by_default\"=>\"false\", \"download_revision_enabled\"=>\"true\", \"gitolite_overwrite_existing_hooks\"=>\"true\", \"gitolite_hooks_are_asynchronous\"=>\"false\", \"gitolite_hooks_debug\"=>\"false\", \"gitolite_hooks_url\"=>\"http://localhost:3000\", \"gitolite_cache_max_time\"=>\"86400\", \"gitolite_cache_max_size\"=>\"16\", \"gitolite_cache_max_elements\"=>\"2000\", \"gitolite_cache_adapter\"=>\"database\", \"gitolite_notify_by_default\"=>\"false\", \"gitolite_notify_global_prefix\"=>\"[REDMINE]\", \"gitolite_notify_global_sender_address\"=>\"redmine@example.net\", \"gitolite_notify_global_include\"=>[\"\"], \"gitolite_notify_global_exclude\"=>[\"\"], \"redmine_has_rw_access_on_all_repos\"=>\"true\", \"all_projects_use_git\"=>\"false\", \"init_repositories_on_create\"=>\"false\", \"delete_git_repositories\"=>\"true\", \"hierarchical_organisation\"=>\"true\", \"gitolite_use_sidekiq\"=>\"false\"}, \"commit\"=>\"Anwenden\", \"id\"=>\"redmine_git_hosting\"}\r\n  Current user: admin (id=1)\r\nCompleted 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)\r\n\r\nArgumentError (wrong number of arguments(1 for 0)):\r\n  lib/redmine/sudo_mode.rb:63:in `sudo_mode'\r\n\r\n```\r\n\r\nCan someone help me with this issue?\r\n"},"comment":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/comments/161273079","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/506#issuecomment-161273079","issue_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/506","id":161273079,"user":{"login":"thelfensdrfer","id":699106,"avatar_url":"https://avatars.githubusercontent.com/u/699106?v=3","gravatar_id":"","url":"https://api.github.com/users/thelfensdrfer","html_url":"https://github.com/thelfensdrfer","followers_url":"https://api.github.com/users/thelfensdrfer/followers","following_url":"https://api.github.com/users/thelfensdrfer/following{/other_user}","gists_url":"https://api.github.com/users/thelfensdrfer/gists{/gist_id}","starred_url":"https://api.github.com/users/thelfensdrfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelfensdrfer/subscriptions","organizations_url":"https://api.github.com/users/thelfensdrfer/orgs","repos_url":"https://api.github.com/users/thelfensdrfer/repos","events_url":"https://api.github.com/users/thelfensdrfer/events{/privacy}","received_events_url":"https://api.github.com/users/thelfensdrfer/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T12:08:07Z","updated_at":"2015-12-02T12:08:07Z","body":"I have the same error as r0perice, what does it mean that the git user is not properly set @n-rodriguez? The user for gitolite on the gitolite server? "}}