Last modified: 2014-04-15 13:53:02 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 T65482, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63482 - Error on installation
Error on installation
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-03 13:24 UTC by Jeroen De Dauw
Modified: 2014-04-15 13:53 UTC (History)
3 users (show)

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


Attachments

Description Jeroen De Dauw 2014-04-03 13:24:09 UTC
I am getting the followng error on fresh installation of Wikibase Query. Error comming from Repo (which was not installed before).

Modifying term_row_id field of table wb_terms ...A database query error has occurred.
Query: ALTER TABLE /*:*/wb_terms
 MODIFY term_row_id BIGINT unsigned NOT NULL auto_increment

Function: DatabaseBase::sourceFile( /home/j/www/phase3/extensions/WikibaseQuery/extensions/Wikibase/repo/includes/store/sql/../../../sql/MakeRowIDsBig.sql )
Error: 1146 Table 'mw_dev.wb_terms' doesn't exist (localhost)

PHP Notice:  Uncommitted DB writes (transaction from DatabaseUpdater::doUpdates). in /home/j/www/phase3/includes/db/Database.php on line 4131
PHP Stack trace:
PHP   1. {main}() /home/j/www/phase3/maintenance/update.php:0
PHP   2. require_once() /home/j/www/phase3/maintenance/update.php:194
PHP   3. DatabaseBase->__destruct() /home/j/www/phase3/includes/db/Database.php:0
PHP   4. trigger_error() /home/j/www/phase3/includes/db/Database.php:4131

Notice: Uncommitted DB writes (transaction from DatabaseUpdater::doUpdates). in /home/j/www/phase3/includes/db/Database.php on line 4131

Call Stack:
    0.0003     277624   1. {main}() /home/j/www/phase3/maintenance/update.php:0
    0.0014     584608   2. require_once('/home/j/www/phase3/maintenance/doMaintenance.php') /home/j/www/phase3/maintenance/update.php:194
    1.7189   19505664   3. DatabaseBase->__destruct() /home/j/www/phase3/includes/db/Database.php:0
    1.7189   19505848   4. trigger_error() /home/j/www/phase3/includes/db/Database.php:4131
Comment 1 Daniel Kinzler 2014-04-03 13:28:37 UTC
Did you run update.php after installing wikibase (without) query, or did you try to run update.php for wikibase + wikibasequery at once?
Comment 2 Daniel Kinzler 2014-04-03 13:31:27 UTC
Hm, looks like MakeRowIDsBig.sql has /*:*/ instead of /*_*/, which causes an error if you are using table prefixes. Will fix.
Comment 3 Gerrit Notification Bot 2014-04-03 13:39:14 UTC
Change 123637 had a related patch set uploaded by Daniel Kinzler:
(bug 63482) Fix table prefix in MakeRowIDsBig.sql

https://gerrit.wikimedia.org/r/123637
Comment 4 Gerrit Notification Bot 2014-04-03 15:05:23 UTC
Change 123637 merged by Jeroen De Dauw:
(bug 63482) Fix table prefix in MakeRowIDsBig.sql

https://gerrit.wikimedia.org/r/123637

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


Navigation
Links