Uh-Oh! Unable to start / provision site

Hi @zongyuan

As far as factory resetting I wouldn’t go that far yet since we aren’t even sure what is causing the conflict.

Could you share a fresh copy of your Local logs here? That way we can compare them and I’ll see if one of our Devs can take a look. Retrieving Local’s Log File

local-logs.zip (4.2 KB)
I uninstalled and reinstalled Local, then tried to start a site. The same error messages appeared.

I attached the local log to this reply.

If it is of any use to this issue, I use a VPN most of the time (a necessary measure to use non-Chinese systems in China). I’ve tried running local and starting a site after turning my VPN off and restarting my device, but still to no avail. I get the same error messages.

I don’t think the VPN or connection is an issue it seems like something within your machine is creating the issue here but I can ask our devs to take a look at your recent log and see if anything else stands out.

@zongyuan Thanks for your perseverance and for sharing your logs with us.

The logs suggest that MySQL is not able to write to disk:

"message":"2024-08-29T01:11:26.299984Z 0 [Warning] [MY-010091] [Server] 
Can't create test file %%userDataPath%%\\run\\DEfGoZvrW\\mysql\\data\\???
SLATE.lower-test"
"message":"2024-08-29T01:11:27.738176Z 0 [ERROR] [MY-010092] [Server] Can't 
start server: can't create PID file: No such file or directory"
"message":"2024-08-29T01:11:27.738172Z 0 [ERROR] [MY-013129] [Server] A
 message intended for a client cannot be sent there as no client-session is  
attached. Therefore, we're sending the information to the error-log instead: MY- 
000001 - Can't create/write to file 
'%%userDataPath%%\\run\\DEfGoZvrW\\mysql\\data\\???SLATE.pid' (OS errno 2 - 
No such file or directory)"

Possible causes for these include:

  1. Insufficient permissions for the user running the MySQL service.
  2. Anti-virus software blocking file creation.
  3. Disk space issues.
  4. Corrupted or inaccessible file system.

You could:

  1. Check that you’re running your Windows account as an admin user. As well as checking the linked article, one thing you can try is to:
    • Quit Local.
    • Right-click Local’s application icon (for example, in the start menu) and choose “run as administrator”.
    • Try creating a site.
  2. Double-check that you have no other software installed that could restrict applications from running, such as built-in or third-party antivirus or security software.
  3. Confirm you have free disk space.
  4. Check that your Windows user folder is short and contains only ASCII characters. If it contains non-ASCII characters, you could try creating a Windows user account with only ASCII characters and running Local under that account.
1 Like