You are not logged in.
I have installed a Nextcloud, nginx and php-fpm as suggested on the arch-wiki. First, it works! Very good tutorial. If I login to Nextcloud I find a strange warning under "/settings/admin/overview". I would be in German so I don't post the text, but it basically says something like "Cannot connect to the internet". However I can post the messages from the "settings/admin/logging" page:
Fehler internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 49: Couldn't parse CURLOPT_RESOLVE entry 'www.edri.org:80:'! (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://www.edri.org/
Fehler PHP Error: dns_get_record(): A temporary server error occurred. at /usr/share/webapps/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83
Fehler PHP Error: dns_get_record(): A temporary server error occurred. at /usr/share/webapps/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83
Fehler PHP Error: dns_get_record(): A temporary server error occurred. at /usr/share/webapps/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#83
Fehler PHP Error: dns_get_record(): A temporary server error occurred. at /usr/share/webapps/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#57
...
I see this message also with different URLs e.g. "http://www.eff.org/" and "http://www.startpage.com/".
At first I thought it has something to do with the PHP extension for curl. But curl is installed and "php -m | grep curl" shows it is there.
Any ideas what this might be?
Last edited by coolion (2021-12-15 18:09:35)
Offline
I got the solution. I have posted in parallel to the nextcloud forum and it turns out it is a problem with systemd-resolved. Have a look at [https://wiki.archlinux.org/title/Systemd-resolved#DNS]. Linking the /etc/resolve.conf to the mentioned location makes nextcloud's error disappear.
Offline
Hi coolion,
I see the same error in my log and it is associated with frequent unresponsiveness and 504 gateway time-outs. In contrast to your installation, I am working with docker-compose (Nextcloud 23 + nginx reverse proxy + lets encrypt companion, etc.).Enabling systemd-resolved in stub mode did not solve the issue. I am not sure if a recent systemd, docker, docker-compose or nextcloud update caused the issue. Do you have any suggestions?
Best,
tobsen
Offline