Celery Error

184 views
Skip to first unread message

Harish SS

unread,
Jan 4, 2022, 1:53:28 AM1/4/22
to OpenWISP
Hi all,

I am trying to install Openwisp server on Ubuntu 18.04,I am successfully installed the openwisp server but when i restart server I am getting below error from celery

daphne:asgi0: stopped
celerybeat: stopped
openwisp2: stopped
celery: ERROR (spawn error)
celery_network: ERROR (spawn error)
openwisp2: started
celerybeat: started
daphne:asgi0: started
celery_monitoring: ERROR (spawn error)


In log file I am getting error as below

Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.

Error: no such option: --queue  Did you mean --queues?
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.


Attached the Log files for reference

Thank you,
Harish


celery-network.log
openwisp2.log
nginx.access.log
uwsgi.log
celery.log
celerybeat.log
celery-monitoring.log
daphne.log

Federico Capoano

unread,
Jan 4, 2022, 8:11:38 AM1/4/22
to open...@googlegroups.com
Looks like a change in celery 5 which we just started using on the latest master branches, we need to update the role to use --queues instead of --queue, you can start doing so in your own copy of the role.

Best regards
Federico Capoano

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/292df900-2469-42a2-a6ad-d9d6cae74810n%40googlegroups.com.

Federico Capoano

unread,
Jan 6, 2022, 3:18:50 PM1/6/22
to OpenWISP
This patch should have fixed the issue: https://github.com/openwisp/ansible-openwisp2/pull/328.

Keep in mind we are heavily working on the dev version to close all the remaining issues that are blocking the new release, so it may happen that occasionally something breaks.

Best regards
Federico

Reply all
Reply to author
Forward
0 new messages