I’m running an Intel machine right now (waiting on the MacBook Pro M2 version) so for me the darwin
version is correct.
I’m running M1 MacBook Air for reference.
I’ve made a couple of alias and scripts in my bash profile to quickly open a site in the shell with Terminal app.
Yes, that’s one major difference in our setups. I was surprised to see that you also got the Open Site error now with Local 6.5.1 when you didn’t have it before.
@afragen and @austinwendt
I made one last attempt to delete and re-download all the services (apache, mysql and php) in the lightning-services folder. But I did a big mistake this time to open an existing site and not to create a new site as I usually do. So the existing site stalled and crashed during provisioning and then the site was just blank in the Local app after re-starting. See below for the error messages that was displayed in a dialog after the site crashed and then after re-starting the Local app. I managed to delete the site by control click in the sidebar and then installed the site again by creating a new site and import the database backup and files. And all of a sudden I can use Open shell script again in Local app both for the crashed site and all my other around 20 sites. I have no idea what happened and why Open shell script works again. I remember this site also stalled when re-download php services after updating to macOS Ventura så maybe a corrupt preference file somewhere?
Uh-oh! Unable to swap services.
Error: Command failed: /Users/emmtre/Library/Application Support/Local/ lightning-services/mysql-5.7.28+4/bin/darwin/bin/mysqld--defaults-file=/ Users/emmtre/Library/Application Support/Local/run/M6nzofBLY/conf/mysql/ my.cnf --initialize-insecure
2022-11-02T21:28:04.726420Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-11-02T21:28:04.726905Z 0 [ERROR] Can't find error-message file ' usr/local/mysql/share/errmsg.sys'. Check error-message file location and 'Ic-messages-dir' configuration directive.
2022-11-02T21:28:04.727593Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
2022-11-02T21:28:04.727614Z O [ERROR] Aborting
at ChildProcess.exithandler (child_process.js:317:12)
at ChildProcess.emit (events.is:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Socket,<anonvmous> (internal/child process.is:439:11)
at Socket.emit (events.js:315:20)
at Pipe. <anonymous> (net.js:673:12)
Uh-oh! Local ran into an error.
TypeError: Cannot read property 'name' of undefined
Stack Trace: In _ in ul in Unknown in div in div in Unknown in A in e in o in Unknown in e in div in o in Unknown in div in c in e in o in Unknown in e in I in div in y in Unknown in e in o in Unknown in e in L in withRouter(L) in t in MobXProvider in Unknown
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.