Cannot import Site

What issue or error are you experiencing?

Migrating from Mac Intel(MacOS 10.15.7) to Apple silicon. I get an error can’t provision site.

{“class”:“SiteProvisionerService”,“level”:“error”,“message”:“Unable to provision site.”,“stack”:“Error: spawn Unknown system error -86\n at ChildProcess.spawn (node:internal/child_process:414:11)\n at spawn (node:child_process:776:9)\n at execFile (node:child_process:351:17)\n at t. (node:electron/js2c/node_init:2:2610)\n at %%appPath%%/main/_helpers/execFilePromise.js:1:583\n at new Promise ()\n at Object. (%%appPath%%/main/_helpers/execFilePromise.js:1:534)\n at Generator.next ()\n at %%appPath%%/main/_helpers/execFilePromise.js:1:330\n at new Promise ()”,“thread”:“main”,“timestamp”:“2024-11-13T02:19:51.687Z”}


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Exported to zip from Local on old machine, moved file to Apple Silicon machine and error occurs on import.


System Details

  • Local Version: 9.0.1

  • Operating System (OS) and OS version: Maching trying to import on MacOS 15.0.1

  • PHP: 8.1.23

  • MySQL: 8.0.16

  • Wordpress: 6.4.2

  • using Apache webserver
    local-details.json (1.1 KB)
    local-lightning-verbose0.log (66.9 KB)


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


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.

Hi @wcouturiaux

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:

softwareupdate --install-rosetta

Others have found this doc to be helpful:

Is this true even for the local version for Apple Silicon?

Yes. You’ll need both the Apple Silicon version and Rosetta installed separately. We’re getting close to removing this dependency but for now it is required.

1 Like