Last modified: 2012-04-16 09:16:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33867, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31867 - Installer fails on 1.18wmf1 (missing searchindex table)
Installer fails on 1.18wmf1 (missing searchindex table)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-21 22:19 UTC by Brion Vibber
Modified: 2012-04-16 09:16 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2011-10-21 22:19:44 UTC
Looks like somebody tried to get clever and prevent the 'searchindex' table from being created in 1.18wmf1... Unfortunately this breaks a fresh installation from this branch, which makes it harder to test things on the deployment branch.


Setting up database... done
Creating tables... done
Creating database user... done
Populating default interwiki table... done
Initializing statistics... done
Generating secret keys... done
Creating administrator user account... done
Creating main page with default content... failed
Information

Could not insert main page: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: REPLACE INTO `searchindex` (si_page,si_title,si_text) VALUES ('1','main page',' mediawiki hasu800 been successfully installed. consult theu800 user user\'su800 guide foru800 information onu800 using theu800 wiki software. getting started getting started getting started configuration settings list mediawiki faqu800 mediawiki release mailing list ') Function: SearchMySQL::update Error: 1146 Table 'eighteenwmf.searchindex' doesn't exist (localhost) #0 /var/www/1.18wmf1/includes/db/Database.php(814): DatabaseBase->reportQueryError('Table 'eighteen...', 1146, 'REPLACE INTO `s...', 'SearchMySQL::up...', false) #1 /var/www/1.18wmf1/includes/db/Database.php(2302): DatabaseBase->query('REPLACE INTO `s...', 'SearchMySQL::up...') #2 /var/www/1.18wmf1/includes/db/DatabaseMysql.php(258): DatabaseBase->nativeReplace('searchindex', Array, 'SearchMySQL::up...') #3 /var/www/1.18wmf1/includes/search/SearchMySQL.php(344): DatabaseMysql->replace('searchindex', Array, Array, 'SearchMySQL::up...') #4 /var/www/1.18wmf1/includes/search/SearchUpdate.php(111): SearchMySQL->update(1, 'main page', ' mediawiki has...') #5 /var/www/1.18wmf1/includes/GlobalFunctions.php(2933): SearchUpdate->doUpdate() #6 /var/www/1.18wmf1/includes/WikiPage.php(1279): wfDoUpdates() #7 [internal function]: WikiPage->doEdit(''''MediaWiki ha...', '', 1, false, Object(User)) #8 /var/www/1.18wmf1/includes/Article.php(1921): call_user_func_array(Array, Array) #9 /var/www/1.18wmf1/includes/installer/Installer.php(1494): Article->__call('doEdit', Array) #10 /var/www/1.18wmf1/includes/installer/Installer.php(1494): Article->doEdit(''''MediaWiki ha...', '', 1, false, Object(User)) #11 [internal function]: Installer->createMainpage(Object(MysqlInstaller)) #12 /var/www/1.18wmf1/includes/installer/Installer.php(1339): call_user_func(Array, Object(MysqlInstaller)) #13 /var/www/1.18wmf1/includes/installer/WebInstallerPage.php(1116): Installer->performInstallation(Array, Array) #14 /var/www/1.18wmf1/includes/installer/WebInstaller.php(254): WebInstaller_Install->execute() #15 /var/www/1.18wmf1/mw-config/index.php(50): WebInstaller->execute(Array) #16 /var/www/1.18wmf1/mw-config/index.php(18): wfInstallerMain() #17 {main}
Comment 1 Sam Reed (reedy) 2011-10-21 22:22:05 UTC
r99836
Comment 2 Sam Reed (reedy) 2011-10-21 22:28:30 UTC
r199467
Comment 3 Sam Reed (reedy) 2011-10-21 22:32:32 UTC
r100467, even and also r100469

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links