Watcher Task not running
Hello, I've been trying to set up a watcher task on my installation, which never ran. The logs show the following entries whenever the task should start running:
[2019-06-18 23:18:35,319: ERROR/MainProcess] Received unregistered task of type u'sources.tasks.task_check_interval_source'.
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you are using relative imports?
Please see http://bit.ly/gLye1c for more information.
The full contents of the message body was:
{u'utc': True, u'chord': None, u'args': [], u'retries': 0, u'expires': None, u'task': u'sources.tasks.task_check_interval_source', u'callbacks': None, u'errbacks': None, u'timelimit': [None, None], u'taskset': None, u'kwargs': {u'source_id': 4}, u'eta': None, u'id': u'5602c29d-bbc8-47a1-a5b8-a7ef2674a29f'} (291b)
Traceback (most recent call last):
File "/opt/mayan-edms/local/lib/python2.7/site-packages/celery/worker/consumer.py", line 465, in on_task_received
strategies[type_](message, body,
KeyError: u'sources.tasks.task_check_interval_source'
I am using the docker image version 3.2.1 on Ubuntu 18.04. I've tried a clean reinstall and a downgrade to 3.1, neither worked.
Edited by Lukas Gill