Can't reach Nextcloud webinterface anymore

Dear Community,

I can’t reach the Nextcloud webinterface anymore.
The issue seemed to occur after adding a new user. Before, the server was running for months without even checking it.

After updating, couple of restarts and stops of the docker containers the mastercontainer returns the following information in the logs:

2024-09-22T18:12:01.118392117Z WARNING: No memory limit support
2024-09-22T18:12:01.118497042Z WARNING: No swap limit support
2024-09-22T18:12:01.118512820Z WARNING: bridge-nf-call-iptables is disabled
2024-09-22T18:12:01.118527097Z WARNING: bridge-nf-call-ip6tables is disabled
2024-09-22T18:12:01.190914698Z WARNING: No memory limit support
2024-09-22T18:12:01.190999938Z WARNING: No swap limit support
2024-09-22T18:12:01.191081733Z WARNING: bridge-nf-call-iptables is disabled
2024-09-22T18:12:01.191104048Z WARNING: bridge-nf-call-ip6tables is disabled
2024-09-22T18:12:01.632107295Z e[0;92mInitial startup of Nextcloud All-in-One complete!
2024-09-22T18:12:01.632214201Z You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
2024-09-22T18:12:01.632276293Z E.g. https://internal.ip.of.this.server:8080
2024-09-22T18:12:01.632291811Z ⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!
2024-09-22T18:12:01.632307477Z 
2024-09-22T18:12:01.632346440Z 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-09-22T18:12:01.632362162Z https://your-domain-that-points-to-this-server.tld:8443e[0m
2024-09-22T18:12:03.412033586Z ++ head -1 /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.415242621Z + BACKUP_TIME=04:00
2024-09-22T18:12:03.415328082Z + export BACKUP_TIME
2024-09-22T18:12:03.415345064Z + export DAILY_BACKUP=1
2024-09-22T18:12:03.415358878Z + DAILY_BACKUP=1
2024-09-22T18:12:03.425158572Z ++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.428811434Z + '[' '' '!=' automaticUpdatesAreNotEnabled ']'
2024-09-22T18:12:03.428914544Z + export AUTOMATIC_UPDATES=1
2024-09-22T18:12:03.428932970Z + AUTOMATIC_UPDATES=1
2024-09-22T18:12:03.432262466Z ++ sed -n 3p /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.436864964Z + '[' '' '!=' successNotificationsAreNotEnabled ']'
2024-09-22T18:12:03.436949833Z + export SEND_SUCCESS_NOTIFICATIONS=1
2024-09-22T18:12:03.436966907Z + SEND_SUCCESS_NOTIFICATIONS=1
2024-09-22T18:12:03.438264576Z + set +x
2024-09-22T18:12:03.543682920Z [22-Sep-2024 18:12:03] NOTICE: fpm is running, pid 144
2024-09-22T18:12:03.544268672Z [22-Sep-2024 18:12:03] NOTICE: ready to handle connections
2024-09-22T18:12:03.551001663Z [Sun Sep 22 18:12:03.550025 2024] [mpm_event:notice] [pid 139:tid 139] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.2 configured -- resuming normal operations
2024-09-22T18:12:03.551123384Z [Sun Sep 22 18:12:03.550179 2024] [core:notice] [pid 139:tid 139] AH00094: Command line: 'httpd -D FOREGROUND'
2024-09-22T18:12:03.575697895Z {"level":"info","ts":1727028723.5750334,"msg":"using config from file","file":"/Caddyfile"}
2024-09-22T18:12:03.579680753Z {"level":"info","ts":1727028723.5790458,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-09-22T18:12:53.297063444Z NOTICE: PHP message: 404 Not Found
2024-09-22T18:12:53.297195258Z Type: Slim\Exception\HttpNotFoundException
2024-09-22T18:12:53.297214313Z Code: 404
2024-09-22T18:12:53.297229035Z Message: Not found.
2024-09-22T18:12:53.297242850Z File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
2024-09-22T18:12:53.297256979Z Line: 76
2024-09-22T18:12:53.297270701Z Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297286109Z #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297300516Z #2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
2024-09-22T18:12:53.297317460Z #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297332386Z #4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-09-22T18:12:53.297347682Z #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297362108Z #6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-09-22T18:12:53.297377200Z #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297392033Z #8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-09-22T18:12:53.297406903Z #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297425422Z #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297491421Z #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297509199Z #12 /var/www/docker-aio/php/public/index.php(185): Slim\App->run()
2024-09-22T18:12:53.297598531Z #13 {main}
2024-09-22T18:12:53.297618883Z Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.

The docker compose file which I am using to start the container:

services:
  duckdns:
      image: lscr.io/linuxserver/duckdns:latest
      container_name: duckdns
      environment:
        - SUBDOMAINS=zzz.duckdns.org
        - TOKEN=zzz
      restart: unless-stopped

  nextcloud-aio-mastercontainer:
    image: nextcloud/all-in-one:latest
    init: true
    restart: 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 'WATCH>

    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/b>
      - 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-i>
    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-bac>
      - AIO_COMMUNITY_CONTAINERS=fail2ban
      # - 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>
      # - APACHE_IP_BINDING=172.0.0.1 # 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. S>
      # - SKIP_DOMAIN_VALIDATION=true
      - BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 --keep-yearly=1 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-t>
      - NEXTCLOUD_DATADIR=/media/pi/ncdata/nc_aio # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud insta>
      # - 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-containe>
      # - 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://>
      - NEXTCLOUD_STARTUP_APPS=twofactor_totp keeweb tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://gith>
    depends_on:
      - duckdns

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

Thank you for your help.

Hi, what happens if you open https://ip.address.of.server:8080 ?

1 Like

Also can you please post the output of sudo docker logs nextcloud-aio-mastercontainer; sudo docker inspect nextcloud-aio-mastercontainer here?

1 Like

Hallo thank you for your fast reply!

Nothing, not even if I’m adding Port 8080 to be forwarded in my router configuration.

[
    {
        "Id": "f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc",
        "Created": "2024-09-22T17:51:09.965197709Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 137,
            "Error": "",
            "StartedAt": "2024-09-22T18:12:00.415083844Z",
            "FinishedAt": "2024-09-22T18:48:42.586800369Z",
            "Health": {
                "Status": "unhealthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2024-09-22T20:46:12.015417582+02:00",
                        "End": "2024-09-22T20:46:12.132017928+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-22T20:46:42.134093522+02:00",
                        "End": "2024-09-22T20:46:42.315578058+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-22T20:47:12.317696343+02:00",
                        "End": "2024-09-22T20:47:12.45136267+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-22T20:47:42.45383877+02:00",
                        "End": "2024-09-22T20:47:42.631382196+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-22T20:48:12.633124657+02:00",
                        "End": "2024-09-22T20:48:12.742666735+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    }
                ]
            }
        },
        "Image": "sha256:6c9f92eaaaa94f075c064588243f82f04188662ebe8f11b6c0a5945ff3f5c88d",
        "ResolvConfPath": "/var/lib/docker/containers/f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc/hostname",
        "HostsPath": "/var/lib/docker/containers/f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc/hosts",
        "LogPath": "/var/lib/docker/containers/f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc/f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "//var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "nc_aio_default",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8443"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "Mounts": [
                {
                    "Type": "volume",
                    "Source": "nextcloud_aio_mastercontainer",
                    "Target": "/mnt/docker-aio-config",
                    "VolumeOptions": {}
                }
            ],
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ],
            "Init": true
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b-init/diff:/var/lib/docker/overlay2/22ea8ca10d15515a87892e078445cf8eccf5b54ab63f77219e7d0babb725103e/diff:/var/lib/docker/overlay2/4e2ecf304a7d8c99e5f768988d263c21530b64877083721db7cc4e7b1543715a/diff:/var/lib/docker/overlay2/37713bd14e92cef7cd329c688af95db9b1b397e33bccdf0e4d115bbf8acee5da/diff:/var/lib/docker/overlay2/dd3635727764f435fb18a6c91fa7d9942fa417b67236b00b531fc9da02740c37/diff:/var/lib/docker/overlay2/2ddad8c32705d8a77b0e0bfd28fb3da3bd3f5d8c48a99762df4b20c2d05d01b7/diff:/var/lib/docker/overlay2/507c6bb19b90a85bdd5b4e38964b7495818bbc5c2f59eb177d15fc5880097572/diff:/var/lib/docker/overlay2/338f556cd5e14a5df66568bb2b23b90f1b8678c95be404797706ed41d52dd55e/diff:/var/lib/docker/overlay2/6a84b40d2b23f6acf61c478248181c88362359f07ef9a11d2f45282a8dc87561/diff:/var/lib/docker/overlay2/bfb1c5c699de793eaec70c1554851272db05b98758255028ee3f10e1b6cf7cb9/diff:/var/lib/docker/overlay2/9ed409ce0ff0543269743078f4148adb4680f3aa809f04a91754f64bb17c283a/diff:/var/lib/docker/overlay2/0fe8de9afc6986dddb9900c9bd8507fcb3c8cc76df047935d53b9e8335e779fc/diff:/var/lib/docker/overlay2/4d8bcf1e753eadb81efda39fe89cfa18a53cefd81bfb6cdf238175e4bd1cecd8/diff:/var/lib/docker/overlay2/1103d2a68d34107e2d3931782f7b6831e8cfd4c915dd4ce3f0228d701fc9ef90/diff:/var/lib/docker/overlay2/a8bbb355c7af691f7397994a89882daf29eea6d6dda6695463550022c99b9a10/diff:/var/lib/docker/overlay2/4523de34460cb17d258ec8222c611d9be9f2e63c6e19b8fc2a254490432e478a/diff:/var/lib/docker/overlay2/621fea3f421536fc99637e032118bf65191ec7ce2f11fa46ca7c8efea5c2b2ef/diff:/var/lib/docker/overlay2/9aceed5a72a4534aea4abdd094c551b28e013403d4ef5a8fc244abbfe5ffd644/diff:/var/lib/docker/overlay2/be8f2fb1f58b379966015ae729c5d3e65484613cee650ccb2e2a715132e9a096/diff",
                "MergedDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/merged",
                "UpperDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/diff",
                "WorkDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/mnt/docker-aio-config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "f0b19ed7cc5c",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "NEXTCLOUD_STARTUP_APPS=twofactor_totp keeweb tasks calendar contacts notes",
                "AIO_COMMUNITY_CONTAINERS=fail2ban",
                "BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 --keep-yearly=1",
                "NEXTCLOUD_DATADIR=/media/pi/ncdata/nc_aio",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=xxx",
                "PHP_VERSION=8.3.11",
                "PHP_URL=https://www.php.net/distributions/php-8.3.11.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.11.tar.xz.asc",
                "PHP_SHA256=xxx"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "nextcloud/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "x",
                "com.docker.compose.container-number": "1",xx
                "com.docker.compose.depends_on": "duckdns:service_started:false",
                "com.docker.compose.image": "sha256:xxx",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "nc_aio",
                "com.docker.compose.project.config_files": "/home/pi/Docker/nc_aio/compose.yaml",
                "com.docker.compose.project.working_dir": "/home/pi/Docker/nc_aio",
                "com.docker.compose.replace": "xxx",
                "com.docker.compose.service": "nextcloud-aio-mastercontainer",
                "com.docker.compose.version": "2.29.7"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "",
            "SandboxKey": "",
            "Ports": {},
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "nc_aio_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "nextcloud-aio-mastercontainer",
                        "nextcloud-aio-mastercontainer"
                    ],
                    "MacAddress": "",
                    "DriverOpts": null,
                    "NetworkID": "xxx",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "f0b19ed7cc5c"
                    ]
                },
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "",
                    "DriverOpts": null,
                    "NetworkID": "xxxx",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "f0b19ed7cc5c"
                    ]
                }
            }
        }
    }
]

