I have recently upgraded Magento from 2.3 version to 2.4 version and it has been the upgraded, after upgrade the admin panel is breaking. Not loading properly. Can anyone please help me with solution.

  • 1
    Do you have browser console errors? If so, can you share them?
    – Akif
    Jan 18, 2022 at 12:15

3 Answers 3


run below command, You must need to add your admin locale.. like en_GB,en_AU

bin/magento setup:static-content:deploy en_US -f
  • why specific local en_us can't we run bin/magento setup:static-content:deploy -f Jan 18, 2022 at 7:04
  • Sometime frontend and admin locale not same so it's better to add locale in command. first run command ... tell me output ..if works then we discuss later Jan 18, 2022 at 7:28
  • no it's not working Jan 18, 2022 at 8:48
  • run below commands added in new answer Jan 18, 2022 at 9:22
  • what is your admin and frontend locale?? Jan 18, 2022 at 9:29

execute below commands

php bin/magento main:enable

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy -f

php bin/magento main:disable

Try run these commands in order:

php bin/magento setup:upgrade
php bin/magento s:d:c
php bin/magento s:s:d -f
php bin/magento i:rei
php bin/magento c:c

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.