Upgrade Does Not Open

Issue Summary

I clicked the upgrade button on Local, the new version downloaded, but then it wouldn’t launch. Sometimes the icon bounced like it was opening but it did nothing. Sometimes it just gave me a quit or reopen dialogue.

I tried throwing away the new one and downgrading back to 6.6 but now the router won’t start and there is nothing running on port 80.

Troubleshooting Questions

I can’t do anything with local, it won’t launch.

Replication

Upgraded from 6.6 to 6.7.

System Details

Local 6.6, 6.7
Apple Silicon
MacOS Monterey

Logs relevant to today:

{“details”:{“device_info”:{“platform”:“darwin”,“release”:“21.3.0”,“arch”:“arm64”,“totalmem”:17179869184},“local_info”:{“version”:“6.6.1+6281”,“loaded_addons”:[],“lightning_services”:{“mailhog”:{“1.0.0”:{“name”:“mailhog”,“label”:“MailHog”,“version”:“1.0.0”,“binVersion”:“1.0.0”,“registered”:true,“platform”:“darwin”}},“mysql”:{“8.0.16”:{“name”:“mysql”,“label”:“MySQL”,“version”:“8.0.16”,“binVersion”:“8.0.16”,“registered”:true,“platform”:“darwin”}},“nginx”:{“1.16.0”:{“name”:“nginx”,“label”:“nginx”,“version”:“1.16.0”,“binVersion”:“1.16.0”,“registered”:true,“platform”:“darwin”}},“php”:{“8.1.9”:{“name”:“php”,“label”:“PHP”,“version”:“8.1.9”,“binVersion”:“8.1.9”,“registered”:true,“platform”:“darwin-arm64”}}}}}}

{“localVersion”:“6.6.1+6281”,“osPlatform”:“darwin”,“osRelease”:“21.3.0”,“osArch”:“arm64”,“windowsEdition”:null,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-03-23T05:45:01.270Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“rosetta error: /var/db/oah/279281327407104_279281327407104/38ac23419edbcf416dbb04661242662297c87fd8737b4b97626f0e41688c3bfa/mysqld.aot: attachment of code signature supplement failed: 1”,“timestamp”:“2023-03-23T05:45:16.347Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“stack”:“Error: Command failed: %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqladmin ping\nrosetta error: /var/db/oah/279281327407104_279281327407104/8fcc58d3f2b56ca5574bcaf29e9b8a25bced9e36a9c38d8efe5e72c7b53f7e34/mysqladmin.aot: attachment of code signature supplement failed: 1\n\n at ChildProcess.exithandler (node:child_process:407:12)\n at ChildProcess.emit (node:events:527:28)\n at ChildProcess.emit (node:domain:475:12)\n at maybeClose (node:internal/child_process:1092:16)\n at Socket. (node:internal/child_process:451:11)\n at Socket.emit (node:events:527:28)\n at Socket.emit (node:domain:475:12)\n at Pipe. (node:net:709:12)”,“level”:“error”,“message”:“Database did NOT respond to ping after 15 tries.”,“timestamp”:“2023-03-23T05:45:22.269Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“level”:“warn”,“message”:“rosetta error: /var/db/oah/279281327407104_279281327407104/cf91779c13c31b07208008fe78d43ab99ccaf1c69e95765937e20ecbef1c27de/nginx.aot: attachment of code signature supplement failed: 1”,“timestamp”:“2023-03-23T05:45:26.193Z”}

Now it is asking me to “update” to v6.4 from v6.6.

I would really like to avoid having to clean delete the whole thing as setting up our local for our multiple WP Engine installs is not a fun experience.

@ngarcia Are you able to manually download and update your Local? You can go to the releases page and download the version you need and then follow your prompts: Releases - Local

After that, you might try a full-machine reboot as well.

Are you running any other developer applications as well like MAMP or XAMPP?

I am not running any other web servers.

Here is what I did, and it seems to be working again:

  1. update MacOS Monterey + Xcode (I wasn’t brave enough to tempt fate with Ventura ha)
  2. Update Chrome
  3. Download the manual install of 6.7 for Silicon and install that.

I will say that the release page can be hard to find to get the right version sometimes, as I had to do that a couple of times yesterday to downgrade/upgrade. The default takes you to the wizard landing, but I needed to make sure I was getting the right one.

2 Likes

I also did find this in a back window, it seems the original crashing after the auto-upgrade was due to rosetta errors. So in case it helps anyone:

Incident Identifier: DAE939E9-29E6-4600-80B7-DBC8284E74F7
CrashReporter Key: 5D32F5B8-D542-A023-3787-E8E231EBECA4
Hardware Model: MacBookPro17,1
Process: Local [22546]
Path: /Applications/Local.app/Contents/MacOS/Local
Identifier: com.getflywheel.lightning.local
Version: 6.6.0 (6.6.0.20221208.3)
Code Type: X86-64 (Native)
Role: Default
Parent Process: launchd [1]
Coalition: com.getflywheel.lightning.local [4672]

Date/Time: 2023-03-22 22:36:43.8343 -0700
Launch Time: 2023-03-22 22:36:43.8215 -0700
OS Version: macOS 12.2.1 (21D62)
Release Type: User
Report Version: 104

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7ffca1af8
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [22546]

Triggered by Thread: 0

Application Specific Information:
rosetta error: /var/db/oah/279281327407104_279281327407104/fb2595ebbd32ca76eeac11b17525a741a10b18eb69813e9996512937672615f3/Local.aot: attachment of code signature supplement failed: 1

2 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.