Dokuwiki

From SME Server
Jump to navigationJump to search






dokuwiki
NeedImage.svg
dokuwiki logo
MaintainerVIP-ire
Source: smeserver-dokuwiki
Source:dokuwiki-plugins
Licenceopen source
Tags Documentation Webapps


dokuwiki for SME Server

PythonIcon.png Skill level: easy
The instructions on this page can be followed by a beginner.


Maintainer

We have now imported these contribs originally built by Daniel into smecontribs.

Daniel B.

Version

smecontribs-testing 11:
smecontribs 10:
smeserver-dokuwiki
The latest version of smeserver-dokuwiki is available in the SME repository, click on the version number(s) for more information.


smecontribs 11:
smecontribs 10:
dokuwiki
The latest version of dokuwiki is available in the SME repository, click on the version number(s) for more information.


smecontribs 11:
smecontribs 10:
dokuwiki-plugins
The latest version of dokuwiki-plugins is available in the SME repository, click on the version number(s) for more information.


Description

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.

Installation 9.x

v9 is now EOL and deprecated

Installation v10.x

Warning.png Warning:
These contribs are still in the smedev repo for testing


To install normally you would use the following:

yum --enablerepo=smecontribs install smeserver-dokuwiki dokuwiki dokuwiki-plugins

You should not need a reboot.

Any changes should be activated with

signal-event webapps-update

There is no panel in the server-manager, you can go to https://sme-ip/dokuwiki and perform a login with users and passwords of your internal ldap.

Configuration

A few DB properties are available to control DokuWiki configuration:

  • AliasOnPrimary (enabled|disabled). Default is enabled. If disabled, the alias /dokuwiki will not be added in your main vhost in apache. This is only usefull if you want to create a dedicated vhost for DokuWiki
  • Authentication: can be either ldap, which is the default. With this setting, all the accounts on your SME Server will be used. Group membership is available to handle ACL. The admin user has full access to all option. Other valid values are internal, which will use the internal account in DokuWIki (you have to manually create accounts, or enable user registration in the configuration). The last value is 'LemonLDAP' which can be used to protect DokuWiki with [LemonLDAP-NG]. In this case, LemonLDAP::NG will handle authentication only, user information and group membership is looked up in LDAP, and authroization is handled by the DokuWiki ACL
  • access (public|private). Default is private, which means the wiki is only available from the internal networks (and IP allowed to access the server-manager). If set to public, the wiki will be available from anywhere
  • status (enabled|disabled). If set to disabled, the wiki won't be available anymore

Backup and restore

You should backup /etc/dokuwiki and /var/lib/dokuwiki (which store configuration and data respectivly)


Manual upgrade

Warning.png Warning:
This is work in progress!


I had an existing RPM install and wondered if I could upgrade.

The latest fedora RPMs are patched to remove compose code from the dokuwiki code and use rpms.

I thought I would try and see if compose would work.

First I installed compose. See this link:

https://wiki.koozali.org/PHP#Installation_of_Composer

Next we get a copy of the dokuwiki code. Go here and get a download link:

https://download.dokuwiki.org/

cd ~
mkdir -p /root/dokuwiki
cd /root/dokuwiki
wget https://download.dokuwiki.org/out/dokuwiki-c98g4519b5d16cfdee29a855275c5759f.tgz

Or from here (check the latest release):

https://github.com/dokuwiki/dokuwiki/releases/download/release-2024-02-06a/dokuwiki-2024-02-06a.tgz
tar -zxvf dokuwiki-2024-02-06a.tgz
cd dokuwiki
chown -R apache:www *

Backup

