You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error in my production log, when i press apply button on git_hosting plugin page.
There are no errors in git_hosting.log , and everything seems to be ok, but apply button not working.
And the same error im getting everytime i try to do some changes to gitolite repositories in my projects.
Production.log
Started POST "/settings/plugin/redmine_git_hosting" for x.x.x.x at 2016-01-09 09:09:56 +0300
Processing by SettingsController#plugin as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"fjD0e6U3WWUVgrOVooRY3Ldglkqr+X7ymqOTX7zzJrXCUrVopJ84v1BJF3j7ozluhvV5GSHsOmte90uTFvIIzg==", "settings"=>{"gitolite_user"=>"git", "gitolite_ssh_private_key"=>"/data/apps/redmine/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa", "gitolite_ssh_public_key"=>"/data/apps/redmine/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa.pub", "gitolite_server_host"=>"127.0.0.1", "gitolite_server_port"=>"1984", "gitolite_global_storage_dir"=>"repositories/", "gitolite_recycle_bin_dir"=>"recycle_bin/", "gitolite_redmine_storage_dir"=>"", "gitolite_local_code_dir"=>"hooks/", "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"=>"[email protected]", "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"=>"[email protected]", "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"=>"Применить", "id"=>"redmine_git_hosting"}
Current user: Test (id=24)
Settings cache cleared.
Completed 500 Internal Server Error in 60ms (ActiveRecord: 31.0ms)
Rugged::OSError (Failed to connect to localhost: Connection refused):
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
git_hosting.log
2016-01-09 09:09:47 +0300 [INFO] Testing if Redmine user 'labs' can sudo to Gitolite user 'git'...
2016-01-09 09:09:47 +0300 [INFO] OK!
2016-01-09 09:09:56 +0300 [INFO] Flush Settings Cache !
2016-01-09 09:09:56 +0300 [INFO] Settings cache flushed!
2016-01-09 09:09:56 +0300 [INFO] Enable RW access on all Gitolite repositories
n-rodriguez
changed the title
Rugged::OSError (Failed to connect to localhost: Connection refused): lib/redmine/sudo_mode.rb:63:in `sudo_mode'
plugin does not work correctly with custom ssh port
Feb 9, 2016
I got this error in my production log, when i press apply button on git_hosting plugin page.
There are no errors in git_hosting.log , and everything seems to be ok, but apply button not working.
And the same error im getting everytime i try to do some changes to gitolite repositories in my projects.
Production.log
git_hosting.log
2016-01-09 09:09:47 +0300 [INFO] Testing if Redmine user 'labs' can sudo to Gitolite user 'git'...
2016-01-09 09:09:47 +0300 [INFO] OK!
2016-01-09 09:09:56 +0300 [INFO] Flush Settings Cache !
2016-01-09 09:09:56 +0300 [INFO] Settings cache flushed!
2016-01-09 09:09:56 +0300 [INFO] Enable RW access on all Gitolite repositories
My environment:
The text was updated successfully, but these errors were encountered: