Hello, Recently, I upgraded my home server from Wheezy to Jessie. Ever since my PHP web stack doesn't work anymore, mostly affecting the ownCloud installation. The problem manifests itself as an empty page served.
Software/Versions: * ownCloud 8.1.1, installed from their Debian repo * nginx 1.6.2-5 * php5(-fpm) 5.6.9+dfsg-0+deb8u1 * postgresql 9.4+165 So far I've attempted to enable FPM logging, but the log files remain suspiciously absent or empty. nginx doesn't see an error coming back. If I run ownClouds index.php on the command line I get the source for the login page just fine. Listening in on the FPM port I see that only an empty response is returned. I have attached the scrubbed configuration files for nginx and php5-fpm. Any help is much appreciated. Regards, Peter Ludikovsky
[global] pid = /run/php5-fpm.pid error_log = /var/log/php5-fpm.log include=/etc/php5/fpm/pool.d/*.conf
[www] user = www-data group = www-data listen = 127.0.0.1:9000 listen.owner = www-data listen.group = www-data pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 chdir = / catch_workers_output = yes php_flag[display_errors] = on php_admin_value[error_log] = /var/log/fpm-php.www.log php_admin_flag[log_errors] = on
upstream php-handler { #server unix:/var/run/php5-fpm.sock; server 127.0.0.1:9000; } server { listen *:443; server_name name1.local; server_name name2.local; access_log /var/log/nginx/name1.local/access.ssl.log combined; error_log /var/log/nginx/name1.local/error.ssl.log; root /srv/www/external/; index index.html index.htm; client_max_body_size 1024M; fastcgi_buffers 64 4K; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; if ($request_uri ~ " ") { return 444; } location ~ ^/owncloud/core/(js|css|img)(/.*)?$ { alias /srv/www/owncloud/core/$1$2; } rewrite ^/owncloud/caldav(.*)$ /owncloud/remote.php/caldav$1 redirect; rewrite ^/owncloud/carddav(.*)$ /owncloud/remote.php/caldav$1 redirect; rewrite ^/owncloud/webdav(.*)$ /owncloud/remote.php/caldav$1 redirect; location ~ ^/owncloud/(?:data|config|\.ht|db_structure\.xml|README) { deny all; } location / { # The following 2 rules are only needed with webfinger rewrite ^/.well-known/host-meta /owncloud/public.php?service=host-meta last; rewrite ^/.well-known/host-meta.json /owncloud/public.php?service=host-meta-json last; rewrite ^/.well-known/carddav /owncloud/remote.php/carddav/ redirect; rewrite ^/.well-known/caldav /owncloud/remote.php/caldav/ redirect; rewrite ^/owncloud/(/core/doc/[^\/]+/)$ /owncloud/$1/index.html; try_files $uri $uri/ index.php; } location ~ ^(/owncloud/.+?\.php)(/.*)?$ { try_files $1 = 404; include fastcgi_params; fastcgi_param SCRIPT_FILEPATH $document_root$1; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param HTTPS on; fastcgi_param MOD_X_ACCEL_REDIRECT_ENABLED on; fastcgi_pass php-handler; } location /srv/www/external/owncloud/data { internal; root /srv/www/external/; } location ~ ^/tmp/oc-noclean/.+$ { internal; root /tmp/; } ssl on; ssl_certificate /etc/ssl/certs/name1.local.pem; ssl_certificate_key /etc/ssl/certs/name1.local.pem; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"; ssl_prefer_server_ciphers on; ssl_session_cache shared:name1.local:2M; add_header X-Frame-Options DENY; # ssl_stapling on; # ssl_stapling_verify on; resolver 127.0.0.1 8.8.4.4 valid=300s; resolver_timeout 5s; }
signature.asc
Description: OpenPGP digital signature