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 Sending via Delayed Job

Email Notifications Not Sending via Delayed Job

Added by Daniel Tran almost 4 years ago

Hello, I am new here and have a successful fresh packaged install of OpenPrroject 11.2.2 on Ubuntu 18.04. I configured the SMTP email settings and was able to successfully send and receive a test email. The default notification is set to "Only things I watch or involved in." However, when updating work packages by assigning them, changing priorities or status, no email notifications are being sent to the appropriate user.

After reading several other similar posts, I could not find a way to restart the Delayed Job script which is being used to send the emails in the background. Here is what I have tried so far:
Ran  "ps ax | grep delayed" and the output was "5144 pts/0 S+ 0:00 grep --color=auto delayed"
Tried to run "openproject run script/delayed_job restart" but was unable to, output was "script/delayed_job: not found"

Please let me know if there is anything else I can troubleshoot or try. 
Thank you!


Replies (4)

RE: Email Notifications Not Sending via Delayed Job - Added by Oliver Günther almost 4 years ago

Hi Daniel,

the packaged installation provides services for the web and background workers. You can restart all of them with service openproject restart. Please try that and let us know if that helped with the sending of emails.

The email settings should be reloaded automatically for every new job, but there might of course also be a bug depending on your configuration.

Best

Oliver

RE: Email Notifications Not Sending via Delayed Job - Added by Daniel Tran almost 4 years ago

Hi Oliver,
I did as you suggested to restart all the services. It seems to be working well now. The email notifications are being sent through! Thanks again.

RE: Email Notifications Not Sending via Delayed Job - Added by Oliver Günther almost 4 years ago

Hi Daniel,

that's good, but then there's definitely some configuration that causes background workers not to reload the configuration correctly.

How did you set up SMTP ? through the admin UI or through the packaged installation?

Could you append the output of the configuration file /etc/openproject/installer.dat ? Please remove any password values first.

Best

Oliver

RE: Email Notifications Not Sending via Delayed Job - Added by Daniel Tran almost 4 years ago

Hi Oliver,

SMTP was set up via the admin UI.
Here is the requested output. Let me know if you need anything else to check.

openproject/edition default
postgres/autoinstall install
server/autoinstall install
server/variant apache2
server/hostname openproject.ultimateconnector.com
server/server_path_prefix
server/ssl no
repositories/api-key HJ27u1NapiAG7413GBI3TkluqUSdw6MO
repositories/svn-install skip
repositories/git-install skip
smtp/autoinstall smtp
smtp/authentication login
smtp/host west.EXCH091.serverdata.net
smtp/port 25
smtp/username UltimateConnector@umi-c.com
smtp/domain EXCH091
smtp/admin_email itdept@umi-c.com
memcached/autoinstall install
postgres/addon_version v1
  • (1 - 4/4)
Loading...