Package: dokuwiki
Version: 0.0.20080505-4
Hi.
This is my first bug report to Debian, so sorry if something is not
exactly the way it should be.
It looks like the packaging of the (binaries for) dokuwiki needs some work.
The package installs ok and produces a working wiki, but it's pretty
hard to access the config / admin area of the wiki, because there is no
way to log in.
This is apparently caused by the fact that the package is configured by
the install scripts rather than the shipped install.php. However, the
install.php recommends and defaults to setting up dokuwiki with ACL, and
prompts for the creation of an admin account.
These steps are skipped in the debian install procedure, and fixing
things by running install.php after the debian install procedure doesn't
work because of a checksum mismatch.
As a result, there is no access to the wiki Login page, and therefore no
way to authenticate, and no access to the admin pages where you can
configure and manage the wiki. Unfortunately, the only documented way
(in the official documentation) to the configuration is by hitting the
login button, login in as admin, which is impossible if you've
installed dokuwiki through the debian package.
To fix this, the debian package should probably either set up an admin
account with a known default password (or prompt the user for account
creation), and enable ACL on the wiki,
or leave this to install.php (and ensure it can run).
this bug is closely related to #482925, #414439 and #482925, in that it
shares (some of) the symptoms. I believe my analysis is more accurate
and that those other bugs will disappear if what I describe gets fixed :-)
For what it's worth : here's my workaround - in case it helps to
understand the problem, or for anyone who ends up here looking for a
solution:
edit /etc/dokuwiki/local.php to include
$conf['useacl'] = true ;
$conf['superuser'] = '@admin' ;
this enables ACL on the wiki which in turn makes visible a login button
in the web interface, and grants superuser rights to users in the admin
group.
So we need to create a user account that is member of the admin group.
This requires an md5 encrypted password, which you can create with
grub-md5-crypt :
:/# grub-md5-crypt
Password:
Retype password:
$1$kT.Wv$1njeMRdelUYwBWEpPJdC3.
then, create a user account in /etc/dokuwiki/users.auth.php.
The format is user:MD5password:Real Name:email:group
so you enter something like:
jdoe:$1$kT.Wv$1njeMRdelUYwBWEpPJdC3.:John:j...@example.com:admin,user
load the wiki start page again. you'll have a login button, and you can
login with the username (jdoe) and password you created. After login,
you 'll see an 'Admin' button that gives access to the Admin area
(Access Manager, Configuration Manager, ...) of the wiki.
regards,
Koen Noens.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org