cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to update Magento from 2.3.5 p1 to 2.4 but getting Invalid Argument Exception error

Trying to update Magento from 2.3.5 p1 to 2.4 but getting Invalid Argument Exception error

Hi, I need help upgrading my Magento version from 2.3.5 p1 to the latest. I'm using Composer version 1 and php version 7.3.

 

I get a message saying Killed when I run 

COMPOSER_MEMORY_LIMIT=-1 composer update

 

What should I do?

 

3 REPLIES 3

Re: Trying to update Magento from 2.3.5 p1 to 2.4 but getting Invalid Argument Exception error

you will need to update the composer plugin and composer before you can run this command

 

composer require magento/composer-root-update-plugin ~2.0 --no-update

composer update

Re: Trying to update Magento from 2.3.5 p1 to 2.4 but getting Invalid Argument Exception error

Hi @kanchi777k3aa3 

Please see the Magento system requirements for the 2.4x version 

https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.h...

Also follow the commands suggested by @abidmalikz80fe 

Magento2 upgrade process https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/implementation/perform-upg...

Thanks

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Trying to update Magento from 2.3.5 p1 to 2.4 but getting Invalid Argument Exception error

Thanks for the response. I'll try updating to 2.4.0 first. That requires composer 1 so what I have should be ok. But running composer update still says Killed.