Skip to content

Error in directory : couldn't chdir to ... ENOENT #1489

@maomilan

Description

@maomilan

Hi,
I try to set up the supervisor with Celery and Django.
I have an error on the directory parameter pointing to the django project : couldn't chdir to ENOENT

  • The user defined in supervisor ( user=... ) is the owner of the directory.
  • The directory have 775 permission .

what is going wrong ?
Thanks for help
Maurizio

[program:djsitecelery]
Command= "<...>env/bin/celery" worker -A djsite --loglevel=INFO
Directory="<...>/djsite/"
user=mao
numprocs=1
stdout_logfile=/var/log/celery/djsitecelery.log
stderr_logfile=/var/log/celery/djsitecelery.log
autostart=true
autorestart=true
startsecs=0
stopwaitsecs = 600
killasgroup=true
priority=998

directory permission
drwxrwxr-x 9 mao mao 4096 gen 19 13:11 djsite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions