cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot downgrade 2.3.5 to 2.3.4

Cannot downgrade 2.3.5 to 2.3.4

Hello,

I've a problem while downgrading 2.3.5 to 2.3.4

 

$ php bin/magento setup:upgrade                                         
An abstract factory could not create an instance of magentoframeworkappdeploymentconfig(alias: Magento\Framework\App\DeploymentConfig)
.

Do you have an idea ?

 

Regards

 
 
 
1 REPLY 1

Re: Cannot downgrade 2.2.5 to 2.3.4

Hi @jonas_solutions 

Please try the below commands in the sequence.

composer require magento/product-community-edition 2.3.4 --no-update
composer update

Change the required version in above command.

Try the following command once:

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

You can use sudo as well.


Then try following commands once n sequence to re generations.

 

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

 I hope it will help you!