• Skip to primary navigation
  • Skip to content
  • Skip to footer

RedChamps

RedChamps Blog

Main navigation

  • Magento 1 Extensions
  • Magento 2 Extensions
  • Visit Store

Magento 2.2 Upgrade Steps and Post-Upgrade Troubleshooting

Steps, Troubleshooting · September 27, 2017

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.

Steps:

  1. Navigate to your Magento2 installation root on shell
  2. 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

vendor/magento/module-catalog/Model/Indexer/Category/Product/AbstractAction.php

to

‘return false;’

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.

 

  • Facebook
  • Twitter
  • Google+

Filed Under: Steps, Troubleshooting

Rav

Founder and Magento Certified Developer at RedChamps

Footer

Follow Us ON

  • Facebook
  • Twitter
Copyright © 2025 • Powered by RedChamps