Page MenuHomePhabricator

db update problem
Closed, ResolvedPublic

Description

Helder.wiki reports:

When I try to access the API via http://en.wikipedia.beta.wmflabs.org/w/api.php I get the following error:

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: SELECT afi_name,afi_id,afi_data_type,afi_bucket_id FROM aft_article_field
Function: ApiArticleFeedbackv5Utils::getFields
Error: 1146 Table 'enwiki.aft_article_field' doesn't exist (deployment-sql)


Version: unspecified
Severity: normal

Details

Reference
bz34045

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:10 AM
bzimport set Reference to bz34045.
Reedy added a comment.Jan 30 2012, 6:46 PM

Has someone actually created the the ArticleFeedback v5 database tables?

when executing sql

CREATE TABLE IF NOT EXISTS aft_article_feedback_ratings_ro' at line 1
ERROR 1064 (42000) at line 113: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--tables worthwhile.

it seems that sql file is wrong in extension

Thehelpfulonewiki wrote:

Moving out of the Wikimedia product into the already existing Wikimedia Labs product, I'm going to remove the Labs component from the Wikimedia product.