The URL in the nextcloud button have the wrong token in the URL, I found the good token by typing sudo docker exec nextcloud-aio-mastercontainer cat /mnt/docker-aio-config/data/configuration.json, it gives me AIO_TOKEN, if I replace it with the wrong one, I am able to connect to the admin interface, but this is not really easy to do always.
[
{
"Id": "fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7",
"Created": "2026-03-30T19:57:36.016373362Z",
"Path": "/start.sh",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 2718,
"ExitCode": 0,
"Error": "",
"StartedAt": "2026-03-30T20:49:36.350810639Z",
"FinishedAt": "2026-03-30T20:47:56.341529792Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2026-03-30T23:19:15.297433488+02:00",
"End": "2026-03-30T23:19:15.378344307+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": "2026-03-30T23:19:45.380046649+02:00",
"End": "2026-03-30T23:19:45.455343162+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": "2026-03-30T23:20:15.456848396+02:00",
"End": "2026-03-30T23:20:15.539992766+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": "2026-03-30T23:20:45.541003465+02:00",
"End": "2026-03-30T23:20:45.612155178+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": "2026-03-30T23:21:15.61460557+02:00",
"End": "2026-03-30T23:21:15.688676637+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:a58abcb540230ff732b46047325066c0051ee888da0afde2d08fadc33af317af",
"ResolvConfPath": "/var/lib/docker/containers/fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7/hostname",
"HostsPath": "/var/lib/docker/containers/fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7/hosts",
"LogPath": "/var/lib/docker/containers/fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7/fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7-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:rw",
"/var/run/docker.sock:/var/run/docker.sock:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "nextcloud_default",
"PortBindings": {
"8080/tcp": [
{
"HostIp": "",
"HostPort": "8282"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"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,
"MaskedPaths": [
"/proc/acpi",
"/proc/asound",
"/proc/interrupts",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/sched_debug",
"/proc/scsi",
"/proc/timer_list",
"/proc/timer_stats",
"/sys/devices/virtual/powercap",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"ID": "fb3b176dd233ab2de56475dae1ea08171f54670a0bc4642a5b8e59ddfcb4a6a7",
"LowerDir": "/var/lib/docker/overlay2/2d0c85665036751754d79175dcd6e0e436922796df8a6cb860b2911fb78e3836-init/diff:/var/lib/docker/overlay2/547e771b6aab4b81709bbfbccc4ab2a4bb34f698ae06ad133fe41ee08cb9bf4e/diff:/var/lib/docker/overlay2/48dda53939ca5c73d5d6999c97834f608a8e15e1cb903c3dd70c7586ff5cf863/diff:/var/lib/docker/overlay2/35972d868c657dedb6cef82c23f21250f3e3e52a474672796297aa33344ebdce/diff:/var/lib/docker/overlay2/c775f6cdc65a00a658425782359d4f3e215362823bad9c8444d7098a8e879772/diff:/var/lib/docker/overlay2/1bb3a0f60d8143d5533b1e5e543bd05922c03804e7bebb1e012925ae043d24a4/diff:/var/lib/docker/overlay2/2c041eb50f498aa02ee0d0c65e9b1845c73b79372b91cabf25e0b340f8427996/diff:/var/lib/docker/overlay2/96cc54d2984cf9bc53070e8b1b5dac8f0a6ae3231968af09906fd811c360261f/diff:/var/lib/docker/overlay2/bb593e083f7a2d5f77d59a17b5ca4f74b5c5942a4b3847936343155909fef8c8/diff:/var/lib/docker/overlay2/ded8db0db9b97c268c3add028319e2bd6ee7f547a63dd7fef3c76294953883b0/diff:/var/lib/docker/overlay2/300903c276f58d848bba5f308c7175eb514d95c458a7ef78f93ac339a0232f51/diff:/var/lib/docker/overlay2/ffcf4963ad9af4da0a370ae0af33ce22b0421e6a28143c57b7e516476dddd817/diff:/var/lib/docker/overlay2/aaaea24e1aaf5b58bf4898eef2214a0d6e429643380076c7b21bfbeb0724bf5f/diff:/var/lib/docker/overlay2/45fc5f8138b752ac2f2a12d3999b9ddfcf48c3bf86ea020cbfd9ab46ffda8ad8/diff:/var/lib/docker/overlay2/6ea37952185c8445fd1150c0ea80db7f9cc5646b74b36facf3ba0af3d8261962/diff:/var/lib/docker/overlay2/eafc8d51b8441eeb8fb71a26aab9a2157e157a4394a5e6a740472878aa839387/diff:/var/lib/docker/overlay2/683cf9563c52a966084db1d3d6243515bed090691ffcb1cbf19e604334cd3bae/diff:/var/lib/docker/overlay2/bede6bf430909b40ea46b4fdba1d06362df5863022c556f61b572e14c1945080/diff:/var/lib/docker/overlay2/2198a53fb5627ac25f3de90aa3a095d536ccc2b5ac8e54d988fbc6c10aa268c6/diff:/var/lib/docker/overlay2/e1a1de319e626552987b47aa280ec807f4de842f0b0f6b61e7e65c986cd6841d/diff:/var/lib/docker/overlay2/160dfe34ade4edcffea217603012264f341392c29d72c338e769245df264d82c/diff:/var/lib/docker/overlay2/8acc4136ebe8cf63aeac2b703f07f0d807d5b8757d4bf12904bca2e7ab25fc55/diff",
"MergedDir": "/var/lib/docker/overlay2/2d0c85665036751754d79175dcd6e0e436922796df8a6cb860b2911fb78e3836/merged",
"UpperDir": "/var/lib/docker/overlay2/2d0c85665036751754d79175dcd6e0e436922796df8a6cb860b2911fb78e3836/diff",
"WorkDir": "/var/lib/docker/overlay2/2d0c85665036751754d79175dcd6e0e436922796df8a6cb860b2911fb78e3836/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": "rw",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "fb3b176dd233",
"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": [
"APACHE_PORT=11000",
"NEXTCLOUD_MEMORY_LIMIT=2048M",
"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 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5",
"PHP_VERSION=8.5.3",
"PHP_URL=https://www.php.net/distributions/php-8.5.3.tar.xz",
"PHP_ASC_URL=https://www.php.net/distributions/php-8.5.3.tar.xz.asc",
"PHP_SHA256=ce65725b8af07356b69a6046d21487040b11f2acfde786de38b2bfb712c36eb9",
"HOME=/var/www"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"/healthcheck.sh"
]
},
"Image": "nextcloud/all-in-one:latest",
"Volumes": null,
"WorkingDir": "/var/www/docker-aio",
"Entrypoint": [
"/start.sh"
],
"Labels": {
"com.docker.compose.config-hash": "e400cb1977b24fc716bb01117b099d01a959f47e7e6fd858182d25564e810abe",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:a58abcb540230ff732b46047325066c0051ee888da0afde2d08fadc33af317af",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "nextcloud",
"com.docker.compose.project.config_files": "/root/nextcloud/compose.yaml",
"com.docker.compose.project.working_dir": "/root/nextcloud",
"com.docker.compose.service": "nextcloud",
"com.docker.compose.version": "5.1.1",
"org.label-schema.vendor": "Nextcloud",
"wud.watch": "false"
},
"StopSignal": "SIGQUIT"
},
"NetworkSettings": {
"SandboxID": "d8e93c459d2cd8f1b40fb238cfe1885f4ae37c59e25f71071aab94fbbc92f839",
"SandboxKey": "/var/run/docker/netns/d8e93c459d2c",
"Ports": {
"80/tcp": null,
"8080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8282"
},
{
"HostIp": "::",
"HostPort": "8282"
}
],
"8443/tcp": null,
"9000/tcp": null
},
"Networks": {
"nextcloud-aio": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"DriverOpts": null,
"GwPriority": 0,
"NetworkID": "a5c24d69ae50afca03fb18b33a87e09bf49253c484ab3b5dec92b496e222b684",
"EndpointID": "2ba3b2c0a2f2d86ff6b247ee01b39148a39c348bcb7c960610aee3bb2ece6092",
"Gateway": "172.23.0.1",
"IPAddress": "172.23.0.4",
"MacAddress": "fa:b2:c0:12:b8:28",
"IPPrefixLen": 16,
"IPv6Gateway": "fdcf:7d8e:e3f5::1",
"GlobalIPv6Address": "fdcf:7d8e:e3f5::4",
"GlobalIPv6PrefixLen": 64,
"DNSNames": [
"nextcloud-aio-mastercontainer",
"fb3b176dd233"
]
},
"nextcloud_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"nextcloud-aio-mastercontainer",
"nextcloud"
],
"DriverOpts": null,
"GwPriority": 0,
"NetworkID": "a733b1131ff82bda7df849900d57e0df301b270e03e9e3118b3f4fb6e690aae6",
"EndpointID": "e4e0f7be142c47ed76384d7451f8eba26dad35d9b4820f28b9de06d7e09f35df",
"Gateway": "172.21.0.1",
"IPAddress": "172.21.0.2",
"MacAddress": "96:5c:0e:05:e8:e8",
"IPPrefixLen": 16,
"IPv6Gateway": "fdcf:7d8e:e3f5:1::1",
"GlobalIPv6Address": "fdcf:7d8e:e3f5:1::2",
"GlobalIPv6PrefixLen": 64,
"DNSNames": [
"nextcloud-aio-mastercontainer",
"nextcloud",
"fb3b176dd233"
]
}
}
}
}
]
Steps to reproduce
Please use the automatic login from your Nextcloud."
Expected behavior
Actual behavior
The URL in the nextcloud button have the wrong token in the URL, I found the good token by typing sudo docker exec nextcloud-aio-mastercontainer cat /mnt/docker-aio-config/data/configuration.json, it gives me AIO_TOKEN, if I replace it with the wrong one, I am able to connect to the admin interface, but this is not really easy to do always.
Output of
sudo docker infoDocker run command or docker-compose file that you used
Output of
sudo docker logs nextcloud-aio-mastercontainerOutput of
sudo docker inspect nextcloud-aio-mastercontainerOutput of
sudo docker ps -aOther valuable info
Hi, I fear I cannot reproduce this on my test instance. Can you please log into the aio interface manually, stop the containers via the aio-interface, start them again via the aio-interface and then log out of the aio-interface. Afterwards open the admin overview inside nextcloud and click the button again and see if that makes it work?