
Nextcloud connection problem
Hello everyone,
This is my first post here. I got interested in Filerun because it looks like it focuses on file handling and doesn't try to be a social networking site like Nextcloud does. I hope that I will be able to implement this solution that is new to me.
I'm after the first tests and everything is exactly as I expected, all functions work as they should, just like in the demo version. Unfortunately, with some minor but significant exceptions.
Starting from the beginning, I have to mention that I installed FIlerun on the Ubuntu server (currently it is 22.04.1 LTS but the problem persists on the 20 LTS version). The server is a fresh installation based on the instructions from the project website (Ubuntu 20 with NGINX), set up specifically for Filerun testing purposes on the Oracle VM VirtualBox virtual machine. The host is a Windows unit.
My installation has HTTPS activated by Let's Encrypt. Due to the fact that I have a dynamic IP address, I used the Duck DNS solution. Therefore, the address of my installation has the following format: https://mydomain.duckdns.org
The problem is that I cannot connect any Nextcloud client to my configuration in any way. The desktop client shows the following message:
Google translates this message as follows:
Unable to parse JSON returned from server: Invalid value.
The mobile application (android) after entering the server address displays a blank screen:
Both of the above applications work fine after entering https://demo.filerun.com
Also, there is a problem with WebDAV. Both Cyberduck and every other program I have tested fail when trying to connect to my installation. The connection to the demo works fine. The only exception is Windows Explorer. Even the demo can't connect to it.
Do you guys have any idea where the problem is?
Regards, Damian
Answer

Accessing https://mydomain.duckdns.org/dav.php/ in a browser, what do you see? It should prompt for authentication, so login and let me know what you see.

As you suggested, I have looked at my configuration file and there is definitely something wrong with it. My NGINX server block is the cause of my problems and I will have to investigate this.
Thanks for your time.
Damian

Let me resume a topic marked as closed.
As suggested, I took a closer look at Nginx Server Block. With the following content added, it is better now:
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
include fastcgi_params;
include snippets/fastcgi-php.conf;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
Better means WebDAV is working fine now. After entering the address https://mydomain.duckdns.org/dav.php/ to the browser, the login window now appears normally, and then the content as in the screenshot:
However, the same issues still occur when trying to log into any of the Nextcloud clients. And that matters most to me.
Do you have any ideas what is wrong with my configuration?
Damian
Customer support service by UserEcho
https://docs.filerun.com/webdav#nginx_-_no_xml