# Sequoia 15.4 beta & Local 9.2.2+6771 hosts file error

**URL:** <https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221>\
**Category:** Support\
**Created:** [February 26, 2025, 6:19am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221 "2025-02-26T06:19:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [February 26, 2025, 6:19am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/1 "2025-02-26T06:19:01Z")

</div>

# Bug Summary

Hosts file can not be updated when creating a new site.

# Steps to reproduce

When creating a new site an error appears that the hosts file can not be updated. When accessing the site an error site cannot be reached is displayed.

# Environment Info

Describe your environment.

- What Operating System are you using? MacOS 15.4
- What versions of site software (Nginx, Apache, PHP, MySQL) is used? PHP 8.2.23 / MySQL 8.0.35
- What version of Local is installed? 9.2.2+6771

# Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

[local-lightning.log](https://community.localwp.com/uploads/short-url/xxu4d7TH3XbqImD7g3JXNqrI0k7.log) (18.4 KB)

Include any screenshots or video recordings of the issue to help others reproduce.

 ![Xnip2025-02-26_08-07-00](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/3/6/36b3477615221f286001236461f36f930376cc80.png)  
 ![Xnip2025-02-26_08-06-26](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/a/5/a5c901380ef72294e62d8f88b21df4aa0d932446.png)

---

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [February 26, 2025, 10:36am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/2 "2025-02-26T10:36:30Z")

</div>

Everything was working prior to the update to 15.4. I wiped my machine & did a re-install but still the same error.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 26, 2025, 2:35pm UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/3 "2025-02-26T14:35:03Z")

</div>

Hi @KeithOx

Can you try downgrading your Local version to see if an older version of the Local app works?

You can find the full uninstall instructions for Local here: [Uninstall Local - Local](https://localwp.com/help-docs/troubleshooting/uninstalling-local/)

And then download specific releases from our page here: [Releases - Local](https://localwp.com/releases/9.2.0)

Of course if you have any sites you want to save hopefully you’ve backed those up or exported them already but if you need to save copies they should be under your Local Sites directory.

---

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [February 26, 2025, 3:01pm UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/4 "2025-02-26T15:01:06Z")

</div>

Thanks Nick, I will do that and feedback how it goes.

---

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [February 27, 2025, 5:26am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/5 "2025-02-27T05:26:51Z")

</div>

Hi Nick,  
No luck. Downgraded to 9.1.0 and still get the same error. Unless their is another suggestion I will downgrade Sequoia |-)

---

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [February 27, 2025, 8:25am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/6 "2025-02-27T08:25:36Z")

</div>

There is a work around. Create your site, you will still get the error.  
Edit the hosts file with _sudo nano /etc/hosts_.  
Add the two lines: - ::1 sitename.local  
127.0.0.1 sitename.local  
sitename is the name of the site you have created in Local.  
Save and exit.  
You will now be able to connect to your site and work on it.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 27, 2025, 1:40pm UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/7 "2025-02-27T13:40:18Z")

</div>

Thank you for following up @KeithOx! Glad things are working for you now 💚

---

<div class="post-metadata">

**Author:** ![KeithOx](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/keithox/32/23876_2.png) [@KeithOx](https://community.localwp.com/u/KeithOx)\
**Post date:** [March 6, 2025, 5:15am UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/8 "2025-03-06T05:15:50Z")

</div>

This issue is resolved by updating to Sequoia 15.4 Beta 2. Thanks for all assistance.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [March 7, 2025, 2:03pm UTC](https://community.localwp.com/t/sequoia-15-4-beta-local-9-2-2-6771-hosts-file-error/47221/9 "2025-03-07T14:03:35Z")

</div>


