NC AIO 12.6.1 Backup Restore Not working

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):
    • 32.0.4 -> 32.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Docker version 29.2.1, build a5c7197, Ubuntu 24.04.3 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • NA
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NA
  • PHP version (e.g, 8.3):
    • NA
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • 02/15/2026
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO 12.5.1 -> AIO 12.6.1
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • It is served behind Cloudflared tunnel for myself, but the AIO console is not accessible except via wireguard IPv4.

Summary of the issue you are facing:

A week or so ago (02/7/2026) I set up nextcloud via AIO to test it out. After going through the installation instructions, I had AIO v12.5.1 up and running with NextCloud 32.0.4. Everything worked fine, and I followed the recommendations for having it behind a cloudflared tunnel. I set up a STUN/TURN server as specified, talk worked, mobile apps and webpages all worked.

When I checked the AIO console, it said there was a mastercontainer update, so I made a backup, then updated the container. This updated AIO to 12.6.1, and the NextCloud version associated with the new AIO is 32.0.5.

I ran into an error after updating that forced me to create a proper docker volume rather than just directly mounting the DATADIR and BACKUPDIR from local directories, but I got that fixed and added to my docker compose file. For reference, this is the docker compose file:

services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    container_name: nextcloud-aio-mastercontainer
    restart: always
    init: true
    ports:
      - "80:80"
      - "8080:8080"
      - "8443:8443"
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      - TZ=Etc/UTC
      - NEXTCLOUD_DATADIR=/mnt/nextcloud/nextcloud_data
      - SKIP_DOMAIN_VALIDATION=true
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
    driver: local
    driver_opts:
      type: none
      o: bind
      device: /mnt/nextcloud/nextcloud_aio_mastercontainer
  nextcloud_aio_backupdir:
    name: nextcloud_aio_backupdir
    driver: local
    driver_opts:
      type: none
      o: bind
      device: /mnt/nextcloud/backups

Not sure if it matters, but this mount (`/mnt/nextcloud`) is an NFS, not a local storage device.

However, after starting up the mastercontainer again, it requires a different AIO passphrase, which I got from the container via this command:

 docker exec nextcloud-aio-mastercontainer grep password /mnt/docker-aio-config/data/configuration.json

Then when I logged in, it asked me to either create a new instance or to restore from backup. I tried to restore, it found the backups fine, and I had saved the password so it all worked. I verified the backup and then restored. But after it was done restoring, it just showed me the same “Restore Backup“ screen I previously filled out. I’ve tried restarting the container, the system, and just continuing to restore from backup. It doesn’t ever get past this. Maybe I am doing something wrong. The backup was made with AIO v12.5.1, and the update changed it to 12.6.1. I assumed I’d be able to restore just fine, but it seems like either I messed up the process or misconfigured something. I do have a snapshot of the VM from just before updating as well, so I can revert back to the old version, but I can’t actually start Nextcloud AIO v12.5.1, as the only button available for the services is the update button.

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

  1. Create NextCloud instance with AIO v12.5.1

  2. Do some configuration (e.g. Oauth, users, Talk, HPB, etc.)

  3. Make a backup via AIO v12.5.1

  4. Update from v12.5.1 to v12.6.1

  5. Try to restore backup with saved backup key and local directory

Log entries

I don’t really have any logs. I can paste the logs somewhere (e.g. pastebin) from the backup process, but it is quite large and also contains the usernames of the users I made, which includes the personal details of me and some of my immediate family, so I’d prefer not to do that. If there are some other logs (e.g. container logs via docker … logs) I can get those, I’m just not sure which ones are relevant. I didn’t see any logs printed out to the console during or after the backup process.

Configuration

For clarity, I will describe my complete setup here.

Nextcloud is hosted via the AIO solution, with Docker. Docker is installed on an Ubuntu 24.04.3 LTS VM. This VM is hosted on Proxmox.

This Proxmox instance was recently reinstalled, but the snapshot of this VM was restored via Proxmox Backup Server, and multiple other VMs were restored like this (including a few which run Portainer and quite a few assorted containers), and they had no issues. The reason I saw the update button was because I was restarting all the services in my little homelab and instead of being able to start Nextcloud back up, I had to update first.

