sciyoshi / redmine-slack

Slack notification plugin for Redmine
MIT License
403 stars 219 forks source link

Do not run the plugin #78

Open matbott opened 8 years ago

matbott commented 8 years ago

I plugin does not work, I configured everything correctly and do not receive notifications. redmine the log does not appear that the plugin is run. They help me

Started GET "/redmine/projects/tareas-personal/issues/new" for 10.200.4.161 at 2016-02-03 12:42:41 -0200 Processing by IssuesController#new as HTML Parameters: {"project_id"=>"tareas-personal"} Current user: Matias (id=5) Rendered issues/_form_custom_fields.html.erb (2.9ms) Rendered issues/_attributes.html.erb (13.1ms) Rendered plugins/redmine_tags/app/views/issues/_tags_form.html.erb (2.0ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (1.0ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.5ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_form.html.erb (2.9ms) Rendered issues/_form.html.erb (25.3ms) Rendered attachments/_form.html.erb (0.9ms) Rendered issues/new.html.erb within layouts/base (28.1ms) Rendered plugins/quick_edit/app/views/hooks/_head.erb (0.0ms) Rendered inline template (0.4ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (0.6ms) Rendered inline template (0.4ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_sidebar.html.erb (0.1ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (2.3ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (1.1ms) Completed 200 OK in 78.9ms (Views: 53.2ms | ActiveRecord: 15.3ms) Started POST "/redmine/projects/tareas-personal/issues" for 10.200.4.161 at 2016-02-03 12:43:09 -0200 Processing by IssuesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0eU5RaWOBjssY2ifTypwo1ztmaIpPk8SHyjHqx79pb0=", "issue"=>{"is_private"=>"0", "tracker_id"=>"3", "subject"=>"Prueba Slack", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"5", "category_id"=>"627", "parent_issue_id"=>"", "start_date"=>"2016-02-03", "due_date"=>"2016-03-05", "estimated_hours"=>"", "done_ratio"=>"0", "tag_list"=>""}, "commit"=>"Crear", "project_id"=>"tareas-personal"} Current user: Matias (id=5) Rendered mailer/_issue.text.erb (1.6ms) Rendered mailer/issue_add.text.erb within layouts/mailer (2.1ms) Rendered mailer/_issue.html.erb (0.3ms) Rendered mailer/issue_add.html.erb within layouts/mailer (0.5ms) Redirected to http://10.200.4.86/redmine/issues/6160 Completed 302 Found in 359.3ms (ActiveRecord: 83.2ms) Started GET "/redmine/issues/6160" for 10.200.4.161 at 2016-02-03 12:43:09 -0200 Processing by IssuesController#show as HTML Parameters: {"id"=>"6160"} Current user: Matias (id=5) Rendered issues/_action_menu.html.erb (1.7ms) Rendered plugins/redmine_tags/app/views/issues/_tags.html.erb (0.9ms) Rendered plugins/redmine_evm/app/views/baselines/_baseline_issue_estimated_time.html.erb (0.5ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist.html.erb (0.5ms) Rendered issue_relations/_form.html.erb (0.8ms) Rendered issues/_relations.html.erb (1.5ms) Rendered issues/_action_menu.html.erb (1.4ms) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (10.0ms) Rendered plugins/redmine_tags/app/views/issues/_tags_form.html.erb (1.3ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.6ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.5ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_form.html.erb (2.4ms) Rendered issues/_form.html.erb (23.7ms) Rendered attachments/_form.html.erb (1.3ms) Rendered issues/_edit.html.erb (31.1ms) Rendered plugins/redmine_graphs/app/views/hooks/redmine_graphs/_view_issues_sidebar_issues_bottom.html.erb (0.5ms) Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (1.1ms) Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.4ms) Rendered plugins/redmine_tags/app/views/issues/_tags_sidebar.html.erb (4.2ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_contacts.html.erb (0.9ms) Rendered issues/_sidebar.html.erb (14.9ms) Rendered watchers/_watchers.html.erb (2.0ms) Rendered issues/show.html.erb within layouts/base (69.0ms) Rendered plugins/quick_edit/app/views/hooks/_head.erb (0.0ms) Rendered inline template (0.3ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (0.6ms) Rendered inline template (0.4ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_sidebar.html.erb (0.0ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (3.0ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (1.3ms) Completed 200 OK in 210.9ms (Views: 88.2ms | ActiveRecord: 97.6ms) Started GET "/redmine/people/avatar?id=2475&size=50" for 10.200.4.161 at 2016-02-03 12:43:10 -0200 Processing by PeopleController#avatar as HTML Parameters: {"id"=>"2475", "size"=>"50"} Current user: Matias (id=5) Completed 304 Not Modified in 6.6ms (ActiveRecord: 1.3ms) Started GET "/redmine/people/avatar?id=2475&size=14" for 10.200.4.161 at 2016-02-03 12:43:10 -0200 Processing by PeopleController#avatar as HTML Parameters: {"id"=>"2475", "size"=>"14"} Current user: Matias (id=5) Completed 304 Not Modified in 2.3ms (ActiveRecord: 0.6ms)

sciyoshi commented 8 years ago

@matbott - I don't see the Slack plugin running anywhere in that log. Are you sure you cloned the plugin with the name redmine_slack? (note the underscore) What version of Ruby and Redmine are you running?

moriyas1984 commented 6 years ago

Me too.

I don't find any log related to the Slack plugin and it doesn't work. Please tell me to do next?

// plugin's installation seems to be normally done.
root@889ec09732a2:/home/redmine/redmine# ls plugins/redmine_slack/
Gemfile  Gemfile.lock  LICENSE.md  README.md  app  init.rb  lib
root@889ec09732a2:/home/redmine/redmine# cd plugins/redmine_slack/
root@889ec09732a2:/home/redmine/redmine/plugins/redmine_slack# bundle show
Gems included by the bundle:
  * bundler (1.16.1)
  * httpclient (2.8.3)

// But no log is output.
root@889ec09732a2:/home/redmine/redmine/plugins/redmine_slack# cat ../../log/production.log |grep slack
root@889ec09732a2:/home/redmine/redmine/plugins/redmine_slack#

note: I use Redmine in a docker container by using the image of https://github.com/sameersbn/docker-redmine .