i just upgraded from Owncloud 4.0.7 to 4.5 beta 4. I'm running nginx with the following configuration:
Code: Select all
location ~ ^/owncloud/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}
location /owncloud/ {
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;
rewrite ^/apps/calendar/caldav.php /remote.php/caldav/ last;
rewrite ^/apps/contacts/carddav.php /remote.php/carddav/ last;
rewrite ^/apps/([^/]*)/(.*\.(css|php))$ /index.php?app=$1&getfile=$2 last;
rewrite ^/remote/(.*) /remote.php/$1 last;
try_files $uri $uri/ @webdav;
}
location @webdav {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
fastcgi_param HTTPS on;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_intercept_errors on;
try_files $uri =404;
}
It worked fine with 4.0.7. With 4.5 Beta 4 I run into the problem described here: http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-933 I have tried the suggested fixes in this report, but nothing worked.
The nginx error log states the following:
Code: Select all
2012/09/25 17:48:19 [error] 2531#0: *5130 open() "/var/www/owncloud/remote.php/core.css" failed (20: Not a directory)...
This suggests that the script is not correctly passed to fastcgi, but i cannot resolve it. Unfortunately, I cannot find additional information to fix this issue. Was there any solution which lead to closing the bug report? Any hints would be appreciated.