mkdir -p /root/dokuwiki-backup/etc/dokuwiki
mkdir -p /root/dokuwiki-backup/var/lib/dokuwiki
cp -r /etc/dokuwiki/* /root/dokuwiki-backup/etc/dokuwiki
cp -r /var/lib/dokuwiki/* /root/dokuwiki-backup/var/lib/dokuwiki

Copy file over without trashing the remote symlinks to /etc/and /var

rsync -av -K /root/dokuwiki/dokuwiki/* /usr/share/dokuwiki/
cd /usr/share/dokuwiki
chown -R apache:www *

Check you can access the wiki.

Now clean up the old files: https://www.dokuwiki.org/install:unused_files

cd /usr/share/dokuwiki
grep -Ev '^($|#)' data/deleted.files | xargs -n 1 rm -vf

I may try and build an RPM to update this way at some stage.

Uninstall

yum remove smeserver-dokuwiki dokuwiki-plugins dokuwiki
signal-event post-upgrade;  signal-event reboot

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-dokuwiki component or use this link


IDProductVersionStatusSummary
10583SME Contribs9.2CONFIRMEDExtension directory is not writable


Please raise bugs under the SME-contribs section in bugzilla and select the dokuwiki component or use this link


"No open bugs found."


Please raise bugs under the SME-contribs section in bugzilla and select the dokuwiki-plugins component or use this link


"No open bugs found."

Changelog

Only versions released in smecontrib are listed here.

smeserver-dokuwiki Changelog: SME 10 (smecontribs)

2022/06/24 Michel Begue 0.3.0-5.sme
- update to httpd 2.4 syntax [SME: 12043]

- add dokuwiki to backup list [SME: 12005]
2021/10/16 John Crisp 0.3.0-4.sme
- Fix spec file patch issue

2021/10/14 John Crisp 0.3.0-3.sme
- remove directory permissions for plugin directory [SME: 11703]

- Fix httpd FilesMatch
2021/10/05 Brian Read 0.3.0-2.sme
- Add update event [SME: 11703]

2021/10/04 John Crisp 0.3.0-1
- First import to SME Contribs [SME: 11703]

- Update to PHP 74
dokuwiki Changelog: SME 11 (smecontribs)

2025/10/09 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

by assuming the date is correct and changing the weekday.
2021/10/04 John Crisp -2020-07-29-1
- First import to Contribs [SME: 11702]
2017/08/28 Daniel Berteaud - 20170219e-1
- Update to 2017-02-19e
2017/08/23 Daniel Berteaud - 20170219d-1
- Update to 2017-02-19d
2017/03/09 Daniel Berteaud - 20170219b-1
- Update to 2017-02-19b
dokuwiki Changelog: SME 10 (smecontribs)
2021/10/04 John Crisp -2020-07-29-1
- First import to Contribs [SME: 11702]
2017/08/28 Daniel Berteaud - 20170219e-1
- Update to 2017-02-19e
2017/08/23 Daniel Berteaud - 20170219d-1
- Update to 2017-02-19d
2017/03/09 Daniel Berteaud - 20170219b-1
- Update to 2017-02-19b
2017/02/21 Daniel Berteaud - 20170219a-1
- Update to 2017-02-19a
dokuwiki-plugins Changelog: SME 11 (smecontribs)
2021/10/14 John Crisp 20210220-4
- remove attr dir line in files to fix conflicts [SME: 11703]
2021/10/11 Terry Fage 20210220-3
- reapply patchs ckgedit_fix_media_dir mupdf_tmp_dir [SME: 11704]
2021/10/06 John Crisp 20210220-2
- Update the dokuwiki requires version

2021/10/05 John Crisp - 20210220-1
- First import to SME [SME: 11704]
- Updated plugins to lastest versions
- Scripted git pulls for plugins and zipping them

- Sorted plugin names alphabetically
2017/09/25 Daniel Berteaud - 20170219e-2
- Fix syntax error in ckgedit lang file preventing access to settings
dokuwiki-plugins Changelog: SME 10 (smecontribs)
2021/10/14 John Crisp 20210220-4
- remove attr dir line in files to fix conflicts [SME: 11703]
2021/10/11 Terry Fage 20210220-3
- reapply patchs ckgedit_fix_media_dir mupdf_tmp_dir [SME: 11704]
2021/10/06 John Crisp 20210220-2
- Update the dokuwiki requires version

2021/10/05 John Crisp - 20210220-1
- First import to SME [SME: 11704]
- Updated plugins to lastest versions
- Scripted git pulls for plugins and zipping them

- Sorted plugin names alphabetically
2017/09/25 Daniel Berteaud - 20170219e-2
- Fix syntax error in ckgedit lang file preventing access to settings


Categories