Manual talk:Upgrading to 1.14

What is not clear from the documentation is what exactly should be in the AdminSettings.php file. I am currently running 1.13 and there is only AdminSettings.sample file.

In LocalSettings.php I have set the DB user: $wgDBuser          = "db60728_zzzz"; $wgDBpassword      = "mypassword";

Should the AdminSettings.php use the same data for

$wgDBadminuser and $wgDBadminpassword ??

Also, if I am able to run MediaWiki w/o AdminSettings.php, is it necessary for the upgrade?

Jim Sowers
 * All maintenance scripts use AdminSettings.php for database user information. It is recommended that the user you specify is the root user or a user with the ability to create and modify tables (which your normal db user in LocalSettings normally wouldn't be able to do) -- Skiz zerz  22:52, 25 February 2009 (UTC)


 * Thanks. What I discovered is that you can upgrade using the web-based installation, and thus there is no need to create AdminSettings.php. --Jim Sowers

Hello, I am trying to upgrade from 1.11 to 1.14 and I've run into an error. Following the upgrade instructions (the main article for this talk), I input the following on the command line:


 * $ php update.php --aconf ../AdminSettings.php

I get the following error:


 * "PHP Fatal error: Call to a member function addGroup on a non-object in /path-to-my-mediawiki/maintenance/deleteDefaultMessages.php on line 22"

Line 22 seems to be:


 * $wgUser->addGroup( 'bot' );

I am not sure what to do next. Any ideas? Thanks!

Matt

Update: Never mind, I commented out that line and the update progressed without hitch.

Matt


 * Note in future it is better to direct such questions to Project:Support desk -- Dr DBW |  talk  22:14, 9 March 2009 (UTC)

How can I copy the new archive into the wiki directory using a tar version that has neither the --strip-path nor --strip-components options?

--91.13.122.14 21:41, 14 March 2009 (UTC)