Last modified: 2014-08-14 13:32:09 UTC
I noticed that my wiki (1.22.5) does not update the elasticsearch (1.1.1) index. I now have to run cd /var/www/wiki/extensions/CirrusSearch/maintenance php updateSearchIndexConfig.php --startOver php forceSearchIndex.php --forceUpdate so that the search is up to date. Is this a known bug in the old 1.22 version? I am on the "latest" version of CirrusSearch from February. The newer versions are only for mw-"master" :-(.
Bleh. Its not a known bug, no. You should be safe to take the 1.22 branch. The last time I backported things to it was when I did 1.0 support. I'll backport master to it soon but I'm travelling the next two weeks. I'll find time in there to do it though. Are you, perchance, not running jobs?
(In reply to Nik Everett from comment #1) > Are you, perchance, not running jobs? That'd be my guess. I can't replicate and haven't had this problem before. Please feel free to reopen if you can replicate and it's not a job issue. If you don't have runJobs running in any sort of cron have a look at https://www.mediawiki.org/wiki/Manual:$wgJobRunRate to adjust how often jobs are run in the browser.
No, I am not running jobs. I will try Chad's suggestion. Thank you both. And I will also update all wikis to 1.23.0 next week as it was finally released last week. Hope CirrusSearch will still work ;-) Thank you guys...
ok, your were right: maintenance/runJobs.php did the job! Ir ran for about 30 seconds with lots of "cirrusSearchLinksUpdate" stuff. Now the index is up to date :-) But why doesn't CirrusSearch do it itself? I have no "jobs" running, is there a good way to fix this?
This did the magic in LocalSettings.php $wgRunJobsAsync = false;