Table of Contents

DokuWiki Synology DSM7

Synology's NAS system used to provide a DokuWiki package in their package manager. Since the DSM 7.0 release, this is no longer the case. Instead you need to manually install DokuWiki using the Web Station app.

Installing DokuWiki on DSM 7.0+

Synology does not currently provide a package for installing Dokuwiki on the Diskstation under DSM 7.
This procedure should help to install Dokuwiki on a Synology Diskstation running DSM 7.

On DSM:
Package Center: Install Web Station

Web Station Status Pane

In Web Station this will create a customized Profile under “Script Language Settings” with name 'user-defined'

Web Station - Script Language Settings

Save the settings!

On your PC: Download DokuWiki: https://download.dokuwiki.org/

On DSM:

Web Station Default Server

File Station - Permission Set

Repeat this steps for folders: dokuwiki/conf, dokuwiki/lib/plugins and dokuwiki/lib/tpl

Go to: http://<IP_of_your_Synology>/dokuwiki/install.php

Done.

Upgrading from DSM 6

There are several possible ways to switch from a package installation to a direct installation.

Copy, Uninstall, Copy back, Upgrade DSM

Some users report problems with permissions after this procedure: User Forum: Dokuwiki package no longer supported in Synology DSM 7. If this problem occurs, a complete reinstallation is recommended.

Backup, Uninstall, Upgrade DSM, Restore

This procedure is taken from User Forum: Manual install of Dokuwiki in a Synology NAS running DSM6.2
It is the same procedure as for a complete new installation. Only the backup of the data is added and the procedure for this is described.

  1. To be extra save; copy the nas/DokuWiki folder from your Synology to a other location.
  2. Delete the DokuWiki package with the Package Center.
  3. Upgrade to DSM 7 (see instructions on the official Synology site)
  4. Go to Webstation in DSM → PHP Setting (scripttaalinstellingen in my native language) → Create/Make → Profile name: Dokuwiki → Profile description: Dokuwiki → PHP version: PHP 7.4 → enable Extensions: bz2, gd, openssl and zlib and click Save/Ok.
  5. Go to Webserviceportal (still in Webstation) and choose for HTTP back-endserver: Apache HTTP Server 2.4 and PHP: Dokuwiki (PHP 7.4.) → Save.
  6. copy dokuwiki folder back into web directory

See also