[Pkg-mediawiki-devel] Bug#706869: squeeze -> wheezy upgrade does not work

Jonathan Wiltshire jmw at debian.org
Sun May 5 19:51:29 UTC 2013

On Sun, May 05, 2013 at 05:42:46PM +0100, Richard Kettlewell wrote:
> After upgrading to wheezy all pages display the following:
> 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 lc_value FROM `l10n_cache` WHERE lc_lang = 'en' AND
> lc_key = 'deps' LIMIT 1
> Function: LCStore_DB::get
> Error: 1146 Table 'wikidb.l10n_cache' doesn't exist (localhost)
> update.php does not work:
> Creating user_properties table...A database query syntax error has
> occurred.
> The last attempted database query was:
> "CREATE TABLE `user_properties`(
>  up_user int not null,
>  up_property varbinary(32) not null,
>  up_value blob
> "
> from within function "DatabaseBase::sourceFile(
> /usr/share/mediawiki/maintenance/archives/patch-user_properties.sql
> )".
> Database returned error "1142: CREATE command denied to user
> 'wikiuser'@'localhost' for table 'user_properties' (localhost)"
> The update should be run automatically, and it should succeed (for
> instance by granting the wikiuser create/index/alter on wikidb, or
> by running the update as a more powerful database user).

Both these symptoms are expected and documented in NEWS.Debian, and
displayed during upgrade if you have apt-listchanges installed. Please
follow the steps in that file.

An automatic upgrade is not feasible for installations carried forward
from before Squeeze.

Jonathan Wiltshire                                      jmw at debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20130505/037d69ca/attachment.pgp>

More information about the Pkg-mediawiki-devel mailing list