Not logged in. · Lost password · Register

All posts by jmd (1)

topic: The datadir ('pages') at ./data/pages is not found  in the forum: General Help and Support Installation and Configuration
jmd #1
Member since Dec 2018 · 1 post
Group memberships: Members
Show profile · Link to this post
I have just spent about an hour faffing around with this, so thought I would quickly share. In my case, I was moving the DokuWiki installation from our web host to an internal server, and had checked and double checked the owners, permissions etc.
In the end it turned out to be because SELinux was turned on.
To fix it, I ran the following commands:

setenforce 0
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config

HOWEVER I am no security expert and this is probably a bad idea if this is an internet facing server, so please use these commands with caution.
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 08:22:43 (UTC +01:00)