Current behavior: During night the server somehow recovered itself :man_mage:. BUT when trying to login with the new user, the login fails and after the third time the web interface was not reachable anymore again and all the clients fail to connect too.

While writing this answer, I was suspecting fail2ban blocking me from entering via my standard gateway IP address. Fail2ban container log:

2024-09-23T04:32:48.365006780Z 2024-09-23 06:32:48,364 fail2ban.filter         [12]: INFO    [nextcloud] Found 192.168.x.1 - 2024-09-23 06:09:28
2024-09-23T04:32:48.546126205Z 2024-09-23 06:32:48,545 fail2ban.actions        [12]: NOTICE  [nextcloud] Ban 192.168.x.1

I probably just have a typo within the new password. :see_no_evil:
I’ll keep you posted after fixing the password and retrying the login.

Looks like it is stopped.

Can you start it again with sudo docker start nextcloud-aio-mastercontainer ?

1 Like

Hello,
later in the morning I could access the Nextcloud webpage again, now I can’t again. :frowning:

I executed the sudo docker start nextcloud-aio-mastercontainer command.
There was no change in behavior. Before and after I could excess the AIO user interface. It always tells me all the containers are on green.

Apache (Running)
Database (Running)
Nextcloud (Running)
Notify Push (Running)
Redis (Running)
Imaginary (Running)
Fail2ban (Running) (docs) 

