Uh-oh! Unable to provision site

error

Having issues creating a new site with my wordpress login.
Get the following error message. Please see picture.

Same for me on a Mac. OS X El Capitan (10.11.6)

Since today I have the same issue.

Local Lightning 5.0.7 and OSX Catalina.

Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/site-binaries/mysql-8.0.15/bin/mysql --default-character-set=utf8 -A --skip-column-names -e SET names ‘utf8’; use local; source /Users/username/Documents/Websites/test/app/sql/local.wp_cf_forms.sql;

ERROR 1062 (23000) at line 4 in file: ‘/Users/username/Documents/Websites/test/app/sql/local.wp_cf_forms.sql’: Duplicate entry ‘1’ for key ‘PRIMARY’

Hey @Paul-Marcel, sorry that our FAQ is a little out of date. Local beta versions are compatible with El Capitan anymore. You would need to either update to at least Mac OS 10.13 to use it. Otherwise, you might try installing Local by Flywheel for now but we aren’t making any updates to that version.

Here’s the link to version 3.3.0 - Local by Flywheel 3.3.0

@soldier99, it looks like there is an issue with the local.wp_cf_forms.sql file.

You might try pulling that from the folder, zipping it up and importing it again. You’ll probably need to look at the SQL syntax to see if there is an issue with the Primary key in that table.

Hey @gustafssonadam! Thanks for jumping into Local. We’ll see what we can figure out here.

What version of Local and what Operating system are you running there?

Can you please provide your local-by-flywheel.log file?

See this Community Forum post for instructions on how to do so > How do I retrieve Local’s Log?

Hi,
Nope, not working. I deleted all cf_forms related tables but no I see this error when trying to import to Local Lightning
34 !

This same site is imported well and without the issues in Local by Flywheel

If you take a look around your support forum you’ll see that there are already a dozen or more similar issues that have been reported during the last couple of weeks both for Windows and Mac. Therefore it seems that there is something wrong with the Local lightning.