| GFXDude2010 added a comment. |
It is not immediately obvious how to install Redis for this scenario. For my setup, on CentOS 7, I had to do the following:
sudo yum install redis php70u-pecl-redis sudo systemctl start redis.service sudo systemctl enable redis.service
Then, per the Redis setup docs, I added the following to my LocalSettings.php.
https://www.mediawiki.org/wiki/Redis#Job_queue$wgJobTypeConf['default'] = [ 'class' => 'JobQueueRedis' , 'redisServer' => '127.0.0.1:6379' , 'redisConfig' => [] , 'claimTTL' => 3600 , 'daemonized' => true ];NOTE: The daemonized parameter is required, see: https://www.mediawiki.org/w/index.php?title=Topic:Ss9ues5n7gtctppm&topic_showPostId=tbv2820lgm06ipbo#flow-post-tbv2820lgm06ipbo
At this point I expected my setup to be functional again, however it was not. I now received errors when searching. Maybe I didn't give it long enough, but I waited a few minutes and restarted apache with no luck. Finally I just re-indexed per the CirrusSearch README: https://phabricator.wikimedia.org/diffusion/ECIR/browse/master/README
I have tested that pre-existing content as well as new content now searches as expected without any errors.
Cc: GFXDude2010, Zoglun, hoo, aude, Aklapper, GoranSMilovanovic, QZanden, EBjune, Avner, debt, Gehel, FloNight, Izno, Wikidata-bugs, jayvdb, Mbch331, jeremyb
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
