0

I want to install Magento 2.4 so I followed the steps from devdocs.magento.com.

After running below command, Show successfully installed. bin/magento setup:install --base-url=http://www.mage2.test --db-host=localhost --db-name=mage2_dev --db-user=root --db-password=root --admin-firstname=admin --admin-lastname=admin [email protected] --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1

But when I run below command gives error as attached php bin/magento deploy:mode:set developer

enter image description here

when I am going to login to admin panel after using username and password, it is giving configure 2 factor authorization to proceed to admin area as per screenshot :

enter image description here

When I tried to uninstall 2 factor authorization with command bin/magento module:disable Magento_TwoFactorAuth, it is giving below error

enter image description here

Please help me.

Thanks in advance.

1 Answer 1

0

It usually happens when you have your instance in use, you can put the store in maintenance mode before do it.

bin/magento maintenance:enable \ && bin/magento module:disable Magento_TwoFactorAuth 
1
  • Thanks for your answer. I have tried your approach. Maintenance mode is enabled but still facing same issue to disable the module Magento_TwoFactorAuth. Commented Aug 10, 2020 at 4:26

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.