We are facing a problem with Magento 2.3 in indexers we tried a lot to fix it without any solution

You could see from the next screenshot that Reindex Required enter image description here

We tried to edit our Cron job to fix the problem without any solution, below screenshot from our cron job enter image description here

Could anyone help us in this issue, considering that we are using cpanel and don't have any access on SSH, we are using Magento 2.3, and we using php 7.2

Thank you in advance

  • could you see update.cron.log,setup.cron.log, indexer.cron.log and magento.cron.log in your /var/log folder ? – Pawan Dec 2 '18 at 2:54

You could try using the sample cron setup from the official doc page with three cron jobs running, no need for the additional indexer:reindex as it's already part of cron:run.

Make sure they're scheduled to run every minute. If the interval is longer, e.g. every five minutes, the indexer scripts will be missed and a ‘One or more indexers are invalid‘ message will appear in the admin area.

* * * * * /usr/bin/php /var/www/html/magento2/bin/magento cron:run | grep -v Ran jobs by schedule >> /var/www/html/magento2/var/log/magento.cron.log
* * * * * /usr/bin/php /var/www/html/magento2/update/cron.php >> /var/www/html/magento2/var/log/update.cron.log
* * * * * /usr/bin/php /var/www/html/magento2/bin/magento setup:cron:run >> /var/www/html/magento2/var/log/setup.cron.log

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.