Hello.

Le dimanche 25 mai 2008, Peter Hombach a écrit :
> There are a few installation flaws that become evident when one
> runs the install.php of dokuwiki:
> 1. The install.php ought to be the default page for a fresh installation,
> and not the default start page, which doesn't exist at that time.

Indeed, it does not exist, but the install.php is not needed with the
Debian package, as the installation process is meant to be handled by
the package scripts.

And, in fact, there is no reason to make it the default page. If someone
wants to run install.php, he will visit the install.php page.  Even in
the upstream release, install.php is not the default page.

> 2. The directory /etc/dokuwiki is not set with the proper privileges
> when established, because write access is needed initially.

Write access is needed for editing the configuration from the wiki web
administration page – or from the install.php page that is not meant to
be run –. Allowing the web server to write into a configuration
directory may not be what everyone wants.

I shall add a notice about that in the README.Debian or as a debconf
question.

> 3. The hash in the configuration file does not match the installation
> file, meaning that install.php terminates its installation.

Again, as install.php is not meant to be run on a Debian installation.
But I know where this mismatch comes from: the configuration file is
modified in the Debian package, to “debianize” the wiki title.

I shall add the corresponding hash in a future version.

> 4. The files /var/lib/dokuwiki/acl/acl.auth.php and 
> /var/lib/dokuwiki/acl/users.auth.php are created though the deb package.
> However, they are supposed to be created by the install script, which
> terminates when it detects these pre-existing files.
> 
> It is no fun to mess manually with privileges, files, and hash. 

Yes, that is right. I shall use debconf to ask what install.php normally
sets up.

Regards,

-- 
Tanguy Ortolo

Attachment: signature.asc
Description: Digital signature

Reply via email to