Last modified: 2010-05-15 15:42:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10177, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8177 - Upgrader attempts to alter a table that doesn't exist
Upgrader attempts to alter a table that doesn't exist
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.8.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-06 22:32 UTC by Daniel Mittmann
Modified: 2010-05-15 15:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Mittmann 2006-12-06 22:32:53 UTC
Please include all of the lines below when reporting installation problems.


      Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit
in safe mode in
/srv/www/httpd/phost/v/de/pytalhost/village/web/mediawiki/install-utils.inc on
line 21
    * PHP 5.2.0 installed
    * Found database drivers for: MySQL
    * Warning: PHP's safe mode is active. You may have problems caused by this,
particularly if using image uploads.
    * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * PHP's memory_limit is 24M. If this is too low, installation may fail!
    * Have zlib support; enabling output compression.
    * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions
cannot be used.
    * GNU diff3 not found.
    * Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
    * Installation directory:
/srv/www/httpd/phost/v/de/pytalhost/village/web/mediawiki
    * Script URI path: /mediawiki
    * Environment checked. You can install MediaWiki.
    * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.

      Generating configuration file...
    * Database type: MySQL
    * Loading class: DatabaseMysql
    * Attempting to connect to database server as phost47641...success.
    * Connected to 5.0.30-Debian_0.dotdeb.1; enabling MySQL 4.1/5.0 charset mode
    * Database phost47641 exists
    * There are already MediaWiki tables in this database. Checking if updates
are needed...

      ...hitcounter table already exists.
      ...querycache table already exists.
      ...objectcache table already exists.
      ...categorylinks table already exists.
      ...logging table already exists.
      ...user_newtalk table already exists.
      ...transcache table already exists.
      ...trackbacks table already exists.
      ...externallinks table already exists.
      ...job table already exists.
      ...langlinks table already exists.
      ...querycache_info table already exists.
      ...filearchive table already exists.
      ...ipblocks table does not exist, skipping new field patch
      ...ipblocks table does not exist, skipping new field patch
      ...recentchanges table does not exist, skipping new field patch
      ...recentchanges table does not exist, skipping new field patch
      ...recentchanges table does not exist, skipping new field patch
      ...recentchanges table does not exist, skipping new field patch
      ...have user_real_name field in user table.
      ...have user_token field in user table.
      ...have user_email_token field in user table.
      ...have user_registration field in user table.
      ...have log_params field in logging table.
      ...have ar_rev_id field in archive table.
      ...have ar_text_id field in archive table.
      ...have page_len field in page table.
      ...have rev_deleted field in revision table.
      ...image table does not exist, skipping new field patch
      ...image table does not exist, skipping new field patch
      ...image table does not exist, skipping new field patch
      ...site_stats table does not exist, skipping new field patch
      ...have iw_trans field in interwiki table.
      ...ipblocks table does not exist, skipping new field patch
      ...site_stats table does not exist, skipping new field patch
      ...ipblocks table does not exist, skipping new field patch
      ...already have interwiki table


      Warning:  mysql_num_fields(): supplied argument is not a valid MySQL
result resource in
/srv/www/httpd/phost/v/de/pytalhost/village/web/mediawiki/includes/Database.php
on line 1180



      Notice:  Trying to get property of non-object in
/srv/www/httpd/phost/v/de/pytalhost/village/web/mediawiki/maintenance/updaters.inc
on line 157

      Updating indexes to 20031107: Query "ALTER TABLE `wiki_links`
       DROP INDEX l_from,
       ADD INDEX l_from (l_from)
      " failed with error code "Table 'phost47641.wiki_links' doesn't exist
(mysql1)".
Comment 1 Rob Church 2007-01-08 19:50:27 UTC
Upgrading from what version?
Comment 2 Brion Vibber 2007-01-09 01:05:47 UTC
Hrm, that database sounds pretty broken to begin with, judging by the list of
which tables do and don't exist.

Missing recentchanges, image, ipblocks, site_stats... no released version of
MediaWiki would have ever existed in that state, even back to 1.1.0.
Comment 3 Brion Vibber 2007-01-17 10:10:11 UTC
Without more details, going to assume this is just a broken DB, closing INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links