Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running setup-local-wp gives an incorrect success message if the database already exists #16

Closed
roryashfordbentley opened this issue Sep 15, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@roryashfordbentley
Copy link
Member

If you have already migrated a database locally and you run dep setup-local-wp you get a message similar to this:

=========================================================================
WordPress has successfully been installed. Here are your login details:
Username:       xxx
Password:       xxxxxx
Email address:  xxx@xxx.co.uk
Log in at:      https://xxx.local/wordpress/wp-admin
=========================================================================

Hover the above message is innacurate because the username and password above dont actually get setup instead Packer appears to use the previously defined user account credentials and doent create the above account. In my isntance the account created already existed so perhaps that narrows it down a little.

@roryashfordbentley roryashfordbentley added the bug Something isn't working label Sep 15, 2021
@DrizzlyOwl
Copy link
Contributor

This has already been considered for the next release and is patched in the master branch
https://github.com/Mixd/PackerWP/blob/master/config/tasks/wp.php#L26-L39

Issue to be closed at next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants