Warning! Missing host entry. This site may be inaccessible

It seems like something is still preventing that pop up and not allowing Local to proceed. Similarly with the SSL in order to make changes to the site you’ll need to be able to give Local those permissions to update the hosts file. As far as OS it’s difficult to say because you shouldn’t need to change at all.

It’s strange that you have the problem on two different Macs. Is there anything similar between them as far as apps and programs you use?

Both of the macs used are M1 Max both are from the same year but the other i tried has only one program on it. its the mac i use to dj so i only have music files and serato dj my dj program on it so im not sure

Uh-oh! Could not update hosts file

Local ran into a problem when trying to update the hosts file.

Please ensure that the hosts file is not locked by anti-virus.

					Host Redirection (Top Right CornerError)

Local is requesting administrative privileges to modify your/etc/hosts file.

This is the exact message i get

Correct, what you’re missing is the prompt below to enter you admin credentials and allow Local to proceed.

W

When this isn’t happening the most common reasons are:

  • Your user doesn’t have admin privileges
  • Some type of security program/app/ext is blocking it
  • Some other application is blocking the pop up
  • The pop up is showing in another monitor or hidden by another app/window that you can’t see

If you haven’t already you could try a full uninstall/reinstall if you’re sure nothing mentioned above is interfering.

Just had someone in IT look over this for me and they told me to send this to Support in hopes this could help

When trying to launch new site:

Error: Command failed: /private/var/root/Library/Application Support/Local/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqladmin ping
amysqladmin: connect to server at ‘localhost’ failed
error: ‘Can’t connect to local MySQL server through socket ‘/var/root/Library/Application Support/Local/run/NO72QZEXp/mysql/mysqld.sock’ (2)’
Check that mysqld is running and that the socket: ‘/var/root/Library/Application Support/Local/run/NO72QZEXp/mysql/mysqld.sock’ exists!

at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1098:16)
at Socket. (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)
at Pipe. (node:net:350:12

Confirmed mysql is installed and running
Confirmed nginx is installed and running
Confirmed localhost entry in /etc/hosts
Confirmed /etc/hosts/ has read/write permissions

From Mac Settings:
Allowed full permissions for Full Disk, Network, and so on.

Ran the software as administrator from command line (sudo)

is there a previous version i could try to see if that also works?

You can use the steps here to try and downgrade:

Or if you’ve completely wiped it you can download older versions right from our releases page:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.