Will not create any sites AT ALL on Chrome OS with Linux Container in Developer Mode. Fresh New Local, Just Installed Today

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"}}}}}}

Hi @jescity

Do you have any antivirus, security, or firewall applications on your Chromebook? Are you running other developer applications on it? Apps like MAMP, XAMPP, or Docker for example.

Hi, no thanks for responding… I didn’t have any antivirus or firewalls set up but I did at one point try to install Docker, but I had a hard time getting that set up completely and so gave up and hence moved on to try something a bit easier like WP Local…I thought about XAMPP, as I have had success with that in the past, but I ended up going with WP Local first. I may end up going to that if I ultimately can’t get WP Local to work. I just destroyed my linux container and created 2 fresh ones, one I was going to use to try out DirectAdmin panel which needs a fresh install, and I don’t know maybe I can try WP Local again on this other fresh container, or maybe move on to XAMPP now, I don’t know. I think I’m going to cave and just start developing on a $5 cloud container until I can get something local set-up properly. I am so mad at the direction Wordpress has taken, it’s never been so hard to get up and running locally before. I just seriously can’t believe the type of barriers I keep facing and how many hours I have already expended to try to get a local dev environment up and working…I am completely beside myself right now. GRRR. Dammit, I just want to get working already lol. And they said they chose this direction so that we would be able to STOP using remote environments but I don’t know what ever gave them that idea. Seems like that’s not the case at all and it has only made it more inaccessible for proper local environments. Maybe I will try vagrant. I’ve read that was another viable way to go. Anywho, sorry to vent here, it’s totally not towards you, in case that was not clear!!!

Thank you for your help. I will have to start over and try again now since I’ve already destroyed that last container as I can’t actually reproduce unless it does it again on this new fresh container, and I will be in touch if it does, so thank you again…!!

Hi @jescity

No worries! Thank you for coming into the Forums and for your feedback. Ultimately we hope you find a solution that works best for you even if that isn’t using Local :slight_smile:

If you should return to Local down the road and have any other questions or concerns you know where to find us now :green_heart:

Hi, ok so thinking this was going to be the quickest way since I just created a fresh container, I tried Local and got this error right away:

And then it auto deleted itself as it did before.

I have no idea what this error means.

If you have any idea why this might not be working, I am all ears…

Again…thank you…would be really nice if I could get this to work…

Hi @jescity

Could you share a copy of your Local Log? Retrieving Local’s Log File

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