Issue Summary
I am getting an error when I choose “Site Domain” instead of localhost when running NGINX, using Windows 11:
Error: EPERM: operation not permitted, rmdir
‘C:\Users..\AppData\Roaming\Local\run\router\nginx\conf\includes’
Full permissions are set for my user (and all users).
Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
All sites.
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Same thing.
Replication
Change Local Preferences >> Advanced >> Router Mode to “Site Domains”. Running NGINX, PHP 8, MySQL 8 (all PHP versions and MySQL versions do this.
System Details
- Which version of Local is being used?
Local 6.4.2+
- What Operating System (OS) and OS version is being used?
Windows 11 Home
- Attach the Local Log. See this Help Doc for instructions on how to do so:
Done.
local-lightning.log (176.9 KB)
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.