Hello, I installed local on my silicone mac and every time I want to create a site I have an error message that appears and then my site is deleted from the software.
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Hello First of all I thank you for your quick response.
when I use the preferred function the Web Server is automatically in nginx and when I want to use custom I can choose the PHP, the database, but the web server remains in loading and I can not make any choice or even create a site in custom.
my os is : sequoia 15.0.1
local version 9.1.0
Sorry I’m a little confused by your earlier statement. When you use the Preferred selection you’re able to create and start a site? Is it only the Custom option that gives you trouble?
I connected via modem on my smartphone and it doesn’t work, I don’t have an antivirus, I had parental controls that I uninstalled and it doesn’t work, I also don’t have a VPN and it’s my personal computer.
I’m really, Sorry.
In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?
Fully uninstall Local from your computer with the MacOS specific steps here: Uninstall Local - Local
Install the latest version of Local on this link: Releases - Local
Once installed, please restart the computer.
When the computer is restarted and turned on, close any applications that automatically run in the background.
Check and see if the issue still persists. If so, please provide us with a copy of your Local Log. Details on how to get that are here and then once you have the zip you can just drop it into a comment. Retrieve Local’s Log File - Local
I am seeing a number of errors in your log like this:
{“class”:“LightningServicesService”,“code”:“ENOENT”,“errno”:-2,“level”:“error”,“message”:“ENOENT: no such file or directory, scandir ‘%%userDataPath%%/lightning-services/apache-2.4.43+8/bin’”,“path”:“%%userDataPath%%/lightning-services/apache-2.4.43+8/bin”,“stack”:"Error: ENOENT: no such file or directory, scandir ‘%%userDataPath%%/lightning-services/apache-2.4.43+8/bin’\n
Can you use Finder to confirm that ~/Library/Application Support/Local/lightning-services/apache-2.4.43+8 does not exist on your computer?
Local reaches out to our API to get a list of available services. This is failing with these logs:
Something in the network connection (maybe just the phone hotspot) is preventing that request to our server to be successful. Are you able to try another, preferably WiFi or not through the phone, connection? If not, there are a few networking options you could explore, but they’re fairly technical/involved.
/Library/Application Support/Local/lightning-services/apache-2.4.43+8 does not exist on your computer
and also I have a connection with fiber at home and I had tried with the Modem of my phone to check if it came from the connection , so neither the box of the house nor the phone make the software work
Hi @elimelekh - the issue is somewhere in your network; Local is unable to communicate with the servers that host our lists of available services (PHP, Apache, nginx, etc.).
Hello, I’m getting back to you because I just ran the local software on a Windows PC with the same Internet connection as my Apple iMac and the software works perfectly on Windows. Do you have any idea why the iMac doesn’t run it? Thank you very much.
I found another user who ran into some similar errors in MacOS and they contacted Apple Support who suggested they try creating a new admin user for their device, and then testing again and it worked. So maybe you could try the same thing next by creating an entire new user on your device and seeing if the behavior is different?
Hi Nick
I just applied your advice and indeed it works very well and I was able to create sites very quickly but the only problem is that it is not my work account what is possible to do so that the software works on my main account I hope that is not too much to ask and really thank you very much for your assistance
You might have to check with your employer, maybe they have IT personnel who can take a look. What might be happening is they have some sort of security filter in place or permission set that is preventing the connections Local is trying to make.
You can share these documents with them so that they are able to see what URLs and Ports Local makes use of if they need to make any allowances: