Hi, I am encountering an issue with LocalWP on Manjaro Linux . When attempting to create a new site, the process gets stuck at the ‘provisioning site’ step for approximately 15 minutes and eventually results in an error. The specific error message indicates that the database did not respond to ping after 15 tries.
28/1/2024, 1:57:16 am [error] [main] undefined: Database did NOT respond to ping after 15 tries. -- {"service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqladmin ping\n\u0007mysqladmin: connect to server at 'localhost' failed\nerror: 'Can't connect to local MySQL server through socket '%%site.runData%%/mysql/mysqld.sock' (2)'\nCheck that mysqld is running and that the socket: '%%site.runData%%/mysql/mysqld.sock' exists!\n\n at ChildProcess.exithandler (node:child_process:430:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"}
28/1/2024, 1:57:16 am [error] [main] SiteProcessManagerService: Unable to start site. -- {"stack":"Error: Command failed: %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqladmin ping\n\u0007mysqladmin: connect to server at 'localhost' failed\nerror: 'Can't connect to local MySQL server through socket '%%site.runData%%/mysql/mysqld.sock' (2)'\nCheck that mysqld is running and that the socket: '%%site.runData%%/mysql/mysqld.sock' exists!\n\n at ChildProcess.exithandler (node:child_process:430:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"}
based on this i can understand that localwp tried to ping mysql db several times but ended up with no response. But i checked it out, mysql works normally for me , yet it didnt give response to the application. I spent hours searching for a way to fix my problem, but i didnt come up with a solution. It would be really great if you could help me out
System Details
-
Local Version:
Local v 8.2.0 -
Operating System (OS) and OS version:
Linux Manjaro (latest)
Local Logs
local-lightning.log (216.1 KB)
local-lightning-verbose.log (326.5 KB)