Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185731 - www-apps/mediawiki-1.10.0 - update from 1.9.3 leads to MySQL error
Summary: www-apps/mediawiki-1.10.0 - update from 1.9.3 leads to MySQL error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Philippe Trottier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-18 07:07 UTC by Vicuna
Modified: 2007-11-26 12:03 UTC (History)
4 users (show)

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 Vicuna 2007-07-18 07:07:49 UTC
When accessing Mediawiki after the update MySQL complains that "Table 'wikidb.page_restrictions' doesn't exist".

Reproducible: Always

Steps to Reproduce:
1.Have a 1.9.3 installation
2.Update to 1.10.0
3.Access Mediawiki

Actual Results:  
MySQL error, Mediawiki page not displayed

Expected Results:  
Open the requested page ;-)

Once again running "php update.php" in the maintenance directory solves the problem. This should be displayed as info when emerging the ebuild.
Comment 1 Christian Parpart (RETIRED) gentoo-dev 2007-07-19 08:02:07 UTC
so, just to make it *really* clear,

you just updated mediawiki via emerge and encountered this error.

but when invoking `php update.php` from maintenance directory the DB gets upgraded and it works? (while the latter shall be done always by the admin itself anyway).

we you want us to put a statement about in the post installation phase?

(just to understand the problem)
Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2007-07-19 09:21:52 UTC
As usual one should follow the mediawiki update procedure. and there is no better place than mediawiki itself for that.

http://www.mediawiki.org/wiki/Manual:Upgrading

Sorry I am not more responsive but I have hell of a bug to kill, but this one is health related.
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2007-07-19 10:10:48 UTC
we still shall the user inform about this page in postinst_txt's file.
Comment 4 Vicuna 2007-07-19 16:27:43 UTC
(In reply to comment #1)
> you just updated mediawiki via emerge and encountered this error.
Yes.
 
> but when invoking `php update.php` from maintenance directory the DB gets
> upgraded and it works? (while the latter shall be done always by the admin
> itself anyway).
Yes. Actually, I don't think this is obvious. The interested user will eventually find out what to do, but some might not.
 
> we you want us to put a statement about in the post installation phase?
I think this wouldn't hurt and spare some users a bit of frustration.

Urgent matters surely take precedence over this "bug".
Comment 5 Philippe Trottier (RETIRED) gentoo-dev 2007-11-26 12:03:11 UTC
OK I have added the check mediawiki.org upgrade page in the post install, THis is I think the best we can do