Issue Summary
This is my first time trying to use Local on my Chromebook’s Linux container in dev mode, and it automatically deletes any sites trying to be created because it is coming back with an error that it cannot access a locked hosts file.
I saw others with this issue but not on my OS AND the other persons workaround to manually update their hosts file will not work for me because it begins immediately deleting the provision before it is even finished being created.
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular? ALL
-
Are you able to create a new, plain WordPress site in Local and access it in a Browser? NO
Replication
As I go through and follow the prompts, leaving everything on default settings, during the provision I get a notification in my system tray that Local is requesting administrator privileges to update the hosts file, BUT it is NOT CLICKABLE, in order to approve or anything, it’s just a NON-ACTIONABLE SYSTEM TRAY NOTIFICATION. (Or at least when I try to click on it, it DOESN’T RESPOND and DOES NOTHING.) I could not take screenshot of the notification due to the placement of it within the system tray…
As the provision seemingly continues, the first pop up error I get is:
And then the 2nd:
And then the last one, before auto-deleting itself, where it brings me back to an empty “Looks like you haven’t created any sites yet. Create a new site” screen to start the entire process over:
System Details
-
Which version of Local is being used?
I just downloaded it today, so whatever version that is. -
What Operating System (OS) and OS version is being used?
Chromebook OS running Linux Debian 11 Bullseye -
Attach the Local Log. See this Help Doc for instructions on how to do so:
This is all that is contained in my local log file (the router-logs folder was empty):
{"details":{"device_info":{"platform":"linux","release":"5.15.108-18910-gab0e1cb584e1","arch":"x64","totalmem":2916372480},"local_info":{"version":"7.0.1+6387","loaded_addons":[{"name":"@getflywheel/local-addon-backups","version":"2.0.2"},{"name":"@getflywheel/local-addon-instant-reload","version":"1.1.1"},{"name":"local-addon-notes","version":"1.1.4"}],"lightning_services":{"mailhog":{"1.0.0":{"name":"mailhog","label":"MailHog","version":"1.0.0","binVersion":"1.0.0","registered":true,"platform":"linux"}},"mysql":{"8.0.16":{"name":"mysql","label":"MySQL","version":"8.0.16","binVersion":"8.0.16","registered":true,"platform":"linux"}},"nginx":{"1.16.0":{"name":"nginx","label":"nginx","version":"1.16.0","binVersion":"1.16.0","registered":true,"platform":"linux"}},"php":{"8.1.9":{"name":"php","label":"PHP","version":"8.1.9","binVersion":"8.1.9","registered":true,"platform":"linux"}}}}}}