Question

I cant find gunicorn.sock

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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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