DokuWiki

It's better when it's simple

User Tools

Site Tools


install:synology

This is an old revision of the document!


Synology NAS

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

  • Use Apache Web Server for DokuWiki (optional):
    • Install Apache 2.4 via the Package Center
      Hint: go to Web Station Status Panel and click the Arrow in Management Column, this will bring you to the Apache Install Package in Package Center
  • Install PHP 7 (.2, .3 or .4) via the Package Center
    Hint: go to Web Station Status Panel and click the Arrow in Management Column, this will bring you to the PHP Install Package in Package Center

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

  • Edit the Profile and activate the following Extensions:
    • bz2
    • gd
    • ldap
    • openssl
    • pdo_sqlite

Save the settings!

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

On DSM:

  • Go to File Station
    • Select left the Web Folder
    • Upload the downloaded Archive from DokuWiki (TGZ)
    • Right Mouseclick on the Archive in File Station and select Extract… → Extract here
    • Do the same with the new File (TAR)
    • You have now the Folder “dokuwiki” in your Web-Folder
    • Delete TGZ and TAR File
  • Go to Web Station and select “Web Service Portal”
    • Edit the default server
      • If installed Apache: Httpback-end server: select Apache
    • PHP: Select the created Profile (Default Profile 7.x)
  • File Station: Setup Permissions for Folders
    • Go to Web Folder
    • Select dokuwiki Folder
    • Right Click on data Folder
      • Properties → Permission → Create:
        • User or Group: http
        • Select Read and Write
        • Click Done
        • Click Save

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

Go to http:/IPofSynology/dokuwiki/install.php

Done.

Upgrading from DSM 6

FIXME add detailed description how to do it. Should tell users how to proceed if they either already upgraded to DSM 7 or if they are still on DSM 6 and want to upgrade.

See also

install/synology.1628512334.txt.gz · Last modified: 2021-08-09 14:32 by saggi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki