I was recently working on my wiki and I did a doku.php?do=check
I got the message "The search index is corrupted. It might produce wrong results and most probably needs to be rebuilt. See faq:searchindex for ways to rebuild the search index."
So I first tried the searchindex plugin, but it does not finish. The index is left only partially built and many pages do not appear in the search.
I tried SSH into the server and ran indexer.php -c from the CLI (as seen on
https://www.dokuwiki.org/cli ), but got a memory error. Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 1575766 bytes) in /home/star_army/stararmy/wiki/inc/indexer.php on line 1098
I then tried increasing the memory limit in PHP to 150 but it keeps happening.
My wiki is now broken and every 10 minutes some user is messaging me asking why they can't find the pages they need. Isn't there some better way for the indexer to work that doesn't suck up all the memory??