fbpx

Magento

How to upgrade from Magento 2.x to the latest Magento 2.x

by , , revisited on


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

Few simple commands to update Your Magento 2.2.x to latest 2.3.x:

composer require magento/product-community-edition 2.3.4 --no-update
composer update 
rm -rf var/cache/* var/page_cache/* generated/code/*
php bin/magento setup:upgrade
n98-magerun2 cache:flush

Upgrading to a security patch update

clearmage2 --safe-dist-upgrade

Learn more about clearmage2.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: