Content
email notifications not working
Added by Karsten Kemper over 8 years ago
Hello,
i set up a openproject on an ubuntu 14.04 server according to the manual installation guide
https://www.openproject.org/open-source/download/manual-installation-guide/
Everything is working fine so far except the email notifications on task updates
First of all the cronjob described in the manual installation guide seems to be wrong
/1 * * * cd /home/openproject/openproject-ce; /home/openproject/.rvm/gems/ruby-2.1.5/wrappers/rake jobs:workoff
due to ruby 2.3.0 version installed prior via rbenv ( all according to the manual installation guides )
How does the correct cronjob look like?
Starting it manually fails aswell
root@project:# su project —login$ cd openproject-ce/
project@project:
project@project:~/openproject-ce$ RAILSENV=production bundle exec rake jobs:workoff
/home/project/openproject-ce/vendor/bundle/ruby/2.3.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: key “name” is duplicated and overwritten on line 80
/home/project/openproject-ce/lib/open_project/configuration.rb:36: warning: already initialized constant OpenProject::Configuration::ENV_PREFIX
/home/project/openproject-ce/lib/open_project/configuration.rb:36: warning: previous definition of ENV_PREFIX was here
[Worker(host:project pid:1491)] Starting job worker
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=26) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=26) FAILED (1 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=19) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=19) FAILED (5 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=20) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=20) FAILED (5 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=21) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=21) FAILED (5 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=22) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=22) FAILED (5 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=23) RUNNING
[Worker(host:project pid:1491)] Job DeliverWorkPackageNotificationJob (id=23) FAILED (5 prior attempts) with RuntimeError: Invalid delivery method :letter_opener
[Worker(host:project pid:1491)] 6 jobs processed at 10.6943 j/s, 6 failed
[Worker(host:project pid:1491)] No more jobs available. Exiting
Appreciating any help what i am doing wrong here, if any more info is needed please tell me.
Test emails via admin account and upon new account creating are working but if i understood it correctly these are not processed via the worker job but send directly.
With kind regards