cpriego / valet-linux

A fork of Laravel Valet to work in Linux.
MIT License
1.33k stars 153 forks source link

Bug:Too many symbolic links for valet.sock #435

Open ISNewton opened 5 months ago

ISNewton commented 5 months ago

Basic info

Distro (Name and version) PHP Version Valet version
Ex: Manjaro 23.0.2 8.2.10 2.3.10

What is the problem? The problem you're encountering with Laravel Valet is a "502 Bad Gateway" error caused by Nginx being unable to connect to PHP-FPM via the valet.sock file. the nginx error log says : "Too many levels of symbolic links" for valet.sock

What was supposed to happen? A description of what you think was supposed to happen.

Right Symbolic Link Creation for valet.sock

What actually happened? infinite loop of symbolic links for valet.sock as thels -lcommand outputs:

lrwxrwxrwx 1 ash ash 27 Apr 10 00:17 /home/ash/.valet/valet.sock -> /home/ash/.valet/valet.sock

How to reproduce this?

composer global require cpriego/valet-linux valet install

What is the solution? Right Symbolic Link Creation for valet.sock

Sources