Hey Magento Folks!
Today, we upgraded our store to Magento 2.2.0 version from 2.1.9. We are sharing steps and fixes of post-upgrade issues.
- Navigate to your Magento2 installation root on shell
- Execute commands
- [If you are using community version] composer require magento/product-community-edition 2.2.0 –no-update
[If you are using enterprise version] composer require magento/product-enterprise-edition 2.2.0 –no-update
- composer update
- rm -R var/
- php bin/magento s:up
- php bin/magento s:s:d
- php bin/magento s:di:compile
Post upgrade issue:
After the completion of the upgrade process, we noticed that our category pages are not showing any products. We performed re-indexation via shell but that didn’t help.
So we changed
Line# 20 of file
reindexed indexes using command php indexer:reindex
and then reverted the change in that file. This fixed the problem for us. This is not a great solution but temporarily worked for us. We are investigating it further and share the reason and fix here and with Magento team.