Apologies if I am in the wrong place or have the wrong tags. I looked around as best I could to see where this should go. I didn’t see anyone else having this issue.

Hi, can you check the logs for warnings or errors? This should be usually enough to debug the situation

I was having the same issue as OP. The logs of the backup container contain no warnings and states that the restoration had finished successfully.

Hi, maintainer of AIO here. I need the backup restore logs in order to debug this. Can you please send them to my mail address that is shown in my profile here: szaimen (Simon L.) · GitHub? Alternatively feel free to send them via dm to me.

I just sent an email to the account listed on your Github. I included two files, one restore logs from the first restore and then a second from a subsequent restore after AIO shows the restore page again. If there’s anything else that I can add to give you more information, let me know.

Thanks! It looks like the backup was successfully restored. So there might be something else happening.

Can you please post the output of sudo docker inspect nextcloud-aio-mastercontainer here?

Here it is:

[
    {
        "Id": "21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412",
        "Created": "2026-02-16T14:39:43.704326273Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 3613,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2026-02-16T14:39:43.909694234Z",
            "FinishedAt": "0001-01-01T00:00:00Z",
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2026-02-16T15:12:48.70575002Z",
                        "End": "2026-02-16T15:12:48.770362242Z",
                        "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-02-16T15:13:18.770952219Z",
                        "End": "2026-02-16T15:13:18.831028062Z",
                        "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-02-16T15:13:48.832390016Z",
                        "End": "2026-02-16T15:13:48.890312081Z",
                        "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-02-16T15:14:18.891889241Z",
                        "End": "2026-02-16T15:14:18.956518538Z",
                        "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-02-16T15:14:48.958128727Z",
                        "End": "2026-02-16T15:14:49.015666116Z",
                        "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:d1af9d7ceaae2f896418186019ffc11e49701adf61b2abca61aed16b626e62ae",
        "ResolvConfPath": "/var/lib/docker/containers/21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412/hostname",
        "HostsPath": "/var/lib/docker/containers/21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412/hosts",
        "LogPath": "/var/lib/docker/containers/21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412/21623123673cf2b6d27775dd8379ad1f61d9ca139c93beb43078ceb5ad01d412-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlayfs",
        "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": {
                "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,
            "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"
            ],
            "Init": true
        },
        "Storage": {
            "RootFS": {
                "Snapshot": {
                    "Name": "overlayfs"
                }
            }
        },
        "Mounts": [
            {
                "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": ""
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "baef04979535",
            "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_IP_BINDING=0.0.0.0",
                "TZ=Etc/UTC",
                "NEXTCLOUD_DATADIR=/mnt/nextcloud/nextcloud_data",
                "SKIP_DOMAIN_VALIDATION=true",
                "APACHE_PORT=11000",
                "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=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD",
                "PHP_VERSION=8.4.17",
                "PHP_URL=https://www.php.net/distributions/php-8.4.17.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.4.17.tar.xz.asc",
                "PHP_SHA256=28b234e347286158cae921d61283eb1169d89bc9d2e5f5976567260ff38b0bfa",
                "HOME=/var/www"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "ghcr.io/nextcloud-releases/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "Labels": {
                "com.docker.compose.config-hash": "72b9d4f42ad042f37b351e45e047816cb8bc53a072e257b84cee68a556c9e044",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:74abbbdfcffff867f5e22f14da8446dbafffb4368e94287b4697ff0a460e85f9",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "nextcloud",
                "com.docker.compose.project.config_files": "/mnt/nextcloud/docker-compose.yml",
                "com.docker.compose.project.working_dir": "/mnt/nextcloud",
                "com.docker.compose.replace": "nextcloud-aio-mastercontainer",
                "com.docker.compose.service": "nextcloud-aio-mastercontainer",
                "com.docker.compose.version": "5.0.2",
                "org.label-schema.vendor": "Nextcloud",
                "wud.watch": "false"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "SandboxID": "62f3d30505e3f1d0e8b461ae9bc1c6c383f67887da7ca64f1782946f2ad109ee",
            "SandboxKey": "/var/run/docker/netns/62f3d30505e3",
            "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
            },
            "Networks": {
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "81f90b34eebbf36f5b2a11a7abc74bca5c003fadba206f353d97e4d87359c93b",
                    "EndpointID": "5c74e5d0b73a93e2ca3f6676f578b94fb32c97b7ff43ce4a70aa942bd8796a6f",
                    "Gateway": "172.19.0.1",
                    "IPAddress": "172.19.0.2",
                    "MacAddress": "fe:19:f1:f9:54:07",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "21623123673c",
                        "baef04979535"
                    ]
                },
                "nextcloud_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "nextcloud-aio-mastercontainer",
                        "nextcloud-aio-mastercontainer"
                    ],
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "246531f0f5ffc562f23d01d53067f9560f48335060aacb337f967172724bded3",
                    "EndpointID": "bd93376c240a6008349615d94913db94ef5ee1bd4b913a4e02edd1add35cd815",
                    "Gateway": "172.18.0.1",
                    "IPAddress": "172.18.0.2",
                    "MacAddress": "52:ca:b6:70:30:71",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "21623123673c",
                        "baef04979535"
                    ]
                }
            }
        },
        "ImageManifestDescriptor": {
            "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
            "digest": "sha256:d64c96338d949ef967e5fe645a5248dcdf6f03ce2294c5c6225ba5ef86890b4f",
            "size": 4916,
            "platform": {
                "architecture": "amd64",
                "os": "linux"
            }
        }
    }
]

