Slim Application Error when accessing AIO

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.6
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx 1.27.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After removing and recreating mastercontainer
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

All attempts to access the AIO interface result in " Slim Application Error. A website error has occurred. Sorry for the temporary inconvenience."

Steps to replicate it (hint: details matter!):

  1. sudo docker rm nextcloud-aio-mastercontainer
  2. sudo docker run --pull=always -d --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 8080:8080 --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --volume /var/run/docker.sock:/var/run/docker.sock:ro --env APACHE_PORT=11443 --env APACHE_IP_BINDING=127.0.0.1 --env NEXTCLOUD_DATADIR=“/pool/aio” --env NEXTCLOUD_MEMORY_LIMIT=1024M --env NEXTCLOUD_MAX_TIME=86400 --env NEXTCLOUD_UPLOAD_LIMIT=16G --env NEXTCLOUD_STARTUP_APPS=“-activity -circles -comments -contactsinteraction -dashboard -federation -photos -recommendations -related_resources -support -survey_client -systemtags -user_status -weather_status” --env BORG_RETENTION_POLICY=“-d=11 -w=7 -m=3 -y=1” nextcloud/all-in-one:latest
  3. Browse to https://:8080
  4. Enter password

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

NOTICE: PHP message: Slim Application Error
Type: GuzzleHttp\Exception\ServerException
Code: 500
Message: Server error: `POST http://127.0.0.1/v1.41/networks/nextcloud-aio/connect` resulted in a `500 Internal Server Error` response:
{"message":"failed to add interface vethe30b197 to sandbox: error setting interface \"vethe30b197\" IP to 172.18.0.2/16: (truncated...)
File: /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
Line: 111
Trace: #0 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
#1 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/docker-aio/php/src/Docker/DockerActionManager.php(906): GuzzleHttp\Client->request('POST', 'http://127.0.0....', Array)
#11 /var/www/docker-aio/php/src/Docker/DockerActionManager.php(923): AIO\Docker\DockerActionManager->ConnectContainerIdToNetwork('nextcloud-aio-m...', '')
#12 /var/www/docker-aio/php/public/index.php(83): AIO\Docker\DockerActionManager->ConnectMasterContainerToNetwork()
#13 /var/www/docker-aio/php/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Closure->{closure}(Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#14 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(363): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#15 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\Routing\Route->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#16 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#17 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(321): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#18 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(74): Slim\Routing\Route->run(Object(GuzzleHttp\Psr7\ServerRequest))
#19 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#20 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#21 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#22 /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))
#23 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#24 /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))
#25 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#26 /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))
#27 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#28 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#29 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#30 /var/www/docker-aio/php/public/index.php(189): Slim\App->run()
#31 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
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(117): 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(36): 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(189): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
Deleting duplicate sessions

Hi, can you post the output of sudo docker inspect nextcloud-aio-mastercontainer here?

Sure, thank you for looking into this!

[
    {
        "Id": "817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36",
        "Created": "2025-03-03T09:27:53.149875446Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 4989,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2025-03-03T09:27:53.557685208Z",
            "FinishedAt": "0001-01-01T00:00:00Z",
            "Health": {
                "Status": "starting",
                "FailingStreak": 0,
                "Log": []
            }
        },
        "Image": "sha256:06d68912dece0b8499955728f32342b9b36b312ec2dedd9d1514d4ec49e7745a",
        "ResolvConfPath": "/var/lib/docker/containers/817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36/hostname",
        "HostsPath": "/var/lib/docker/containers/817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36/hosts",
        "LogPath": "/var/lib/docker/containers/817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36/817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "nextcloud_aio_mastercontainer:/mnt/docker-aio-config",
                "/var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                60,
                300
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "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": [],
            "BlkioDeviceReadBps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteIOps": [],
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": [],
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "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/5933e70b0d2f61cbce602d4e6a14c3f98dd3c826f2459c69d767ceeba5cf40bf-init/diff:/var/lib/docker/overlay2/8fe3f46be7b9552ebf3070c3d344589155060391492ee37203421bb2cdbb83d7/diff:/var/lib/docker/overlay2/6f9c33a06bf293a8c81e46e37ecbbb1eecb64837f93b154277c46e921be16ee1/diff:/var/lib/docker/overlay2/e4bb14d592a194cdd6fb6708a9bc653a764d683469d2fdcbaf636eb077fd7ccb/diff:/var/lib/docker/overlay2/fa62b1eb04177e4cfb3fe4d5906885d12b2ccbf892218f19afe77fbdb4564a65/diff:/var/lib/docker/overlay2/fdba88d8c83cd28a9897435f6b5d0d4a0fd543c1fc1709bcf0861ddb87f69ef4/diff:/var/lib/docker/overlay2/757ba373bc2de09be7220f17ebaf3cbbbc334c9b07a61d64a0adf0f0528806e0/diff:/var/lib/docker/overlay2/697adb9a2dcd53102b45285e38f60966a67156654c3065f5ca430dc07a8efaa6/diff:/var/lib/docker/overlay2/863aa3817fc03e477b7043343ed7eb3873ad397823914f28e36b5fe103bd9fe2/diff:/var/lib/docker/overlay2/f37bb8219946939935357e2d572848d1f9d1531a21b1af5b1cb65969f343252a/diff:/var/lib/docker/overlay2/064631b649294db0b9d537f2f96e67e1547e1c2844682104ffd6d19f66427435/diff:/var/lib/docker/overlay2/c65ee8eb50c8c88ec306fee196b7cd36cf055faf2f27ca5e46118dac10281c3c/diff:/var/lib/docker/overlay2/9fb7dae0ff739bb1448203e5ffb70cba4fb50b6a8513bd3820486a7637bbaba0/diff:/var/lib/docker/overlay2/68e8eb83dad273093195d9b33fce3e87056aa9e665dfa19f0c44d1f9e93fbb18/diff:/var/lib/docker/overlay2/48cc1186a462df92d4a3c9858966aae0c9c66b063fdb8a2590d1ca79e1038c21/diff:/var/lib/docker/overlay2/89030fa4607ff24e2d8df2b23d3c4e850c7f5c997a894fb763213b3198e790a7/diff:/var/lib/docker/overlay2/5dde44209caefd2380faccdd14d13ed8c69a1eb41249bf76a870a40682559d40/diff:/var/lib/docker/overlay2/94acc43d4e257d97e4ee4d08aad825ab13512293836d76eef9953cf3807a2bbc/diff:/var/lib/docker/overlay2/95aa766a4526ae24189600d14e4e6ecbe42c385ca6abfd1efc3822f5f7a393ff/diff:/var/lib/docker/overlay2/86bfa457727ff2d0ef9db0e153d03c947643fd13751cd6086c71f20a3a863fb3/diff",
                "MergedDir": "/var/lib/docker/overlay2/5933e70b0d2f61cbce602d4e6a14c3f98dd3c826f2459c69d767ceeba5cf40bf/merged",
                "UpperDir": "/var/lib/docker/overlay2/5933e70b0d2f61cbce602d4e6a14c3f98dd3c826f2459c69d767ceeba5cf40bf/diff",
                "WorkDir": "/var/lib/docker/overlay2/5933e70b0d2f61cbce602d4e6a14c3f98dd3c826f2459c69d767ceeba5cf40bf/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "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": ""
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "817632f4d75d",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "BORG_RETENTION_POLICY=-d=11 -w=7 -m=3 -y=1",
                "APACHE_PORT=11443",
                "APACHE_IP_BINDING=127.0.0.1",
                "NEXTCLOUD_DATADIR=/pool/aio",
                "NEXTCLOUD_MEMORY_LIMIT=1024M",
                "NEXTCLOUD_MAX_TIME=86400",
                "NEXTCLOUD_UPLOAD_LIMIT=16G",
                "NEXTCLOUD_STARTUP_APPS=-activity -circles -comments -contactsinteraction -dashboard -federation -photos -recommendations -related_resources -support -survey_client -systemtags -user_status -weather_status",
                "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=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
                "PHP_VERSION=8.3.17",
                "PHP_URL=https://www.php.net/distributions/php-8.3.17.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.17.tar.xz.asc",
                "PHP_SHA256=6158ee678e698395da13d72c7679a406d2b7554323432f14d37b60ed87d8ccfb"
            ],
            "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": {},
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "a6894df7abd8d406244f5691701bfa4e99f564ee603cedefc9643f5af173acb6",
            "SandboxKey": "/var/run/docker/netns/a6894df7abd8",
            "Ports": {
                "80/tcp": null,
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8080"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": null,
                "9000/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "f2bca90b689ab84501416cf5ff8c7a20a645ff50507cf17a1c4e5d9fa6c4b4bb",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "02:42:ac:11:00:02",
                    "NetworkID": "742b7f4191ebe42cffa32a6e77b3868bb9b57cf31b42bdaeeb69978e7f1c66d7",
                    "EndpointID": "f2bca90b689ab84501416cf5ff8c7a20a645ff50507cf17a1c4e5d9fa6c4b4bb",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": null
                },
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "02:42:ac:12:00:0a",
                    "NetworkID": "955c6025c9de18f3c8fd540c09d812ae270facd82816b6ae8acf412e8b6926da",
                    "EndpointID": "1f5b6fa929ca181ed26475fed076a6ba9427a7b684a5f3d3e599fdee3c5716b3",
                    "Gateway": "",
                    "IPAddress": "172.18.0.10",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "817632f4d75d"
                    ]
                }
            }
        }
    }
]

