Reindexing issue in Magento via SSH

Support Forums Programming and Development Magento Reindexing issue in Magento via SSH

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Jeanne 7 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1159

    sharmilav
    Participant

    Magento reindexing through ssh is not working using php -f indexer.php — reindexall command?

    #1168

    Jeanne
    Keymaster

    Hi sharmila,

    Run the below php script in magento root folder for any error or else script will run without even timeout also.
    < ?php require_once('app/Mage.php'); umask(0); Mage::app(); error_reporting(E_ALL); ini_set('display_errors', 1); ini_set('max_execution_time', 172800); ini_set('memory_limit', 1024000000); echo "start"; $indexer = Mage::getModel('index/indexer')->getProcessByCode(‘catalog_url’);
    $indexer->reindexEverything();
    echo “end”;

Viewing 2 posts - 1 through 2 (of 2 total)

You must Login/Register to reply to this topic.