AnsweredAssumed Answered

Elastic search indexing only new records

Question asked by Marco Pierobon on Jun 25, 2015
Latest reply on Jun 25, 2015 by KarenV KarenV
I'm configuring Elastic Search on an on premise instance.
Cron has been set up with the string found under the Scheduler menu
*    *    *    *    *     cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1

The entities to be searched have been selected and the indexing has been activated through the button Schedule System Index.
The connection test confirms there is no connection problem.

Executing sudo grep CRON /var/log/syslog shows no problem in the logs:
               

Jun 25 10:39:01 crm CRON[9864]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))

 

Jun 25 10:39:01 crm CRON[9865]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:40:01 crm CRON[9881]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:41:01 crm CRON[9887]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:42:01 crm CRON[9890]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:43:01 crm CRON[9892]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:44:01 crm CRON[9894]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

 

Jun 25 10:45:01 crm CRON[9899]: (root) CMD (cd /var/www/html/crm; php -f cron.php > /dev/null 2>&1 )

When I create a new record it is indexed, but still, old records are not being indexed.

Why?


Outcomes