Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taskstate can't save the result #35

Open
damondengxin opened this issue Nov 21, 2017 · 6 comments
Open

taskstate can't save the result #35

damondengxin opened this issue Nov 21, 2017 · 6 comments

Comments

@damondengxin
Copy link

Start with your steps, and there is data in the wokerstate table, but there is no data in taskstate?

@jezdez
Copy link
Member

jezdez commented Nov 27, 2017

I'm sorry, but could you elaborate what the issue is? How can I reproduce your problem?

@damondengxin
Copy link
Author

After I started the celery, I had a result record in django_celery_result, but no record was recorded in django-celery-monitor。have a start "celery -A proj events -l info --camera django_celery_monitor.camera.Camera --frequency=2.0"

@jezdez
Copy link
Member

jezdez commented Nov 29, 2017

@damondengxin Hm, have you installed the Django app like described in https://django-celery-monitor.readthedocs.io/en/latest/#usage? Could you paste some log output of when you started you whole system?

@damondengxin
Copy link
Author

damondengxin commented Nov 30, 2017

I have read the document and made it according to the requirements of the document, but the celery_monitor_taskstate table has no record.The log has no output.I am configuring the boot celery-monitor startup.
image
image

@ravitdx
Copy link

ravitdx commented Jun 7, 2018

Hi
I cannot see the tasks in admin either.
I followed the steps in https://github.com/jezdez/django-celery-monitor

I used

celery==4.1.1
django-celery-results==1.0.1
django-celery-beat==1.0.1
django_celery_monitor==1.1.2

ran manage.py migrate celery_monitor The migrations went well. ran celery -A lbb events -l info --camera django_celery_monitor.camera.Camera --frequency=2.0 and celery -A lbb worker -l info in separate shells. But still cannot see the tasks I ran, in celery-monitor > tasks table. Any help really appreciated. thanks

image

@ravitdx
Copy link

ravitdx commented Jun 7, 2018

Running celery command with -E to force event worked for me.

celery -A proj worker -l info -E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants