Log in

View Full Version : searchindex fails after upgrade to 5.1.3


awmian
09-23-2014, 02:56 PM
Hi All,

We are testing upgrade, the whole process went smooth, after upgrade when we try to rebuild search indexes, It throws following error.

root@vb5 core]# php -f searchindex.php
Please enter the path to your vBulletin directory (default ): /var/www/html
PHP Warning: require_once(./global.php): failed to open stream: No such file or directory in /var/www/html/core/searchindex.php on line 104
PHP Fatal error: require_once(): Failed opening required './global.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/core/searchindex.php on line 104

Will much appreciate any help.

Thanks

AWM

Lynne
09-23-2014, 04:38 PM
When it asks for the path to your vbulletin directory, try entering /var/www/html/core (with /core on the end).

Zachery
09-23-2014, 04:47 PM
WHat did you upgrade from? Are you trying to use the sphinx search from vBulletin 4?

awmian
09-25-2014, 08:04 AM
We are upgrading from version 4.1.3 to 5.1.3, when we ask for path we did give /var/www/html/core it comes back nothing to command prompt.

any more help ?

Thanks,

--------------- Added 1411637894 at 1411637894 ---------------

We have 2.5 million posts to index, will appreciate any help ..

Zachery
09-25-2014, 04:07 PM
There is a different set of requirements for sphinx on vBuletin 5, please read the included documentation in the vBulletin do_not_upload folder.

awmian
09-26-2014, 08:15 AM
have followed the same instructions under do_not_upload folder for sphinx, sphinx is up and running but still can not search forum, comes back with blank page.

Mark.B
09-26-2014, 12:00 PM
That'll probably be an error of some sort...you need to check the server error logs and find out what the error is, then post it up.

awmian
09-29-2014, 07:53 AM
Hi,

Many thanks for you help, after not much of luck with command line search rebuild, i ran search index rebuild through admincp, after 48hrs rebuild, search is working fine.

Thanks for your help.