Subject: Can't launch dokuwiki install
Hi gurus,
I have tried this for several times, but it always fail as these error:
1. From web page:
DokuWiki Setup 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?
2. This is permission on Linux:
#ls -ld dowiki/
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 dowiki/
# ls -lr dowiki/
total 104
-rw-rw-r--. 1 apache apache 33 Aug 24 2017 VERSION
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 vendor
-rw-rw-r--. 1 apache apache 306 Aug 24 2017 README
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 lib
-rw-rw-r--. 1 apache apache 20700 Aug 24 2017 install.php
-rw-rw-r--. 1 apache apache 2097 Aug 24 2017 index.php
drwxrwxr-x. 6 apache apache 4096 Aug 24 2017 inc
-rw-rw-r--. 1 apache apache 19374 Aug 24 2017 feed.php
-rw-rw-r--. 1 apache apache 3692 Aug 24 2017 doku.php
drwxrwxr-x. 12 apache apache 4096 Aug 24 2017 data
-rw-rw-r--. 1 apache apache 18092 Aug 24 2017 COPYING
drwxrwxr-x. 2 apache apache 4096 Aug 24 2017 conf
drwxrwxr-x. 2 apache apache 4096 Aug 24 2017 bin
3. My httpd is running as apache user:
# ps -ef|grep apache
apache 10539 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10540 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10541 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10542 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10543 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10544 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10547 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10665 10538 0 09:58 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10702 10538 0 10:00 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
PHP is also working fine as I can see from web page of index.php:
Apache Version Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5
Apache API Version 20120211
Server Administrator root@localhost
Hostname:Port test.test.com:0
User/Group apache(48)/48
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 5
4. This is httpd.conf:
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www/html">
directoryIndex index.php index.html
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
AddDefaultCharset UTF-8
<IfModule mime_magic_module>
MIMEMagicFile conf/magic
</IfModule>
EnableSendfile on
IncludeOptional conf.d/*.conf
5. There was this error reported before I remove data/.htaccess:
[Thu Jul 12 10:21:25.502853 2018] [access_compat:error] [pid 11074] [client 10.32.198.75:61414] AH01797: client denied by server configuration: /var/www/html/dowiki/data
And after I remove .ht.. file, I can even list /data/pages dir from web.
==========================================
And now it just stopped in here:
DokuWiki Setup 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?
Anyone can help on it I would appreciate!!
I have tried this for several times, but it always fail as these error:
1. From web page:
DokuWiki Setup 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?
2. This is permission on Linux:
#ls -ld dowiki/
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 dowiki/
# ls -lr dowiki/
total 104
-rw-rw-r--. 1 apache apache 33 Aug 24 2017 VERSION
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 vendor
-rw-rw-r--. 1 apache apache 306 Aug 24 2017 README
drwxrwxr-x. 8 apache apache 4096 Aug 24 2017 lib
-rw-rw-r--. 1 apache apache 20700 Aug 24 2017 install.php
-rw-rw-r--. 1 apache apache 2097 Aug 24 2017 index.php
drwxrwxr-x. 6 apache apache 4096 Aug 24 2017 inc
-rw-rw-r--. 1 apache apache 19374 Aug 24 2017 feed.php
-rw-rw-r--. 1 apache apache 3692 Aug 24 2017 doku.php
drwxrwxr-x. 12 apache apache 4096 Aug 24 2017 data
-rw-rw-r--. 1 apache apache 18092 Aug 24 2017 COPYING
drwxrwxr-x. 2 apache apache 4096 Aug 24 2017 conf
drwxrwxr-x. 2 apache apache 4096 Aug 24 2017 bin
3. My httpd is running as apache user:
# ps -ef|grep apache
apache 10539 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10540 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10541 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10542 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10543 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10544 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10547 10538 0 09:50 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10665 10538 0 09:58 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 10702 10538 0 10:00 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
PHP is also working fine as I can see from web page of index.php:
Apache Version Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5
Apache API Version 20120211
Server Administrator root@localhost
Hostname:Port test.test.com:0
User/Group apache(48)/48
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 5
4. This is httpd.conf:
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www/html">
directoryIndex index.php index.html
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
AddDefaultCharset UTF-8
<IfModule mime_magic_module>
MIMEMagicFile conf/magic
</IfModule>
EnableSendfile on
IncludeOptional conf.d/*.conf
5. There was this error reported before I remove data/.htaccess:
[Thu Jul 12 10:21:25.502853 2018] [access_compat:error] [pid 11074] [client 10.32.198.75:61414] AH01797: client denied by server configuration: /var/www/html/dowiki/data
And after I remove .ht.. file, I can even list /data/pages dir from web.
==========================================
And now it just stopped in here:
DokuWiki Setup 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?
Anyone can help on it I would appreciate!!