missing gunicorn.sock file

Hello,

My galaxy production server has been working fine until a few days ago when i started getting 502 error from nginx. nginx status shows the error

connect() to unix:/srv/galaxy/var/config/gunicorn.sock failed (2: No such file or directory)

I’ve checked forums and the galxy-gunicorn.service should create this file on startup. I’ve tried restarting the service using

systemctl daemon-reload
systemctl restart gunicorn.service

I’ve also tried rebooting the server, deleting the galaxy server and creating it again from scratch using my ansible script but nothing has worked.

Does anyone know how to get galaxy-gunicorn.service to generate this file or does anyone know what the contents of the file should be so I can create it myself?

Thanks in advance

Joey

Hi @joeyward

I’ve cross-posted your question over to our administrators chat to see if someone can help more. Thanks! :slight_smile:

What does the gravity section of your galaxy.yml file look like? The default is to bind to localhost:8080. The Ansible setup from the GTN changes this to the domain socket, but if something has gone wrong that would be the first place to look.

1 Like