Closed franzpro closed 3 years ago
Same issue for me, hasn't been working since NC 19.
I have not been able to replicate this issue under NC20 since the patch. Anything else you could report to try to understand the problem here?
I try to gather some input:
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/share/webapps/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/media/owncloud/apps',
'url' => '/apps2',
'writable' => true,
),
),
Rainloop installs in apps2
The error message the dev console creates:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://sub.domain.tld/apps/rainloop/app/rainloop/v/1.14.0/static/css/app.min.css?community".
I see the following red texts in the network tab
Name | Status | Type | Initiator | Size
rainloop/ | (canceled) | document | /core/js/dist/main.js?v=c8712013-27:1 | Size
?OwnCloudAuth | 500 | document | (index) | 3.4 kB | 112 ms
I tried adjusting access rights but it didn't change the problem. Only rainloop seems to have problems.
@franzpro is the app also installed in a custom folder in your setting?
This really seems like a "derivative" of https://github.com/pierre-alain-b/rainloop-nextcloud/issues/210
Hi, for me the rainloop app folder is located in: /usr/local/www/nextcloud/apps/
the config.php looks like:
$CONFIG = array ( 'apps_paths' => array ( 0 => array ( 'path' => '/usr/local/www/nextcloud/apps', 'url' => '/apps', 'writable' => true, ), 1 => array ( 'path' => '/usr/local/www/nextcloud/apps-pkg', 'url' => '/apps-pkg', 'writable' => true, ),
Hi, is this screenshot helpful?
thanks @ryba84, the nginx log is useful, we see where the error is:
`Stack trace:
thrown in /var/www/html/nc/apps/rainloop/app/index.php on line 8"`
and
2020/12/01 08:47:56 [error] 125#125: *32 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OC' not found in /var/www/html/nc/apps/rainloop/app/index.php:8
has the OC class disappeared in NC 20?
Ok. I've managed to overcome this issue. The problem is in nginx configuration. If I use configuration from latest documentation Rainloop app gives errors like above. But when I use configuration from Nextcloud 19 documentation it's working as expected. I've no time to more tests, but it needs deeper investigate. Seems the nginx configuration from latest (v20) documentation creates problems not only with Rainloop app #23387. My nginx version is: 1.14.2 from official Debian 10 repositories.
I only have been using Nextcloud since 19. Rainloop has always been a blank white screen going to admin or the app. I show it installing in the proper folder. None of the solutions I have read work. I am using caddyv2 as webserver.
I also switched to caddy2, but also switched to the official nextcloud docker image. Since then I have no more issues. rainloop now resides in custom_apps
I also switched to caddy2, but also switched to the official nextcloud docker image. Since then I have no more issues. rainloop now resides in custom_apps
I am hosting on truenas in a freebsd jail.
I Found how to correct this bug in nginx file configuration from latest documentation::
Change line index index.php index.html /index.php$request_uri;
into index /index.php /index.html /index.php$request_uri;
and then restart nginx.
I used the fix: https://github.com/nextcloud/documentation/pull/2197#issuecomment-721432337 while they say, that the fix of my previous poster might give delays: https://github.com/nextcloud/documentation/pull/2197#discussion_r530570586
Anyway, I'll cross-reference the LDAP-Problem which originates in the same changes (and somehow wrong documentation): https://github.com/nextcloud/server/issues/16194
OK, thank you for posting solutions, I am therefore closing the issue.
Hi, thank you @jolly-jump your solution rocks !! I had the same issue on NC21, just after switching to official nginx config for NC21
Hi,
i saw the issue 201 . It sounds like it is already solved after NC19 and Rainloop 7.0.1, but i have the exactly same error pattern (blank screen, only the Top Menue is visible) with NC 20.0.1 and Rainloop 7.0.3 http://xxxxxx:8282/apps/rainloop/
Additionally the admin Page is blank with this URL: http://xxxxxx:8282/apps/rainloop/app/?admin
If i change it to: http://xxxxxxx:8282/**index.php**/apps/rainloop/app/?admin the admin page works.
NC is running as jails plugin in a trunas12. Webserver is Nginx I tried Firefox and Edge
does someone have a tip for me?
thx Franz