Topic on Extension talk:CirrusSearch

UpdateSearchIndexConfig.php finishes running almost immediately

3
Summary by MyWikis-JeffreyWang

Turn on error reporting

MyWikis-JeffreyWang (talkcontribs)

I seem to continue having trouble with UpdateSearchIndexConfig.php, so I tried running it with the --startOver flag once. After this happened, I tried running UpdateSearchIndexConfig.php with and without this flag, and all I am getting now is this:

$ php /var/www/mediawiki/w/extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php

indexing namespaces...

And then the script finishes executing 0.1 seconds after this is printed out. What's the reason behind this early termination? I have errors turned on, so there isn't anything coming from.

Per what other people have done, I'm using Elasticsearch 6.8. (Please don't tell me to use 6.5.4, I've seen people using 6.8 and it works, I just don't know why it's so difficult to set it up on AWS Elasticsearch as opposed to a self-hosted solution.)

Ciencia Al Poder (talkcontribs)

Enable PHP error reporting. It looks like the script is finishing with an error, but error reporting is disabled and no error message is printed at all.

MyWikis-JeffreyWang (talkcontribs)

Hmm, I already said "I have errors turned on", but I guess you knew I didn't. Appreciate the reminder. There are so many moving parts to this, it's hard to even set up a simple MVP of it.