Talk:DokuWiki

From ArchWiki

Standalone?

Can DocuWiki work as a personal wiki? That is unclear from the introduction. Must it have a web server? Can it be standalone? - KitchM 16:31, 20 May 2011 (EDT)

Under Configuration

Those items are not in /etc/lighttpd/lighttpd.conf. - KitchM 00:49, 21 May 2011 (EDT)

Personal Use

Shouldn't the line in hosts.allow be: lighttpd: ALL: 127.0.0.1 when used on one's own computer? - KitchM 00:51, 21 May 2011 (EDT)

Install path now /usr/share/webapps/dokuwiki/

»pacman -Ql dokuwiki | grep install.php
dokuwiki /usr/share/webapps/dokuwiki/install.php


» pacman -Ql dokuwiki | grep srv || echo nothing there
nothing there 
» date +%F
2012-07-18
» pacman -Qi dokuwiki
Name           : dokuwiki
Version        : 20120125_b-1
URL            : http://www.splitbrain.org/projects/dokuwiki
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : php
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : None
Installed Size : 19919.00 KiB
Packager       : Sergej Pupykin <pupykin.s+arch@gmail.com>
Architecture   : any
Build Date     : Mon 16 Jul 2012 01:20:02 AM EDT
Install Date   : Wed 18 Jul 2012 03:48:04 PM EDT
Install Reason : Explicitly installed
Install Script : Yes
Description    : DokuWiki engine


--Will (talk) 20:26, 18 July 2012 (UTC)Reply[reply]


Arch package not suited for multi-site installation

Be aware that the current arch package is not practical if you wish to have multiple dokuwiki sites, each with their independent configuration and data. In these cases, I recommend to stick to the original download. It's easy enough to install. Troja (talk) 14:05, 18 July 2016 (UTC)Reply[reply]

Point NGINX section to upstream docs

https://www.nginx.com/resources/wiki/start/topics/recipes/dokuwiki/ -- Polyzen (talk) 18:34, 18 August 2016 (UTC)Reply[reply]

Installation instructions for PHP-FPM need to be adjusted (possibly other daemons too).

I'm not sure when PHP-FPM started using ProtectSystem=full in it's service file but as of Summer 2020 it does.

For this package to work correctly an override to the service must be implemented allowing PHP-FPM to write to /etc/webapps/dokuwiki.

This is simple enough to do through the following sequence:

# systemctl edit php-fpm.service

In the editor add the following:

/etc/systemd/system/php-fpm.service.d/.#override.conf################
[Service]
ReadWritePaths=/etc/webapps/dokuwiki

Then save (CTRL+X), enter (no point choosing a file encoding).

Finally:

# systemctl daemon-reload
# systemctl restart php-fpm

Anyway, I think this should be added to the documentation.

Tiernan (talk) 16:58, 10 July 2020 (UTC)Reply[reply]

Is it appropriate to just go and amend the documentation without anyone discussing this first? I'm a new user and just wanted to contribute to the community.

Tiernan (talk) 22:54, 20 July 2020 (UTC)Reply[reply]