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 написал:
>
> 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! 
>
> El viernes, 15 de septiembre de 2017, 7:21:08 (UTC-3), Liubov Fomicheva 
> escribió:
>>
>> 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 написал:
>>>
>>> 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!!!
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/c0a932b2-2237-4134-bf54-76bba45aa215%40googlegroups.com.

Reply via email to