nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
5.45k stars 629 forks source link

Apache container not starting with docker 25.0.0 #4092

Closed StuartMorrisAU closed 9 months ago

StuartMorrisAU commented 9 months ago

Steps to reproduce

  1. Run sudo docker compose up -d
  2. Check https://10.10.70.31:8080
  3. Status is still the following after an hour:
Nextcloud AIO v7.10.0
You are running the [latest](https://github.com/nextcloud/all-in-one#how-to-switch-the-channel) channel. ([Logs](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-mastercontainer))

 Containers are currently starting.

[Reload ↻](https://10.10.70.31:8080/containers)

Containers
 Apache ([Starting](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-apache))
 Database ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-database))
 Nextcloud ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-nextcloud))
 Notify Push ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-notify-push))
 Redis ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-redis))
 Collabora ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-collabora))
 Talk ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-talk))
 Talk Recording ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-talk-recording))
 ClamAV ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-clamav))
 Imaginary ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-imaginary))
 Fulltextsearch ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-fulltextsearch))
 Docker Socket Proxy ([Running](https://10.10.70.31:8080/api/docker/logs?id=nextcloud-aio-docker-socket-proxy))
Your containers are up-to-date.

Expected behavior

All containers started/running as normal.

Actual behavior

Apache container stuck in starting state, although the Nextcloud web interface does load as usual at the published domain.

Host OS

             .',;::::;,'.                host@nextcloud
         .';:cccccccccccc:;,.            ------------------ 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 39 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: Alienware Aurora R6 1.0.23 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.6.11-200.fc39.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 2 hours, 5 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 2467 (rpm), 30 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.21 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 2560x1440 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 45.3 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Adwaita 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Adwaita [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Adwaita [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: Intel i7-7700K (8) @ 4.500GHz 
:cccccccccccccccccccccccccccc:'.         GPU: Intel HD Graphics 630 
.:cccccccccccccccccccccc:;,..            GPU: NVIDIA GeForce GTX 1080 
  '::cccccccccccccc::;,.                 Memory: 6334MiB / 31993MiB 

Nextcloud AIO version

Nextcloud AIO v7.10.0

Current channel

latest

Other valuable info

Details I'm using Nginx Proxy Manager on a RPi (10.10.60.31) to proxy a domain name for Nextcloud. The DNS records for Nextcloud are setup in a local Pi-hole, and the cert is done using a DNS challenge to Cloudflare where the domain is setup. I had a weird issue earlier today where the AIO interface wouldn't load after a reboot. I wondered if there was some odd port conflict, so I ran: ```bash sudo docker compose down sudo systemctl stop docker.socket sudo systemctl stop docker.service sudo systemctl disable docker.socket sudo systemctl disable docker.service sudo systemctl enable docker.service sudo systemctl enable docker.socket sudo systemctl start docker.service sudo systemctl start docker.socket sudo docker compose up -d ``` At that point, the AIO interface loaded OK but Apache wouldn't start. I restarted the computer but still had the same issue of Apache not starting but the Nextcloud web interface loading OK. ##### Docker Compose File ```yml version: '3.8' services: nextcloud-aio-mastercontainer: image: nextcloud/all-in-one:latest init: true restart: unless-stopped # or `always` container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'! ports: # - 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md - 8080:8080 # - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md environment: # Is needed when using any of the options below # - AIO_DISABLE_BACKUP_SECTION=false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section - APACHE_PORT=11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md - APACHE_IP_BINDING=0.0.0.0 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md # - BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy # - COLLABORA_SECCOMP_DISABLED=false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature - NEXTCLOUD_DATADIR=/mnt/ncdata # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir # - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host # - NEXTCLOUD_UPLOAD_LIMIT=10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud # - NEXTCLOUD_MAX_TIME=3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud # - NEXTCLOUD_MEMORY_LIMIT=512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud # - NEXTCLOUD_TRUSTED_CACERTS_DIR=/path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certification-authorities-ca # - NEXTCLOUD_STARTUP_APPS=deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup - NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container - NEXTCLOUD_ENABLE_DRI_DEVICE=true # This allows to enable the /dev/dri device in the Nextcloud container. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as otherwise the Nextcloud container will fail to start! See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud # - NEXTCLOUD_KEEP_DISABLED_APPS=false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps # - TALK_PORT=3478 # This allows to adjust the port that the talk container is using. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port # - WATCHTOWER_DOCKER_SOCKET_PATH=/var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock' # networks: # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file # - nextcloud-aio # Is needed when you want to create the nextcloud-aio network with ipv6-support using this file, see the network config at the bottom of the file # # Uncomment the following line when using SELinux # security_opt: ["label:disable"] # # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md # # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588 # caddy: # image: caddy:alpine # restart: always # container_name: caddy # volumes: # - ./Caddyfile:/etc/caddy/Caddyfile # - ./certs:/certs # - ./config:/config # - ./data:/data # - ./sites:/srv # network_mode: "host" volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive nextcloud_aio_mastercontainer: name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work # # Optional: If you need ipv6, follow step 1 and 2 of https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md first and then uncomment the below config in order to activate ipv6 for the internal nextcloud-aio network. # # Please make sure to uncomment also the networking lines of the mastercontainer above in order to actually create the network with docker-compose # networks: # nextcloud-aio: # name: nextcloud-aio # This line is not allowed to be changed as otherwise the created network will not be used by the other containers of AIO # driver: bridge # enable_ipv6: true # ipam: # driver: default # config: # - subnet: fd12:3456:789a:2::/64 # IPv6 subnet to use ``` ##### sudo netstat -tulnp output ```bash Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3478 0.0.0.0:* LISTEN 29722/docker-proxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 33049/docker-proxy tcp 0 0 0.0.0.0:8180 0.0.0.0:* LISTEN 36903/docker-proxy tcp 0 0 127.0.0.54:53 0.0.0.0:* LISTEN 2340/systemd-resolv tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 2340/systemd-resolv tcp 0 0 0.0.0.0:11000 0.0.0.0:* LISTEN 29279/docker-proxy tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2548/cupsd tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 2340/systemd-resolv tcp 0 0 127.0.0.1:6341 0.0.0.0:* LISTEN 4925/megasync tcp6 0 0 :::3478 :::* LISTEN 29729/docker-proxy tcp6 0 0 :::8080 :::* LISTEN 33057/docker-proxy tcp6 0 0 :::8180 :::* LISTEN 36910/docker-proxy tcp6 0 0 :::5355 :::* LISTEN 2340/systemd-resolv tcp6 0 0 :::9090 :::* LISTEN 1/systemd tcp6 0 0 :::8280 :::* LISTEN 2546/calibre-server tcp6 0 0 ::1:631 :::* LISTEN 2548/cupsd udp 0 0 127.0.0.54:53 0.0.0.0:* 2340/systemd-resolv udp 0 0 127.0.0.53:53 0.0.0.0:* 2340/systemd-resolv udp 0 0 127.0.0.1:323 0.0.0.0:* 2511/chronyd udp 0 0 0.0.0.0:34886 0.0.0.0:* 6907/brave --type=u udp 0 0 0.0.0.0:3478 0.0.0.0:* 29743/docker-proxy udp 0 0 224.0.0.251:5353 0.0.0.0:* 6907/brave --type=u udp 0 0 224.0.0.251:5353 0.0.0.0:* 6907/brave --type=u udp 0 0 224.0.0.251:5353 0.0.0.0:* 6907/brave --type=u udp 0 0 10.10.70.31:5353 0.0.0.0:* 2546/calibre-server udp 0 0 127.0.0.1:5353 0.0.0.0:* 2546/calibre-server udp 0 0 0.0.0.0:5353 0.0.0.0:* 2546/calibre-server udp 0 0 0.0.0.0:5353 0.0.0.0:* 2387/avahi-daemon: udp 0 0 0.0.0.0:5355 0.0.0.0:* 2340/systemd-resolv udp 0 0 0.0.0.0:43923 0.0.0.0:* 2387/avahi-daemon: udp6 0 0 ::1:323 :::* 2511/chronyd udp6 0 0 :::3478 :::* 29750/docker-proxy udp6 0 0 :::5353 :::* 2387/avahi-daemon: udp6 0 0 :::5355 :::* 2340/systemd-resolv udp6 0 0 :::43958 :::* 6907/brave --type=u udp6 0 0 :::47652 :::* 2387/avahi-daemon: ``` ##### MasterContainer Log ```text Trying to fix docker.sock permissions internally... Creating docker group internally with id 976 Initial startup of Nextcloud All-in-One complete! You should be able to open the Nextcloud AIO Interface now on port 8080 of this server! E.g. https://internal.ip.of.this.server:8080 If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via: https://your-domain-that-points-to-this-server.tld:8443 ++ head -1 /mnt/docker-aio-config/data/daily_backup_time + BACKUP_TIME=14:00 + export BACKUP_TIME + export DAILY_BACKUP=1 + DAILY_BACKUP=1 ++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time + '[' '' '!=' automaticUpdatesAreNotEnabled ']' + export AUTOMATIC_UPDATES=1 + AUTOMATIC_UPDATES=1 ++ sed -n 3p /mnt/docker-aio-config/data/daily_backup_time + '[' '' '!=' successNotificationsAreNotEnabled ']' + export SEND_SUCCESS_NOTIFICATIONS=1 + SEND_SUCCESS_NOTIFICATIONS=1 + set +x {"level":"info","ts":1705829188.215347,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""} [Sun Jan 21 09:26:28.222316 2024] [mpm_event:notice] [pid 141:tid 139994618813256] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations [Sun Jan 21 09:26:28.222354 2024] [core:notice] [pid 141:tid 139994618813256] AH00094: Command line: 'httpd -D FOREGROUND' [21-Jan-2024 09:26:28] NOTICE: fpm is running, pid 148 [21-Jan-2024 09:26:28] NOTICE: ready to handle connections ``` ##### Apache Log ```text Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... [Sun Jan 21 01:13:54.694701 2024] [mpm_event:notice] [pid 56:tid 139680750164808] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations [Sun Jan 21 01:13:54.694755 2024] [core:notice] [pid 56:tid 139680750164808] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' {"level":"info","ts":1705760034.699797,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Try again Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... {"level":"info","ts":1705802615.5630994,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} [Sun Jan 21 13:03:36.802509 2024] [mpm_event:notice] [pid 76:tid 139631654140744] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations [Sun Jan 21 13:03:36.802576 2024] [core:notice] [pid 76:tid 139631654140744] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' {"level":"error","ts":1705816271.026801,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","upstream":"localhost:8000","duration":0.001216901,"request":{"remote_ip":"10.10.60.31","remote_port":"52656","client_ip":"10.10.100.70","proto":"HTTP/1.1","method":"GET","host":"nextcloud.example.com","uri":"/apps/firstrunwizard/img/Nextcloud.mp4","headers":{"Accept-Encoding":["identity"],"X-Real-Ip":["10.10.100.70"],"X-Forwarded-Scheme":["https"],"Accept-Language":["en-AU,en;q=0.9"],"User-Agent":["Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1"],"Sec-Fetch-Dest":["video"],"X-Forwarded-Proto":["https"],"Sec-Fetch-Site":["same-origin"],"X-Forwarded-Host":["nextcloud.example.com"],"Sec-Fetch-Mode":["no-cors"],"Range":["bytes=0-2560100"],"X-Playback-Session-Id":["5D3E6AF9-12B5-4C70-8B73-A9E90D1E7375"],"Cookie":[],"X-Forwarded-For":["10.10.100.70, 10.10.60.31"],"Accept":["*/*"]}},"error":"writing: write tcp 172.22.0.2:11000->10.10.60.31:52656: write: connection reset by peer"} [Sun Jan 21 19:03:19 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:19 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 19:03:19 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:19 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 19:03:19 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:19 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 19:03:21 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:21 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] [Sun Jan 21 19:03:22 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:22 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] [Sun Jan 21 19:03:25 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.13:9000 (*:80) failed] [Sun Jan 21 19:03:25 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Try again Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... {"level":"info","ts":1705824395.3064277,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} [Sun Jan 21 19:06:35.307739 2024] [mpm_event:notice] [pid 58:tid 140332034562888] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations [Sun Jan 21 19:06:35.307794 2024] [core:notice] [pid 58:tid 140332034562888] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' nc: getaddrinfo for host "nextcloud-aio-nextcloud" port 9000: Name does not resolve Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... {"level":"info","ts":1705827279.7528458,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} [Sun Jan 21 19:54:40.067425 2024] [mpm_event:notice] [pid 132:tid 139768026913608] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations [Sun Jan 21 19:54:40.067482 2024] [core:notice] [pid 132:tid 139768026913608] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' [Sun Jan 21 20:23:13 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:13 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] [Sun Jan 21 20:23:14 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:14 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] [Sun Jan 21 20:23:17 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:17 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 20:23:17 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:17 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 20:23:17 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:17 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.6.11-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)] [Sun Jan 21 20:23:18 2024] [error] [(111)Connection refused] [client: [AH00957: FCGI: attempt to connect to 172.22.0.9:9000 (*:80) failed] [Sun Jan 21 20:23:18 2024] [error] [client: 10.10.70.31, 10.10.60.31] [AH01079: failed to make connection to backend: nextcloud-aio-nextcloud] [gnome-online-accounts/3.48.0 libsoup/3.4.4] Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... [Sun Jan 21 20:25:38.713509 2024] [mpm_event:notice] [pid 58:tid 140406555687752] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations [Sun Jan 21 20:25:38.713557 2024] [core:notice] [pid 58:tid 140406555687752] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' {"level":"info","ts":1705829138.718439,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} ```
PlayerSchark commented 9 months ago

Similar problem here. My AIO instance is also running behind a nginx proxy. It seems that upgrading the master container works normal. But when I click on Start and Update containers, the containers keep the Starting state or flickering between Running and Starting.

This is my run command:

docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=:: \
--env NEXTCLOUD_DATADIR="/mnt/nextcloud/data" \
--env START_CONTAINERS=1 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest

I restored the cloud multiple times. I also tried a complete reinstall using https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-properly-reset-the-instance If I rollback to my old version 27.1.2 everything works normal.

Momentum6890 commented 9 months ago

Same problem here, but in my case the database container remains in the "Starting" state :/ I rollback to AIO version 7.9.0 (Nextcloud 27.1.5) and all works normal.

bobloadmire commented 9 months ago

Is there a work around for this? my NC has been down for 2 weeks, not sure how I would rollback to a prior version on docker desktop.

szaimen commented 9 months ago

Hi @StuartMorrisAU, @PlayerSchark, @Momentum6890, @bobloadmire do you have ipv6 enabled for the internal nextcloud-aio docker network? If so, you are most likely running into this: https://github.com/nextcloud/all-in-one/discussions/2557. One workaround would be disabling ipv6-support again for the network.

Momentum6890 commented 9 months ago

Hi @szaimen, in my case no, I have not activated ipv6. I only use IPv4 for my LXC, which only runs Nextcloud AIO.

szaimen commented 9 months ago

So this is then getting more complicated than anticipated as I cannot reproduce the problem. @Momentum6890 can you post the output of the following commands here?

Momentum6890 commented 9 months ago

Hi @szaimen, this is the state, after update to AIO 7.10.0:

Screenshot 2024-01-22 181434 log Database.txt

AIO interface stuck on "Starting".

Here the output of your commands:

docker info.txt inspect nextcloud-aio-apache.txt logs nextcloud-aio-mastercontainer.txt ping.txt bash.txt grep apache_port.txt inspect nextcloud-aio-mastercontainer.txt

The result is this error:

Screenshot 2024-01-22 232208

The output from the Serverlog:

[index] Fehler: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] connection to server at "nextcloud-aio-database" (172.18.0.2), port 5432 failed: timeout expired at <>

  1. /var/www/html/3rdparty/doctrine/dbal/src/Connection.php line 1531 OC\DB\Connection->connect()
  2. /var/www/html/3rdparty/doctrine/dbal/src/Connection.php line 1029 Doctrine\DBAL\Connection->getWrappedConnection()
  3. /var/www/html/lib/private/DB/Connection.php line 262 Doctrine\DBAL\Connection->executeQuery("SELECT * FROM \"oc_appconfig\"", [], [], null)
  4. /var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php line 345 OC\DB\Connection->executeQuery("SELECT * FROM \"oc_appconfig\"", [], [])
  5. /var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php line 280 Doctrine\DBAL\Query\QueryBuilder->execute()
  6. /var/www/html/lib/private/AppConfig.php line 418 OC\DB\QueryBuilder\QueryBuilder->execute()
  7. /var/www/html/lib/private/AppConfig.php line 184 OC\AppConfig->loadConfigValues()
  8. /var/www/html/lib/private/AppConfig.php line 374 OC\AppConfig->getApps()
  9. /var/www/html/lib/private/legacy/OC_App.php line 803 OC\AppConfig->getValues(false, "installed_version")
  10. /var/www/html/lib/private/Server.php line 736 OC_App::getAppVersions()
    1. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 171 OC\Server->OC{closure}(" sensitive parameters replaced ")
    2. /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php line 122 OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(" sensitive parameters replaced ")
    3. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 138 Pimple\Container->offsetGet("OC\Memcache\Factory")
    4. /var/www/html/lib/private/ServerContainer.php line 171 OC\AppFramework\Utility\SimpleContainer->query("OC\Memcache\Factory", true)
    5. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 65 OC\ServerContainer->query("OC\Memcache\Factory")
    6. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 193 OC\AppFramework\Utility\SimpleContainer->get("OC\Memcache\Factory")
    7. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 171 OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(" sensitive parameters replaced ")
    8. /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php line 118 OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(" sensitive parameters replaced ")
    9. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 138 Pimple\Container->offsetGet("OCP\ICacheFactory")
    10. /var/www/html/lib/private/ServerContainer.php line 171 OC\AppFramework\Utility\SimpleContainer->query("OCP\ICacheFactory", true)
    11. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 65 OC\ServerContainer->query("OCP\ICacheFactory")
    12. /var/www/html/lib/private/Server.php line 1130 OC\AppFramework\Utility\SimpleContainer->get("OCP\ICacheFactory")
    13. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 171 OC\Server->OC{closure}(" sensitive parameters replaced ")
    14. /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php line 122 OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(" sensitive parameters replaced ")
    15. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 138 Pimple\Container->offsetGet("OCP\Lock\ILockingProvider")
    16. /var/www/html/lib/private/ServerContainer.php line 171 OC\AppFramework\Utility\SimpleContainer->query("OCP\Lock\ILockingProvider", true)
    17. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 65 OC\ServerContainer->query("OCP\Lock\ILockingProvider")
    18. /var/www/html/lib/private/Server.php line 2088 OC\AppFramework\Utility\SimpleContainer->get("OCP\Lock\ILockingProvider")
    19. /var/www/html/lib/private/Files/View.php line 107 OC\Server->getLockingProvider()
    20. /var/www/html/lib/private/Server.php line 470 OC\Files\View->__construct()
    21. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 171 OC\Server->OC{closure}(" sensitive parameters replaced ")
    22. /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php line 122 OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(" sensitive parameters replaced ")
    23. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 138 Pimple\Container->offsetGet("OC\Files\Node\HookConnector")
    24. /var/www/html/lib/private/ServerContainer.php line 171 OC\AppFramework\Utility\SimpleContainer->query("OC\Files\Node\HookConnector", true)
    25. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 65 OC\ServerContainer->query("OC\Files\Node\HookConnector")
    26. /var/www/html/lib/private/Server.php line 1490 OC\AppFramework\Utility\SimpleContainer->get("OC\Files\Node\HookConnector")
    27. /var/www/html/lib/base.php line 635 OC\Server->boot()
    28. /var/www/html/lib/base.php line 1196 OC::init()
    29. /var/www/html/index.php line 36 require_once("/var/www/html/lib/base.php")
ustrucx commented 9 months ago

Hello, thank you so much for this amazing project! I have similar issue, Apache is showing as (Starting) and with your provided commands I found the problem seems to be that nextcloud-aio-mastercontainer cannot ping the nextcloud-aio-apache container, however I can use Nextcloud "front end" normally as if nothing is happening on the "back end".

This is what it looks like from the AIO page: AIO_page

This is the output of each of the commands: docker_info.txt inspect_nextcloud-aio-apache.txt logs_nextcloud-aio-mastercontainer.txt ping.txt bash.txt grep.txt inspect_nextcloud-aio-mastercontainer.txt

Thanks again, I hope with the above it becomes clearer what the problem may be. Cheers!

szaimen commented 9 months ago

I think I see a pattern now. @StuartMorrisAU @PlayerSchark @bobloadmire are you also using docker 25.0.0? This would explain why this error suddenly pops up now. I guess I will need to investigate then what change in 25.0.0 broke things...

szaimen commented 9 months ago

I've found https://github.com/docker/for-linux/issues/1481 until now, not sure if realted though...

szaimen commented 9 months ago

Probably good to look at https://github.com/docker/for-linux/issues?q=is%3Aissue+is%3Aopen+25.0.0 the next days...

bobloadmire commented 9 months ago

Would a roll back in the docker desktop windows version fix the issue?

On Mon, Jan 22, 2024, 3:14 PM Simon L. @.***> wrote:

Probably good to look at https://github.com/docker/for-linux/issues?q=is%3Aissue+is%3Aopen+25.0.0 the next days...

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/all-in-one/issues/4092#issuecomment-1904997312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAK3FGHAU5F33FQE2IG4J3YP3XGDAVCNFSM6AAAAABCD5H2BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUHE4TOMZRGI . You are receiving this because you were mentioned.Message ID: @.***>

szaimen commented 9 months ago

Would a roll back in the docker desktop windows version fix the issue?

Yes, likely

Momentum6890 commented 9 months ago

@szaimen would you say it's better to wait with the update to 7.10.0 until the error in Docker has been fixed?

szaimen commented 9 months ago

@szaimen would you say it's better to wait with the update to 7.10.0 until the error in Docker has been fixed?

I dont unerstand the question. The error is in docker v25.0.0. Downgrading back to v24 should likely fix this...

Momentum6890 commented 9 months ago

Sorry, I'm not that good with Docker and don't know how to downgrade while it's running. Unfortunately, I don't have a backup with an older version of Docker. That's why I ask ^^

PlayerSchark commented 9 months ago

I think I see a pattern now. @StuartMorrisAU @PlayerSchark @bobloadmire are you also using docker 25.0.0? This would explain why this error suddenly pops up now. I guess I will need to investigate then what change in 25.0.0 broke things...

Unfortunatly not. I use 20.10.3 running on Alpine Linux v3.13

But I decided to add a little bit more RAM and CPU to the server and now the cloud sometimes starts up. Sometimes you can even log in, but after a short period of time the cloud tries to restart.

Also I want to mention that I use IPv6 which was merged in #3457 but this should not be the problem here I think.

Here are the output files: docker-info.txt inspect-apache.txt master-logs.txt ping-apache.txt bash.txt apache-port.txt inspect-master.txt

I've also this error from the nextcloud-aio-nextcloud container.

Disabling apps before the update in order to make the update procedure more safe. This can take a while...
files_lock 27.0.1 disabled
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "nextcloud-aio-database" to address: Name does not resolve in /var/www/html/lib/private/DB/Connection.php:140

ace:
#0 /var/www/html/3rdparty/doctrine/dbal/src/Connection.php(1531): OC\DB\Connection->connect()
#1 /var/www/html/3rdparty/doctrine/dbal/src/Connection.php(1029): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /var/www/html/lib/private/DB/Connection.php(262): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL)
#3 /var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array)
#4 /var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/html/lib/private/AppConfig.php(418): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/html/lib/private/AppConfig.php(184): OC\AppConfig->loadConfigValues()
#7 /var/www/html/lib/private/AppConfig.php(374): OC\AppConfig->getApps()
#8 /var/www/html/lib/private/legacy/OC_App.php(803): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /var/www/html/lib/private/Server.php(736): OC_App::getAppVersions()
#10 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\Server->OC\{closure}(Object(OC\Server))
#11 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#12 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#13 /var/www/html/lib/private/ServerContainer.php(171): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', true)
#14 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#15 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(193): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#16 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#17 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#18 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#19 /var/www/html/lib/private/ServerContainer.php(171): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', true)
#20 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\ServerContainer->query('OCP\\ICacheFacto...')
#21 /var/www/html/lib/private/Server.php(1130): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#22 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\Server->OC\{closure}(Object(OC\Server))
#23 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#24 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#25 /var/www/html/lib/private/ServerContainer.php(171): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', true)
#26 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#27 /var/www/html/lib/private/Server.php(2088): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#28 /var/www/html/lib/private/Files/View.php(107): OC\Server->getLockingProvider()
#29 /var/www/html/lib/private/Server.php(470): OC\Files\View->__construct()
#30 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\Server->OC\{closure}(Object(OC\Server))
#31 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#32 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(138): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#33 /var/www/html/lib/private/ServerContainer.php(171): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', true)
#34 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(65): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#35 /var/www/html/lib/private/Server.php(1490): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#36 /var/www/html/lib/base.php(635): OC\Server->boot()
#37 /var/www/html/lib/base.php(1196): OC::init()
#38 /var/www/html/console.php(48): require_once('/var/www/html/l...')
#39 /var/www/html/occ(11): require_once('/var/www/html/c...')
#40 {main}spreed 17.1.4 disabled
calendar 4.5.0 disabled
szaimen commented 9 months ago

Hi @PlayerSchark since you have enabled ipv6 for the internal nextcloud-aio network, you are most likely running into this: https://github.com/nextcloud/all-in-one/discussions/2557

You should be able to fix this by so:

  1. Stop your containers from the AIO interface
  2. After the docker daemon started correctly run sudo docker network disconnect nextcloud-aio nextcloud-aio-mastercontainer to disconnect the mastercontainer from the nextcloud-aio network.
  3. now remove the nextcoud-aio network by running sudo docker network rm nextcloud-aio
  4. Then run sudo docker network create --driver bridge nextcloud-aio in order to recreate the nextcloud-aio network
  5. Finally run sudo docker network connect nextcloud-aio nextcloud-aio-mastercontainer to connect the mastercontainer to the network again.
  6. run sudo docker restart nextcloud-aio-mastercontainer
  7. At last, open the AIO interface and start your containers again

New in this issue is that the dns resolution seems to be unrelible even when not having ipv6 enabled for the internal network with docker v25.0.0.

vcoopers commented 9 months ago

@szaimen Hi I am experiencing similar issues while running the latest versions of Nextcloud AIO (v7.10.0) and Docker (v25.0.0). I have attempted the aforementioned method, and the status of containers such as Apache, Database, and Nextcloud is currently 'Starting.' However, the state of Nextcloud containers in Portainer indicates that they are all healthy. image

szaimen commented 9 months ago

Hi @vcoopers see https://github.com/nextcloud/all-in-one/issues/4092#issuecomment-1904961447 and below

szaimen commented 9 months ago

I have one new idea to try out. Can people that run into this problem run sudo docker stop nextcloud-aio-apache then open the aio interface, stop all containers and start them again? Does it work afterwards?

vcoopers commented 9 months ago

@szaimen, I tried the above command, but it's not working for me. I noticed in the logs that there's a notice: 'PHP message: Not pulling the latest database image because the container was not correctly shut down'.

logs.txt

banigithub-2 commented 9 months ago

Same for me: AIO 7.10.0 / NC 27.0.5 running on an Ubuntu system.
QQ: does everyone else have a 'bonus' network connection linked with their AIO container? It does feel like a networking issue, which made me look, and find this (Portainer): tempo

banigithub-2 commented 9 months ago

Same for me: AIO 7.10.0 / NC 27.0.5 running on an Ubuntu system. QQ: does everyone else have a 'bonus' network connection linked with their AIO container? It does feel like a networking issue, which made me look, and find this (Portainer): tempo

I should probably point out:

szaimen commented 9 months ago
  • mastercontainer (console) can ping the other containers except the apache, which for me is the one still 'Starting'

This is exactly the problem. Questions is still why this happens and why I still cannot reproduce it on my test server...

But since it is a networking thing, it is indeed caused by docker or the host oe any other external application like portainer or docker-compose...

szaimen commented 9 months ago

This might actually be the bug then: https://github.com/docker/for-linux/issues/1481#issuecomment-1905621489

StuartMorrisAU commented 9 months ago

@szaimen I was running docker 25.0 and the time it updated roughly lines up with when I started having issues. After a bit of messing around, I was able to downgrade to docker 24.0.7, rebooted, and everything started working as expected. I'll wait until there's a docker version newer than 25.0.0-1.fc39 before upgrading again.

banigithub-2 commented 9 months ago

I've temporarily resolved it by

banigithub-2 commented 9 months ago

I've temporarily resolved it by

* stopping all of the containers

* removing BOTH the networks from the mastercontainer

* re-adding the nextcloud-aio network to the mastercontainer

* starting mastercontainer

* hitting the AIO start containers button.
  Now all looks pretty.

... will confirm whether it's all still pretty after the overnight borg backup...

Shahnewaz1996 commented 9 months ago

Just wanted to add my 2 cents here. Rolling back to the latest version of Docker 24 worked for me. I'm running Debian 12.

working-name commented 9 months ago

I am on docker 24.0.7 and apache is still listed as starting in the AIO interface.

IPv6 disabled, network looks good, containers assigned to it, and I can ping the apache container from the master container.

ustrucx commented 9 months ago

I've temporarily resolved it by

* stopping all of the containers

* removing BOTH the networks from the mastercontainer

* re-adding the nextcloud-aio network to the mastercontainer

* starting mastercontainer

* hitting the AIO start containers button.
  Now all looks pretty.

... will confirm whether it's all still pretty after the overnight borg backup...

I hope this will solve it for you, after the backup runs successfully :crossed_fingers: would you mind sharing the commands you used to perform the tasks above? Thank you and again I hope your solution works after the backup!

working-name commented 9 months ago

@szaimen

What do you make of this?

$ docker compose exec nextcloud-aio-apache ping nextcloud-aio-mastercontainer
service "nextcloud-aio-apache" is not running

$ docker ps -a | grep aio-apache
7111a93a7a39   nextcloud/aio-apache:latest           "/start.sh /usr/bin/…"   3 minutes ago   Up 3 minutes (healthy)   80/tcp, 172.17.0.1:18082->18082/tcp                                                                                                                                   nextcloud-aio-apache

$ docker exec 7111a93a7a39 ping nextcloud-aio-mastercontainer # < 7111 is the apache container
PING nextcloud-aio-mastercontainer (172.26.0.11): 56 data bytes
64 bytes from 172.26.0.11: seq=0 ttl=42 time=0.075 ms
64 bytes from 172.26.0.11: seq=1 ttl=42 time=0.129 ms
^C

$ docker compose exec nextcloud-aio-mastercontainer ping nextcloud-aio-apache
PING nextcloud-aio-apache (172.26.0.10): 56 data bytes
64 bytes from 172.26.0.10: seq=0 ttl=64 time=0.157 ms
64 bytes from 172.26.0.10: seq=1 ttl=64 time=0.099 ms
^C

It seems docker compose is clueless about apache running? 🤷‍♂️

banigithub-2 commented 9 months ago

I've temporarily resolved it by

* stopping all of the containers

* removing BOTH the networks from the mastercontainer

* re-adding the nextcloud-aio network to the mastercontainer

* starting mastercontainer

* hitting the AIO start containers button.
  Now all looks pretty.

... will confirm whether it's all still pretty after the overnight borg backup...

I hope this will solve it for you, after the backup runs successfully 🤞 would you mind sharing the commands you used to perform the tasks above? Thank you and again I hope your solution works after the backup!

It all went swimmingly this morning. Just to be clear, my issue seemed to be that the nextcloud-aio-mastercontainer seemed to have network/routing issues, and wasn't able to ping nextcloud-aio-apache from the console. Other nextcloud-aio- containers could; nextcloud-aio-apache could ping other containers.

What I did to fix it? I run these containers on an Ubuntu box, and use docker command line and Portainer to manage them.

  1. Stop the containers in Portainer
  2. Context the master container in Portainer, scroll to the "Connected networks" section at the bottom
  3. Click the "Leave Network" button on each of the joined networks
  4. Select the nextcloud-aio network from the "Join a network" drop-down
  5. Scroll back up to the top and start the nextcloud-aio-mastercontainer
  6. Open the AIO interface
  7. Click Start containers

I've only been running AIO since the start of the year, having moved away from the 'official' nextcloud container, and I have to say I'm loving it. Well done to anyone involved that is listening!

szaimen commented 9 months ago

Hi, it looks like 25.0.1 was just released. Is anyone that downgraded back to v24 brave enough to try to upgrade to 25.0.1 to try out if the same problem happens again? Please report back in any case :)

