[Pkg-mediawiki-devel] Bug#396405: mediawiki1.7: php maintenance/update.php fails to find Setup.php.

Bastiaan Veelo Bastiaan at Veelo.net
Tue Oct 31 22:15:45 CET 2006

Package: mediawiki1.7
Version: 1.7.1-3
Severity: normal


I am upgrading from version 1.4, and since there is no documentation on what I should do to 
upgrade from 1.4 to 1.7 directly, I am following the directions for upgrading to 1.5 first. 

In README.Debian.gz, step 5 in upgrading to 1.5: I changed working directory to 
/var/lib/mediawiki1.7 instead of mediawiki1.5, since obviously there is none.

Step 6: execute the update script fails like this:

debian:/var/lib/mediawiki1.7# php maintenance/update.php

Warning: require_once(Setup.php): failed to open stream: No such file or directory in 
/usr/share/mediawiki1.7/maintenance/commandLine.inc on line 205

Fatal error: require_once(): Failed opening required 'Setup.php' 
in /usr/share/mediawiki1.7/maintenance/commandLine.inc on line 205
debian:/var/lib/mediawiki1.7# updatedb
debian:/var/lib/mediawiki1.7# locate Setup.php

Which shows that the include_path is incorrect.

Best regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages mediawiki1.7 depends on:
ii  apache2                       2.2.3-2    Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.0.55-4.1 traditional model for Apache2
ii  debconf [debconf-2.0]         1.5.6      Debian configuration management sy
ii  mime-support                  3.37-1     MIME files 'mime.types' & 'mailcap
ii  php5                          5.1.6-4    server-side, HTML-embedded scripti
ii  php5-cli                      5.1.6-4    command-line interpreter for the p
ii  php5-mysql                    5.1.6-4    MySQL module for php5

Versions of packages mediawiki1.7 recommends:
ii  mysql-server                  5.0.24a-9  mysql database server (current ver
ii  mysql-server-5.0 [mysql-serve 5.0.24a-9  mysql database server binaries

-- debconf information:
  mediawiki/webserver: apache2
  mediawiki/upgrade-1d5: true
* mediawiki/upgrade-1d4:
  mediawiki/upgrade-1d5-adminuser: root

More information about the Pkg-mediawiki-devel mailing list