# Error command failed

**URL:** <https://community.localwp.com/t/error-command-failed/42582>\
**Category:** Support\
**Created:** [April 26, 2024, 5:15pm UTC](https://community.localwp.com/t/error-command-failed/42582 "2024-04-26T17:15:11Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tech](https://community.localwp.com/u/tech)\
**Post date:** [April 26, 2024, 5:15pm UTC](https://community.localwp.com/t/error-command-failed/42582/1 "2024-04-26T17:15:11Z")

</div>

Hi everyone, I’m new here and I don’t understand much about this, I installed localwp on my machine and did some tests and so far so good.  
Then I started making a website and it was almost ready, I was working on the website and the power went out, twice in a row later I turned on the machine and it gave me a blue screen, then it turned on normally but when I turn on localwp and go to work on the website, it doesn’t open and the always a mistake  
Can anyone help me please?

I’m using Windows 11  
Localwp Version 9.0.1+6673

 ![Unbenannt](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/3/933158613ddcb1a453d813123879ac27f1130f05.png)

---

<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:** [April 27, 2024, 2:30pm UTC](https://community.localwp.com/t/error-command-failed/42582/2 "2024-04-27T14:30:14Z")

</div>

Hi @tech

If you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:

- Locate the site files on your machine, and save a copy of them to your desktop. If you click `Go to Site Folder` under your site name it should take you right to where they are located.
- Once you have those copied, completely delete the site from Local
- Restart Local/your machine
- Reimport the site back into Local. You can refer here on how to [Restore from only Local site files](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#restore-local-site-from-site-files)

---

<div class="post-metadata">

**Author:** ![tech](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tech](https://community.localwp.com/u/tech)\
**Post date:** [April 28, 2024, 1:39pm UTC](https://community.localwp.com/t/error-command-failed/42582/3 "2024-04-28T13:39:25Z")

</div>

hello  
thanks for your help  
I created a new website and it works  
Now I opened the website folder but I’m not finding the sql folder  
Do you have any idea how to find it?  
thanks

 ![reinigung.](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/8/f80dc68c4c6f82a379efc669350efc60acecff8e.png)

---

<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:** [April 30, 2024, 1:26pm UTC](https://community.localwp.com/t/error-command-failed/42582/4 "2024-04-30T13:26:27Z")

</div>

Are you looking for the SQL folder on your new, blank site or do you need the SQL for your previous site to import?

---

<div class="post-metadata">

**Author:** ![tech](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tech](https://community.localwp.com/u/tech)\
**Post date:** [April 30, 2024, 1:56pm UTC](https://community.localwp.com/t/error-command-failed/42582/5 "2024-04-30T13:56:34Z")

</div>

I can’t find the SQL folder from the old site to import into the new site

---

<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:** [April 30, 2024, 2:35pm UTC](https://community.localwp.com/t/error-command-failed/42582/6 "2024-04-30T14:35:53Z")

</div>

Does it appear for your other sites or is it missing from all of them?

---

<div class="post-metadata">

**Author:** ![tech](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tech](https://community.localwp.com/u/tech)\
**Post date:** [April 30, 2024, 2:59pm UTC](https://community.localwp.com/t/error-command-failed/42582/7 "2024-04-30T14:59:22Z")

</div>

Yes, it appears on other sites

---

<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:** [April 30, 2024, 4:43pm UTC](https://community.localwp.com/t/error-command-failed/42582/8 "2024-04-30T16:43:26Z")

</div>

Did you have content in the database for that site? You could use the database from the new, blank site and then just manually move over your WP-Content if that is all you had.

[Manually Import a Local Site](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#Manually-Import-a-Local-site)

---

<div class="post-metadata">

**Author:** ![tech](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tech](https://community.localwp.com/u/tech)\
**Post date:** [April 30, 2024, 6:15pm UTC](https://community.localwp.com/t/error-command-failed/42582/9 "2024-04-30T18:15:43Z")

</div>

Is it in the sql folder that has the images and texts?  
The most important thing was the texts, will it be possible to recover

---

<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:** [May 1, 2024, 9:13pm UTC](https://community.localwp.com/t/error-command-failed/42582/10 "2024-05-01T21:13:24Z")

</div>

What do you mean by your texts? Your pages and posts? Your images will be in your media library which is your wp-content/uploads. Do you see those in there?

If you’re not seeing the SQL folder in there, or by manually searching elsewhere on your machine, then it may be that the power outage caused it’s disappearance it might be irrecoverable.

The only other thing you could try would be a time machine backup if you had one like this:

> **[Microsoft Windows 10 PCs have their own Apple Time Machine feature](https://www.portableone.com/Tech-News/Microsoft-Windows-10-PCs-have-their-own-Apple-Time-Machine-feature)**
>
> Backup uses File History, which is another feature built into Windows 10. These two features can be accessed through a simple, minimalist interface with almost identical functionality as Apple Time Machine, minus the flashy background and...

---

<div class="post-metadata">

**Author:** ![agarwalsonal](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@agarwalsonal](https://community.localwp.com/u/agarwalsonal)\
**Post date:** [May 15, 2024, 3:27am UTC](https://community.localwp.com/t/error-command-failed/42582/11 "2024-05-15T03:27:26Z")

</div>

Hello, I’m also facing the same error when I try to create a new blank site. It is the first time I’m using Local so I dont have any previous sites. Could you please suggest what could be the issue?  
I googled and the most frequent solution suggested was to check the windows username for special characters, which I don’t have. Also, I have ample disk space, so not sure what could be the source of the problem.

 ![provision_error](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/7/f7ad12c27097f53a7ca1fadd138018003b68472c.jpeg)  
[local-lightning.log](https://community.localwp.com/uploads/short-url/sguTSiNB3UfX2phhmvm4AOYfOY5.log) (12.3 KB)  
[local-lightning-verbose.log](https://community.localwp.com/uploads/short-url/7QwzVXl3oq2L0G2yNSLZDT0hFlC.log) (55.7 KB)

---

<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:** [May 15, 2024, 1:25pm UTC](https://community.localwp.com/t/error-command-failed/42582/12 "2024-05-15T13:25:15Z")

</div>

Do you have any antivirus, security, or firewall applications that could be blocking Local?

Are you using Local as an Admin user?

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

---

<div class="post-metadata">

**Author:** ![agarwalsonal](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@agarwalsonal](https://community.localwp.com/u/agarwalsonal)\
**Post date:** [May 17, 2024, 5:21am UTC](https://community.localwp.com/t/error-command-failed/42582/13 "2024-05-17T05:21:17Z")

</div>

Hello Nick! Thanks for the reply.

I have Microsoft Defender turned on.  
Yes, I’m an admin user.  
No other developer app is running.

I’ll try to disable defender and then check. Interestingly, when I tried Local on a different system, the website was created successfully.

---

<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:** [May 17, 2024, 12:59pm UTC](https://community.localwp.com/t/error-command-failed/42582/14 "2024-05-17T12:59:44Z")

</div>

I’m glad to hear you were able to get Local working on another system!

You could check some threads like these to make sure Windows defender isn’t blocking anything:

> **[Application blocked by windows defender application control - Microsoft Q&A](https://learn.microsoft.com/en-us/answers/questions/1312296/application-blocked-by-windows-defender-applicatio)**
>
> My applications are being blocked by Windows Defender Application Control and I can't seem to turn it off. I've checked Intune policies, Group Policy, RegEdit and they are have PUA disabled, but I still can't open apps that I used to able to use.

[https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-how-do-you-unblock-an-app-that/2a2c9f38-387f-49a5-bd6d-e540b3c107d3](https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-how-do-you-unblock-an-app-that/2a2c9f38-387f-49a5-bd6d-e540b3c107d3)

---

<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:** [August 15, 2024, 1:00pm UTC](https://community.localwp.com/t/error-command-failed/42582/15 "2024-08-15T13:00:33Z")

</div>

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