# Duplicating or creating from blueprint doesn't work

**URL:** <https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239>\
**Category:** Support\
**Tags:** mac\
**Created:** [October 27, 2024, 2:27pm UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239 "2024-10-27T14:27:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrankS](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/franks/32/22507_2.png) [@FrankS](https://community.localwp.com/u/FrankS)\
**Post date:** [October 27, 2024, 2:27pm UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239/1 "2024-10-27T14:27:17Z")

</div>

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](https://community.localwp.com/uploads/short-url/xRp26Wh27n5Prhkc9e4vSdHrMtO.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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [October 28, 2024, 1:31pm UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239/2 "2024-10-28T13:31:49Z")

</div>

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.

> [@Unable to provision site - using blueprint](https://community.localwp.com/t/unable-to-provision-site-using-blueprint/41982/20):
>
> Solved for me: I had the same error as shown in the screenshots whenever trying to clone (did not use a blueprint) and my Users/username/ Library/Application Support/Local/run/RANDOM\_STRING/conf folder was empty each time. I downgraded all the way to 8.2.0 and nothing worked. Then I toggled the PHP version of my site I was cloning from from PHP 8.0 to 8.2 and cloning worked again! Re-upgraded to Local 9.0 and it still worked!

---

<div class="post-metadata">

**Author:** ![FrankS](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/franks/32/22507_2.png) [@FrankS](https://community.localwp.com/u/FrankS)\
**Post date:** [October 28, 2024, 6:52pm UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239/3 "2024-10-28T18:52:26Z")

</div>

Thanks a million, that solved the problem!

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [October 28, 2024, 7:21pm UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239/4 "2024-10-28T19:21:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [October 30, 2024, 7:22am UTC](https://community.localwp.com/t/duplicating-or-creating-from-blueprint-doesnt-work/45239/5 "2024-10-30T07:22:22Z")

</div>

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