Thread:Project:Support desk/Update to MW 1.20.2 does not work: Undefined index: SERVER PROTOCOL / Unable to determine IP

I tried to update an old 1.15.1 mediawiki to 1.20.2.

As instructed i made a new directory, untared mw 1.20.1 there, copied Localsettings, skins, images and extension from the old version to this directory and updated the data base with update.php

But when i start the http server it says 404. Executing index.php at command line (debug mode) it says:

PHP Notice: Undefined index: SERVER_PROTOCOL in /var/www/wiki.new/includes/OutputHandler.php on line 159 <!doctype html> Internal error Unable to determine IP Backtrace:  #0 /var/www/wiki.new/includes/User.php(1723): WebRequest->getIP


 * 1) 1 /var/www/wiki.new/includes/db/Database.php(844): User->getName


 * 1) 2 /var/www/wiki.new/includes/db/DatabasePostgres.php(385): DatabaseBase-&gt;query('SET client_enco...', 'DatabasePostgre...')

and 32 more issues that seem to work. Any idea what wrent wrong?