Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93331 - The upgrade from MediaWiki 1.3.x to 1.4.4 does not seem to update the backend database properly
Summary: The upgrade from MediaWiki 1.3.x to 1.4.4 does not seem to update the backend...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 08:38 UTC by Mike Kordik
Modified: 2006-03-10 16:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kordik 2005-05-20 08:38:21 UTC
I had MediaWiki 1.3.x installed and running. I emerged 1.4.4 and during the
process it said it was upgrading the install. When it was finished I was able to
access the wiki but not create an account. I posted the error at the MediaWiki
site: http://bugzilla.wikimedia.org/show_bug.cgi?id=2210

They said that his was because the upgrade to the database was not made and to
go to the mediawiki root and read the details on how to do this in a file called
UPGRADE. This file does not exist. They said to file a bug here as this looked
like a third party packaging issue.  

Reproducible: Didn't try
Steps to Reproduce:
1. emerge mediakiki 1.3.x
2. emerge mediawiki 1.4.4
3. try to create an account on your MediaWiki site

Actual Results:  
Couldn't create a mediawiki account. Received and error: 
Database error
 From Mike and Wendy's Wiki
 A database query syntax error has occurred. This may indicate a bug in the
 software. The last attempted database query was:
 
     (SQL query hidden)
 
 from within function "User::addToDatabase". MySQL returned error "1054: Unknown
 column 'user_token' in 'field list' (localhost)".

Expected Results:  
That new user accounts can be created after upgrading to 1.4.4

I do not have the vhosts USE flag.
Comment 1 Mike Kordik 2005-05-20 15:53:38 UTC
(In reply to comment #0)
I downloaded the mediawiki source directly from the mediawiki sourceforge site.
I extracted the file called UPGRADE and read the upgrade instructions there.
Once I followed those instructions it appears my mediawiki installation is now
upgraded. It looked like the ebuild or the mediawiki source was doing the
upgrade for me but apparently not. For some reason the UPGRADE file was deleted
so I didn't have instructions on how to upgrade. Is the mediawiki source or the
ebuild supposed to do the upgrade automatically?
Comment 2 Christian Parpart (RETIRED) gentoo-dev 2005-05-22 06:51:49 UTC
AFAIK, I did not do any UPGRADE within the ebuild anywhere. So, It could have 
been done within the webapp-config process of course. 
 
So, I need to find some time to look at this. 
Comment 3 Tim Keitt 2005-07-22 08:40:30 UTC
Please see this bug on the mediawiki bugzilla:
http://bugzilla.wikimedia.org/show_bug.cgi?id=198

Comment 4 Christian Parpart (RETIRED) gentoo-dev 2006-03-10 16:27:38 UTC
UPGRADE file is included since quite some time. clean this bug report up.