Hm, weird. Can you also post the output of sudo docker network inspect nextcloud-aio here?

[
    {
        "Name": "nextcloud-aio",
        "Id": "955c6025c9de18f3c8fd540c09d812ae270facd82816b6ae8acf412e8b6926da",
        "Created": "2024-08-15T18:24:36.537128129+02:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "172.18.0.0/16",
                    "Gateway": "172.18.0.1"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "6f2146e175acd2f7b539c9a2be9e8dd4432530247d368bdd5acd60bfe0edc598": {
                "Name": "nextcloud-aio-imaginary",
                "EndpointID": "54fa2826e5c2c097278b0bc021ef764690dbc34cdf6e2e8538bc21ca572edfc4",
                "MacAddress": "02:42:ac:12:00:03",
                "IPv4Address": "172.18.0.3/16",
                "IPv6Address": ""
            },
            "7358cae5334e714225a3166b7653a02fc8570e5d95eacdebf8ef325c01381c8d": {
                "Name": "nextcloud-aio-redis",
                "EndpointID": "629f116d172ecc224de0d651123bdfc29b63dddf1aa6ccbad22fbe814bd2cb96",
                "MacAddress": "02:42:ac:12:00:06",
                "IPv4Address": "172.18.0.6/16",
                "IPv6Address": ""
            },
            "9b5b1754741ca2e3bbc020a1e683b7534590fc2d669bdde576e1e09c963324ec": {
                "Name": "nextcloud-aio-collabora",
                "EndpointID": "6d79e0a416974a34310c9098a571dada1d11388d2bec762029d9b9b1326692c6",
                "MacAddress": "02:42:ac:12:00:05",
                "IPv4Address": "172.18.0.5/16",
                "IPv6Address": ""
            },
            "9f0a64e7fe6f26ce2ea68ecb8c24e38c92264a34a5859f8d022087ce0e1f050a": {
                "Name": "nextcloud-aio-notify-push",
                "EndpointID": "d6cbdc6f645d858bbf6c95c0e08338ebc5fa3b423a5671388acf3bd89ccb07ad",
                "MacAddress": "02:42:ac:12:00:04",
                "IPv4Address": "172.18.0.4/16",
                "IPv6Address": ""
            },
            "c782a3771b22e6b57c9e53c7333932056ed1a4f658cbef433032fcdaf72150be": {
                "Name": "nextcloud-aio-database",
                "EndpointID": "6c4426ce27e9561e05e01633f98004a585a5d3203d1b477ef3faf938d24e2bbf",
                "MacAddress": "02:42:ac:12:00:08",
                "IPv4Address": "172.18.0.8/16",
                "IPv6Address": ""
            },
            "da4464feb39cf4ac0c6d9bc29fe694b7bd6ee4f7ebf7a3507062fc92067d1c3c": {
                "Name": "nextcloud-aio-nextcloud",
                "EndpointID": "3d14f907293f8d70dd3fe80963c6266efde436b2435a1358c89a724700da52ce",
                "MacAddress": "02:42:ac:12:00:07",
                "IPv4Address": "172.18.0.7/16",
                "IPv6Address": ""
            },
            "e0b1a562f2fd4dbd79853c8bfa12470d7674def44c1c2db7019e3269ef4679f1": {
                "Name": "nextcloud-aio-docker-socket-proxy",
                "EndpointID": "7c68eca809c924e1fa27e191e7e38abacc7b6c07fad9f1f819dabc3622c85be1",
                "MacAddress": "02:42:ac:12:00:02",
                "IPv4Address": "172.18.0.2/16",
                "IPv6Address": ""
            },
            "ea21217206a139bb38138994d19ddb4ac2a467367a8c9bae24613b035ca14cfd": {
                "Name": "nextcloud-aio-apache",
                "EndpointID": "e1305603d8dbc7d1a3bdf47857dd40065b9e3b841b309391a53649be1fb1a595",
                "MacAddress": "02:42:ac:12:00:09",
                "IPv4Address": "172.18.0.9/16",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {}
    }
]

Hm… Something seems to be broken on your docker install. Can you for a test run sudo docker network disconnect nextcloud-aio nextcloud-aio-mastercontainer and reboot your server and then try to open the AIO interface again?

That command gives me:

Error response from daemon: container 817632f4d75da16be57992437b23754944995ad9cb7afe21c5710333f7bc1b36 is not connected to network nextcloud-aio

No change after reboot.

I could try to remove all containers and docker-internal volumes - I assume my data and configuration would be safe - and start over. The risk there is that if the mastercontainer doesn’t come up, I would have no way ot restarting nextcloud. At the moment, everything other than the mastercontainer is working correctly.

okay even weirder. Can you recreate the mastercontainer via docker stop, docker rm and docker run, then reboot the server and try to open the aio interface again?

Just did that, same behavior :frowning:

docker inspect shows the mastercontainer in the nextcloud-aio network but docker network inspect doesn’t list it in the nextcloud-aio network

So yeah, still looks like something is weird with your docker installation…

Can you post the output of sudo docker info here?

Client:
 Version:    26.1.5+dfsg1
 Context:    default
 Debug Mode: false

Server:
 Containers: 13
  Running: 9
  Paused: 0
  Stopped: 4
 Images: 13
 Server Version: 26.1.5+dfsg1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1.7.24~ds1-4+b2
 runc version: 1.1.15+ds1-2+b1
 init version:
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.12.12-amd64
 Operating System: Debian GNU/Linux trixie/sid
 OSType: linux
 Architecture: x86_64
 CPUs: 24
 Total Memory: 93.91GiB
 Name: Hermes
 ID: b8e9b3ca-2a6b-46e3-b610-c137502e1af2
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Okay, can you upgrade docker and check if that improves things?

E.g. via the apt package manager

This is the latest Debian docker.io package. To upgrade I would need to switch to the docker-ce package which isn’t ideal. I will try doing this later on a development machine. Thank you for your help.

Hi,
I’m happy to report that this issue has been fixed now. The problem, whatever it was, was on Debian’s side, and the latest round of updates fixed the issue.
Happy to provide more debugging info if it helps in any way, but apart from that nothing to do here.
Thank you once again for the quick and thorough help!

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.