Upgrade magento2 version

You can upgrade your Magento version directly from 2.1.a to 2.1.x by below following command

You can follow this for same semantic series.

$composer require magento/product-community-edition 2.1.7 –no-update
(pass required update version number)

$composer update

Remove below directory
$rm -rf var/di var/generation

Run below commands
$php bin/magento cache:flush
$php bin/magento setup:upgrade
$php bin/magento setup:di:compile
$php bin/magento indexer:reindex

You can also check from here : Devdocs


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s