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

Celery worker not starting #444

Closed
bechtold opened this issue Dec 24, 2021 · 0 comments · Fixed by #443
Closed

Celery worker not starting #444

bechtold opened this issue Dec 24, 2021 · 0 comments · Fixed by #443

Comments

@bechtold
Copy link
Contributor

The docker container for the celery worker is not starting.
This is the log:

INFO:__main__:Initializing service

INFO:__main__:Starting call to '__main__.init', this is the 1st time calling it.

INFO:__main__:Service finished initializing

You are using `-A` as an option of the worker sub-command:

celery worker -A celeryapp <...>


The support for this usage was removed in Celery 5.0. Instead you should use `-A` as a global option:

celery -A celeryapp worker <...>

Usage: celery worker [OPTIONS]

Try 'celery worker --help' for help.


Error: No such option: -A
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

Successfully merging a pull request may close this issue.

1 participant