STEPS TO UPGRADE MAGENTO 2.1.x TO 2.2.3
1. bin/magento maintenance:enable -- Enable Maintance mode
2. Update composer.json on root
remove all "require" and add the following
"require": {
"magento/product-community-edition": "2.2.3",
"composer/composer": "@alpha"
}
3. run "composer update"
4. clear root/var/cache,
/page_cache,
/generation,
root/generation
5. sudo chmod -R 777 /var/www/html/your_project_name/ give full permission
6. run "bin/magento setup:upgrade"
7. run "bin/magento maintenance:disable"
In between these we may face 2 errors :
a. create a user with name "teachtech" or the name of user it is asking in error with full permission
b. connection code error code be found :
add connection instance as -
public function __construct(
...
\Magento\Framework\DB\Adapter\AdapterInterface $connection = null,
...
) {
...
}
where it is showing error
For further upgrades, change the version number:
সুরকারের জন্য ম্যাজেন্টো / পণ্য-সম্প্রদায়-সংস্করণ 2.2.x - কোনও আপডেট নেই
নির্দ্বিধায় প্রশ্ন জিজ্ঞাসা করুন