Aio install fails with dns error

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): all-in-one latest
Operating system and version (eg, Ubuntu 24.04): Ubuntu 24.04
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 8.3): replace me

The issue you are facing:

mf@ubuntu:~$ sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 80:80 --publish 8080:8080 --publish 8443:8443 --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --env NEXTCLOUD_DATADIR="/mnt/ncdata" --env NEXTCLOUD_MEMORY_LIMIT=512M --env NEXTCLOUD_UPLOAD_LIMIT=20G  --volume /var/run/docker.sock:/var/run/docker.sock:ro nextcloud/all-in-one:latest
Unable to find image 'nextcloud/all-in-one:latest' locally
latest: Pulling from nextcloud/all-in-one
43c4264eed91: Pull complete 
bb15916673af: Pull complete 
9feb3258c4c6: Pull complete 
32e436918c34: Pull complete 
e567f6a279d6: Pull complete 
57c15fd3b41b: Pull complete 
fb0b325a6065: Pull complete 
6b0b83336881: Pull complete 
7fe54b97407c: Pull complete 
b118019426b3: Pull complete 
8a5982a7ff4d: Pull complete 
1a55c5ecd2db: Pull complete 
a4524ac5050e: Pull complete 
b7d3eeb8f7b7: Pull complete 
2e114c42ef9f: Pull complete 
b4d07cba0bda: Pull complete 
ec948176e10b: Pull complete 
deebaa60f644: Pull complete 
Digest: sha256:c06aa0cf8c31ba0ab9471cbab3d5064b0dbf14043cc116d0c1e87a899ec8de51
Status: Downloaded newer image for nextcloud/all-in-one:latest
Trying to fix docker.sock permissions internally...
Creating docker group internally with id 987
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Could not resolve the host nextcloud.com.
Most likely the DNS resolving does not work.
You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
mf@ubuntu:~$ ping nextcloud.com
PING nextcloud.com (2a01:4f8:a0:3068::2) 56 data bytes
64 bytes from 2a01:4f8:a0:3068::2: icmp_seq=1 ttl=56 time=14.8 ms
64 bytes from 2a01:4f8:a0:3068::2: icmp_seq=2 ttl=56 time=13.5 ms
64 bytes from 2a01:4f8:a0:3068::2: icmp_seq=3 ttl=56 time=13.8 ms
^C
--- nextcloud.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 13.481/14.031/14.769/0.542 ms

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

  1. sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 80:80 --publish 8080:8080 --publish 8443:8443 --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --env NEXTCLOUD_DATADIR="/mnt/ncdata" --env NEXTCLOUD_MEMORY_LIMIT=512M --env NEXTCLOUD_UPLOAD_LIMIT=20G --volume /var/run/docker.sock:/var/run/docker.sock:ro nextcloud/all-in-one:latest

The output of your Nextcloud log in Admin > Logging:

not applicable

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

not applicable

The output of your Apache/nginx/system log in /var/log/____:

not applicable

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

not applicable

Hi,

This might be your clue

Apart from that see this:

But how come this error suddenly pops up?
I did not play around with anything, except installing fuse in order to use borg mount.

I cannot tell

So it will be a clean install on a clean ubuntu install.

Feels not really professional, though. Would rather understand, what circumstances outside the containers might cause that error.

I would be interested as well

This is not the problem. Occurs also in clean install on clean Ubuntu install.

Hm, weird. I cannot reproduce this on my test instance. How did you install docker? Can you also post the output of sudo docker info here?

Also, do you still have this error logged?

yes i still have that error logged

docker.odt (25,5 KB)