I'm attempting to use drush to index the remaining portions of my site using the site-index command.
However, drush does not seem to move.
Here is the output:
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
Remaining items to be indexed: 23379 [ok]
And so on without ever processing a single item.
Comments
Comment #1
moshe weitzman commenteddoes it work from the gui? this used to happen when you have a future dated node/user/whatever
Comment #2
sifuhall commentedthe GUI returns an error, so it looks like this issue is with drupal core and not drush.
Comment #3
j0rd commentedI have it working through cron UI, but not Drush. Same problem as above with latest stable Drush & Drupal 6.x
The timezone on my local machine and dev machine differ, but on the dev machine, I've done a
Not too sure where else to look. I've tried disabling suspicious modules which implement hook_cron as well to no avail.
Looks like it could be related to:
#880554: search-index never completes, but admin/settings/search shows site as 100% indexed, but I don't have realname module installed.
Also perhaps this
#652894: search index does not update search_total
Comment #4
j0rd commentedFor me it appears the problem was a custom "domain access" type module, which was using $_SERVER['SERVER_NAME'] and performing redirects off the results. When using `drush` SERVER_NAME is not set and this was causing some redirects.
Comment #5
kenorb commentedThe same problem.
I don't have realname or domain modules.
But I've search, search_api, apachesolr and apachesolr_views modules.
Comment #6
kenorb commentedDuplicated of: #1824510: Fail if search-index gets into an infinite loop
Related: #880554: search-index never completes, but admin/settings/search shows site as 100% indexed
Comment #7
kenorb commented