Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Install permission error
Avatar
WangHM #1
Member for a week · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Install permission error
The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?

How to fix this error? OS:CentOS 7,Apache/2.4.6,PHP/5.4.16
Avatar
MartinR #2
Member since Jul 2015 · 190 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Just a quick thought - is this the dreaded SELinux catching you?

My data/pages is set to rwxrwxr-x. 10 apache apache     4096 May 23  2019 pages
Avatar
WangHM #3
Member for a week · 3 posts
Group memberships: Members
Show profile · Link to this post
Quote by MartinR:
Just a quick thought - is this the dreaded SELinux catching you?

My data/pages is set to rwxrwxr-x. 10 apache apache     4096 May 23  2019 pages

My data/pages already set to  drwxrwxrwx. 4 apache apache    36 3月  24 18:20 pages But still problems
Avatar
virk #4
Member since Aug 2008 · 667 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Quote by WangHM:
The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?

How to fix this error? OS:CentOS 7,Apache/2.4.6,PHP/5.4.16

What did you put in the configuration as "savedir"? According to mine there should be only ./data
Avatar
WangHM #5
Member for a week · 3 posts
Group memberships: Members
Show profile · Link to this post
Quote by virk:
Quote by WangHM:
The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?

How to fix this error? OS:CentOS 7,Apache/2.4.6,PHP/5.4.16

What did you put in the configuration as "savedir"? According to mine there should be only ./data

This is an error prompted when accessing install.php. The installation script cannot continue. Do you mean that I manually configure the configuration file?
Avatar
MartinR #6
Member since Jul 2015 · 190 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
In reply to post #4
Good point.  In Admin > Configuration I have "Directory for saving data:" /home/dokuwiki/data/ and not /home/dokuwiki/data/pages.  If the OP has ./data/pages then DW may be attempting to access ./data/pages/pages
Avatar
turnermm (Moderator) #7
Member since Oct 2009 · 4803 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
The default setting is ./data
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
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:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-02, 21:50:38 (UTC +02:00)