Last modified: 2012-10-31 15:15:47 UTC
The indexing on the wiki for CUs at WMF seems non-functional in more recent times. Would someone please check to see if there is an issue.
Indexing of private wikis relies on the following script (on searchidx2): /home/rainman/scripts/search-import-db Which uses dumpBackup.php to dump wikis: mwdir=/home/wikipedia/common/php/ cd $mwdir && php maintenance/dumpBackup.php \ $dbname \ --current --quiet \ --server=$slave > $dumpfile However, currently this produces an error: No MWMultiVersion instance initialized! MWScript.php wrapper not used? Can someone please fix this, so that dumpBackup.php works on searchidx2?
It needs a simple change per http://wikitech.wikimedia.org/view/Hetdeploy#Run_a_maintenance_script_on_a_wiki.
You can run this on fenari for the time being with mwscript dumpBackup.php $dbname --current --quiet --server=$server > $dumpfile And then import it locally Or, just use /home/wikipedia/common/bin/mwscript dumpBackup.php $dbname --current --quiet --server=$server > $dumpfile on searchidx2 I think one of the wikimedia shell packages puts it into /usr/local/bin/mwscript etc...
Neither works on searchidx2. ./search-import-db: line 21: /home/wikipedia/common/bin/mwscript: No such file or directory
Drop the common reedy@searchidx2:/home/wikipedia/bin$ ls -al mwscript -rwxrwxr-x 1 aaron wikidev 215 2011-09-16 19:19 mwscript
Ah good, seems to work now, thanks!
It's now not working on the steward wiki, also a private wiki. Could someone take a look at it please? Thanks in advance. :)
Oops, I guess I made a mistake. My bad...
It's not properly working on the checkuser wiki again - and I'm not sure about if it's working correctly on other private wikis as the steward wiki either. Please help.
in a recent upgrade of this system, filesystem permissions ended up in a broken state. I have fixed the issues and am running the various jobs that were affected, including indexing of private wikis, by hand. This should complete within a couple of hours (logs are looking normal). I am going to close this now, but if there are any future issues, please let me know.