Magento 2 Admin is far better than Magento 1 with a better layout and organized user interface. However, there are possibilities of some issues due to which Magento 2 admin panel doesn’t work! ?
The backend administration not working is a common issue faced by admins. However, not common enough to be ignored! Here, I’ll discuss some of the common issues and their solution.
The result of installing or updating
You may get an error message after installing a new extension, upgrading one or applying Magento 2 core or an extension patch. The solution is to flush the Magento 2 cache via the command line. Run the below commands for the solution:1234php bin/magento cache:cleanrm -rf var/cache/*rm -rf var/generation/*rm -rf generated/* (for magento 2.2.x)
- The compilation hasn’t been started.It is necessary to restart the compilation when a new extension is installed in a production mode. If you forget it, the backend as well as frontend won’t work :(The solution is to reset the production mode again via the command line. Run the below command to check if the production mode is activated:If the current application mode is production, run1php bin/magento deploy:mode:showto set the mode once again and reset everything from the start.1<strong>php bin/magento deploy:mode:set production</strong>
- An incorrect Admin URL
It may happen that you are trying to access the backend with incorrect URL. Check the correct URL for admin panel via command line with the below command.1php bin/magento info:adminuri
- The compilation hasn’t been started.It is necessary to restart the compilation when a new extension is installed in a production mode. If you forget it, the backend as well as frontend won’t work :(The solution is to reset the production mode again via the command line. Run the below command to check if the production mode is activated:
- The permission role is not set correctly
To solve this issue, reset the permission role of your administrator from Admin Panel> Systems> Permission> User Roles.
- Backend not working when you upgrade or migrate your Magento
In this case, the ‘Not Found’ message is displayed on the frontend when you try to access a page.
One quick solution to the Magento 2 Backend not working is to run the below SQL query:123456SET FOREIGN_KEY_CHECKS=0;UPDATE `store` SET store_id = 0 WHERE code='admin';UPDATE `store_group` SET group_id = 0 WHERE name='Default';UPDATE `store_website` SET website_id = 0 WHERE code='admin';UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';SET FOREIGN_KEY_CHECKS=1;
After reading this post, you’ll never get stuck with the problematic admin panel ?
If you have found your solution, please rate the post with 5 stars to get such useful tutorials going on ?
Get Weekly Updates
Never miss Magento tips, tricks, tutorials, and news.
Thank you for subscribing.
Something went wrong.