Top Menu

Jump to content
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    Home
    • 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

      OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. Issue on email notification using Debian 9 and manual installation

Issue on email notification using Debian 9 and manual installation

Added by Saulo Caliman Gomes over 7 years ago

Hi All,

I am new to Open Project and ruby on rails.
I have an issue on the email notification. The test email, the wiki, the news, and comments creation are working fine, but when I update one of them I am not receiving any e-mail. The creation or update of a Work Package is not sending e-mails too.

I am using rbenv, Debian 9 (stretch), Gmail as the e-mail provider and the installation of the Open Project was manual.

I followed some of the instructions from this post:
https://community.openproject.com/topics/4134?board_id=9&r=4186#message-4186&_ga=2.102244745.980623876.1509289796-1312781758.1508617433

Apparently, the delayed_job is not running. When I run bin/delayed_job restart --production this is what I get.
How can I solve it?

DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid_connect.rb:4)
/home/openproject/openproject-ce/config/initializers/active_record_query_trace.rb:2:in `<top (required)>‘: uninitialized constant ActiveRecordQueryTrace (NameError)
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/engine.rb:648:in `block in load_config_initializer’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.4/lib/active_support/notifications.rb:166:in `instrument’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/engine.rb:647:in `load_config_initializer’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/engine.rb:612:in `block (2 levels) in class:Engine’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/engine.rb:611:in `each’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/engine.rb:611:in `block in class:Engine’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `instance_exec’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:30:in `run’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:55:in `block in run_initializers’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:44:in `each’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:44:in `tsort_each_child’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:415:in `call’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `call’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/initializable.rb:54:in `run_initializers’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/application.rb:352:in `initialize!’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `public_send’
from /home/openproject/openproject-ce/vendor/bundle/ruby/2.4.0/gems/railties-5.0.4/lib/rails/railtie.rb:193:in `method_missing’
from /home/openproject/openproject-ce/config/environment.rb:34:in `<top (required)>’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require’
from /home/openproject/.rbenv/versions/2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require’
from bin/delayed_job:3:in `

’

I really appreciate any help.


Replies (2)

RE: Issue on email notification using Debian 9 and manual installation - Added by Saulo Caliman Gomes over 7 years ago

Looks like it has been solved by installing the development dependencies:

bundle install --deployment --with development

The service is asynchronous, how long does it take to send an email once a task is created or updated?

RE: Issue on email notification using Debian 9 and manual installation - Added by Robin Wagner over 7 years ago

Hello Saulo,

by default it takes 5 minutes to send a work package update. The reason is that during this time any journal entries (comments, attribute updates etc.) are aggregated.

You can however change this default setting in the administration.

To do this, go to “Administration” > “System settings” and select the “Display” tab.
At the bottom of the page you can change the setting “Display journals as aggregated within [x minutes]”. This also impacts the frequency of your email notifications for work packages.

Best regards,
Robin

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