Special characters not supported on Windows username/password

Moderator Note: Known Bug Summary

Thank you everyone who has chimed in and helps clarify this issue! The general problem is that when a Windows Username includes special characters (so an apostrophe ' or a non-ASCII character like é) it can break the commands Local uses to communicate with the MySQL database.

Usernames that have an apostrophe in them should be fixed, so update to the most recent version of Local if the username has an apostrophe in it.

Read on for what you can do if the username has other non-ASCII characters.

Upvote the Bug

If you are affected by this issue, please up-vote this bug by clicking the “Vote” button at the top of this topic. If you can, please leave a reply that mentions the username that is causing problems. This gives us a good idea of the various characters that are causing issues.

Workaround

Due to the nature of this bug, the main option we recommend is to create a new Windows user that doesn’t contain any special characters.

If you want to live a little dangerously, take a look at the solution proposed by @Danniemite :


Original Message:


Hello! I got this error when trying to create a new site.
I attached a screenshot of the error and the log file.

Thanks for your time

local-lightning.log (53.1 KB)

1 Like
Uh-oh! Unable to provision site
Error installing
installation problem local 5.2.8
Missing files of local and can't creat a new site
Cant access wordpress site and WP admin on local
Unable to create new webs once installed Local
HELP please, I can't create a new site
Localwp not opening but running in background
Persistent issues downloading WP - error code PHP file + port 80 question
"uh, oh: unable to provision site"
404 Not Found nginx/1.16.0
"Uh-oh! Unable to provision site!" Error
Unable to Create a New Site on Windows
Creating the first site
Error "Uh-oh! " Unable to provision site. When trying to create a website for the first time
Error while importing a blueprint file
Files migration to local fails "uh oh! Unable to provision site"
Error related to Mysqld when creating a new site.
Adding site problem
Unable to create site due to special characters in Windows username
ERROR CREATING WEBSITE
ERROR CREATING WEBSITE
Hi everyone
Failing to install
Can't create sites with local
Uh-oh! Unable to provision site Error When Trying to Add a Local Site
I am facing a problem with the program not opening any new sites for me and I want a solution
“Uh-oh! Unable to provision site!” Error | Windows 11
Help to create a new site. Error: Uh-oh! Unable to provision site
Error Installing Wordpress - The System cannot find the file specified
Unable to provision any site
Unable to provision site due to mysqld.exe error
Erorr command failed
Unable to provision sites
Can't add a new site
#Unable to provision site
I can't create a website
Local doesn't work if you have "æøå" in your windows username
Creating Website ends with Error message
Can't access website (new install; new user)
Username Profile Folder with non english characters created a string of issues
WP configuration issue with "wp-config.php" file
Can't create a local site
Setup error
Setup error
Unable to provision site error unsolved
Umlauts do not display
Uh-oh! Could not update hosts file, Please help
Uh-oh! Unable to provision site. Local Version 8.1.0+6514
Can't create new website or import
je n'arrive pas à crée de site
Alguém com esse erro de appdata?
"unable to provision site" error on my windows 10 pc 64bit currently on Version 9.0.1+6673
Error Installing Wordpress. File not found
Erro Uh-oh! Unable to provision site
When I try to create a new site it gives this error
Problem unable to provide site
Can't create site due to some MySql Error
How cat I fix this error?
Error creating new site W11 - Unable to provision site
Oh-oh! Unable to start site. error: 'Can't connect to MySQL server on '127.0.0.1' (10061)'
Unable to Provision Site - MySQL Errors
Local is requesting administrative privileges to modify your etc/hosts file
Error when creating a new site
New project: Unable to provision site Error
Problem when I want to create a new website after my first installation of local on my pc
Bad chracter (&) in WordPress password produces error when making new site
Local does not start on Windows 10
Cannot create a local site with passwords that have spaces?
Cannot import a site exported from Local on another computer
Special characters in folder name not supported on Windows
Uh-oh! unable to start site and not able to create new site
Uh-oh unable to provision site I need some help
Unable to provision site - pls help
Can't create website
Error creatring new website
Error “Uh-Oh! Unable to provision site” when trying to create my first website
Error when installing Wordpress
Error on local 5.2.1| windows 10|

Anyone have any idea??? Please help!!

I’m having the same issue… Can’t find a solution

Hey all, sorry you’re having trouble with provisioning sites!

Would you try reinstalling/installing the latest beta build of local (5.0.7):
https://localbyflywheel.com/community/t/5-0-7-beta/15063
Try right-clicking the installer and “Run as administrator” just to make sure that installer can get everything it needs in place without permissions issues.

1 Like

OS: Windows 10
Downloaded the beta version and ran the installer as administrator. When trying to create a new site i get the same error as reported in this thread.

1 Like

I have the same problem. Installer Local 5.0.7 ran by Admin W10, but the problem persists. Could anybody help us ?

having the same issue. not finding any help. Was totally loving the speed of local by flywheel on linux too. sad.

I had this same issue ( using Ubuntu ) I had to purge the file and reinstall it on my administrator account using the software installer. For some reason when I install Local using dpkg it errors.

Having the same problem. Any good solution in sight…?

flywheel

error

Having issues creating a new site with my wordpress login.
Get the following error message. Please see picture.

8 posts were split to a new topic: Unable to provision site on macOS older than 10.13 High Sierra

2 posts were split to a new topic: Database error importing site

Hey @gustafssonadam! Thanks for jumping into Local. We’ll see what we can figure out here.

What version of Local and what Operating system are you running there?

Can you please provide your local-by-flywheel.log file?

See this Community Forum post for instructions on how to do so > How do I retrieve Local’s Log?

local-lightning.log (150.1 KB)

here’s the log file

Hi everybody !

i have exactly the same error message than gustafssonadam

could the good team please publish the process to debug it here please, so that i will jump on local and start working.

my computer is with windows 10 and i try to “add a new site” on local v5-0-7.

i tried several times, restarting my computer before each try, i have also uninstalled-reinstalled local and it’s each time the same error message.

pleeease let me join :slight_smile:

ps : excuse my poor english

I have similar problem at Windows 10.

image

Can you help me to solve it

Hey @d4rk3c - There is a limitation in Local right now that prevents it from working when there are special characters in the path, such as the accent in the username here. We are working on getting this fixed for future versions but currently you will need to use Local version 3 or create a user that has plain latin characters to avoid the path issue.

Same problem. Whatever I try…

flywheel

Hi all,

Thanks for your patience regarding this issue. I’ve made a note to look into this ASAP.

Any update on this error above ? I would like to use your service but can not find anyway to get around this problem