1.3.x and Advanced Reminder

Added by Moritz Herrmann over 8 years ago

Hello,

I have a problem with my redmine migration. Hopefully someone can help

# rake redmine:send_reminders_all RAILS_ENV=production --trace
(in /srv/redmine)
** Invoke redmine:send_reminders_all (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:send_reminders_all
rake aborted!
Missing template reminder_all/reminder_all.text.erb in view path vendor/plugins/redmine_charts/app/views:vendor/plugins/redmine_lightbox/app/views:vendor/plugins/redmine_reminder/app/views:vendor/plugins/redmine_time_tracker/app/views:app/views
/var/lib/gems/1.8/gems/actionpack-2.3.14/lib/action_view/paths.rb:74:in `find_template'
/var/lib/gems/1.8/gems/actionpack-2.3.14/lib/action_view/base.rb:264:in `render'
/var/lib/gems/1.8/gems/actionpack-2.3.14/lib/action_view/base.rb:348:in `_render_with_layout'
/var/lib/gems/1.8/gems/actionpack-2.3.14/lib/action_view/base.rb:262:in `render'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:600:in `render'
/srv/redmine/app/models/mailer.rb:430:in `render_multipart'
/srv/redmine/vendor/plugins/redmine_reminder/lib/tasks/reminder_all.rake:48:in `reminder_all'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:492:in `__send__'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:492:in `create!'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:485:in `initialize'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:428:in `new'
/var/lib/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:428:in `method_missing'
/srv/redmine/vendor/plugins/redmine_reminder/lib/tasks/reminder_all.rake:142:in `reminders_all'
/srv/redmine/vendor/plugins/redmine_reminder/lib/tasks/reminder_all.rake:117:in `each'
/srv/redmine/vendor/plugins/redmine_reminder/lib/tasks/reminder_all.rake:117:in `reminders_all'
/srv/redmine/vendor/plugins/redmine_reminder/lib/tasks/reminder_all.rake:171
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

thanx
moe

Replies (2)

RE: 1.3.x and Advanced Reminder - Added by Moritz Herrmann over 8 years ago

Finally found out myself

the api-call seems to have changed from

rake redmine:send_reminders_all RAILS_ENV=production

to
rake redmine:send_reminders RAILS_ENV=production

RE: 1.3.x and Advanced Reminder - Added by Jérôme Schell over 8 years ago

For me applying the attached patch did the trick.
It seems that using "redmine:send_reminders" task does nothing for me (nothing is sent).

(1-2/2)