I have to redo a magento website from 2.1 CE to 2.3 CE. There are few orders with total sales of 230$. what is better to create from scratch and migrate customers and orders? or is there a way by applying patch?
You can upgrade your Magento 2.2.1 to 2.3. You can refer: upgrade magento 2.1.13 to 2.3.0
Hope it helps you!
I have used this link to upgrade from Magento 2.2 to 2.3.
To upgrade Magento version 2.3.3 use below commands.
composer require magento/product-community-edition 2.3.3 --no-update composer update rm -rf var/di var/generation php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento cache:clean chmod -R 777 var/ pub/ generated/ php bin/magento indexer:reindex
Magento 2.3 Supported PHP versions.
~7.1.3 ~7.2.0 ~7.3.0
After upgrade, check your Magento version using below command.
php bin/magento --version
Hope this will help.