Available NS6 and NS7

DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.

Maintainer

Stephane de Labrusse at stephdl@de-labrusse.fr

Is this Module helpful to you ? Please consider donating

Installation

First you need to install my repository, see how to do it then you can install the rpm

yum install nethserver-dokuwiki --enablerepo=stephdl

First access

It's possible to access dokuwiki the first time pointing the browser to http://your_ip/dokuwiki

who is the superuser

'admin' is your administrator (for ns6 set a password to admin, for ns7 create the user and set a password in the user panel of the server-manager), either by ldap, or by the internal authentication. After the installation you can specify in the 'superuser' field of the Configuration Settings who are also granted to manage dokuwiki.

  • Only NS7

With NS7 you have to choice an account provider, either openldap or samba4, if you don't make this choice, dokuwiki is forced to an internal authentication.

DB command

# config show dokuwiki 
  dokuwiki=configuration
      Authentication=ldap   # 'internal' for the default dokuwiki authentication
      MaxUploadSize=200     # in MB
      access=public         # or 'private' to restrict to the local network
      status=enabled        # 'disabled' to stop dokuwiki

MaxUploadSize set the maximum upload size, the maximum post size and the maximum php memory values.

access set how dokuwiki is reachable or not from the wan

Authentication (see chapter Authentication)

URL (not set by default) you can specify the folder name of your choice (eg https://IP_NS/your_choice

DomainName (not set by default) use a FQDN domain name. Once set, dokuwiki is reachable at https://toto.com instead of https://toto.com/dokuwiki

If you want to modify the settings, this is one example

config setprop dokuwiki  Authentication internal
signal-event nethserver-dokuwiki-update

a tutorial is available if you want to understand a bit more on the db command

Authentification

you have two different login, it is impossible to mix them so make the good choice : ldap or internal

  • LDAP

When you authenticate through ldap, all users and groups from the user/group panels are valuable. If you want to restrict access for users or groups you must use Access Control List Management in the backend menu of the admin user. Hence you cannot have a free registration to dokuwiki, users must be part of ldap.

For NS6, the ldap is openldap, for NS7 you can have either openldap or samba4

  • INTERNAL

It is the internal authentication method of dokuwiki , create a user, a password is sent to the email address for validation. The user 'admin is still the administrator of dokuwiki and you must create it manually like all users.

With the internal authentication a private email is sent with the password, but in some case you could not receive the email therefore you must create a temporally your user admin manually

  • Add to /usr/share/dokuwiki/conf/users.auth.php
admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:-:-:admin,user

Save and exit.

Then use the user admin and the password admin to create other users and reset the admin password

Official manual

The manual is intended to be the extended resource for all standard questions on using DokuWiki. https://www.dokuwiki.org/manual

Bugs

Please raise Issues on github