Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61527 - [dokuwiki] plugins are installed in the wrong location

Attached to Project: Community Packages
Opened by Stefano Franchi (cleinias) - Thursday, 24 January 2019, 22:02 GMT
Last edited by Balló György (City-busz) - Friday, 12 April 2019, 14:32 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


The PKGBUILD for Dokuwiki installs plugins in /var/lib/dokuwiki/plugins (which is the app's data directory) instead of the code directory, namely /etc/webapps/dokuwiki/plugins. This cause at least a plugin (godiag) to fail, since it navigates through the tree using relative paths and it ends up in the wrong place.

See discussion on Dokuwiki's forums:

Additional info:
* package version(s): 20180422_b

Steps to reproduce:

1. Install dokuwiki
2. Install the godiag plugin from within dokuwiki's own extension manager
3. Create a new go diagram inside a new page, as per godiag instructions (see xa here:
4. Save and see the diagram NOT getting rendered
5. See the error in the web server log.

The "problem" is caused by these lines in the PKGBUILD:
# move plugins in var
mv usr/share/webapps/dokuwiki/lib/plugins var/lib/dokuwiki
ln -s {../../../../../../var/lib/dokuwiki,usr/share/webapps/dokuwiki/lib}/plugins

According to the Dokuwiki people, the plugins should remain in /etc/webapps/dokuwiki and not be moved. See the forum discussion referred above for why only some plugin suffer from this mis-location and how manually hardcoding the correct path into one of the plugin's php modules works around the issue.
This task depends upon

Comment by Jiachen Yang (farseerfc) - Tuesday, 01 October 2019, 15:02 GMT
Shall we consider moving /var/lib/dokuwiki/* to /var/lib/docuwiki/lib/* and inter-link directory structures?
Seems debian is doing this: and