Page MenuHomePhabricator

UsageTrackerException from line 130 of SqlUsageTracker.php
Closed, ResolvedPublic1 Estimated Story Points

Description

/w/index.php?title=Template:Authority_control_properties&action=submit Wikibase\Client\Usage\UsageTrackerException from line 130 of /srv/mediawiki/php-1.26wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/Usage/Sql/SqlUsageTracker.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Function: Wikibase\Client\Usage\Sql\UsageTableUpdater::touchUsageForPage
#0 /srv/mediawiki/php-1.26wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/store/UsageUpdater.php(81): Wikibase\Client\Usage\Sql\SqlUsageTracker->trackUsedEntities()
#1 /srv/mediawiki/php-1.26wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/Hooks/DataUpdateHookHandlers.php(130): Wikibase\Client\Store\UsageUpdater->updateUsageForPage()
#2 /srv/mediawiki/php-1.26wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/Hooks/DataUpdateHookHandlers.php(68): Wikibase\Client\Hooks\DataUpdateHookHandlers->doArticleEditUpdates()
#3 /srv/mediawiki/php-1.26wmf4/includes/Hooks.php(209): Wikibase\Client\Hooks\DataUpdateHookHandlers::onArticleEditUpdates()

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude subscribed.
aude triaged this task as High priority.May 5 2015, 6:32 PM
aude set Security to None.

can reproduce

Exception Caught: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: UPDATE wbc_entity_usage SET eu_touched = '20150505184339' WHERE eu_page_id = '72' Function: Wikibase\Client\Usage\Sql\UsageTableUpdater::touchUsageForPage Error: 1054 Unknown column 'eu_touched' in 'field list' (localhost)

Change 209029 had a related patch set uploaded (by Aude):
Check if eu_touched field exists

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

Change 209033 had a related patch set uploaded (by Aude):
Check if eu_touched field exists

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

Change 209029 merged by jenkins-bot:
Check if eu_touched field exists

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

aude claimed this task.
aude edited projects, added Wikidata-Sprint-2015-05-05; removed Patch-For-Review.

we deployed the fix and i can verify that the problem is resolved

Change 209033 abandoned by Aude:
Check if eu_touched field exists

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