We have Open Project 5.0.19 working well on windows server.We have started using Open Project successfully including integrating our users with Active Directory for login. We can confirm that the configuration.yml is working as we can receive email when we setup the user as forms based user. However email notification does not seem to be working after the user has been added. I have found in a different forum https://www.openproject.org/help/faq/work-packages-questions/ the following : The background job has to be explicitly started in order to receive emails for work package updates and copied projects....

Can you please advise if this is a task we need running in windows ? how do we trigger this job ?

If you want to receive all the notifications you need to set an extra configuration on the admin panel. For that you can click on OpenProject Admin->My account (on the top-right corner). Then check the "Email notifications" menu and set "For any event on all my projects".

I hope this information is useful for you. If you have any other question, please do not hesitate to let us know.

Hi Jariza, Thanks for the update - From what I've been able to identify in our install this has been setup correctly - The problem seems to be the background job which is supposed to trigger the email. I've located the following post which indicates that there should be a rake task scheduled to run - Given that this installation is a windows install I will need to identify how rake jobs should be run and scheduled in the windows environment. Is there a batch file in the package which we should be calling ?

It sounds like the delayed_job worker is not running.

In a manual installation

make sure that you run it according to the documentation.Open a console with RAILS_ENV=production bundle exec rails console and check the output of Delayed::Job.count. It should be zero or some small value depending on what changes you made to work packages in the last minutes, since notifications are aggregated and sent 5minutes later (by default).In a packaged installation

assert that ps ax | grep jobs contains /opt/openproject/vendor/bundle/ruby/2.1.0/bin/rake jobs:work.Open a console with openproject run console and check the output of Delayed::Job.count. It should be zero or some small value depending on what changes you made to work packages in the last minutes, since notifications are aggregated and sent 5minutes later (by default).

C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/site_ruby/2.1.0/rbreadline.rb:1097:in <module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError) from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/site_ruby/2.1.0/rbreadline.rb:17:in' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/site_ruby/2.1.0/readline.rb:10:in <module:Readline>' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/site_ruby/2.1.0/readline.rb:8:in' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb:2:in <top (required)>' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/vendor/thor/lib/thor/line_editor.rb:2:in' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/vendor/thor/lib/thor/base.rb:8:in <top (required)>' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/vendor/thor/lib/thor.rb:2:in' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/vendored_thor.rb:2:in <top (required)>' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/lib/bundler/friendly_errors.rb:3:in' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from C:/Bitnami/openproject-5.0.19-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.9.6/bin/bundle:17:in <top (required)>' from C:/Bitnami/openproject-5.0.19-0/ruby/bin/bundle:23:inload' from C:/Bitnami/openproject-5.0.19-0/ruby/bin/bundle:23:in `'