I've upgraded valet on my macbook (running catalina) and followed the laravel docs including re-running the valet install
command and am seeing unexpected 502 Bad Gateway
errors. I was checking the logs and found
[27-Aug-2019 20:39:06] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:06] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:06] ERROR: FPM initialization failed
[27-Aug-2019 20:39:06] ERROR: FPM initialization failed
[27-Aug-2019 20:39:17] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:17] ERROR: Another FPM instance seems to already listen on /Users/myuser/.config/valet/valet.sock
[27-Aug-2019 20:39:17] ERROR: FPM initialization failed
[27-Aug-2019 20:39:17] ERROR: FPM initialization failed
It seems there's 3 php-fpm
processes running though they all are the same php version (7.3).
Can anyone offer ideas of how to find where the other php-fpm
process is being triggered from, and how to fix this issue?
rm ~/.valet/valet.sock
, this worked for me. – Stalnaker