cancel
Showing results for 
Search instead for 
Did you mean: 

Shared hosted error cron job

Shared hosted error cron job

Hello!

I've installed Magento 2.2.2 on a shared hosting that has uses cPanel and i keep getting the following error: "One or more indexers are invalid. Make sure your Magento cron job is running."

I tried everything i could but nothing worked.

Thank you!

2 REPLIES 2

Re: Shared hosted error cron job

Re: Shared hosted error cron job

  1. Check the cron job configuration in cPanel.
  2. Verify cron job execution by adding a test command.
  3. Verify Magento cron configuration in app/etc/env.php.
  4. Manually run the cron job using php bin/magento cron:run.
  5. Check file permissions (644 for files, 755 for directories).
  6. Disable Magento cache temporarily with php bin/magento cache:disable.
  7. Contact your hosting provider for assistance if the issue persists.

I hope this helps!