Showing results for 
Search instead for 
Did you mean: 

Admin panel 404

Admin panel 404

After di:compile i get "There was no 404 CMS page configured or found." for admin panel


What i done tried: 


1. i already di:compile everything


sudo rm -rf var/di             
sudo rm -rf var/cache/*
sudo rm -rf var/generation/*
sudo rm -rf var/view_preprocessed/*
sudo rm -rf generated/*
sudo rm -rf pub/static/*

sudo bin/magento indexer:reindex
sudo bin/magento-cli setup:di:compile
sudo bin/magento-cli setup:static-content:deploy -f 
sudo bin/magento-cli cache:flush


2. i set right permisions to files


3. i checked if url is right


4. i check my symlinks apache config 


5. checked if there any errors in logs


6. checked if .htaccess exist 


7. switch to developer mode and back to production


8. checked if mod rewrite is enabled