MediaWiki upgrade script fails (Joyent)

I ran into problems while trying to upgrade mediawiki on a Joyent account. One of the forum members suggested I place this in a bug report:
http://www.virtualmin.com/forums/general-discussion/mediawiki-1.13.2-upg...

Here's the discussion on the Joyent forum:
http://discuss.joyent.com/viewtopic.php?pid=192639#p192639

Specifics: I used the virtualmin upgrade script for mediawiki. The upgrade was from 1.9 to 1.13.2. Initially I ran into a problem with the update script within virtualmin: couldn't acces mw_page_restrictions.frm

I thought there might be problems with my installation, so I moved LocalSettings.php to the side, and removed any wiki related .htaccess entries.

Then when I access the wiki on my site, I get a mediawiki configuration page. I fill this out with what I presume are the correct values. I then get this error: failed with error code "Table 'user' already exists (localhost)"

This leads me to believe there is a conflict leading mediawiki to think this is an initial install, not an upgrade, yet the upgrade with the LocalSettings in place also had an error.

Here is the output of the script:
Checking environment...

Please include all of the lines below when reporting installation problems.
PHP 5.2.6 installed
Found database drivers for: MySQL PostgreSQL SQLite
PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
Have XML / Latin1-UTF-8 conversion support.
Session save path (/users/home/backspaces/tmp) appears to be valid.
PHP's memory_limit is 64M.
Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
Found GNU diff3: /usr/local/bin/gdiff3.
Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: /users/home/backspaces/web/public/mediawiki
Script URI path: /mediawiki
Installing MediaWiki with php file extensions
Environment checked. You can install MediaWiki.
Generating configuration file...
Database type: MySQL
Loading class: DatabaseMysql
Attempting to connect to database server as backspaces...success.
Connected to 5.0.67-log; enabling MySQL 4.1/5.0 charset mode
Database backspaces_mediawiki exists
Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=utf8 " failed with error code "Table 'user' already exists (localhost)".

Status: 
Closed (fixed)

Comments