Hello, i’ve migrated my kinsta website into devkinsta for some dev reason and after the process i connect to the admin account from the original website and nothing show it says that my credentials are wrong but they are not, i’ve seen the account in the database so i don’t understand why that doesn’t work
Hello @ZenmonDrops and welcome to DevKinsta Community!
Is there a $ sign in your current password? There’s currently a bug that will be soon fixed that affects passwords that contain a $ sign. If this is the case, please simply change your password to the exact same password either via WP CLI or via Adminer.
In case are needed, these are the steps to change the password via Adminer:
Open your site in DevKinsta and click on the Database manager button
Click on the wp_users table (the wp_ part might change depending on your current table prefix)
Click on the top on Select Data and then on the pencil icon
On the user_pass field, type again your password and be sure to select MD5 from the dropdown
Click on Save
You should now be able to access the admin area of your local site without issues.
I think there might be an issue with the database. Are you familiar with the steps needed to create a new admin user via WP CLI? If not, I can guide you
Run this command: docker exec -u www-data -it devkinsta_fpm bash
Move to your site folder using cd public/sitename replace sitename with the name of your site
Run this command to add a new admin user: wp user create test test@yoursite.com --role=administrator --user_pass=password of course feel free to change the username (test) the email address (test@yoursite.com) and the password (password)
If everything (files and database, and all stuff) have been imported as is from MyKinsta to DevKinsta, the WP users and their passwords should remain the same in the local database.
I’m wondering if it’s a multisite WordPress perhaps? and if that so, when importing this WP multisite from your MyKinsta, did you choose the same/correct multisite type (Subdomain VS Subdirectory) that’s actually used on your Live WP multisite?
If that was not the case (and the WP multisite type was setup correctly), I’m wondering what if you set that new WP user (the “test” account you added before) with super-admin access.
So, please try do the following:
Open the application called Terminal
Run this command: docker exec -u www-data -it devkinsta_fpm bash
Move to your site folder with: cd public/sitename (replace sitename with the name of your site)
Run this command: wp super-admin add newusername (replace the newusername with the WP username you created previously).
Run this command, to make sure that the new WP user you created before is available in the database: wp user list | grep newusername
(replace the newusername with the WP username you created previously).
After that, please try to login with that new WP user and its password that you had setup previously. See if you will be able to login with it? if it’s still not working, maybe you can please also provide a screenshot of the wp-login page that shows your credential are wrong?
i suspect that a plugin is causing this issue but when i try to deactivate all with wp cli, i’ve a critical error and i don’t know how i can see which critical error is