Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166485

Summary: www-apps/mediawiki-1.8.3 - Error when editing after update from 1.7.2
Product: Gentoo Linux Reporter: Vicuna <alsbox>
Component: Current packagesAssignee: Philippe Trottier (RETIRED) <tchiwam>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: trapni, web-apps
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vicuna 2007-02-12 11:21:19 UTC
Updated from Mediawiki 1.7.2 to 1.8.3 upon unmasking of ebuild. Editing an article afterwards gives an error like: from function „Block::load“. MySQL reported error „1054: Unknown column 'ipb_anon_only' in 'where clause'

Reproducible: Didn't try




That update step requires maintenance/update.php to be run after the installation. To complicate things further update.php requires the wikidb user to have drop privileges for the first time (running Mediawiki since 1.3.7).
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2007-02-12 11:49:32 UTC
Did you have this problem after following the update path in mediawiki ? Or did you get the error without following the update ?

1.6.9 will be staying for a while as there is important support for PHP4 and suprisingly a lot of PHP4 systems in the wild.

1.7.x Is getting a lot less attention than 1.8 at the moment.

1.9.2 I know that they fixed some upgrade problems, maybe one of this problem was present in 1.8.3. Could you try the 1.9.2 ?

I will take some time to investigate this if you can try a few things. If this is a real problem, I am afraid I can only change the documentation on upgrades and wait for the upstream to work it out.
Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2007-02-12 12:00:19 UTC
This seems to be a very well known problem, I cannot test these for at least 2 days. But I would look in those at the end of the week.

http://www.mwusers.com/forums/archive/index.php/t-3303.html
http://mwusers.com/forums/showthread.php?p=10700

Comment 3 Vicuna 2007-02-12 14:33:47 UTC
I usually upgrade once a new version becomes available. The solution to this problem is quite simple: Just run the update.php script in the maintenance directory of Mediawiki after allowing the relevant MySQL user to drop tables. Maybe it is enough to simply add this as info after the ebuild is installed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:29:48 UTC
Try with a newer version, 1.8.3 was removed.