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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Email notifications stop from 5.0.11 update

Email notifications stop from 5.0.11 update

Added by Francois Lamotte over 9 years ago

The cron job works every minute and does not log any error.

But it fails to send any notification.

Does anyone encounter this problem? It was working pretty well with our previous version in the same configuration.

crontab entry
*/1 * * * * cd /home/spade/www/projects5;RAILS_ENV=production bundle exec /usr/local/rvm/wrappers/ruby-2.2.3@openproject5/rake jobs:workoff >/dev/null 2>&1

:~/www/projects$ RAILS_ENV=production bundle exec /usr/local/rvm/wrappers/ruby-2.2.3@openproject5/rake jobs:workoff
/media/disk2/home/www/projects/vendor/bundler/ruby/2.2.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: duplicated key at line 80 ignored: "name"
[Worker(host:vm.openproject.install pid:23620)] Starting job worker
[Worker(host:vm.openproject.install pid:23620)] Job EnqueueWorkPackageNotificationJob (id=3771) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job EnqueueWorkPackageNotificationJob (id=3771) COMPLETED after 0.9210
[Worker(host:vm.openproject.install pid:23620)] Job EnqueueWorkPackageNotificationJob (id=3772) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job EnqueueWorkPackageNotificationJob (id=3772) COMPLETED after 0.2903
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3773) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3773) COMPLETED after 1.3824
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3774) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3774) COMPLETED after 0.7100
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3775) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3775) COMPLETED after 0.8166
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3776) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3776) COMPLETED after 0.8000
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3777) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3777) COMPLETED after 0.6333
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3778) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3778) COMPLETED after 0.6997
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3779) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3779) COMPLETED after 0.5415
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3780) RUNNING
[Worker(host:vm.openproject.install pid:23620)] Job DeliverWorkPackageNotificationJob (id=3780) COMPLETED after 0.1226
[Worker(host:vm.openproject.install pid:23620)] 10 jobs processed at 1.2911 j/s, 0 failed
[Worker(host:vm.openproject.install pid:23620)] No more jobs available. Exiting

Replies (2)

RE: Email notifications stop from 5.0.11 update - Added by Oliver Günther over 9 years ago

Hi Francois,

what configuration do you use? (e.g., SMTP, sendmail?). Is there any output in the mail.log?

Best,
Oliver

RE: Email notifications stop from 5.0.11 update - Added by Denis Lamotte over 9 years ago

well i try different variant inside the user crontab and it seems that the task “rake jobs:workoff” was not triggering, now it does with the following enclosure /bin/bash -l -c ‘’

/1 * * * /bin/bash -l -c ‘cd /home/spade/www/projects5;RAILS_ENV=production /usr/local/rvm/gems/ruby-2.2.3@openproject5/bin/bundle exec /usr/local/rvm/wrappers/ruby-2.2.3@openproject5/rake jobs:workoff —silent’

thank you for your time

  • (1 - 2/2)
Loading...