Closed
Bug 464851
Opened 16 years ago
Closed 16 years ago
Manually trigger search indexing on support-stage
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
0.7.3
People
(Reporter: nkoth, Assigned: chizu)
References
()
Details
(Whiteboard: sumo_only)
1. Execute /webroot/scripts/sphinx/indexer.php from the shell command line, e.g. php indexer.php 2. Execute /webroot/scripts/sphinx/indexer-forums.php from the shell command line, e.g. php indexer.php 3. Execute as the webserver user, this: /usr/local/sphinx/bin/indexer --all --rotate Report any errors to this bug.
Reporter | ||
Comment 1•16 years ago
|
||
(In reply to comment #0) > 1. Execute /webroot/scripts/sphinx/indexer.php from the shell command line, > e.g. php indexer.php > > 2. Execute /webroot/scripts/sphinx/indexer-forums.php from the shell command > line, e.g. php indexer.php obviously, the e.g. should be "php indexer-forums.php" > > 3. Execute as the webserver user, this: /usr/local/sphinx/bin/indexer --all > --rotate > > Report any errors to this bug.
Reporter | ||
Comment 2•16 years ago
|
||
Upping to major - blocking testing and development.
Severity: normal → major
Reporter | ||
Updated•16 years ago
|
Target Milestone: --- → 0.7.3
Comment 3•16 years ago
|
||
-bash-3.2$ cd /data/www/support-stage.mozilla.com/scripts/sphinx/ -bash-3.2$ php indexer.php PHP Warning: require_once(tiki-setup.php): failed to open stream: No such file or directory in /data/www/support-stage.mozilla.com/scripts/sphinx/indexer.php on line 68 PHP Fatal error: require_once(): Failed opening required 'tiki-setup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /data/www/support-stage.mozilla.com/scripts/sphinx/indexer.php on line 68
Reporter | ||
Comment 4•16 years ago
|
||
could you try running this from the /data/www/support-stage.mozilla.com/webroot folder? something like php ../scripts/sphinx/indexer.php That should work. However, if that does not work, is it possible to add /data/www/support-stage.mozilla.com/webroot to the php include path in php.ini? http://us3.php.net/manual/en/ini.core.php#ini.include-path But this is not a preferred solution if the first simply works.
From the webroot, it can't the db config. [root@mrapp-stage02 webroot]# php ../scripts/sphinx/indexer.php <b style="color:red;">local.php not found.</b><br /><br />Please run <a href=tiki-install.php>tiki-install.php</a> [root@mrapp-stage02 webroot]# ls db/local.php db/local.php
Reporter | ||
Comment 6•16 years ago
|
||
I have added two scripts via r20230/r20231 that you should run. The process is now: 1. Execute "php manual_index.php" in webroot/ from the shell command line, 2. Execute "php manual_index_forums.php" in webroot/ from the shell command line, 3. Execute as the webserver user, this: /usr/local/sphinx/bin/indexer --all --rotate
Comment 7•16 years ago
|
||
Trevor, the code freeze for 0.7.3 was supposed to happen tonight; could you take a look at this asap please? Thanks!
Scripts run and index rotated without error.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 9•16 years ago
|
||
Verified FIXED; http://support-stage.mozilla.org/tiki-newsearch.php?locale=en&q=folder&where=all&l=en&filter_lang=0&author=&filter_author=0&en_too=&type=0&answered=0&lastmodif=0 is returning results for Admins now.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•