# Unable to open Local app in Windows

**URL:** <https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987>\
**Category:** Support\
**Tags:** windows\
**Created:** [May 21, 2024, 8:33am UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987 "2024-05-21T08:33:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartikparmar](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kartikparmar](https://community.localwp.com/u/kartikparmar)\
**Post date:** [May 21, 2024, 8:33am UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/1 "2024-05-21T08:33:17Z")

</div>

### What issue or error are you experiencing?

The Local app is not opening at all on my Windows system. Earlier it was working fine.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Video - [Untitled: May 21, 2024 1:57 PM](https://app.screencastify.com/v3/watch/bV8Ntx6fxXh9EN3XIq0P)

* * *

### System Details

- **Local Version:**

9.0.1

- **Operating System (OS) and OS version:**

> **[Screenshot](https://prnt.sc/auk-Jp14ny13)**
>
> Captured with Lightshot

* * *

### Local Logs

> **[Dropbox](https://www.dropbox.com/scl/fi/cb1stakccw1v2y8u3gm2p/local-lightning-verbose.log?rlkey=os45wn72rxqkc13vygsruabu7&st=o0hj8il7&dl=0)**

> **[Dropbox](https://www.dropbox.com/scl/fi/r1p20c4w1zv8c1ked6lvy/local-lightning.log?rlkey=tzmd96z4vqg5gdd8l8ivi4ve5&st=sryx1tbd&dl=0)**

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<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 21, 2024, 8:57am UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/2 "2024-05-21T08:57:05Z")

</div>

Thanks for sharing the video and your logs, @kartikparmar.

The logs show that your `sites.json` file contains unexpected content. This is the file that Local uses to store your site data. Please could you share it with me via a direct message? (Click my profile photo, then click “message”.)

On Windows you can find the file like this:

1. Open the Windows File Explorer.
2. Make sure you have enabled “[show hidden items](https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_11)”.
3. Browse to This PC → [your hard drive] → Users → [your username] → AppData → Roaming → Local.
4. Share the `sites.json` file (it might just appear as ‘sites’) without editing it.

---

<div class="post-metadata">

**Author:** ![kartikparmar](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kartikparmar](https://community.localwp.com/u/kartikparmar)\
**Post date:** [May 21, 2024, 2:11pm UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/3 "2024-05-21T14:11:01Z")

</div>

Hi @nickc

Thanks for your quick response.

The sites.json file is showing empty. I have shared the same with you.

> **[Screenshot](https://prnt.sc/i0Oy9Bb7F39N)**
>
> Captured with Lightshot

FYI, I have been facing this issue since 19th April 2024 when I shut my laptop after quite a long time, and then I switched it on again and the windows got updated to the version I shared earlier.

---

<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 21, 2024, 2:19pm UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/4 "2024-05-21T14:19:50Z")

</div>

Thank you for the reply and DM, @kartikparmar.

Since Local’s site data is missing (your sites themselves should still be on your hard disk — it’s just the sites.json file that is blank), you can try restoring sites in a couple of ways:

If you have a backup of your hard drive, you can try restoring that sites.json file to an earlier version.

If you don’t have a backup, you can try to recover your existing sites by following these steps:

1. Quit Local.
2. Open the Windows File Explorer.
3. Make sure you have enabled “[show hidden items](https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5#WindowsVersion=Windows_11)”.
4. Browse to This PC → [your hard drive] → Users → [your username] → AppData → Roaming → Local.
5. Rename the `sites.json` file to `sites-old.json`.
6. You should now be able to start Local. Your sites will not appear in the list, but we’ll try to restore them next.
7. In Windows File Explorer, locate your Local sites here: PC → [your hard drive] → Users → [your username] → Local Sites.
8. Right click each of your sites folders, and choose “Compress to ZIP file” to make a zip file from each site folder.
9. Drag each zip file into Local to import it (you may have to give it a new name when prompted to choose one during import).

---

<div class="post-metadata">

**Author:** ![kartikparmar](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kartikparmar](https://community.localwp.com/u/kartikparmar)\
**Post date:** [May 22, 2024, 1:57pm UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/5 "2024-05-22T13:57:45Z")

</div>

Hi @nickc

Thank you for your help. The issue is resolved. 🙂

---

<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:** [May 24, 2024, 1:58am UTC](https://community.localwp.com/t/unable-to-open-local-app-in-windows/42987/6 "2024-05-24T01:58:14Z")

</div>

Closed on May 24, 2024, 1:58am UTC

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