Last modified: 2013-10-07 17:30:47 UTC
1. Here are 2 mistakes, one in the directory name and one in the file name! php maintenance/updateSearchConfig.php --> php extensions/CirrusSearch/updateSearchIndexConfig.php 2. Here just the wrong path is written in the README php maintenance/forceSearchIndex.php --> php extensions/CirrusSearch/forceSearchIndex.php
Change 87578 had a related patch set uploaded by Chad: Move maintenance scripts out of top level https://gerrit.wikimedia.org/r/87578
Great, thank you. One more thing: I would suggest to mention in the README that one now needs "Extension: Elastica" for CirrusSearch to work.
Change 87578 merged by jenkins-bot: Move maintenance scripts out of top level https://gerrit.wikimedia.org/r/87578
(In reply to comment #2) > One more thing: I would suggest to mention in the README that one now needs > "Extension: Elastica" for CirrusSearch to work. Also done: https://gerrit.wikimedia.org/r/#/c/87614/ Thanks for the bug report!
Perfect! Thank YOU for the fast fixing...
Since the move to the maintenance folder the .php file does not work anymore: root@alpha /var/www/wiki/extensions/CirrusSearch # php ./maintenance/updateSearchIndexConfig.php PHP Warning: require_once(/var/www/wiki/extensions/CirrusSearch/maintenance/../../maintenance/Maintenance.php): failed to open stream: No such file or directory in /var/www/wiki/extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php on line 25 PHP Fatal error: require_once(): Failed opening required '/var/www/wiki/extensions/CirrusSearch/maintenance/../../maintenance/Maintenance.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wiki/extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php on line 25
Merged this: https://gerrit.wikimedia.org/r/#/c/88127/ which should fix the paths. Part of the problem with this is that mw developers tend to check out extensions in another tree and symlink them into the mediawiki tree. In that case those paths are relative to the symlink which isn't helpful. So we always set MW_INSTALL_PATH. So this doesn't get checked as much as it should.
(In reply to comment #7) > Merged this: https://gerrit.wikimedia.org/r/#/c/88127/ which should fix the > paths. > > Part of the problem with this is that mw developers tend to check out > extensions in another tree and symlink them into the mediawiki tree. In that > case those paths are relative to the symlink which isn't helpful. So we > always > set MW_INSTALL_PATH. So this doesn't get checked as much as it should. Actually it was just me cutting corners and not testing ;-)
:-) thank you again Nik and Chad. Now I only have to wait until i can "git pull" the changes. Up to now the changes are not in "master" but I will just wait until tomorrow. Keep up the GREAT WORK!
keyler, where are you pulling from? They are certainly in master on Gerrit here: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CirrusSearch
git clone https://git.wikimedia.org/git/mediawiki/extensions/CirrusSearch.git
and this pops up when I try your path: git clone https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CirrusSearch Cloning into 'CirrusSearch'... fatal: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CirrusSearch/info/refs not valid: is this a git repository?
This is the clone command I use: git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch
Download works now. Thank you. PS: my bad: it was already up to date, just did not realize it.... OUPPPPS :-(