This is from the container that is still actively running after doing the two restores in the logs.

Ok thanks!

And you are currently trying to restore from backup via the AIO interface on port 8080 or 8443?


Also, can you post the output of sudo docker ps -a here?

I am accessing via 8080 currently.

Docker ps:

CONTAINER ID   IMAGE                                                  COMMAND                  CREATED          STATUS                      PORTS                                                                                                                                     NAMES
ee7b08bec047   ghcr.io/nextcloud-releases/aio-borgbackup:latest       "/start.sh"              21 minutes ago   Exited (0) 20 minutes ago                                                                                                                                             nextcloud-aio-borgbackup
f30f4f5d1622   ghcr.io/nextcloud-releases/aio-domaincheck:latest      "/start.sh"              21 minutes ago   Up 21 minutes (healthy)     0.0.0.0:11000->11000/tcp                                                                                                                  nextcloud-aio-domaincheck
21623123673c   ghcr.io/nextcloud-releases/all-in-one:latest           "/start.sh"              42 minutes ago   Up 42 minutes (healthy)     0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp, 0.0.0.0:8443->8443/tcp, [::]:8443->8443/tcp, 9000/tcp   nextcloud-aio-mastercontainer
d5ffc5ca6102   ghcr.io/nextcloud-releases/aio-watchtower:latest       "/start.sh"              42 minutes ago   Exited (0) 42 minutes ago                                                                                                                                             nextcloud-aio-watchtower
f82a44f946f9   ghcr.io/nextcloud-releases/aio-apache:latest           "/start.sh /usr/bin/…"   8 days ago       Exited (137) 2 days ago                                                                                                                                               nextcloud-aio-apache
62dee9921a28   ghcr.io/nextcloud-releases/aio-nextcloud:latest        "/start.sh /usr/bin/…"   8 days ago       Exited (0) 2 days ago                                                                                                                                                 nextcloud-aio-nextcloud
bf4999003c3d   ghcr.io/nextcloud-releases/aio-imaginary:latest        "/start.sh"              8 days ago       Exited (143) 2 days ago                                                                                                                                               nextcloud-aio-imaginary
453b55714164   ghcr.io/nextcloud-releases/aio-talk-recording:latest   "/start.sh python -m…"   8 days ago       Exited (143) 2 days ago                                                                                                                                               nextcloud-aio-talk-recording
00b81bc4bede   ghcr.io/nextcloud-releases/aio-fulltextsearch:latest   "/bin/tini -- /usr/l…"   8 days ago       Exited (143) 2 days ago                                                                                                                                               nextcloud-aio-fulltextsearch
1094ce28c9bf   ghcr.io/nextcloud-releases/aio-redis:latest            "/start.sh"              8 days ago       Exited (0) 2 days ago                                                                                                                                                 nextcloud-aio-redis
30b4f54f63a8   ghcr.io/nextcloud-releases/aio-postgresql:latest       "/start.sh"              8 days ago       Exited (0) 2 days ago                                                                                                                                                 nextcloud-aio-database
4ccca937419f   ghcr.io/nextcloud-releases/aio-whiteboard:latest       "/start.sh"              8 days ago       Exited (0) 2 days ago                                                                                                                                                 nextcloud-aio-whiteboard
b4ec7c9422b0   ghcr.io/nextcloud-releases/aio-notify-push:latest      "/start.sh"              8 days ago       Exited (143) 2 days ago                                                                                                                                               nextcloud-aio-notify-push
a2813a34ea25   ghcr.io/nextcloud-releases/aio-talk:latest             "/start.sh superviso…"   8 days ago       Exited (0) 2 days ago                                                                                                                                                 nextcloud-aio-talk
a9699fd46ab5   ghcr.io/nextcloud-releases/aio-collabora:latest        "/start-collabora-on…"   8 days ago       Exited (137) 2 days ago                                                                                                                                               nextcloud-aio-collabora
484b23d3ed7e   ghcr.io/szaimen/aio-fail2ban:v1                        "/start.sh"              8 days ago       Exited (143) 2 days ago                                                                                                                                               nextcloud-aio-fail2ban

