1

Magento just released new versions of Magento Commerce and Open Source to increase product security, performance, and functionality. One of it is the Magento Commerce and Open Source 2.3.1.

My question is, how to update Magento 2.3.0 to the latest version 2.3.1 in cloud using command line?

0

In your composer.json file change version to two place

"version": "2.3.1"

"magento/magento-cloud-metapackage": "2.3.1"

Run below command in local environment

composer update 

Deploy below two files to your cloud it will upgrade to latest version 2.3.1

composer.json  
composer.lock
  • update composer or composer update ? – hweb87 Apr 10 at 12:01
  • Yes composer update, it's my mistake – Prashant Valanda Apr 10 at 12:02
  • I have posted my errors – hweb87 Apr 10 at 12:05
  • you can upgrade magento using same, you do not need to push any file skip this step – Prashant Valanda Apr 10 at 14:00
  • without update how can I push, I need first update my magento – hweb87 Apr 11 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.