Using Windows 10 ver. 2004 whenever I install LOCAL and try to create a new local site I get an error message: initialize-insecure
Also mysqld can not create directory (OS err no 2 - No such file or directory).
It can be due to the spanish letter “ñ” which is in my root because my name is “Iñigo”: I also get the message “The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead”.
I suggest that using the “ñ” should NOT be a problem because there are many different languages out there with special character sets and Local should work with all of them.
Is it me or is it the program? Anybody can Help? Thank you in advance.
Hi,
I recently installed the Local 5.7.2 and when I create a New Site I get this message error: Uh-oh! Unable to provision site. Error: Error: Command failed:…, here I put the print screen of this error. By the way, I have Kaspersky Antivirus, but I closed it before installing Local. Can you please tell me what I am doing wrong, in order to create a new site, please?, thanks a lot.
Regards
Sofia Perez
ECUADOR
Hey @sofia.perez – Thanks for joining the Local forums and writing in! Since this is a known bug, I’ve merged your topic into this one. You should be able to review this topic’s description and upvote the bug as well as find a work around:
Than you Ben. Windows has this problems. And many more. The virtual Linux machine is just for coding. So what I will do is something different. I have tried using Ubuntu with a USB (https://ubuntu.com/tutorials/create-a-usb-stick-on-windows#1-overview) and it works. In some days I will install Ubuntu in my PC (two operative alternative systems, i.e. without unistalling Windows) and install Local version for Linux. Done. No Windows. Thanks anyway. I´ll tell you and the community how it runs. Not done yet. Iñigo.
Hey @Dede – Thanks for joining the Local forums and writing in! Since this is a known bug, I’ve merged your topic into this one. You should be able to review this topic’s description and upvote the bug as well as find a work around:
I got something that worked for me guys!
I right-clicked on Local shortcut on Desktop, went to Properties > Security > Edit
and then I granted all permissions to my user and that was it. Hope it helps.
I know that this is a very old thread and is something that is unresolved in Local.
We’re trying to update and streamline our communication around bug reporting and fixing issues in Local. Because of this, I’ve moved this topic into the “Bugs” category which allows it to be up-voted.
If this is a problem that affects you, please up-vote this topic by clicking the “Vote” button at the top of the page.
Site creation fails when there are certain special characters (at least ampersand “&” seems to be one of those characters, might be others as well) in the admin password defined during the setup process. I believe the characters should be escaped properly (by Local) to allow the use of strong passwords as they are completely valid when setting up a WP site normally outside Local automatic setup.
You can finish the setup after the error message by going to your .local URL and continuing the setup manually. You can even use the same Local-breaking password you first used when trying to set up the site and WP will have no problem using it.
Steps to reproduce
Add a new site
When asked, insert an admin password with special characters like ampersand (&), possibly also single quote (’) and backtick (`)
Environment Info
Windows 10 21H2 (19044.1766)
nginx, PHP 7.4.1, MySQL 8.0.16
Local 6.4.0+5927 (but this has been a bug for quite some time now)
Unfortunately the problem persists even on 6.4.1. I tried to create a new site with following info:
Site name: Test
Local site domain: test.local (default)
Local site path: ~\Local Sites\test (default)
Enviroment: Preferred (same as in my original post)
WordPress username: admintest
WordPress password: 123& (tried with 123&456 too, just to be sure)
WordPress e-mail: dev-email@flywheel.local (default)
Multisite?: No (default)
And the end result was the same, an “Error Installing WordPress for [Site name]”:
I tried some other special characters too, like backtick and single quote which I suspected might interfere with SQL commands if not properly escaped, but those seemed to work fine so it seems that only “&” breaks the installation.
EDIT: For clarification, OS, PHP, MySQL etc. were all the same in my last test as in my original post, except for Local, which I updated to 6.4.1 as per your suggestion.
If I remove the ampersand from admin password, install finishes correctly with all the other info being the same.