[Windows] Unable to provision site due to mysqld.exe error

Hi Clay, I’m still unable to create a new site after launching. Still the same thing despite installing the two file above. My PC is partitioned though. Could that be a factor?

You should be good here!


Can you try opening up Command Prompt (Cmd.exe) and running the following? Running it directly in Cmd.exe might uncover some more information.

%LocalAppData%\Programs\Local\resources\extraResources\site-binaries-win32\mysql-8.0.16\bin\mysqld.exe --version

Here is a screenshot of what it should look like:

Please let us know if you see anything different in Command Prompt or if any errors pop up.

here the images

Hi @varinder,

Thanks for trying the Local Lightning beta!

Can you please try the steps I outlined here? Unable to provision site due to mysqld.exe error

If the issues persists, please provide your local-lightning.log file by following the steps here: How do I retrieve Local's log file?

1 Like

The problem is still there therefor the local-lightning.log here:

{"thread":"main","errno":"ENOENT","code":"ENOENT","syscall":"spawnSync wmic","path":"wmic","spawnargs":["os","get","Caption","/value"],"error":{"message":"spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)"},"status":null,"signal":null,"output":null,"pid":0,"stdout":null,"stderr":null,"level":"warn","message":"Could not retrieve Windows edition.spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Program Files (x86)\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)","timestamp":"2019-09-13T07:32:32.005Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-13T07:34:20.350Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-13T07:34:20.370Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\dootpointcom\\app\\public option get home\n","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\dootpointcom\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-13T07:34:20.738Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-13T07:34:21.148Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-13T07:34:21.149Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-13T07:34:21.216Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-13T07:34:21.273Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-13T07:34:21.355Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/46PrtyK1G/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-13T07:34:22.487Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\46PrtyK1G","level":"info","timestamp":"2019-09-13T07:35:35.011Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/46PrtyK1G/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/46PrtyK1G/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-13T07:35:35.144Z"}
{"thread":"main","class":"liveLinkNgrokHelper","message":"Spawning ngrok for dootpointcom.local","level":"info","timestamp":"2019-09-13T07:35:35.362Z"}
{"thread":"main","class":"liveLinkNgrokHelper","message":"Stopping ngrok for dootpointcom.local","level":"info","timestamp":"2019-09-13T07:35:35.740Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-13T07:35:36.455Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Program Files (x86)\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-13T07:35:36.643Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-13T07:57:30.524Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-13T07:57:30.536Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-13T07:57:30.666Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-13T07:57:30.666Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\doblog\\app\\public option get home\n","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\doblog\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-13T07:57:30.672Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-13T07:57:30.703Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-13T07:57:30.752Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-13T07:57:30.833Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/pl_2ehqxf/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-13T07:57:30.897Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\pl_2ehqxf","level":"info","timestamp":"2019-09-13T07:58:33.242Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/pl_2ehqxf/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Program Files (x86)\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/pl_2ehqxf/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-13T07:58:33.355Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-13T07:58:34.280Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Program Files (x86)\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-13T07:58:34.345Z"}
{"thread":"main","errno":"ENOENT","code":"ENOENT","syscall":"spawnSync wmic","path":"wmic","spawnargs":["os","get","Caption","/value"],"error":{"message":"spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)\n    at App.EventEmitter.emit (domain.js:469:20)\n    at App.emitter.emit (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\@sentry\\electron\\dist\\main\\integrations\\electron.js:56:20)"},"status":null,"signal":null,"output":null,"pid":0,"stdout":null,"stderr":null,"level":"warn","message":"Could not retrieve Windows edition.spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)\n    at App.EventEmitter.emit (domain.js:469:20)\n    at App.emitter.emit (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\@sentry\\electron\\dist\\main\\integrations\\electron.js:56:20)","timestamp":"2019-09-14T04:46:34.864Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T04:47:30.108Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T04:47:30.124Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblogs\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblogs\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T04:47:32.947Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T04:47:33.117Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T04:47:33.118Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T04:47:33.188Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T04:47:33.247Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T04:47:33.357Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/NaWpJCUgZ/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T04:47:34.561Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\NaWpJCUgZ","level":"info","timestamp":"2019-09-14T04:51:44.979Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/NaWpJCUgZ/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/NaWpJCUgZ/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T04:51:45.179Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T04:51:46.490Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T04:51:46.625Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T04:52:31.319Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T04:52:31.329Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblog\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblog\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T04:52:31.539Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T04:52:31.594Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T04:52:31.594Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T04:52:31.628Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T04:52:31.714Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T04:52:31.801Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/1AIXj_R92/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T04:52:32.007Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\1AIXj_R92","level":"info","timestamp":"2019-09-14T05:03:44.643Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/1AIXj_R92/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/1AIXj_R92/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:03:44.757Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T05:03:47.008Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T05:03:47.156Z"}
{"thread":"main","errno":"ENOENT","code":"ENOENT","syscall":"spawnSync wmic","path":"wmic","spawnargs":["os","get","Caption","/value"],"error":{"message":"spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)\n    at App.EventEmitter.emit (domain.js:469:20)\n    at App.emitter.emit (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\@sentry\\electron\\dist\\main\\integrations\\electron.js:56:20)"},"status":null,"signal":null,"output":null,"pid":0,"stdout":null,"stderr":null,"level":"warn","message":"Could not retrieve Windows edition.spawnSync wmic ENOENT","stack":"Error: spawnSync wmic ENOENT\n    at Object.spawnSync (internal/child_process.js:1018:20)\n    at spawnSync (child_process.js:621:24)\n    at Object.execFileSync (child_process.js:649:15)\n    at Object.func [as execFileSync] (electron/js2c/asar.js:155:31)\n    at identifyDevice (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:13210)\n    at Object.kGIhr (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14455)\n    at App.<anonymous> (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\main\\main.js:1:14602)\n    at App.emit (events.js:199:15)\n    at App.EventEmitter.emit (domain.js:469:20)\n    at App.emitter.emit (C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\@sentry\\electron\\dist\\main\\integrations\\electron.js:56:20)","timestamp":"2019-09-14T05:12:56.746Z"}
{"thread":"main","reason":{"message":"connect EBADF 142.93.187.111:443 - Local (undefined:undefined)","stack":"Error: connect EBADF 142.93.187.111:443 - Local (undefined:undefined)\n    at internalConnect (net.js:840:16)\n    at defaultTriggerAsyncIdScope (internal/async_hooks.js:288:19)\n    at GetAddrInfoReqWrap.emitLookup [as callback] (net.js:983:9)\n    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:63:10)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:12:57.191Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T05:14:15.601Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T05:14:15.640Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblog\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\varinderblog\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:14:15.827Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T05:14:15.885Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T05:14:15.886Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T05:14:15.968Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T05:14:16.026Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T05:14:16.110Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/5MORSM42G/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T05:14:16.288Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\5MORSM42G","level":"info","timestamp":"2019-09-14T05:14:59.610Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/5MORSM42G/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/5MORSM42G/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:14:59.684Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T05:15:00.593Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T05:15:00.760Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T05:28:46.517Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T05:28:46.528Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T05:28:48.360Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T05:28:48.360Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\bbdvlogs\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\bbdvlogs\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:28:48.369Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T05:28:48.396Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T05:28:48.487Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T05:28:48.570Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/4CNMeAgAk/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T05:28:48.784Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\4CNMeAgAk","level":"info","timestamp":"2019-09-14T05:28:55.557Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/4CNMeAgAk/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/4CNMeAgAk/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:28:55.670Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T05:28:56.472Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T05:28:56.614Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T05:30:47.522Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T05:30:47.532Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\iamji\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\iamji\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:30:47.716Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T05:30:47.952Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T05:30:47.953Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T05:30:47.974Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T05:30:48.016Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T05:30:48.119Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/zoavK3ubI/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T05:30:48.285Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\zoavK3ubI","level":"info","timestamp":"2019-09-14T05:30:52.597Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/zoavK3ubI/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/zoavK3ubI/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:30:52.675Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T05:30:53.473Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T05:30:53.611Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Creating site folders...","level":"info","timestamp":"2019-09-14T05:41:34.531Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Copying service config templates...","level":"info","timestamp":"2019-09-14T05:41:34.541Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2019-09-14T05:41:34.660Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding MySQL config...","level":"info","timestamp":"2019-09-14T05:41:34.660Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding PHP config...","level":"info","timestamp":"2019-09-14T05:41:34.676Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\iamji\\app\\public option get home\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\php-7.3.6\\php.exe C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\wp-cli\\wp-cli.phar --path=C:\\Users\\varinder\\Local Sites\\iamji\\app\\public option get home\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Socket.<anonymous> (internal/child_process.js:403:11)\n    at Socket.emit (events.js:194:13)\n    at Socket.EventEmitter.emit (domain.js:469:20)\n    at Pipe.<anonymous> (net.js:593:12)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:41:34.711Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Adding Nginx config...","level":"info","timestamp":"2019-09-14T05:41:34.736Z"}
{"thread":"main","class":"SiteProvisionerService","message":"Initializing MySQL datadir...","level":"info","timestamp":"2019-09-14T05:41:34.801Z"}
{"thread":"main","class":"SiteProvisionerService","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/GMGfH8Xhz/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)","level":"error","message":"Unable to provision site.","timestamp":"2019-09-14T05:41:34.868Z"}
{"thread":"main","class":"DeleteSiteService","message":"Deleting C:\\Users\\varinder\\AppData\\Roaming\\Local\\run\\GMGfH8Xhz","level":"info","timestamp":"2019-09-14T05:41:36.951Z"}
{"thread":"main","reason":{"message":"Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/GMGfH8Xhz/conf/mysql/my.cnf --initialize-insecure\n","stack":"Error: Command failed: C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\extraResources\\site-binaries-win32\\mysql-8.0.16\\bin\\mysqld.exe --defaults-file=C:/Users/varinder/AppData/Roaming/Local/run/GMGfH8Xhz/conf/mysql/my.cnf --initialize-insecure\n\n    at ChildProcess.exithandler (child_process.js:312:12)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2019-09-14T05:41:38.612Z"}
{"thread":"main","class":"HostsFileService","level":"info","message":"Updating hosts with","timestamp":"2019-09-14T05:41:39.397Z"}
{"thread":"main","class":"HostsFileService","error":{"message":"User did not grant permission.","stack":"Error: User did not grant permission.\n    at C:\\Users\\varinder\\AppData\\Local\\Programs\\Local\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n    at ChildProcess.exithandler (child_process.js:319:5)\n    at ChildProcess.emit (events.js:194:13)\n    at ChildProcess.EventEmitter.emit (domain.js:469:20)\n    at maybeClose (internal/child_process.js:998:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)"},"level":"error","message":"Could not update hosts.","timestamp":"2019-09-14T05:41:39.445Z"}

Thanks for the log file!

Please see my reply here: [Windows] Unable to provision site due to mysqld.exe error

Also, heads-up, I merged your topic with @olanrewaju’s.

1 Like

Thanks Clay. I reloaded a new window on my PC and then I run Local on it and it is operational now. I appreciate your support. Looking forward to communicating with you further.

IS there any problem in my window?

@varinder,

It looks like PHP and MySQL are failing to run based off of the log file you sent over.

Can you please try the steps here? [Windows] Unable to provision site due to mysqld.exe error

After doing that, please see my other reply in this topic: [Windows] Unable to provision site due to mysqld.exe error

i got this after run cmd :

Thanks for the screenshot! That’s very helpful.

It looks like the Microsoft Visual C++ Redistributable isn’t installed or may need to be repaired.

Here’s how:

  1. Close Local
  2. Download and run the following installers:

(The links above come from this page: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads)

  1. Re-open Local and try creating a site
1 Like

Thank you sir, it almost works now but I receive this error now

Great!

That issue is usually solvable with the steps here: Help! I'm running into an EPERM error with the hosts file on Windows

If the posts above doesn’t help, please go ahead and provide the log file one more time and we’ll see if it includes any new info regarding the hosts file.

Hi Sir , Right now i am using window defender as anti-virus and also i completed first step that you mentioned in the revert but the problem is still there .

the log file :

local-lightning.log (101.9 KB)

thanks, sir for your reverts everything is working fine.

Fantastic! Glad to hear.

Did you have to make any changes to the hosts file to fix the issue with updating the hosts file?

1 Like

No sir i just set path of the file name :- ( C:\Windows\System32\WindowsPowerShell\v1.0 )under >advanced system settings>System properties>advanced>Environment variables >System variable

1 Like

This is great, thanks for sharing! :smiley:

1 Like