Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
The datadir ('pages') at ./data/pages is not found
Page:  previous  1  2 
Avatar
Michaelsy #16
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66274
Quote by Michaelsy:
There are several ways to install DokuWiki without having to worry about file permissions. One of them is the DokuWiki-Downloader

The prerequisite for the functioning of the Downloader is, of course, that the server is set up correctly so far that the Downloader script can write the DokuWiki files.

Anyone who is unable or unwilling to set this up on his own server is in good hands with one of the usual shared hosting providers.

Who puts his car in a closed garage and wants to drive to outside without opening the garage door, this driver can not be helped by the car manufacturer.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2019-05-25, 23:32 by Michaelsy.
Avatar
bb88 #17
Member since May 2013 · 13 posts
Group memberships: Members
Show profile · Link to this post
My proposal was to put the hint about needed permissions on the install page:
https://www.dokuwiki.org/install

So instead of 'Read the security page before you begin installing. Take it seriously.' which implies 'You have to learn the Unix permission system before you can install Dokuwiki' one could say:
'Open access for the server to the data directory, for example:
 chown -R www-data:www-data ./ '

This is all the magic I propose.
Avatar
Michaelsy #18
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Quote by bb88:
... one could say:
'Open access for the server to the data directory, for example:
 chown -R www-data:www-data ./ '

Sorry, but that would quite confuse users who can not do this (and of course do not need this). IMHO it makes no sense to make such recommendations without explaining what the background is.

But yes, I agree with you, the DokuWiki documentation could be improved at a few places. But as we see at this point, it's not always easy ...

Edit: Sorry, I withdraw this post because I wrote it under an erroneous condition. I thought the note should be placed on the download page. Of course, on the install page, it makes a bit more sense. Was my fault.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2019-05-29, 09:54 by Michaelsy.
Avatar
FosseWay #19
Member since May 2016 · 118 posts · Location: Canada
Group memberships: Members
Show profile · Link to this post
In reply to post ID 66275
I recently submitted a PR which provides slightly more granular info about permissions issues, as well as a link to the dokuwiki.org page where relevant info is gathered. Of course, as andi suggests, DokuWiki can't magically fix everything for every installation in every situation. What if the web user isn't called www-data? What if <1000 other things>? Somebody has to bleed the brakes; either you learn to do it yourself, or you pay a mechanic  <_<

Still, the manual can always be improved, and I hope that there is no harm in providing a link to the manual for the car or having more specific warning lights on the dashboard, if we're continuing with the car analogy  :-)
This post was edited on 2019-05-29, 14:23 by FosseWay.
Avatar
Michaelsy #20
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
@FosseWay: Good idea!
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
bb88 #21
Member since May 2013 · 13 posts
Group memberships: Members
Show profile · Link to this post
We can keep it short - add this line on the installation page:
'The webserver needs access rights to the data directory (see security).'

Actually, this is not a security issue, it is needed for Dokuwiki to work.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-06-25, 22:09:53 (UTC +02:00)