What issue or error are you experiencing?
When I try to create a new site in Local 7.1.0 on Windows 10 Professional 22H2, I get the same error I got with the previous version:
The error doesn’t say precisely what’s wrong, though I suspect it’s either not finding the files it’s looking for or not able to run the commands.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
It seems to happen whenever I try to create a website (has for the last couple of versions).
System Details
- Local Version:
7.1.0 - Operating System (OS) and OS version:
Windows 10 Professional 22H2
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
I believe this is the relevant part of the log file, which goes back a looooooong way.
{"localVersion":"7.0.2+6395","osPlatform":"win32","osRelease":"10.0.19045","osArch":"ia32","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2023-07-10T23:20:57.066Z"}
{"localVersion":"7.0.2+6395","osPlatform":"win32","osRelease":"10.0.19045","osArch":"ia32","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2023-07-24T20:17:15.714Z"}
{"localVersion":"7.1.0+6396","osPlatform":"win32","osRelease":"10.0.19045","osArch":"ia32","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2023-07-24T20:19:58.777Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] %%resourcesPath%%\\lightning-services\\mariadb-10.4.10+4\\bin\\win32\\bin\\mysqld.exe (mysqld 10.4.10-MariaDB) starting as process 28372 ...","timestamp":"2023-07-24T20:32:30.338Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"InnoDB: using atomic writes.","timestamp":"2023-07-24T20:32:30.338Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions","timestamp":"2023-07-24T20:32:30.338Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Uses event mutexes","timestamp":"2023-07-24T20:32:30.339Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11","timestamp":"2023-07-24T20:32:30.339Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Number of pools: 1","timestamp":"2023-07-24T20:32:30.339Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Using SSE2 crc32 instructions","timestamp":"2023-07-24T20:32:30.339Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Initializing buffer pool, total size = 32M, instances = 1, chunk size = 32M","timestamp":"2023-07-24T20:32:30.340Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Completed initialization of buffer pool","timestamp":"2023-07-24T20:32:30.340Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Resizing redo log from 2*50331648 to 2*100663296 bytes; LSN=139836","timestamp":"2023-07-24T20:32:30.340Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Starting to delete and rewrite log files.","timestamp":"2023-07-24T20:32:30.446Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Setting log file .\\ib_logfile101 size to 100663296 bytes","timestamp":"2023-07-24T20:32:30.470Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Setting log file .\\ib_logfile1 size to 100663296 bytes","timestamp":"2023-07-24T20:32:30.471Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Renaming log file .\\ib_logfile101 to .\\ib_logfile0","timestamp":"2023-07-24T20:32:30.478Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: New log files created, LSN=139836","timestamp":"2023-07-24T20:32:30.485Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: 128 out of 128 rollback segments are active.","timestamp":"2023-07-24T20:32:30.488Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables","timestamp":"2023-07-24T20:32:30.489Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Setting file '.\\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...","timestamp":"2023-07-24T20:32:30.490Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: File '.\\ibtmp1' size is now 12 MB.","timestamp":"2023-07-24T20:32:30.490Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Waiting for purge to start","timestamp":"2023-07-24T20:32:30.492Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: 10.4.10 started; log sequence number 139836; transaction id 21","timestamp":"2023-07-24T20:32:30.556Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Loading buffer pool(s) from %%userDataPath%%\\run\\Nwe06eKRB\\mariadb\\data\\ib_buffer_pool","timestamp":"2023-07-24T20:32:30.557Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] Plugin 'FEEDBACK' is disabled.","timestamp":"2023-07-24T20:32:30.557Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] Server socket created on IP: '127.0.0.1'.","timestamp":"2023-07-24T20:32:30.562Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] InnoDB: Buffer pool(s) load completed at 230724 13:32:30","timestamp":"2023-07-24T20:32:30.565Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] Reading of all Master_info entries succeeded","timestamp":"2023-07-24T20:32:30.594Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] Added new Master_info '' to hash table","timestamp":"2023-07-24T20:32:30.594Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:30 0 [Note] %%resourcesPath%%\\lightning-services\\mariadb-10.4.10+4\\bin\\win32\\bin\\mysqld.exe: ready for connections.","timestamp":"2023-07-24T20:32:30.595Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"Version: '10.4.10-MariaDB' socket: '' port: 10028 mariadb.org binary distribution","timestamp":"2023-07-24T20:32:30.595Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:31 9 [Warning] Access denied for user 'root'@'localhost' (using password: NO)","timestamp":"2023-07-24T20:32:31.346Z"}
{"thread":"main","class":"Process","process":"mariadb","level":"warn","message":"2023-07-24 13:32:31 10 [Warning] Access denied for user 'root'@'localhost' (using password: NO)","timestamp":"2023-07-24T20:32:31.466Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%\\lightning-services\\mariadb-10.4.10+4\\bin\\win32\\bin\\mysql.exe --password= -e ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';\nERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)\r\n\n at ChildProcess.exithandler (node:child_process:407:12)\n at ChildProcess.emit (node:events:527:28)\n at ChildProcess.emit (node:domain:475:12)\n at maybeClose (node:internal/child_process:1092:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)","level":"error","message":"Error setting up MySQL user","timestamp":"2023-07-24T20:32:31.471Z"}
{"thread":"main","class":"WordPressInstaller","stack":"Error: Error: Command failed: \"%%resourcesPath%%\\lightning-services\\php-8.1.9+8\\bin\\win64\\php.exe\" \"%%resourcesPath%%\\bin\\wp-cli\\wp-cli.phar\" --path=\"C:\\Users\\salli\\Local Sites\\hurqalya\\app\\public\" --require=\"%%resourcesPath%%\\bin\\wp-cli\\local-wpcli-error-reporting.php\" --skip-plugins --skip-themes \"core\" \"config\" --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts\n\n at WordPressInstaller.<anonymous> (%%appPath%%\\main\\sites\\wp\\WordPressInstaller.js:1:9735)\n at Generator.throw (<anonymous>)\n at o (%%appPath%%\\main\\sites\\wp\\WordPressInstaller.js:1:793)\n at process.processTicksAndRejections (node:internal/process/task_queues:96:5)","level":"error","message":"Error installing WordPress","timestamp":"2023-07-24T20:32:50.242Z"}
{"thread":"main","reason":{},"p":{},"eventId":"87a35533f0674ae0ae80b4fc39efde3f","level":"warn","message":"Unhandled Rejection.","timestamp":"2023-07-24T20:34:22.287Z"}
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.