Ok thanks! And after you went though the restore process nothing happens?

Can you post a screenshot of what you are seeing in the AIO interface after you restored a backup and reloaded the aio interface?

After the restore completes, it brings me back to this page:

The same thing happens when I repeatedly do restores as well.

Hm… after another restore attempt, can you try to restart the mastercontainer via sudo docker restart nextcloud-aio-mastercontainer and check if that makes a difference?

After doing another restore and then going back to the web itnerface, it brings me to the same restore page:

I tried looking at the container logs and this is what I see:

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 990
The environmental variable TZ has been set which is not supported by AIO since it only supports running in the default Etc/UTC timezone!
The correct timezone can be set in the AIO interface later on!
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
{"level":"info","ts":1771252786.3459117,"msg":"maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined"}
{"level":"info","ts":1771252786.3461099,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":30286824652,"previous":9223372036854775807}
[16-Feb-2026 14:39:46] NOTICE: fpm is running, pid 174
[16-Feb-2026 14:39:46] NOTICE: ready to handle connections
{"level":"info","ts":1771252786.3795526,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1771252786.3813412,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1771252786.3972187,"msg":"serving initial configuration"}
[Mon Feb 16 14:39:46.406881 2026] [mpm_event:notice] [pid 168:tid 168] AH00489: Apache/2.4.66 (Unix) OpenSSL/3.5.5 configured -- resuming normal operations
[Mon Feb 16 14:39:46.406927 2026] [core:notice] [pid 168:tid 168] AH00094: Command line: 'httpd -D FOREGROUND'
[16-Feb-2026 15:30:16] NOTICE: Terminating ...
[16-Feb-2026 15:30:16] NOTICE: exiting, bye-bye!
[Mon Feb 16 15:30:18.648155 2026] [mpm_event:notice] [pid 168:tid 168] AH00491: caught SIGTERM, shutting down
The environmental variable TZ has been set which is not supported by AIO since it only supports running in the default Etc/UTC timezone!
The correct timezone can be set in the AIO interface later on!
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
[Mon Feb 16 15:30:20.958496 2026] [mpm_event:notice] [pid 161:tid 161] AH00489: Apache/2.4.66 (Unix) OpenSSL/3.5.5 configured -- resuming normal operations
[Mon Feb 16 15:30:20.958549 2026] [core:notice] [pid 161:tid 161] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1771255820.9739132,"msg":"maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined"}
{"level":"info","ts":1771255820.9742024,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":30286824652,"previous":9223372036854775807}
{"level":"info","ts":1771255820.9742577,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1771255820.9756527,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1771255820.9783187,"msg":"serving initial configuration"}
[16-Feb-2026 15:30:20] NOTICE: fpm is running, pid 167
[16-Feb-2026 15:30:20] NOTICE: ready to handle connections

Ok. Can you please also post the output of sudo docker inspect nextcloud-aio-borgbackup here?

Borgbackup inspect:

[
    {
        "Id": "86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5",
        "Created": "2026-02-16T15:29:22.431223992Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2026-02-16T15:29:22.609783146Z",
            "FinishedAt": "2026-02-16T15:29:55.286619099Z"
        },
        "Image": "sha256:4b16747ce7b5c6e1aca1b0904f3a00e0e82b7ec59950d2eb2098abd340339cc9",
        "ResolvConfPath": "/var/lib/docker/containers/86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5/hostname",
        "HostsPath": "/var/lib/docker/containers/86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5/hosts",
        "LogPath": "/var/lib/docker/containers/86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5/86af9e31a612a465fa17ba8752376b97b698ea1d9c598015138eb983e25b1dd5-json.log",
        "Name": "/nextcloud-aio-borgbackup",
        "RestartCount": 0,
        "Driver": "overlayfs",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "unconfined",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "nextcloud_aio_backup_cache:/root:rw",
                "/mnt/nextcloud/nextcloud_data:/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data:rw",
                "nextcloud_aio_mastercontainer:/nextcloud_aio_volumes/nextcloud_aio_mastercontainer:rw",
                "/mnt/nextcloud/backups:/mnt/borgbackup:rw",
                "nextcloud_aio_elasticsearch:/nextcloud_aio_volumes/nextcloud_aio_elasticsearch:rw",
                "nextcloud_aio_redis:/mnt/redis:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "nextcloud-aio",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": [
                "SYS_ADMIN"
            ],
            "CapDrop": [
                "NET_RAW"
            ],
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": true,
            "SecurityOpt": [
                "apparmor:unconfined",
                "label:disable"
            ],
            "Tmpfs": {
                "/nextcloud_aio_volumes": "",
                "/tmp": ""
            },
            "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": [
                {
                    "PathOnHost": "/dev/fuse",
                    "PathInContainer": "/dev/fuse",
                    "CgroupPermissions": "rwm"
                }
            ],
            "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_nextcloud",
                    "Target": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud"
                },
                {
                    "Type": "volume",
                    "Source": "nextcloud_aio_apache",
                    "Target": "/nextcloud_aio_volumes/nextcloud_aio_apache"
                },
                {
                    "Type": "volume",
                    "Source": "nextcloud_aio_database",
                    "Target": "/nextcloud_aio_volumes/nextcloud_aio_database"
                },
                {
                    "Type": "volume",
                    "Source": "nextcloud_aio_database_dump",
                    "Target": "/nextcloud_aio_volumes/nextcloud_aio_database_dump"
                }
            ],
            "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"
            ],
            "Init": true
        },
        "Storage": {
            "RootFS": {
                "Snapshot": {
                    "Name": "overlayfs"
                }
            }
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "nextcloud_aio_nextcloud",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_apache",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_apache/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_apache",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_database_dump",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_database_dump/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_database_dump",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/mnt/nextcloud/backups",
                "Destination": "/mnt/borgbackup",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_elasticsearch",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_elasticsearch/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_elasticsearch",
                "Driver": "local",
                "Mode": "rw",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_redis",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_redis/_data",
                "Destination": "/mnt/redis",
                "Driver": "local",
                "Mode": "rw",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_database",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_database/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_database",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_backup_cache",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_backup_cache/_data",
                "Destination": "/root",
                "Driver": "local",
                "Mode": "rw",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/mnt/nextcloud/nextcloud_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/nextcloud_aio_volumes/nextcloud_aio_mastercontainer",
                "Driver": "local",
                "Mode": "rw",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "nextcloud-aio-borgbackup",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "BORG_REMOTE_REPO=",
                "BORG_PASSWORD=005e29a944c1f6d432e2197b1859e39a55f50df2ed39ee86",
                "BORG_MODE=restore",
                "SELECTED_RESTORE_TIME=2026-02-15 20:31:16",
                "RESTORE_EXCLUDE_PREVIEWS=",
                "BACKUP_RESTORE_PASSWORD=d9ab146df1e030d3e31034860d3a8e1c6e6aef3bf11e2f84",
                "ADDITIONAL_DIRECTORIES_BACKUP=",
                "BORGBACKUP_HOST_LOCATION=/mnt/nextcloud/backups",
                "BORG_HOST_ID=nextcloud-aio-borgbackup",
                "BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": null,
            "Image": "ghcr.io/nextcloud-releases/aio-borgbackup:latest",
            "Volumes": {
                "/root": {}
            },
            "WorkingDir": "/",
            "Entrypoint": [
                "/start.sh"
            ],
            "Labels": {
                "com.centurylinklabs.watchtower.enable": "false",
                "com.docker.compose.project": "nextcloud-aio",
                "diun.enable": "false",
                "org.label-schema.vendor": "Nextcloud",
                "wud.watch": "false"
            },
            "StopTimeout": 10
        },
        "NetworkSettings": {
            "SandboxID": "",
            "SandboxKey": "",
            "Ports": {},
            "Networks": {
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "81f90b34eebbf36f5b2a11a7abc74bca5c003fadba206f353d97e4d87359c93b",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "MacAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-borgbackup",
                        "86af9e31a612"
                    ]
                }
            }
        },
        "ImageManifestDescriptor": {
            "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
            "digest": "sha256:9a0df5c437f5803e647f3d437213aa417ab7c99bc3a9a94913bb3f6573c7dd84",
            "size": 1155,
            "platform": {
                "architecture": "amd64",
                "os": "linux"
            }
        }
    }
]

