Added by Erik Bijlsma almost 9 years ago
I did a manual installation of OP5 on ubuntu 14.04 with PLESK 12.5
Everything works fine except for the email system. I am able to send a testmail.
When I create a new user …. no email is send
When I update a workpakkage ….. no email is send
configuration.yml:
When I run the worker for delayed jobs I get the following error:
[Worker(host)] Starting job worker
[Worker(host)] Job DeliverInvitationJob (id=17) RUNNING
[Worker(host)] Job DeliverInvitationJob (id=17) FAILED (0 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host)] 1 jobs processed at 4.1106 j/s, 1 failed
[Worker(host)] No more jobs available. Exiting
Anybody any ideas???
Replies (1)
Fixed the problem.
Found that the letter-opener was only used in Development mode.
By adding RAILS_ENV=production to the cronjob Openproject started to send mails.
cronjob now looks like this:
cd ~/openproject-ce; RAILS_ENV=production /var/www/vhosts/pmtool.nl/.rbenv/shims/bundle exec rake jobs:workoff
I now wonder if i’m running Openproject in development mode? how to run it in production mode?