When I was trying to pull from Git, I accidentally deleted the sock file. What am I supposed to do now? My websites showing "502 Bad Gateway" and nothing’s working. I need help, fast.
Could you tell me what to do now?
EDIT:
As this a new project with no data yet, I’ve just scrapped the server and spun another, done everything again, because nothing seems to work for me.
2
Answers
If you are using
systemd
enable and start your service. If everything ok withservice
file it will create the.sock
file again.Just try to run this command it will create .sock file for you
this will create your_project.sock file and then check the status by typing this command