본문 바로가기

web/Django

celery root C_FORCE_ROOT error

Running a worker with superuser privileges when the

worker accepts messages serialized with pickle is a very bad idea!


If you really want to continue then you have to set the C_FORCE_ROOT

environment variable (but please think about this before you do).


User information: uid=0 euid=0 gid=0 egid=0




If an error occurs, run celery


$ export C_FORCE_ROOT = "true"

$ celery -A TASKNAME worker