Unable to provision site under Windows

I’m seeing a few errors in the log that look like this:

{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [alert] could not open error log file: CreateFile() \"%%userDataPath%%\\run\\BVvPH4pnw\\nginx/logs/error.log\" failed (3: The system cannot find the path specified)","timestamp":"2021-08-20T09:20:21.771Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"2021/08/20 11:20:21 [emerg] 544#3200: CreateFile() \"%%userDataPath%%\\run\\BVvPH4pnw\\conf\\nginx\\nginx.conf\" failed (2: The system cannot find the file specified)","timestamp":"2021-08-20T09:20:21.808Z"}

Note that this part of the error essentially means that Local can’t find that file/folder for some reason:

The system cannot find the path specified

You mention not being able to create any new site – do you have existing sites that still work?

I think that maybe Local’s configuration has become corrupted, and you might want to:

  1. Backup any sites that you currently have and stop Local.

  2. Delete Local’s configuration folder which should clear up anything that’s wrong with those “run” folders. Here’s a help doc that goes over the details of removing (uninstalling) Local’s configuration folder:

  3. Delete any of the Site files that exist in the “Local Sites” folder.

  4. Restart Local and try creating a new site.

Can you give that a try and let us know if that allows you to create new sites?