DEV Community

Discussion on: Celery with Django in production

Collapse
 
pranav377 profile image
Pranava Mohan

Hey, I am getting some permission errors. When I checked the logs, I found this: celery.platforms.LockFailed: [Errno 13] Permission denied: '/var/run/celery/worker.pid'. But I followed each and every step. What am I doing wrong?

Collapse
 
iamtekson profile image
Tek Kshetri

You can create the required folder and change the permission like this,

mkdir /var/run/celery
chown -R celery:celery /var/run/celery/
Enter fullscreen mode Exit fullscreen mode