Hello guys,
I have error to add a new site, I tried to install into 2 mods, I tried different releases of DB.
I didn’t find a solution in internet then I ask to community.
I joined log file.
Thank you to read it
local-logs.zip (14.4 KB)
Hey @blacksun
Are you running this app as an admin user?
Do you have any security features that could be blocking Local?
Hi Nick-B
I install it in admin mode
my “hosts” file have no attribute.
I use only windows defender.
I tried to unactivate it during generating process of LocalWP (same kind error)
The errors in the log seem like a permissions issue is at play.
{"class":"SiteProvisionerService","level":"error","message":"Unable to provision site.","stack":"Error: Command failed: %%userDataPath%%\\lightning-services\\mysql-5.7.28+4\\bin\\win64\\bin\\mysqld.exe --defaults-file=C:/Users/ArctiQ/AppData/Roaming/Local/run/madMANkqX/conf/mysql/my.cnf --initialize-insecure\nmysqld: Could not create or access the registry key needed for the MySQL application\r\nto log to the Windows EventLog. Run the application with sufficient\r\nprivileges once to create the key, add the key manually, or turn off\r\nlogging for that application.\r\n2024-10-08T13:16:52.304115Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\r\n2024-10-08T13:16:52.306096Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0\r\n2024-10-08T13:16:52.312867Z 0 [ERROR] InnoDB: Unable to create temporary file; errno: 0\r\n2024-10-08T13:16:52.312898Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error\r\n2024-10-08T13:16:52.312912Z 0 [ERROR] Plugin 'InnoDB' init function returned error.\r\n2024-10-08T13:16:52.312916Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.\r\n2024-10-08T13:16:52.312920Z 0 [ERROR] Failed to initialize builtin plugins.\r\n2024-10-08T13:16:52.312923Z 0 [ERROR] Aborting\r\n\r\n\n at ChildProcess.exithandler (node:child_process:422:12)\n at ChildProcess.emit (node:events:517:28)\n at ChildProcess.emit (node:domain:489:12)\n at maybeClose (node:internal/child_process:1098:16)\n at ChildProcess._handle.onexit (node:internal/child_process:303:5)","thread":"main","timestamp":"2024-10-08T13:16:52.325Z"}
Some other items to check here:
Are you using a drive other than C? Like an external storage?
Does your drive have open permissions and enough disk space?
I have a single SSD hard drive. And I have 2 partitions.
So in first I used a directory on partition D.
LocalWP error.
I uninstall LocaWP and use default install parameter.
no result.
Actually my install of localWP using default install parameters
I cleanse after unistall with regedit
I just re install it
same kind error
local-logs.zip (3.2 KB)
When you uninstalled did you follow the Window specific steps here?
Yes I did
I followed these steps
When you create a site are you using any specific configurations or just the preferred set up?
Are you running other developer applications simultaneously? Apps like MAMP, XAMPP, or Docker for example.
I used preferred at firstime, error mysql
unistall method, I tried custom mariaDB, another release of mysql.
I tried ginx, apache.
no way, in each case, database error
I don’t use MAMP or XAMPP or WAMPserver. Only LocalWP
I opened port 10004
I stop running defender, I stop firewall too
same error
Hi @blacksun
Thank you for checking everything here. It’s tough to say for sure as the logs are still pointing at some sort of permission issue.
Since you’ve done the uninstall/reinstall have you also done a full reboot of your machine?
Is this a personal machine you’re using? Or issued by your employer?
Do you have another machine you can test with?