Project

General

Profile

Create issue from email - redmine/multi_tenancy missing - Debian Stretch

Added by M M over 7 years ago

Hi.
I am using Redmine 3.2.3 from Debian Stretch.
I am trying to create the isssue from email:

/usr/bin/rake -f /usr/share/redmine/Rakefile  --trace redmine:email:receive_imap host=imap.gmail.com port=993 ssl=1 username=****@gmail.com password=**** RAILS_ENV=production

The above email is used to send out notification from redmine and that part is working.
The idea is all the people are sending to above email, and redmine will create issue from it.

The error I am getting is:
LoadError: cannot load such file -- redmine/multi_tenancy

Full error:

rake aborted!
LoadError: cannot load such file -- redmine/multi_tenancy
/usr/share/redmine/config/application.rb:79:in `instance_eval'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:274:in `block in require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:240:in `load_dependency'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:274:in `require'
(eval):19:in `<class:Application>'
/usr/share/redmine/config/application.rb:79:in `instance_eval'
/usr/share/redmine/config/application.rb:79:in `<class:Application>'
/usr/share/redmine/config/application.rb:8:in `<module:RedmineApp>'
/usr/share/redmine/config/application.rb:7:in `<top (required)>'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/redmine/Rakefile:4:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:28:in `load'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:28:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:689:in `raw_load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `block in load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:93:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:77:in `block in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:176:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:75:in `run'
/usr/bin/rake:27:in `<main>'

Replies (2)

RE: Create issue from email - redmine/multi_tenancy missing - Debian Stretch - Added by Antonio Terceiro over 7 years ago

any such commands must be run from inside the redmine directory, and then you don't need -f

i.e.

cd /usr/share/redmine
rake --trace redmine:email:receive_imap host=imap.gmail.com port=993 ssl=1 username=****@gmail.com password=**** RAILS_ENV=production

RE: Create issue from email - redmine/multi_tenancy missing - Debian Stretch - Added by M M over 7 years ago

YES, YES, YES :)
Thank you, very much :)
That solved the problem

    (1-2/2)