Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
Search is very slow after version upgrade
I've upgraded my dokuwiki on Ubuntu 14.04 "Detritus" to "Release 2018-04-22a "Greebo"" recently.
During the upgrade, I also had to upgrade PHP version to "5.6.36-1+ubuntu14.04.1+deb.sury.org+1".
The only problem I have left after the upgrade is that the search is VERY slow: It takes about 15 seconds to bring search results, before the upgrade, this was instantaneous . The wiki is also quite small, around 1000 pages.
I've tried the possible solutions on FAQs/forums such as rebuilding the index but nothing seems to help.
What I also noticed is that an apache process reaches 100% for as long as the search runs and ends right after the results are displayed. I know that's the process that's slowing things down but I don't know how to troubleshoot at this point and would welcome any recommendations!
Had the exact same problem on Ubuntu 16.04 with Sury's php repo.
The problem was in fact missing php-xml package, which is called php5.6-xml.
This was solved with "apt install php5.6-xml" and restarting apache. In case you are usign php-fpm, restart that.
the complete PHP 5.6 support ends on 31 Dec 2018
You should consider an update to 7.2.
Global DokuWiki Links