{"action":"opened","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/438","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/438/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/438/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/438","id":79100268,"number":438,"title":"Mirror automatically isn't updated","user":{"login":"vchess","id":12548639,"avatar_url":"https://avatars.githubusercontent.com/u/12548639?v=3","gravatar_id":"","url":"https://api.github.com/users/vchess","html_url":"https://github.com/vchess","followers_url":"https://api.github.com/users/vchess/followers","following_url":"https://api.github.com/users/vchess/following{/other_user}","gists_url":"https://api.github.com/users/vchess/gists{/gist_id}","starred_url":"https://api.github.com/users/vchess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchess/subscriptions","organizations_url":"https://api.github.com/users/vchess/orgs","repos_url":"https://api.github.com/users/vchess/repos","events_url":"https://api.github.com/users/vchess/events{/privacy}","received_events_url":"https://api.github.com/users/vchess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T17:55:21Z","updated_at":"2015-05-21T17:55:21Z","closed_at":null,"body":"Hi.\r\nThe Repository Mirrors in the project is set up. The mirror is updated if to make (to press the PUSH button).\r\nIf to make git push in a repository the mirror automatically isn't updated and in logs an error\r\n\r\n```log\r\n/opt/redmine/plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:30: warning: toplevel constant Redmine referenced by Hooks::Redmine\r\nThu May 21 20:18:36 2015 - /opt/redmine/plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:30:in `block in post_receive_redmine': undefined method `new' for Redmine:Module (NoMethodError)\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/actionpack-3.2.21/lib/action_dispatch/http/response.rb:44:in `each'\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/actionpack-3.2.21/lib/action_dispatch/http/response.rb:44:in `each'\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/actionpack-3.2.21/lib/action_dispatch/http/response.rb:44:in `each'\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/activerecord-3.2.21/lib/active_record/query_cache.rb:46:in `each'\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:460:in `each'\r\nThu May 21 20:18:36 2015 -      from /usr/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/body_proxy.rb:31:in `each'"}}