I cant find gunicorn.sock

Posted September 30, 2018 7.8k views
DjangoUbuntu 18.04

I tried many times to deploy mezzanine project all good just cant find gunicorn.sock
it’s not in the project files so any ideas?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

gunicorn.sock is a special file (socket) that gets created at runtime by gunicorn. So it won’t be there unless gunicorn has started up and was instructed to “bind” to a sock file (ex: –bind /var/run/gunicorn.sock). Try this:

service gunicorn restart

ps -elf|grep gunicorn

updatedb && locate gunicorn.sock