[SOLVED] Owncloud 4.5 Beta core.css, core.js generation

You found a bug or you're missing a major feature? Just ask and discuss
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
marvind
Newbie
Posts: 2
Joined: Tue Sep 25, 2012 5:53 pm

[SOLVED] Owncloud 4.5 Beta core.css, core.js generation

Postby marvind » Tue Sep 25, 2012 6:11 pm

Hello,

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.
Last edited by marvind on Tue Sep 25, 2012 11:01 pm, edited 1 time in total.

marvind
Newbie
Posts: 2
Joined: Tue Sep 25, 2012 5:53 pm

Re: Owncloud 4.5 Beta core.css, core.js generation

Postby marvind » Tue Sep 25, 2012 11:00 pm

Ok, I added

Code: Select all

                location ~ ^/owncloud/remote.php(/.*)$ {
                        fastcgi_split_path_info ^(.+\.php)(/.*)$;
                        fastcgi_pass unix:/var/run/php5-fpm.sock;
                        include fastcgi_params;
                        fastcgi_param HTTPS on;
                }

and it seems to work fine now.


  • Similar Topics
    Replies
    Views
    Last post

Return to “Discuss possible bugs & feature requests”

Who is online

Users browsing this forum: No registered users and 1 guest