Discussion notifications are not working ( SMTP Configuration)

57 views
Skip to first unread message

Federico Carrilao Avila

unread,
Sep 14, 2017, 3:30:44 PM9/14/17
to General Open edX discussion
Hi, i have installed ginkgo.1. I haven't had problem with the configuration of registration email but i'm not receiving updates from Discussion. What should i do?

Thanks!!!


Liubov Fomicheva

unread,
Sep 15, 2017, 6:21:08 AM9/15/17
to General Open edX discussion
Hello Federico,

  As far as I know, the discussion digests are performed by additional service called notifier. Have you checked it's running (with /edx/bin/supervisorctl status) and configured properly?
Additional info could be found: 
- in notifier settings file: /edx/app/notifier/notifier_env
- in notifier logs: /edx/var/log/supervisor/notifier-*.log

Kind regards,
  Liubov

четверг, 14 сентября 2017 г., 22:30:44 UTC+3 пользователь Federico Carrilao Avila написал:

Federico Carrilao Avila

unread,
Sep 15, 2017, 10:31:27 AM9/15/17
to General Open edX discussion
Hello Liubov,

I read about notifier and i start to configure notifier_env and notifier-celery-workers configuration but it isn't working yet. This is my log, it's strange that it try to connect with django.core.mail.backends.console.EmailBackend when I set everything up with smtp.


2017-09-15 14:25:02,771 [INFO] [service_name=notifier] [strategy] Received task: notifier.tasks.do_forums_digests[ca982116-8f42-4289-98ab-ae576ed79eee]
2017-09-15 14:25:02,790 [INFO] [service_name=notifier] [tasks] Beginning forums digest task: from_dt=2017-09-15 14:20:00 to_dt=2017-09-15 14:25:00
2017-09-15 14:25:02,790 [INFO] [service_name=notifier] [user] calling user api for digest subscribers
2017-09-15 14:25:02,874 [INFO] [service_name=notifier] [job] Task notifier.tasks.do_forums_digests[ca982116-8f42-4289-98ab-ae576ed79eee] succeeded in 0.100112151355s: None
2017-09-15 14:25:07,795 [INFO] [service_name=notifier] [strategy] Received task: notifier.tasks.generate_and_send_digests[19e3db36-df81-47a6-afbc-49036df7b1f0]
2017-09-15 14:25:07,799 [INFO] [service_name=notifier] [connection_wrapper] initialized connection wrapper with email backend: <django.core.mail.backends.console.EmailBackend object at 0x7fb98a873a50>
2017-09-15 14:25:07,800 [INFO] [service_name=notifier] [pull] calling comments service to pull digests for 2 user(s)
2017-09-15 14:25:07,834 [INFO] [service_name=notifier] [job] Task notifier.tasks.generate_and_send_digests[19e3db36-df81-47a6-afbc-49036df7b1f0] succeeded in 0.0358269382268s: None


Thanks for everything!

Liubov Fomicheva

unread,
Sep 18, 2017, 6:44:19 AM9/18/17
to General Open edX discussion
Hello Federico,

What's your setting for EMAIL_BACKEND in notifier_env? It should be 'smtp'.
If this setting is correct, have you restarted notifier workers with supervisor after modifications to notifier_env?

Liubov

пятница, 15 сентября 2017 г., 17:31:27 UTC+3 пользователь Federico Carrilao Avila написал:
Reply all
Reply to author
Forward
0 new messages