Project

General

Profile

Problem with sending REMINDER emails ---> rake

Added by RedChris B. about 7 years ago

Dear,
I kindly ask for help with configuring reminding e-mails in redmine (it's a bitnami redmine).

When I try to run a command: rake redmine:send_reminders days=1 RAILS_ENV=production --trace

I get an error message as below:
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:682:in `raw_load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:96:in `block in load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:95:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:79:in `block in run'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
/opt/bitnami/ruby/lib/ruby/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/opt/bitnami/ruby/bin/rake:22:in `load'
/opt/bitnami/ruby/bin/rake:22:in `<main>'

My environment:
Redmine version 3.4.2.stable
Ruby version 2.3.4-p301 (2017-03-30) [x86_64-linux]
Rails version 4.2.8

How to diagnose/resolve this problem?

Thank you in advance


Replies (2)

RE: Problem with sending REMINDER emails ---> rake - Added by Tatsuya Saito about 7 years ago

RedChris B. wrote:

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

Where in directory did you run rake command, like /opt/bitnami/apps/redmine/htdocs?
And is there Rakefile?

RE: Problem with sending REMINDER emails ---> rake - Added by RedChris B. about 7 years ago

When I run that command in the directory as you suggested (/opt/bitnami/apps/redmine/htdocs) I received reminding e-mails.
Simple solution but I didn't know that - Many thanks for your help.

    (1-2/2)