Topic on Project:Support desk

Error on upgrading from ancient version

3
Summary by Ciencia Al Poder
170.199.250.52 (talkcontribs)

Hello,

I found an SQL file for a Wiki that I thought was lost ages ago. It contains about 50 hours of family tree in textual form. Based on a tar file stored within the same backup, this may be version 1.12.


I tried install the most recent version so that I can cut-paste the wiki into a more modern installation. I got an unhelpful error:


An error occurred:

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT  vt_tag AS `value`  FROM `valid_tag`     

Function: PopulateChangeTagDef::setUserDefinedTags

Error: 1146 Table 'wikidb.valid_tag' doesn't exist (localhost)


Not really sure about this. What is a schema updater? I guess the script within MediaWiki doesn't cover this for me?

170.199.250.52 (talkcontribs)

I'm not above poking around in the page, revision, and text tables in the database, but if this is an easy fix, I'd prefer the simpler approach.

T. Nordlund (talkcontribs)

I had the same problem a few weeks ago with a version even slightly older than yours. Add a valid_tag table to your database. After that run the update.php once more and proceed by updating the db with the web interface (mediawiki/mw-config). This time it'll recognize that a valig_tag table exists and can proceed as planned.

Reply to "Error on upgrading from ancient version"