[Mediawiki-l] 1.15.0 to 1.16.2 Upgrade problem

Platonides Platonides at gmail.com
Sun Apr 10 17:55:06 UTC 2011


Scott Thile wrote:
> Platonides asks:
> 
>> What errors are you getting?
>> (eg. table foo not found)
>>
>> What does update.php say?
>> (eg. table foo already exists)
>>
>>
> Thanks for asking!
> 
> Here's the one when trying to block a user (spambot), or delete the new page
> full of spam:


Key 'log_user_type_time'   doesn't exist in table
Unknown column 'log_page'

Both items are added in patch-log_user_text.sql
log_user_text

> Here is the report from update.php:
> ...have log_user_text field in logging table.

log_user_text field is added in that same patch, so it assumes all of
them are in the table.

I don't know how did you end up with such half-applied patch.
What engine are you using? MyIsam, Innodb... ?

You can execute
 ALTER TABLE logging DROP COLUMN log_user_text;

Then rerun update.php which should now pick that full patch.




More information about the MediaWiki-l mailing list