0

I have a Magento CE 2.1 site. Products are not showing up until after a manual index is run.

Index is set to run on schedule. Cron is running

*/1 * * * * php -f /path/to/Magento2.1CE/bin/magento cron:run  &> /dev/null
*/1 * * * * php -f /path/to/Magento2.1CE/update/cron.php &> /dev/null
*/1 * * * * php -f /path/to//Magento2.1CE/bin/magento setup:cron:run &> /dev/null

Tested it this way

php -f /path/to/Magento2.1CE/bin/magento cron:run

Ran jobs by schedule.
1

Khoa started me on this answer:

This is a shared server from Nexcess and I am under the impression there is multiple versions of PHP running.

The indexing started to work when I switched to

/opt/nexcess/php56u/root/usr/bin/php

Which I easily found like this

$ which php
/opt/nexcess/php56u/root/usr/bin/php

Indexing is working fine now.

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.