0
Answered

nextcloud android issue

adrianmoraru1 9 months ago updated by Vlad R 8 months ago 9

Hello,

I just set up a filerun instance and I have some problems with nextcloud android app.

When I set up the app after typing the domain the app shows this text: Loading ...

These are logs from my filerun instance (nginx):

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /status.php HTTP/1.1" 200 157 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.18.0"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "HEAD /remote.php/dav HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.18.0"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /ocs/v2.php/cloud/capabilities?format=json HTTP/1.1" 200 1727 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.18.0"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /index.php/login/flow HTTP/1.1" 200 886 "-" "Samsung SM-G781B (Android)"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /index.php/login/css/ext.php?v=2021.06.27&theme=blue HTTP/1.1" 404 51 "https://mydomain.com/index.php/login/flow" "Samsung SM-G781B (Android)"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /index.php/login/js/min.php?extjs=1&v=2021.06.27 HTTP/1.1" 404 51 "https://mydomain.com/index.php/login/flow" "Samsung SM-G781B (Android)"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /index.php/login/js/login.js?v=2021.06.27 HTTP/1.1" 404 886 "https://mydomain.com/index.php/login/flow" "Samsung SM-G781B (Android)"

172.16.16.20 - - [02/Dec/2021:18:45:16 +0200] "GET /index.php/login/flow?module=fileman&section=utils&sec=Login%20Page&lang=english&v=2021.06.27&page=translation.js HTTP/1.1" 200 886 "https://mydomain.com/index.php/login/flow" "Samsung SM-G781B (Android)"

Also, if it matters, the filerun instance is behind a haproxy and the SSL and redirect to 443 is handle by haproxy.

Thank you,

Adrian

Under review

A FileRun update will be released today. Do please write here if you will still be having troubles with this after the update, and we'll look into it.

Hello Vlad,

Very nice update, and thank for extend the limit to 10 users!! 

Unfortunately the nextcloud app still doesn't work. Below is a print screen.

OS: Debian 11

Web engine: Nginx

My php version:

root@xxxx:[~]: php -v
PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v11.0.0, Copyright (c) 2002-2021, by ionCube Ltd.
with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies

Can you please write to us an email with a test account to see what is going on here?

https://filerun.com/contact

Many thanks, I modified the conf in nginx and now works!! 

For others that have the same issue, this is what is needed for nextcloud app to work (nginx):

# PHP configuration
location ~ \.php(?:$|/)
{
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;

#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;

fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}

Vlad, if you are kind, there are some special requirements for playing Iphone recoreded videos in filerun? I hear just the audio but nothing video, just white.

VIdeo filmed with Samsung are played without problems.

Thank you,

Adrian Moraru

Can you please share a short sample video file so that I can check this out? I am not an iphone user myself :P

Unfortunately the codec is currently not supported by browsers other than Safari: https://caniuse.com/hevc