- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento on Google Cloud Platform. Admin account has been disabled
