# Uh-no could not update hosts file (mac M3 newst version)

**URL:** <https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741>\
**Category:** Support\
**Tags:** hosts-file, installation, mac\
**Created:** [May 7, 2024, 9:00am UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741 "2024-05-07T09:00:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mendy\_Illouz](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Mendy\_Illouz](https://community.localwp.com/u/Mendy_Illouz)\
**Post date:** [May 7, 2024, 9:00am UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741/1 "2024-05-07T09:00:18Z")

</div>

Hey  
I’m having issues to create a web via local wp (added screenshots to show the error)  
I consulted ChatGPT  
i tried:  
**Check Compatibility**  
**Run as Administrator**  
**Reinstall Local**  
**Check for Updates**  
**Disable Antivirus/Firewall**  
i also tried to change manually the host file - i checked permission and flush the DNS cache  
nothing seems to work

i would appreciate any help - happy to pay for any help to solve this case

tia

 ![צילום מסך 2024-05-06 ב-21.19.35](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/4/841fef6c3eccdf5e0644089552fed0ea4a7f1d34.png)  
 ![צילום מסך 2024-05-06 ב-21.36.50](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/7/9798a3d0baf65a06f6dfd60fea24ad7c3fb7d906.png)  
 ![צילום מסך 2024-05-06 ב-23.31.40](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/e/3/e3a8c6f574e256a6640bfb92cbe7daf6f2c51f72.png)  
 ![צילום מסך 2024-05-07 ב-11.04.11](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/6/d/6d8e4ca120c1aff244798c577adeee97332b2dfc.png)

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [May 7, 2024, 11:35am UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741/2 "2024-05-07T11:35:43Z")

</div>

Hi, @Mendy_Illouz. Please could you try:

1. Quitting Local and closing the `/etc/hosts` file if it’s still open.

2. Opening a terminal and entering this command:

3. Opening Local again.

If that doesn’t work, please can you [share your Local logs](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)?

---

<div class="post-metadata">

**Author:** ![buffler](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/buffler/32/18050_2.png) [@buffler](https://community.localwp.com/u/buffler)\
**Post date:** [July 9, 2024, 10:21pm UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741/3 "2024-07-09T22:21:14Z")

</div>

@nickc @Mendy_Illouz just wanted to pop in to say that I encountered the same errors on trying to set up my first Local site (also on an M3), and the suggestion to install Rosetta via Terminal seems to have fixed this for me!

Upon re-opening Local and trying to add a new site, I got this notification:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/2/b/2bb10452136b043640a3325d2e49d787c567706c.png)

After entering my username/password to allow it everything seemed to go smoothly.

thanks y’all!

---

<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:** [July 10, 2024, 1:07pm UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741/4 "2024-07-10T13:07:31Z")

</div>

Glad to hear it @buffler! Thank you for following up 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [July 12, 2024, 1:07am UTC](https://community.localwp.com/t/uh-no-could-not-update-hosts-file-mac-m3-newst-version/42741/5 "2024-07-12T01:07:59Z")

</div>

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