Last modified: 2014-09-25 12:25:52 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 T53518, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51518 - update.php fails
update.php fails
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-17 10:19 UTC by Daniel Kinzler
Modified: 2014-09-25 12:25 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2013-07-17 10:19:52 UTC
Apparently, update.php tried to create the changes table / indexes even if they already exist, which causes a fatal error. 

--------------
Creating wb_changes table ...A database query syntax error has occurred.
The last attempted database query was:
"CREATE INDEX wb_changes_change_type ON `wb_changes` (change_type)
"
from within function "DatabaseBase::sourceFile( /var/www/daniel/wikidata/extensions/Wikibase/repo/sql/changes.sql )".
Database returned error "1061: Duplicate key name 'wb_changes_change_type' (localhost)"
Comment 1 Daniel Kinzler 2013-07-17 10:21:02 UTC
On the next run, the same happens for wb_changes_dispatch:


...wb_changes table already exists.
Creating wb_changes_dispatch table ...A database query syntax error has occurred.
The last attempted database query was:
"CREATE INDEX wb_changes_dispatch_chd_seen ON `wb_changes_dispatch` (chd_seen)
"
from within function "DatabaseBase::sourceFile( /var/www/daniel/wikidata/extensions/Wikibase/repo/sql/changes_dispatch.sql )".
Database returned error "1061: Duplicate key name 'wb_changes_dispatch_chd_seen' (localhost)"
Comment 2 Lydia Pintscher 2014-09-25 12:25:52 UTC
I assume this is fixed by now.

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


Navigation
Links