Package: dokuwiki
Version: 0.0.20180422.a-2
Severity: normal

Hi Tanguuy,

Thanks for maintaining Debian's dokuwiki package.

I like the simplicity of not depending on a
database.

I've been using dokuwiki for years.

The main reason I'm writing is I'm worried I may
have found a bug.

But maybe I just don't understand the
documentation.

   * What led up to the situation?

    I've maintained a local wiki on my daily
    driver/local host computer for years.

    Firefox finds it at an apache virtual host

        localhost:2001/dokuwiki

    I want to add a second wiki.

    Dokuwiki calls it a multisite farm animal.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

    I upgraded from version 0.0.20180422.a-1 to 0.0.20180422.a-2

        $ aptitude install dokuwiki

    Then I added a new wiki

        $ dokuwiki-addsite testsite2

        It seemed to add OK.

    Then I tried to access the new farm animal/wiki through Firefox at

        http://localhost:2001/dokuwiki/testsite2

   * What was the outcome of this action?

    Firefox complained with

        404 Not Found

        The requested URL was not found on this server.

    /var/log/apache2/access.log contains

        "GET /dokuwiki/testsite2 HTTP/1.1" 404 490

    and /var/log/apache2/error.log contains

        AH00128: File does not exist: /usr/share/dokuwiki/testsite2
        

   * What outcome did you expect instead?

    I expected Firefox to render a page that said
    something like 

        "Welcome to dokuwiki"


I happened to notice 

    /usr/share/dokuwiki/index.php

normally redirects to doku.php.

Should 

    $ dokuwiki-addsite testsite2

create something like

    /usr/share/dokuwiki/testsite2/index.php

that also redirects to a doku.php?

If so, how would it know to look in the new data
page path

    /var/lib/dokuwiki/farm/testsite2/

instead of the default

    /var/lib/dokuwiki/

?

Thanks,
Kingsley

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages dokuwiki depends on:
ii  cdebconf [debconf-2.0]  0.249
ii  debconf [debconf-2.0]   1.5.73
ii  javascript-common       11
ii  libjs-jquery            3.3.1~dfsg-3
ii  libjs-jquery-cookie     10-2
ii  libjs-jquery-ui         1.12.1+dfsg-5
ii  libphp-simplepie        1.3.1+dfsg-3.1
ii  php                     1:7.2+62
ii  php-geshi               1.0.8.11-2
ii  php-phpseclib           2.0.12-1
ii  php-random-compat       2.0.17-1
ii  php-xml                 1:7.2+61
ii  php7.2 [php]            7.2.8-1
ii  php7.2-xml [php-xml]    7.2.8-1
ii  ucf                     3.0038+nmu1

Versions of packages dokuwiki recommends:
ii  imagemagick                      8:6.9.10.23+dfsg-2.1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1
ii  php-cli                          1:7.2+61
ii  php-ldap                         1:7.2+62
ii  php7.2-cli [php-cli]             7.2.8-1
ii  php7.2-ldap [php-ldap]           7.2.8-1
ii  wget                             1.20.3-1

Versions of packages dokuwiki suggests:
pn  libapache2-mod-xsendfile  <none>

-- Configuration Files:
/etc/dokuwiki/plugins.local.php changed:
<?php
/*
 * Local plugin enable/disable settings
 * Auto-generated through plugin/extension manager
 *
 * NOTE: Plugins will not be added to this file unless there is a need to 
override a default setting. Plugins are
 *       enabled by default, unless having a 'disabled' file in their plugin 
folder.
 */
$plugins['cacherevisionserase'] = 0;
$plugins['sidebar'] = 0;
$plugins['include'] = 0;
$plugins['frootysearch'] = 0;
$plugins['imagebox'] = 0;
$plugins['blog'] = 0;
$plugins['captcha'] = 0;
$plugins['clearfloat'] = 0;
$plugins['comment'] = 0;
$plugins['alphaindex'] = 0;
$plugins['searchtext'] = 0;
$plugins['searchform'] = 0;
$plugins['pagelist'] = 0;
$plugins['text'] = 0;
$plugins['imagereference'] = 0;


-- debconf information:
* dokuwiki/webservers: apache2
* dokuwiki/system/writeplugins: true
* dokuwiki/system/purgepages: false
* dokuwiki/system/accessible: localhost only
  dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/system/writeconf: true
* dokuwiki/system/configure-webserver: apache2
* dokuwiki/system/documentroot: /dokuwiki
* dokuwiki/wiki/license: cc-by
* dokuwiki/system/restart-webserver: true
  dokuwiki/wiki/fullname: DokuWiki Administrator
  dokuwiki/wiki/superuser: admin
  dokuwiki/wiki/email: webmaster@localhost
  dokuwiki/wiki/policy: public
* dokuwiki/wiki/acl: true
  dokuwiki/wiki/failpass:
* dokuwiki/wiki/title: Kingsley G. Morse Jr.

Reply via email to