[Pkg-mediawiki-devel] Bug#396413: mediawiki1.7: LocalSettings.php
not found by update.php
Bastiaan Veelo
Bastiaan at Veelo.net
Tue Oct 31 22:23:33 CET 2006
Package: mediawiki1.7
Version: 1.7.1-3
Severity: normal
This is actually a bug in mediawiki1.5, but it persists in 1.7 (at least in its
documentation).
In README.Debian.gz, the upgrade from 1.4 to 1.5, step 4 - 6. We are instructed to copy
LocalSettings.php to /var/lib/mediawiki1.5. Due to a preexisting symlink this file ends up
in /etc/mediawiki1.5. When executing maintenance/update.php, it does not find
LocalSettings.php:
debian:/var/lib/mediawiki1.5# php maintenance/update.php
A copy of your installation's LocalSettings.php
must exist in the source directory.
This is because
debian:/var/lib/mediawiki1.5# ls -l maintenance
lrwxrwxrwx 1 root root 35 2006-10-31 16:24 maintenance ->
/usr/share/mediawiki1.5/maintenance
and therefore update.php looks for LocalSettings.php in /usr/share/mediawiki1.5, not
/var/lib/mediawiki1.5.
After copying to /var/lib/mediawiki1.5, I get the same error as I reported before, that
Setup.php cannot be found, because the include path is /var/lib/mediawiki/* etc. This
should at least be /var/lib/mediawiki1.5, but propably even /usr/share/mediawiki1.5.
There seems to be a solid confusion about directory names, at least on my system.
Best regards,
Bastiaan.
-- 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