Guru’s,
I could do with some help
I have installed Nextcloud AIO (v12.8.0) on my pi. This pi runs a few small websites. However, AIO keeps restarting. The error in the log is:
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No memory limit support
WARNING: No swap limit support
curl: (6) Could not resolve host: ghcr.io (Could not contact DNS servers)
Could not reach https://ghcr.io.
Most likely is something blocking access to it.
You should be able to fix this by following Configuring DNS | dockerlabs
Another solution is using all-in-one/manual-install at main · nextcloud/all-in-one · GitHub
See all-in-one/manual-install/latest.yml at main · nextcloud/all-in-one · GitHub
Which I found strange. I have added to /etc/default.docker:
DOCKER_OPTS="--dns 192.168.2.1 --dns 8.8.8.8 --dns 8.8.4.4"
The 192 address is my own dns server (pihole).
Also created /etc/docker/daemon.json holding
{ "dns" : [ "192.168.2.1" , "8.8.8.8" , "8.8.4.4" ] }
I created AOI in portainer with the compose file at https://github.com/nextcloud/all-in-one/blob/main/compose.yaml
The only changes I have made are in the ports to circumvent port clashes: 80:88 and 8080:8888
I also created an opensuse tumbleweed container for testing purposes. If I go into this container and run ”telnet ghcr.io” it does translate the name into an ip address.
sh-5.3# telnet ghcr.io
Trying 140.82.121.33...
telnet: connect to address 140.82.121.33: Connection timed out
sh-5.3#
So it does get to a dns server .
I must be doing something wrong. All help/tips/tricks are appreciated!
Cheers,
Arjan