sudo docker logs nextcloud-aio-mastercontainer after using sudo docker start nextcloud-aio-mastercontainer

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
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
⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!

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=04: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
[Mon Sep 23 04:31:28.938141 2024] [mpm_event:notice] [pid 139:tid 139] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.2 configured -- resuming normal operations
[Mon Sep 23 04:31:28.938310 2024] [core:notice] [pid 139:tid 139] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1727065888.9467714,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1727065888.9515529,"msg":"adapted config to JSON","adapter":"caddyfile"}
[23-Sep-2024 04:31:28] NOTICE: fpm is running, pid 144
[23-Sep-2024 04:31:28] NOTICE: ready to handle connections
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
Message: Not found.
File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 76
Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(185): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.

and sudo docker inspect nextcloud-aio-mastercontainer after using sudo docker start nextcloud-aio-mastercontainer

[
    {
        "Id": "f0b19ed7cc5cb016f6a4543aeede9975aeae2aca54254f0f41f9015c76c5ffbc",
        "Created": "2024-09-22T17:51:09.965197709Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 161230,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-09-23T04:31:25.90770359Z",
            "FinishedAt": "2024-09-22T18:48:42.586800369Z",
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2024-09-23T20:06:20.935125782+02:00",
                        "End": "2024-09-23T20:06:21.098392472+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-23T20:06:51.100310584+02:00",
                        "End": "2024-09-23T20:06:51.258130249+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-23T20:07:21.259385641+02:00",
                        "End": "2024-09-23T20:07:21.434637335+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-23T20:07:51.436533718+02:00",
                        "End": "2024-09-23T20:07:51.600815214+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-09-23T20:08:21.602385838+02:00",
                        "End": "2024-09-23T20:08:21.755909986+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    }
                ]
            }
        },
        "Image": "sha256:xxx",
        "ResolvConfPath": "/var/lib/docker/containers/xxx/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/xxx/hostname",
        "HostsPath": "/var/lib/docker/containers/xxx/hosts",
        "LogPath": "/var/lib/docker/containers/xxx/xxx-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "//var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "nc_aio_default",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8443"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "Mounts": [
                {
                    "Type": "volume",
                    "Source": "nextcloud_aio_mastercontainer",
                    "Target": "/mnt/docker-aio-config",
                    "VolumeOptions": {}
                }
            ],
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ],
            "Init": true
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b-init/diff:/var/lib/docker/overlay2/22ea8ca10d15515a87892e078445cf8eccf5b54ab63f77219e7d0babb725103e/diff:/var/lib/docker/overlay2/4e2ecf304a7d8c99e5f768988d263c21530b64877083721db7cc4e7b1543715a/diff:/var/lib/docker/overlay2/37713bd14e92cef7cd329c688af95db9b1b397e33bccdf0e4d115bbf8acee5da/diff:/var/lib/docker/overlay2/dd3635727764f435fb18a6c91fa7d9942fa417b67236b00b531fc9da02740c37/diff:/var/lib/docker/overlay2/2ddad8c32705d8a77b0e0bfd28fb3da3bd3f5d8c48a99762df4b20c2d05d01b7/diff:/var/lib/docker/overlay2/507c6bb19b90a85bdd5b4e38964b7495818bbc5c2f59eb177d15fc5880097572/diff:/var/lib/docker/overlay2/338f556cd5e14a5df66568bb2b23b90f1b8678c95be404797706ed41d52dd55e/diff:/var/lib/docker/overlay2/6a84b40d2b23f6acf61c478248181c88362359f07ef9a11d2f45282a8dc87561/diff:/var/lib/docker/overlay2/bfb1c5c699de793eaec70c1554851272db05b98758255028ee3f10e1b6cf7cb9/diff:/var/lib/docker/overlay2/9ed409ce0ff0543269743078f4148adb4680f3aa809f04a91754f64bb17c283a/diff:/var/lib/docker/overlay2/0fe8de9afc6986dddb9900c9bd8507fcb3c8cc76df047935d53b9e8335e779fc/diff:/var/lib/docker/overlay2/4d8bcf1e753eadb81efda39fe89cfa18a53cefd81bfb6cdf238175e4bd1cecd8/diff:/var/lib/docker/overlay2/1103d2a68d34107e2d3931782f7b6831e8cfd4c915dd4ce3f0228d701fc9ef90/diff:/var/lib/docker/overlay2/a8bbb355c7af691f7397994a89882daf29eea6d6dda6695463550022c99b9a10/diff:/var/lib/docker/overlay2/4523de34460cb17d258ec8222c611d9be9f2e63c6e19b8fc2a254490432e478a/diff:/var/lib/docker/overlay2/621fea3f421536fc99637e032118bf65191ec7ce2f11fa46ca7c8efea5c2b2ef/diff:/var/lib/docker/overlay2/9aceed5a72a4534aea4abdd094c551b28e013403d4ef5a8fc244abbfe5ffd644/diff:/var/lib/docker/overlay2/be8f2fb1f58b379966015ae729c5d3e65484613cee650ccb2e2a715132e9a096/diff",
                "MergedDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/merged",
                "UpperDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/diff",
                "WorkDir": "/var/lib/docker/overlay2/242499fc2207159c1273328c1602f77d80067c479257eeeb940edfdf1c65b46b/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/mnt/docker-aio-config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "f0b19ed7cc5c",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "NEXTCLOUD_STARTUP_APPS=twofactor_totp keeweb tasks calendar contacts notes",
                "AIO_COMMUNITY_CONTAINERS=fail2ban",
                "BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 --keep-yearly=1",
                "NEXTCLOUD_DATADIR=/media/pi/ncdata/nc_aio",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=xxx",
                "PHP_VERSION=8.3.11",
                "PHP_URL=https://www.php.net/distributions/php-8.3.11.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.11.tar.xz.asc",
                "PHP_SHA256=xxx"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "nextcloud/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "xxx",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "duckdns:service_started:false",
                "com.docker.compose.image": "sha256:xxx",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "nc_aio",
                "com.docker.compose.project.config_files": "/home/pi/Docker/nc_aio/compose.yaml",
                "com.docker.compose.project.working_dir": "/home/pi/Docker/nc_aio",
                "com.docker.compose.replace": "xxx",
                "com.docker.compose.service": "nextcloud-aio-mastercontainer",
                "com.docker.compose.version": "2.29.7"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "d0120dedc182f50f11fa373b38356bf282d2dbb58901e33fe3e67f2bde81fac5",
            "SandboxKey": "/var/run/docker/netns/d0120dedc182",
            "Ports": {
                "80/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "80"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8080"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8443"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8443"
                    }
                ],
                "9000/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "nc_aio_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "nextcloud-aio-mastercontainer",
                        "nextcloud-aio-mastercontainer"
                    ],
                    "MacAddress": "02:42:ac:12:00:03",
                    "DriverOpts": null,
                    "NetworkID": "xxx",
                    "EndpointID": "xxx",
                    "Gateway": "172.18.0.1",
                    "IPAddress": "172.18.0.3",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "f0b19ed7cc5c"
                    ]
                },
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "02:42:ac:13:00:02",
                    "DriverOpts": null,
                    "NetworkID": "xxx",
                    "EndpointID": "xxx",
                    "Gateway": "172.19.0.1",
                    "IPAddress": "172.19.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "f0b19ed7cc5c"
                    ]
                }
            }
        }
    }
]

