Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. email notifications not working

email notifications not working

Added by Karsten Kemper about 9 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
project@project:
$ cd openproject-ce/
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


Loading...