I currently have two DokuWiki instances running, one running in a local Windows environment (though using Apache), and one running on my web server running SuSe 9.2.
On the Windows instance everything is running smoothly. My little problem is with the one on my web server. Everything works just fine, except I can't change the configuration settings. I get the following message:
"The settings file can not be updated, if this is unintentional,
ensure the local settings file name and permissions are correct"
I have set dokuwiki.php and local.php to 644, owner is wwwrun and group is www, which is the same for my apache process.
I am wondering what is wrong here. The otherwise excellent documentation on DokuWiki doesn't help me enough to solve this.
I can change the settings manually, off course, but I would like to be able to change settings simply by using the supplied DokuWiki interface.
I am running rc2006-10-18, but this problem also occurred before I updated to this rc2.
The config manager wants to save the old config to a backup before making any changes. Either make the conf directory writable or add an empty local.php.bak and change it's permissions as well.
Great! Thanks! Ownership of the conf directory was the problem.
I've checked my permissions and followed the instructions above, but i still can't edit my configuration. I CAN edit pages, however. Any other ideas on how to manage the configuration?
EDIT: Somehow my local.php permissions got swapped back......my bad.
did someybody fixed the problem ? i´ve got the same, and dont knwo what to do -.- help!
sudo chown -R www-data:www-data /etc/dokuwiki
if configuration is /etc/dokuwiki
– this fix my problem
I’m running into this. (Will post more detail later)
DokuWiki is reading the config fine but cannot write to local.php
I can edit and save pages without issue. Install theme and plugins Ok. However I cannot disable plugins (it’s marked as successful, but on page refresh it’s re-enabled).
Conf files where in /etc/webapps/dokuwiki accessed by a symbolic link in /usr/share/webapps/dokuwiki
I tried deleting the symbolic link, making a conf dir in /u/s/w/d and coping the config files there. Again, dokuwiki is able to read them okay but won’t write to them.
Files are owned by http (same as php-fpm & caddy), and I’ve tried everything from 600, 755, 777 For permissions. No errors in journalctl logs. Absolutely flummoxed right now.
Found the answer, open_basedir wasn’t enough. I needed to override php-fpm to explicitly set the ReadWriteDirs to point to the path to the config directory (both /etc/webapps/dokuwiki and /usr/share/webapps/dokuwiki/conf and then I could edit the config!)