CentOS 7.5
PHP 7.1.18 (webtatic repo)
MariaDB Ver 15.1
Apache 2.4.6
Nextcloud 13.0.4
New/first install of Nextcloud. Already have a static virtual host site up and running with no problem. Can run the occ
command (as user apache
) without problem. Have updated the .htaccess file and restarted httpd
.
Trying to access (using Firefox) gives the error
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The nextcloud.error.log gives the key error as
AH01079: failed to make connection to backend: 127.0.0.1, referer: http://docs.newtechlaw.com/
The full error log is
[Fri Jun 15 19:59:42.926577 2018] [authz_core:debug] [pid 26926] mod_authz_core.c(809): [client 192.168.71.44:53527] AH01626: authorization result of : granted, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926632 2018] [proxy:debug] [pid 26926] mod_proxy.c(1123): [client 192.168.71.44:53527] AH01143: Running scheme fcgi handler (attempt 0), referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926645 2018] [proxy_ajp:debug] [pid 26926] mod_proxy_ajp.c(722): [client 192.168.71.44:53527] AH00894: declining URL fcgi://127.0.0.1:9000/var/www/html/nextcloud/index.php, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926657 2018] [proxy_fcgi:debug] [pid 26926] mod_proxy_fcgi.c(972): [client 192.168.71.44:53527] AH01076: url: fcgi://127.0.0.1:9000/var/www/html/nextcloud/index.php proxyname: (null) proxyport: 0, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926667 2018] [proxy_fcgi:debug] [pid 26926] mod_proxy_fcgi.c(979): [client 192.168.71.44:53527] AH01078: serving URL fcgi://127.0.0.1:9000/var/www/html/nextcloud/index.php, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926676 2018] [proxy:debug] [pid 26926] proxy_util.c(2203): AH00942: FCGI: has acquired connection for ()
[Fri Jun 15 19:59:42.926686 2018] [proxy:debug] [pid 26926] proxy_util.c(2256): [client 192.168.71.44:53527] AH00944: connecting fcgi://127.0.0.1:9000/var/www/html/nextcloud/index.php to 127.0.0.1:9000, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.926837 2018] [proxy:debug] [pid 26926] proxy_util.c(2426): [client 192.168.71.44:53527] AH00947: connected /var/www/html/nextcloud/index.php to 127.0.0.1:9000, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.927197 2018] [proxy:error] [pid 26926] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 () failed
[Fri Jun 15 19:59:42.927224 2018] [proxy_fcgi:error] [pid 26926] [client 192.168.71.44:53527] AH01079: failed to make connection to backend: 127.0.0.1, referer: http://docs.newtechlaw.com/
[Fri Jun 15 19:59:42.927230 2018] [proxy:debug] [pid 26926] proxy_util.c(2218): AH00943: FCGI: has released connection for (*)
[Fri Jun 15 19:59:42.927267 2018] [headers:debug] [pid 26926] mod_headers.c(848): AH01503: headers: ap_headers_error_filter()
The Virtual Hosts file is
<VirtualHost *:80>
ServerAdmin webmaster@newtechlaw.com
ServerName docs.newtechlaw.com
ServerAlias docs.certiv.net
DocumentRoot “/var/www/html/nextcloud”
Alias /nextcloud “/var/www/html/nextcloud/”<Directory /var/www/html/nextcloud/> Options +FollowSymlinks AllowOverride All Require all granted <IfModule mod_dav.c> Dav off </IfModule> <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15552000" </IfModule> <FilesMatch \.php$> SetHandler "proxy:fcgi://127.0.0.1:9000" </FilesMatch> SetEnv HOME /var/www/html/nextcloud SetEnv HTTP_HOME /var/www/html/nextcloud SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</Directory>
ErrorLog logs/nextcloud.error.log CustomLog logs/nextcloud.access.log combined
</VirtualHost>