Seeing the mounts made me curious, and I checked my system. It seems there is already a nextcloud_aio_mastercontainer volume, maybe created by the previous installation of Nextcloud AIO, with these properties:

[
    {
        "CreatedAt": "2026-02-07T20:22:30Z",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
        "Name": "nextcloud_aio_mastercontainer",
        "Options": null,
        "Scope": "local"
    }
]

This is different than the volume I specify in my docker compose:

  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
    driver: local
    driver_opts:
      type: none
      o: bind
      device: /mnt/nextcloud/nextcloud_aio_mastercontainer

Could there be some sort of precedence mistmatch where the interface restores correctly to the place I specify in the compose file, but still uses the system volume at /var/lib… instead? Maybe I could try deleting the duplicate volume?

Everything looks fine…

I guess the backup archive might already contain unexpected data which would explain the behaviour.

Can you maybe for a test access the borg archive via GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance. and open the backup archive that you want to restore and send me the contents via mail or DM of the nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/configuration.json file that is contained in the backup? (obviously please hide the secrets). Thanks in advance!

Sorry for the delay, I got pulled away from my computer. When I open the most recent backup and look at the config file you specified, this is all i see:

{
    "password": "<AIO passphrase here>"
}

I have three backups I made, over the course of a week or so, and the config file in that location all has the same passphrase and format, with nothing else in it.

