I'm trying to upgrade my mediawiki version and also move it to another
server all at once. I've followed the documentation, sometimes
performing the steps in different order, with the same result each time.
Here are the details.
Old server/versions:
OS: SL42 (SL is RHEL derivative so same as RHEL4), kernel 2.6.9-34.ELsmp
Mediawiki 1.8.2
PHP 4.3.9
MySQL 4.1.22
New server:
OS: SL51, kernel 2.6.18-92.1.10.el5PAE
Mediawiki 1.13.2
PHP 5.1.6
MySQL 5.0.45
The steps I took to do the migration are:
Backup wiki from old server (mysqldump -u root -p wikiDB > wikiDB.sql)
scp wikiDB.sql to new server
untar new version on new server
copy LocalSettings.php, AdminSettings.php, extensions dir, images dir,
and our logo to new server
import wikiDB.sql into mysql database on new server (mysql -u root -p
wikiDB < wikiDB.sql)
ran maintenance/update.php on new server with successful output
I was able to navigate to the mediawiki web page on the new server and
was able to login (got to "Login Successful" screen) but when I click on
the "Return to Main Page" link or any link in the navigation bar running
down the left side, I receive the error "The requested URL
/syswiki/Main_Page was not found on this server." Trying to navigate to
"Categories" produces the error "The requested URL
/syswiki/Special:Categories was not found on this server." The
corresponding apache errors are:
[Wed Dec 03 11:19:07 2008] [error] [client 128.222.123.123] File does
not exist: /var/www/html/default/syswiki/Main_Page, referer:
http://newserver/syswiki/index.php?title=Special:UserLogin&action=submi…
[Wed Dec 03 11:19:28 2008] [error] [client 128.222.123.123] File does
not exist: /var/www/html/default/syswiki/Special:Categories, referer:
http://newserver/syswiki/index.php?title=Special:UserLogin&action=submi…
I'm not sure what I'm doing wrong. I've followed the documentation to
the letter and have been googling this for a while with no results. I
hope its a known error but suspect that its a problem with
LocalSettings.php or an apache setting that conflicts with the newer
mediawiki version. Let me know if you need any other info like local
variables. Any help is appreciated. Thanks in advance!
Josh