Hello
Sorry for my bad English, I'm French.
I need to migrate a mediwiki from a server to another. What is the best
way to do it ?
I have done a migration of the database (dump + import), the I put the
mediawiki archive on the new webserver, and I run the installation script:
the result:
----------------------------------------------------------------------
MediaWiki 1.4.0 installation
Please include all of the lines below when reporting installation problems.
Checking environment...
* PHP 4.3.8: ok
* PHP server API is apache; ok, using pretty URLs
(index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* PHP's memory_limit is 8M. If this is too low, installation may
fail! Attempting to raise limit to 20M... ok.
* No zlib support.
* Turck MMCache not installed, can't use object caching functions
* Couldn't find GD library or ImageMagick; image thumbnailing
disabled.
* Installation directory: /data/httpd/fr
* Script URI path: /fr
* MySQL error 1045: Access denied for user: 'root@localhost' (Using
password: NO)
* Trying regular user... ok.
* Connected to database... 4.0.20; enabling MySQL 4 enhancements
* Database wikifr exists
* There are already MediaWiki tables in this database. Checking if
updates are needed...
...linkscc table already exists.
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...user_rights table already exists.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have ur_user field in user_rights table.
...have log_params field in logging table.
...already have interwiki table
Updating indexes to 20031107: Query "ALTER TABLE recentchanges ADD INDEX
rc_timestamp (rc_timestamp), ADD INDEX rc_namespace_title (rc_namespace,
rc_title), ADD INDEX rc_cur_id (rc_cur_id)" failed with error code
"Duplicate key name 'rc_timestamp'".
----------------------------------------------------------------------
Do you know what it means and how to finish the installation.
Thanks
Julien Francoz
--
Formateur du laboratoire SUPINFO des technologies GNU/Linux
http://www.labo-linux.org
http://desktoplinux.labo-linux.org