What issue or error are you experiencing?
When trying to create a new site (brand new installation), it immediately throws an error:
“Uh-oh! Unable to provision site.”
Error: Error: Command failed:
C:\Users\Rósa\AppData\Roaming\Local\lightning-services\mysql-8.0.35+0\bin…\mysqld.exe
–defaults-file=C:\Users\Rósa\AppData\Roaming\Local\run\1bSZOAdk6\conf\mysql\my.cnf
–initialize-insecure
mysqld: Can’t create/write to file ‘C:\Users\Rósa\AppData\Roaming\Local\run\1bSZOAdk6\mysql\data\is_writable’ (OS errno 2 - No such file or directory)
2025-01-29T16:09:12.434748Z 0 [Warning] [MY-010918] [Server]
‘default_authentication_plugin’ is deprecated and will be removed in a future release. Please
use authentication_policy instead.
2025-01-29T16:09:12.434761Z 0 [System] [MY-013169] [Server]
C:\Users\R�sa\AppData\Roaming\Local\lightning-services\mysql-8.0.35+0\bi…\mysqld.exe
(mysqld 8.0.35) initializing of server in progress as process 27212
2025-01-29T16:09:12.447952Z 0 [Warning] [MY-013243] [Server] --character-set-server: The
character set UTF8MB3 is deprecated and will be removed in a future release. Please consider
using UTF8MB4 instead.
2025-01-29T16:09:12.448672Z 0 [ERROR] [MY-010460] [Server] --initialize specified but the data directory exists and is not writable. Aborting.
2025-01-29T16:09:12.448679Z 0 [ERROR] [MY-013236] [Server] The designated data directory
C:\Users\Rósa\AppData\Roaming\Local\run\1bSZOAdk6\mysql\data\ is unusable. You can remove all files that the server added to it.
2025-01-29T16:09:12.448712Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-01-29T16:09:12.448832Z 0 [System] [MY-010910] [Server]
C:\Users\R�sa\AppData\Roaming\Local\ightning-services\mysql-8.0.35+0\bi…\mysqld.exe:
Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
I also found a notification that Local was trying to request permission to edit my hosts file, but when I click on it, nothing happens?!
I’ve tried running Local as an administrator, no luck.
Full disclosure: The username contains an accented character (ó) - which is reflected in the User folder
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
All I did was try to create a new site. Only possible issue I can think of is the ‘ó’ in the user name, but how am I supposed to fix that? You should give users the ability to specify a different location for the app to use!
System Details
-
Local Version: 9.2.0+6762
-
Operating System (OS) and OS version: Windows 11 Pro v. 23H2 build 22635.3858
Local Logs
Attach your Local Logs here
local-lightning.log (43.7 KB)