Here we are discussing Magento 2 version upgrade by using the command line.
For this, we need the ssh access and log in with the username-password and go to root directory and where Magento 2 is installed.
Then we need to run below commands one by one :
1 2 3 4 5 6 7 8 9 10 11 12 |
composer require magento/product-community-edition 2.3.4 --no-update composer update rm -rf var/di var/generation php bin/magento setup:upgrade php bin/magento setup:di:compile php -dmemory_limit=2G bin/magento setup:static-content:deploy php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento cache:clean |
Here It will get upgraded to 2.3.4 version of Magento 2, we can change this to the latest version and add apply that command in ssh
After apply commands we can check our Magento version with the following command:
php bin/magento –version
That’s it. After performing all above steps, Magento will get upgraded to latest version with the upgraded source.
[crayon-63d3edba38c52647773901/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.