Local MacOS Error Spawn

I have a different error which has not been seen here in the thread (see screenshots).

Here are the steps of what I have done so far. I’m using a Mac M1 Max running macOS Sonoma 14.5:

  • updated Local to v9.2.4 (I don’t know the version before, but I was several versions)
  • after the update Local was very slow, so I searched and found this thread
  • I check the Local.app and found out it was the Intel version
  • replaced the Local.app with the arm version manually as described in this thread
  • After restarting Local it tries to re-download something (I think it was a PHP 8.2.xx version) but during the download the error like in the screenshot appeared.
  • I also changed the router config file as described in this thread but it didn’t change anything.
  • Now this error keeps popping up as soon if I try to start a project or create a new one (see second screenshot).

I really hope you can help, since I have to continue on some customer projects! Logs are attached.

local-lightning.log.zip (31.5 KB)

Here is another symptom. When I click a project the WordPress version retrieval takes very long and then prints an error message. It seems just replacing the Intel app with the Arm app is not enough on my side. It seems loading Image Magic is throwing an error here.

(I put the whole error message in a code block to not print a huge wall of text here.)

Warning: PHP Startup: Unable to load dynamic library '/Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so' (tried: /Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so (dlopen(/Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so, 0x0009): tried: '/Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so' (no such file), '/Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))), /Users/distiller/project/php/8.2.27/bin/darwin-arm64/lib/php/extensions/no-debug-non-zts-20220829//Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so.so (dlopen(/Users/distiller/project/php/8.2.27/bin/darwin-arm64/lib/php/extensions/no-debug-non-zts-20220829//Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so.so, 0x0009): tried: '/Users/distiller/project/php/8.2.27/bin/darwin-arm64/lib/php/extensions/no-debug-non-zts-20220829//Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/distiller/project/php/8.2.27/bin/darwin-arm64/lib/php/extensions/no-debug-non-zts-20220829//Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so.so' (no such file), '/Users/distiller/project/php/8.2.27/bin/darwin-arm64/lib/php/extensions/no-debug-non-zts-20220829//Users/reneaye/Library/Application Support/Local/lightning-services/php-8.2.23+0/bin/darwin/lib/php/extensions/no-debug-non-zts-20220829/imagick.so.so' (no such file))) in Unknown on line 06.8.1

Hi @reneaye

I moved your comments to their own post here since they aren’t specific to the slowness issues in the other thread.

In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?

  • Export any sites that you have on Local and save them to a folder somewhere on your computer: Backup a Local Site - Local

  • Fully uninstall Local from your computer with the MacOS specific steps here: Uninstall Local - Local

  • Install the latest Apple Silicon version of Local on this link: Releases - Local

  • Once installed, please restart the computer.

  • 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: Retrieve Local’s Log File - Local