working-name commented 9 months ago

25.0.1 fixed it for me.

szaimen commented 9 months ago

25.0.1 fixed it for me.

Great, thanks for checking! :)

StuartMorrisAU commented 9 months ago

Hi, it looks like 25.0.1 was just released. Is anyone that downgraded back to v24 brave enough to try to upgrade to 25.0.1 to try out if the same problem happens again? Please report back in any case :)

Yes, it's working for me.

StuartMorrisAU commented 9 months ago

Thanks @szaimen for your help getting to the bottom of this! Much appreciated. :pray:

bobloadmire commented 9 months ago

unfortunately I updated docker desktop to 4.27.0 and this includes the new docker engine 25.0.1 and I still cannot connect via web. Nextcloud is version v7.11.0. I can connect via app and it will list the database, but downloading any files fails.

2024-01-25 09:38:18 [Thu Jan 25 17:38:18.612777 2024] [proxy_http:error] [pid 984:tid 140024188230456] (20014)Internal error (specific information not available): [client 172.19.0.1:41136] AH01102: error reading status line from remote server localhost:8000, referer: https://192.168.0.116:8080/containers 2024-01-25 09:42:54 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:42:59 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:43:04 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:43:09 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:43:14 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:43:19 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:43:24 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:43:24 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:43:35 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:43:40 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:43:45 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:43:50 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:43:55 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:44:00 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:44:05 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:44:10 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:44:20 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:44:25 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:44:26 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:44:26 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:44:28 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:44:33 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:44:38 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:44:43 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:44:53 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:44:58 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:45:03 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:45:08 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:45:13 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:45:18 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:45:23 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:45:28 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:45:38 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:45:43 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:45:48 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:45:53 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:45:58 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:46:03 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:46:08 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:46:13 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:46:23 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:46:28 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:46:33 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:46:38 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:46:43 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:46:48 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:46:53 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:46:59 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:47:09 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:47:14 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:47:19 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:47:24 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:47:29 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 15:04:06 Initial startup of Nextcloud All-in-One complete! 2024-01-25 15:04:06 You should be able to open the Nextcloud AIO Interface now on port 8080 of this server! 2024-01-25 15:04:06 E.g. https://internal.ip.of.this.server:8080 2024-01-25 15:04:06 2024-01-25 15:04:06 If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via: 2024-01-25 15:04:06 https://your-domain-that-points-to-this-server.tld:8443 2024-01-25 15:25:41 Initial startup of Nextcloud All-in-One complete! 2024-01-25 15:25:41 You should be able to open the Nextcloud AIO Interface now on port 8080 of this server! 2024-01-25 15:25:41 E.g. https://internal.ip.of.this.server:8080 2024-01-25 15:25:41 2024-01-25 15:25:41 If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via: 2024-01-25 15:25:41 https://your-domain-that-points-to-this-server.tld:8443 2024-01-25 16:21:22 Deleting duplicate sessions 2024-01-25 09:47:34 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:47:39 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:47:44 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:47:59 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:48:04 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:48:09 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:48:14 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:48:19 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:48:24 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:48:29 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:48:34 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:48:49 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:48:54 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 09:48:59 NOTICE: PHP message: Could not get digest of container nextcloud/aio-nextcloud:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-nextcloud:pull 2024-01-25 09:49:04 NOTICE: PHP message: Could not get digest of container nextcloud/aio-postgresql:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-postgresql:pull 2024-01-25 09:49:09 NOTICE: PHP message: Could not get digest of container nextcloud/aio-redis:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-redis:pull 2024-01-25 09:49:14 NOTICE: PHP message: Could not get digest of container nextcloud/aio-fulltextsearch:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-fulltextsearch:pull 2024-01-25 09:49:19 NOTICE: PHP message: Could not get digest of container nextcloud/aio-imaginary:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-imaginary:pull 2024-01-25 09:49:24 NOTICE: PHP message: Could not get digest of container nextcloud/aio-notify-push:latest cURL error 6: Could not resolve host: auth.docker.io (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-notify-push:pull 2024-01-25 09:49:53 NOTICE: PHP message: Could not get digest of container nextcloud/all-in-one:latest cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to auth.docker.io:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/all-in-one:pull 2024-01-25 09:50:14 NOTICE: PHP message: Could not get digest of container nextcloud/aio-apache:latest cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to auth.docker.io:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.docker.io/token?service=registry.docker.io&scope=repository:nextcloud/aio-apache:pull 2024-01-25 15:04:04 WARNING: No blkio throttle.read_bps_device support 2024-01-25 15:04:04 WARNING: No blkio throttle.write_bps_device support 2024-01-25 15:04:04 WARNING: No blkio throttle.read_iops_device support 2024-01-25 15:04:04 WARNING: No blkio throttle.write_iops_device support 2024-01-25 15:04:04 WARNING: daemon is not using the default seccomp profile 2024-01-25 15:04:07 {"level":"info","ts":1706223847.4802551,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""} 2024-01-25 15:04:07 [25-Jan-2024 23:04:07] NOTICE: fpm is running, pid 126 2024-01-25 15:04:07 [25-Jan-2024 23:04:07] NOTICE: ready to handle connections 2024-01-25 15:04:07 [Thu Jan 25 23:04:07.499022 2024] [mpm_event:notice] [pid 120:tid 139966952569672] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations 2024-01-25 15:04:07 [Thu Jan 25 23:04:07.499059 2024] [core:notice] [pid 120:tid 139966952569672] AH00094: Command line: 'httpd -D FOREGROUND' 2024-01-25 15:25:40 WARNING: No blkio throttle.read_bps_device support 2024-01-25 15:25:40 WARNING: No blkio throttle.write_bps_device support 2024-01-25 15:25:40 WARNING: No blkio throttle.read_iops_device support 2024-01-25 15:25:40 WARNING: No blkio throttle.write_iops_device support 2024-01-25 15:25:40 WARNING: daemon is not using the default seccomp profile 2024-01-25 15:25:43 {"level":"info","ts":1706225143.295706,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""} 2024-01-25 15:25:43 [Thu Jan 25 23:25:43.334398 2024] [mpm_event:notice] [pid 119:tid 139951796783944] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations 2024-01-25 15:25:43 [Thu Jan 25 23:25:43.334440 2024] [core:notice] [pid 119:tid 139951796783944] AH00094: Command line: 'httpd -D FOREGROUND' 2024-01-25 15:25:43 [25-Jan-2024 23:25:43] NOTICE: fpm is running, pid 125 2024-01-25 15:25:43 [25-Jan-2024 23:25:43] NOTICE: ready to handle connections

and Apache

2024-01-25 16:23:19 {"level":"info","ts":1706228599.1583467,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""} 2024-01-25 16:23:19 {"level":"info","ts":1706228599.1652262,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."} 2024-01-25 16:23:19 [Thu Jan 25 16:23:19.181129 2024] [mpm_event:notice] [pid 47:tid 140662806428488] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations 2024-01-25 16:23:19 [Thu Jan 25 16:23:19.181172 2024] [core:notice] [pid 47:tid 140662806428488] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' 2024-01-25 16:22:57 Waiting for Nextcloud to start... 2024-01-25 16:23:02 Waiting for Nextcloud to start... 2024-01-25 16:23:07 Waiting for Nextcloud to start... 2024-01-25 16:23:12 Waiting for Nextcloud to start...

edit: tagging @szaimen just incase because the issue was closed.

punkyard commented 8 months ago

✌️ yeah last update docker-ce/bullseye 5:25.0.2-1 fixed probably everything, as AiO interface went all GREEN after the upgrade