When I tried running an integrity check on the backups previously, it seemed to pass. I didn’t look at the logs, but in the web UI it came up with the green dot and said it was successful.

Yeah so looks like the backup is already bad as it does not contain the actual configuration.json of your old installation. The reason is likely why we improved the check for the mastercontainer volume in the first place…

You will need to somehow recover a working configurarion.json from your old install.

Also I try to make sure extend the discovery of such issues in the future…

If I were to get that previous config, could I just replace this one with the one made previously and see if it works? Or is that unlikely? If putting the old config in isn’t a great fix I can reconfigure most of what I had, as it was mostly just me playing around with settings and toggling switches.

I got the old config by reverting my proxmox snapshot and attaching to the container to inspect the files. Does this look like a proper configuration:

{
    "password": "<AIO Passphrase>",
    "nextcloud_datadir": "/mnt/nextcloud/nextcloud_data",
    "secrets": {
        <Secrets>
    },
    "apache_port": "11000",
    "apache_ip_binding": "0.0.0.0",
    "domain": "mydomain.com",
    "borg_restore_password": "",
    "isClamavEnabled": 0,
    "isOnlyofficeEnabled": 0,
    "isCollaboraEnabled": 1,
    "isTalkEnabled": 1,
    "isTalkRecordingEnabled": 1,
    "isImaginaryEnabled": 1,
    "isFulltextsearchEnabled": 1,
    "isDockerSocketProxyEnabled": 0,
    "isWhiteboardEnabled": 1,
    "AIO_URL": "<Wireguard IP>:8080",
    "wasStartButtonClicked": 1,
    "install_latest_major": "",
    "AIO_TOKEN": "9b69f447ee192390dda34314cc47af04980b6ec3f376cd36",
    "borg_backup_host_location": "/mnt/nextcloud/backups",
    "borg_remote_repo": "",
    "backup-mode": "backup",
    "aio_community_containers": "fail2ban"
}

Thank you for your assistance!