cancel
Showing results for 
Search instead for 
Did you mean: 

Magento on Google Cloud Platform. Admin account has been disabled

Magento on Google Cloud Platform. Admin account has been disabled

I am using Magento on Google Cloud Platform. The admin account has been disabled. I am not able to use the application. Please could anybody help me unlock and change the password of the admin

5 REPLIES 5

Re: Magento on Google Cloud Platform. Admin account has been disabled

Hi @isbm,

 

Run below command from your root directory using SSH.

php bin/magento admin:user:unlock ADMINUSERNAME

(or)

Run below query from your database to update admin account password.

UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxxNewPassword', 256), ':xxxxxxxx:1') WHERE username = 'admin';


Thank You!

Prema M

Re: Magento on Google Cloud Platform. Admin account has been disabled

Can you tell me where to run this command. I found GCP Shell is this where I can run this command if yes how

Re: Magento on Google Cloud Platform. Admin account has been disabled

hey,

 

in GCP ssh shell you need to sudo as magento server user and go to the magento folder to run this command.

 

Anton Pachkine @ magento2.hosting : Magento Small Business Package.

Re: Magento on Google Cloud Platform. Admin account has been disabled

I am sorry for too many questions.

I am inside the SHELL logged in under the project what is the command to find the Magento folder

Re: Magento on Google Cloud Platform. Admin account has been disabled

 
 
.
sorry I would like to help but I'm in the same  situation