nextcloud/all-in-one

nextcloud-aio-mastercontainer will not start when offline (no internet access)

Closed this issue · 0 comments

Steps to reproduce

  1. Disconnect your internet connectivity (or block outgoing external access from nextcloud in your firewall)
  2. Restart nextcloud AIO server (or stop and start all docker containers)

Expected behavior

Nextcloud AIO admin interface should be accessible even when server's external internet connectivity is down during the nextcloud-aio-mastercontainer startup

Actual behavior

nextcloud-aio-mastercontainer startup is blocked (restart loop) when not able to access https://ghcr.io, preventing all browser-based maintenance including manual backup actions

Other information

Host OS

Not relevant

Output of sudo docker info

Not relevant

Docker run command or docker-compose file that you used

Not relevant

Other valuable info

Failure when local DNS cache can provide IP lookup to ghcr.io, but the https connectivity fails:

curl: (28) Failed to connect to ghcr.io port 443 after 130437 ms: Could not connect to server
Could not reach https://ghcr.io.
Most likely is something blocking access to it.
You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
Another solution is using https://github.com/nextcloud/all-in-one/tree/main/manual-install
See https://github.com/nextcloud/all-in-one/blob/main/manual-install/latest.yml

Failure when no DNS lookup is possible:

curl: (6) Could not resolve host: ghcr.io
Could not reach https://ghcr.io.
Most likely is something blocking access to it.
You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
Another solution is using https://github.com/nextcloud/all-in-one/tree/main/manual-install
See https://github.com/nextcloud/all-in-one/blob/main/manual-install/latest.yml