Nextcloud-aio-apache no network after update

Updated to Nextcloud-AIO v14.3.0 and it stopped working.

nextcloud-aio-nextcloud is waiting on nextcloud-aio-apache to start.

nextcloud-aio-apache does not start because it’s isolated from any network

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 34.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian trixie 13.7
  • Web server and version (e.g, Apache 2.4.25):
    • Server version: Apache/2.4.69 (Unix)
      Server built: Oct 2 2026 22:49:43
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Caddy v2.11.6
  • PHP version (e.g, 8.3):
    • PHP_VERSION=8.4.26
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • 2 days ago after AIO update
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Tailscale, but happens indepently of whether it's up or down

Summary of the issue you are facing:

Closed box view: Apache, Nextcloud, and Client Push containers starting forever

Steps to replicate it (hint: details matter!)

???

Log entries

Nextcloud

$ docker logs nextcloud-aio-apache 2>&1 | head -n 30
nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Try again
Waiting for Nextcloud to start...
nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Try again
Waiting for Nextcloud to start...

$ docker logs nextcloud-aio-nextcloud 2>&1 | grep Connection 
Connection to nextcloud-aio-database (172.25.0.6) 5432 port [tcp/postgresql] succeeded!
Connection to nextcloud-aio-redis (172.25.0.7) 6379 port [tcp/redis] succeeded!
Connection to nextcloud-aio-database (172.25.0.4) 5432 port [tcp/postgresql] succeeded!
Connection to nextcloud-aio-redis (172.25.0.2) 6379 port [tcp/redis] succeeded!
Connection to nextcloud-aio-database (172.25.0.8) 5432 port [tcp/postgresql] succeeded!
Connection to nextcloud-aio-redis (172.25.0.5) 6379 port [tcp/redis] succeeded!
Connection to nextcloud-aio-database (172.25.0.8) 5432 port [tcp/postgresql] succeeded!
Connection to nextcloud-aio-redis (172.25.0.5) 6379 port [tcp/redis] succeeded!

$ docker logs nextcloud-aio-nextcloud 2>&1 | tail
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...
Waiting for nextcloud-aio-apache to start...

$ docker exec -it nextcloud-aio-nextcloud ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0@if41: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP 
    link/ether 82:81:08:4c:d2:d8 brd ff:ff:ff:ff:ff:ff
    inet 172.25.0.6/16 brd 172.25.255.255 scope global eth0
       valid_lft forever preferred_lft forever
$ docker exec -it nextcloud-aio-apache ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

See apache does not even have a network interface, only localhost.

It’s stuck on this part of apache’s /start.sh:

`# Only start container if nextcloud is accessible `

while ! nc -z "$NEXTCLOUD_HOST" 9000; do
echo "Waiting for Nextcloud to start..."
sleep 5
done

But, of course, this is not the problem, it’s only a symptom.

A documented reset for this state: the AIO readme uses removing a broken container and letting the mastercontainer recreate it (in your case “docker rm nextcloud-aio-apache”, then start the containers again from the AIO interface; the data stays in the named volumes, so nothing is lost). If apache still comes back isolated afterwards, the readme’s network section has you remove and recreate the “nextcloud-aio” docker network, which can be stale after an update. My guess is the first step already fixes it. If both fail, the mastercontainer logs from the update would make a solid bug report in the all-in-one tracker.
(AI-assisted translation/polish)

Yes, thank you.

This solved the problem.