Iāve run into a bit of an issue with my fresh install of NextCloud on my OpenMediaVault Host through Docker (Portainer)
Upon my fresh install, the System Overview States: āError occurred while checking server setup,ā and upon checking my logs, it is just filled with:
dns_get_record(): A temporary server error occurred. at /app/www/public/lib/private/Http/Client/DnsPinMiddleware.php#113
My Docker Container is setup on a separate network that is also shared by my MariaDB so they can be isolated from the general network, however they still do have access to the internet.
I noticed using the docker console, I am able to reach the internet and ping the website needed, However there is no DNS or Gateway listed in the NextCloud Web UI. Im not too sure why as it should be provided by docker to my knowledge.
How are you verifying / testing access to the Internet? Make sure youāre testing from the command line in those containers since thatās the only perspective that matters.
I noticed using the docker console, I am able to reach the internet and ping the website needed, However there is no DNS or Gateway listed in the NextCloud Web UI. Im not too sure why as it should be provided by docker to my knowledge.
That suggests to me that your Nextcloud container is on a truly isolated network w/o external connectivity. Looks like Portainer has a toggle called āIsolated networkā. Iām not entirely sure how that maps to the underlying Docker setup specifically, but try turning that off.
Using the same method youāre using to test connectivity in the container (successfully apparently), what happens when you test connectivity to www.eff.org?
NAS:~# docker exec -it Nextcloud bash
NextCloud:/ #hostname -i
172.20.10.130 (Correct IP For Separate Network)
NextCloud:/#pingwww.eff.org
PING www.eff.org (151.101.0.201): 56 data bytes
64 bytes from 151.101.0.201: seq=0 ttl=53 time=20.823 ms
64 bytes from 151.101.0.201: seq=1 ttl=53 time=19.859 ms
So it works through the command line, I even tried specifying certain sites through config.php to no avail. Is my docker configuration wrong? Iāll post it below to confirm I didnāt mess up or likewise.
Just for background info, the system is an OpenMediaVault Host with Docker and Portainer installed.
I tried Disabling Pi-Hole Blocking for an hour, and it did not change anything. I suppose it shouldnāt since we were able to ping eff even with Pi-Hole.
However, I noticed that Nxetcloud WebUI does not show any gateway or DNS even though the container it runs within does, as we were able to ping. So I doubt itās anything to do with docker, portainer or the host since they were all able to reach eff.
Iāve attached pictures that show the DNS and Gateway section on NextCloud Web UI as blank, despite the portainer settings being 1.1.1.1 and 1.0.0.1, as seen in the picture.
Also, why is resolv.conf in container 127.0.0.11 despite the portainer set as 1.1.1.1 and 1.0.0.1, respectively? That doesnāt make sense to me.
(The redacted and missing links due to forums not letting me post links)
It seems to be working just fine. I do have a site to site VPN on my network, but this should be completely avoiding that as it is on a separate Vlan.
Looking at the resolv.conf for both the container and the host I get these respectively.
OpenMediaVault Host
192.168.1.241
192.168.1.242 These are expected as they are my PiHole Servers
Now, I think about it, let me try and see if changing these to 1.1.1.1 help. That went over my head completely lol.
Lastly, the version of nextcloud I am running is [Nextcloud Hub 8] (29.0.0) which is the latest as pulled by linuxserver
I have the same issue. I happens when trying to add a federated host.
But Iām using php8.3-fpm. The host itself can revolve any domain and the nextcloud instance got internet access (install apps, occ upgrade ā¦everything works).
Iām using adguard home and I see that there is no dns request, it is just failing without making a request.
LocalServerException
No DNS record found for cloud.nextcloud.com
No Nextcloud server.