How to Reindex Magento 2 from the Admin Without SSH

What Magento 2 indexers do, when "Reindex required" needs action, and how to rebuild indexes from the command line or from the admin panel.

How to Reindex Magento 2 from the Admin Without SSH

When a Magento 2 index shows "Reindex required", the usual fix is php bin/magento indexer:reindex on the command line. That is a problem when you don't have SSH access, your hosting doesn't allow it, or the person who notices the problem is a store manager rather than a developer. This guide explains what indexers do, when you need to reindex, and how to do it from the admin panel.

What Magento indexers do

Magento keeps fast, pre-calculated copies of data such as product prices, category products, stock and search terms. These are the indexes. When you change a product, price or category, the matching index has to be rebuilt before the storefront shows the change correctly. You can see every indexer in System > Index Management.

Status and mode, explained

Status or modeMeaning
ReadyThe index is up to date.
Reindex requiredData has changed since the last rebuild. Rebuild it now, or wait for cron if the mode is Update by Schedule.
ProcessingA rebuild is running (started by cron or the command line).
Update on SaveThe index rebuilds whenever related data is saved.
Update by ScheduleThe index rebuilds through a cron job.

Most production stores use Update by Schedule, which depends on cron. If cron is not running, or you need a change live straight away, indexes can stay out of date.

When you need to reindex

  • After a product import or a large price change, when the storefront still shows old prices or products.
  • When new products don't appear in their category or in search.
  • When the admin shows "One or more indexers are invalid".
  • After installing an extension whose instructions ask for a reindex.

Option 1: the command line

With SSH access, run from the Magento root:

php bin/magento indexer:reindex

or name a single indexer, for example php bin/magento indexer:reindex catalog_product_price. Check the result with php bin/magento indexer:status.

Option 2: reindex from the admin

Magento's Index Management grid only lets you change the mode; it has no reindex button. Our free Reindex from Admin extension adds one, inside the same grid:

  1. Go to System > Index Management.
  2. Click Reindex in the row of the indexer you want to rebuild, or tick several indexers and choose Reindex from the Actions dropdown.
  3. Confirm the prompt and wait for the page to reload.

A message shows which indexers were rebuilt and which failed. If one fails, the rest still run, and the error is written to the Magento log. You can limit who may reindex with its own permission in System > Permissions > User Roles. The user guide walks through each screen.

A note for large catalogs

A reindex from the admin runs in your browser request, so the page waits until it finishes. On large catalogs, indexers such as Catalog Product Price or full-text search can take a while. Run them at a quiet time, and keep cron running so scheduled indexing does most of the work.

If indexes keep going out of date

Indexes that are always "Reindex required" usually mean cron isn't running. Reindexing by hand fixes the symptom; fixing cron fixes the cause. If you would like us to check your cron and indexing setup, get in touch.

Keep reading.

More guides from the Magexweb blog.

All articles

Rather we handle it?

Upgrades, security patches and platform moves are what we do every day. Tell us what your site needs, and we will reply with questions and next steps.

  • Email info@magexweb.com
  • Phone +91 99092 71288
  • Hours Mon–Fri, 10:00 AM to 8:00 PM IST
  • Office D-1002, Jasmin Green 1, Near Vaishnodevi Circle, Ahmedabad 382421, India

  • Free consultation
  • NDA available
  • Reply by email