Duplicating or creating from blueprint doesn't work

creating a site from a blueprint or duplicating a site results in this error:
Uh-oh! Unable to provision site.
Error: Error: Command failed: /Users/frank/Library/Application Support/Local/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld --defaults-file=/Users/frank/Library/Application Support/Local/run/tcuOiguWM/conf/mysql/my.cnf --initialize-insecure
mysqld: [ERROR] Failed to open required defaults file: /Users/frank/Library/Application Support/Local/run/tcuOiguWM/conf/mysql/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!

at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)


System Details

Local Version 9.1.0+6719

MacOs Sequia 15.0.1

Local Logs

local-lightning.log (6.9 KB)


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.

Hey @FrankS! Can you check if the PHP version is at least 8.2? I believe we have a bug around this with 8.0.

Thanks a million, that solved the problem!

1 Like

Glad to hear it @FrankS! Thank you for following up :green_heart:

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