Hi,
I have upgraded our system to Version 7.
Now I can able to send some of the email like password change and user creation.
But Email function for any document is not working.
As per my knowledge Celery is replaced with Redis Queue.
But still error log showing scheduler error related to Celery.
I got below error on the console.
Some of the email even not showing into Email Queue also.
I can able to send Queued email from Email Queue manually.
19:00:09 workerbeat.1 | [2016-07-18 19:00:09,057: INFO/MainProcess] Scheduler: Sending due task sync_queues (frappe.tasks.sync_queues)
19:00:09 workerbeat.1 | [2016-07-18 19:00:09,061: INFO/MainProcess] Scheduler: Sending due task scheduler (frappe.tasks.enqueue_scheduler_events)
19:00:09 async_worker.1 | [2016-07-18 19:00:09,062: ERROR/MainProcess] Received unregistered task of type u'frappe.tasks.sync_queues'.
19:00:09 async_worker.1 | The message has been ignored and discarded.
19:00:09 async_worker.1 |
19:00:09 async_worker.1 | Did you remember to import the module containing this task?
19:00:09 async_worker.1 | Or maybe you are using relative imports?
19:00:09 async_worker.1 | Please see http://bit.ly/gLye1c for more information.
19:00:09 async_worker.1 |
19:00:09 async_worker.1 | The full contents of the message body was:
19:00:09 async_worker.1 | {u'utc': True, u'chord': None, u'args': [], u'retries': 0, u'expires': None, u'task': u'frappe.tasks.sync_queues', u'callbacks': None, u'errbacks': None, u'timelimit': [None, None], u'taskset': None, u'kwargs': {}, u'eta': None, u'id': u'f0c0571b-6472-4144-876d-3cfbec327155'} (261b)
19:00:09 async_worker.1 | Traceback (most recent call last):
19:00:09 async_worker.1 | File "/home/brillare/frappe-bench/env/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 456, in on_task_received
19:00:09 async_worker.1 | strategies[name](message, body,
19:00:09 async_worker.1 | KeyError: u'frappe.tasks.sync_queues'
19:00:09 longjob_worker.1 | [2016-07-18 19:00:09,065: ERROR/MainProcess] Received unregistered task of type u'frappe.tasks.enqueue_scheduler_events'.
19:00:09 longjob_worker.1 | The message has been ignored and discarded.
19:00:09 longjob_worker.1 |
19:00:09 longjob_worker.1 | Did you remember to import the module containing this task?
19:00:09 longjob_worker.1 | Or maybe you are using relative imports?
19:00:09 longjob_worker.1 | Please see http://bit.ly/gLye1c for more information.
19:00:09 longjob_worker.1 |
19:00:09 longjob_worker.1 | The full contents of the message body was:
19:00:09 longjob_worker.1 | {u'utc': True, u'chord': None, u'args': [], u'retries': 0, u'expires': None, u'task': u'frappe.tasks.enqueue_scheduler_events', u'callbacks': None, u'errbacks': None, u'timelimit': [None, None], u'taskset': None, u'kwargs': {}, u'eta': None, u'id': u'bfbc3f25-17cf-4b59-b737-9240770916fe'} (274b)
19:00:09 longjob_worker.1 | Traceback (most recent call last):
19:00:09 longjob_worker.1 | File "/home/brillare/frappe-bench/env/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 456, in on_task_received
19:00:09 longjob_worker.1 | strategies[name](message, body,
19:00:09 longjob_worker.1 | KeyError: u'frappe.tasks.enqueue_scheduler_events'