Skip to content

Celery worker not starting #444

@bechtold

Description

@bechtold

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions