Unable to open any sites using a specific theme. Had no issues two days ago but now all sites using that theme report a ‘502 Bad Gateway - nginx/1.16.0’ error. I’ve done several reboots, dumped Local and reinstalled, and tried to install site via .Zip. Only occurs on work machine, site works no problem on personal computer.
Steps to reproduce
Pull site using specific theme and try to view.
Environment Info
WP-CLI: WP-CLI 2.9.0
Composer: 2.6.2 2023-09-03
PHP: 8.2.10
MySQL: mysql Ver 8.0.16 for macos10.14 on x86_64 (MySQL Community Server - GPL)
Describe your environment.
What Operating System are you using?
MacOS 14.3 (Sonoma)
What version of Local is installed?
Version 8.2.0+6554
Supporting info
Please provide your Local Log. See this Community Forum post for instructions on how to do so:
When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).
Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File
Ah good call out. You likely need Rosetta installed on your work machine. Rosetta 2 is required for Local’s Apple Silicon build due to the Nginx and MySQL Lighting Services compiled on the Intel architecture. We do plan to have a Local release out in the future that will drop this dependency but for now it is necessary.
You can install Rosetta by opening up a terminal window and using this command:
Thank you for the update! I’m glad you were able to get things going. So far we haven’t seen any other widespread issues with the Apple Silicon version as long as users install Rosetta 2 but we will keep watch. Our team is hard at work at getting a native release out soon that will remove that dependency.