So what happens if you open https://ip.address.of.server:8080 ?

Hello,

The Nextcloud AIO v9.6.0 interface appears, either if the device is inside the private network or outside in a public network when port 8080 is forwarded in the router.
However, a new message told me to stop the nextcloud-aio-apache container before accessing the AIO interface. I saw it only once. Apache is running again and it does not show up again.

I figured out that I can also reach nextcloud webinterface via my https://xxx.duckdns.org domain from outside my local network, but can’t when being in the local network. Neither the clients can sync. nextcloud-aio-apache container is active again in both cases ofc. Something has changes related to the network routing maybe so that I cant reach nextcloud in case my device inside the network.

Do you think this topic cloud help me to takle my issue: https://github.com/nextcloud/all-in-one/tree/main/community-containers/pi-hole?
However I still would like to understand what has changed. Since I could access nexcloud at home without any problems.

1 Like

Hello everyone,
I’m using pi hole community-container now (all-in-one/community-containers/pi-hole at main · nextcloud/all-in-one · GitHub). Unfortunately my router has not the option to change the default IP addresses of the DNS server which is propagated via DHCP. Therefore, I added the IP address of my Raspberry where Nextcloud is running on, as DNS-Server in the WFI configuration for all clients. Or at least for those connecting to the Nextcloud.

I still don’t understand why this problem came up. In the past I needed not to use Pi-Hole. What has changed?