Lost password

So, it has been a while since I used local and normally I save all my passwords but cannot find the passwords for the local staging sites. I looked at one reference that runs in terminal wp user list but that doesn’t work for the local installs. I went to the local sites folder but there is no config file. How do i reset or find the local site password for the WP admin? FYI, I logged into local through GitHub and am on A Mac OS Sequoia Silicon

Hey @jefferis

In terminal you should also be able to create a new user with a command like this:

wp user create username email@email.com --role=administrator --user_pass=PASSWORD

That might be the easiest way to get back in.

the problem is that the terminal is not seeing or using the path to the website in local

Since you haven’t used Local in a long time you might try a full uninstall/reinstall to start fresh. Here are some steps I shared in another thread that will walk you through saving your work and getting the uninstall/reinstall done correctly.

Solved my problem. I just turned on Onne-Click-Admin and was able to get into my sites. I had saved my passwords to local itself.

1 Like

Great catch @jefferis! I’m sorry for almost sending you down a longer troubleshooting path. Thank you for following up and sharing :slight_smile:

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