Error message woocommerce plugin

this is an error message i get when I try to upload woocommerce plugin:
Local Router Error
Our apologies for the inconvenience. The Local router is not able to connect to the site you requested.

We suggest you try the following:

Restart Site - Go to the Local by Flywheel app and restart the site you are attempting to access.
Contact us - If the issue persists please contact us.

Hi @GeorgeC3

Do you still see this error if you restart the site? You can restart the site by right-clicking on the site in the sidebar and then going to “Restart”.

If the issue persists after restarting the site, can you provide the Apache/Nginx logs under the logs folder? Feel free to zip up and attach the logs folder and I can look into them.

– Ben

Hi Ben I tried again and got the error (32.8 KB)

HI @GeorgeC3 – In that log that you shared, I’m seeing a bunch of errors like this:

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'

I’m wondering if somehow MySQL isn’t running, or that some sort of permissions aren’t being set.

Can you connect to the site via SSH and see what ls gives you for that folder?

To do this, right click on the site and select “Open Site SSH”.

You should get a terminal where you want to execute:

ls -alh /var/run/mysqld/

For me, on a working Local site, this is what I get:

root@b3eae9b49ef1:/# ls -alh /var/run/mysqld/
total 12K
drwxr-xr-x 2 mysql root  4.0K Jan 10 17:53 .
drwxr-xr-x 5 root  root  4.0K Jan 10 17:53 ..
-rw-rw---- 1 mysql mysql    4 Jan 10 17:53
srwxrwxrwx 1 mysql mysql    0 Jan 10 17:53 mysqld.sock

Can you share what you have?

– Ben


Thanks for the log file!

Can you also please provide the logs in the site’s logs folder?