cancel
Showing results for 
Search instead for 
Did you mean: 

magento upgrade 2.4.0 to 2.4.2 issues and fresh magento version for 2.4.2 issuse

magento upgrade 2.4.0 to 2.4.2 issues and fresh magento version for 2.4.2 issuse

I am using  magento 2.4.0 version in magento 2. so i have upgrade for latestet version for magento 2.4.0 to 2.4.2. then after i have command run for step by step :-

step 1:- php version change for 7.4
step 2 :- php bin/magento maintenance:enable
step 3 :- composer require magento/product-community-edition 2.4.2 --no-update
step 4 :- composer update
step 5 :- rm -rf var/di var/generation
step 6 :- php bin/magento cache:flush
step 7 :- php bin/magento setup:upgrade
step 8 :- php bin/magento setup:di:compile

step 9 :- php bin/magento indexer:reindex
step 10:- php bin/magento maintenance:disable

then after i have terminal using check version for magento 2
php bin/magento --version
in this command version change but frontend and backend both are 404 error page and after i have fresh magento install for magento 2.4.2 but same issues for 404 error page .
so please find to solution