Skip to content

Borg Backup not working anymore, suddenly uninitialized repository, missing manifest #7379

@maxschmi

Description

@maxschmi

Steps to reproduce

  1. run docker aio in docker rootless as user nextcloud
  2. mounting a pcloud drive localy to /home/nextcloud/docker/pcloud_backup
  3. setting up this directry as borg backup directory
  4. starting a backup from Nextcloud AIO

Expected behavior

When I do a Borg Backup from nextcloud AIO interface, it should start the backup.

Actual behavior

The nextcloud-aio-borgbackup container is started, but immediatly stops with these logs:

2026-01-05T10:46:28.784423846Z Repository has no manifest.
2026-01-05T10:46:28.808566608Z The repository is uninitialized. Cannot perform check or restore.

I did already initialize the repository and I could backup my nextcloud instance without problems. Only lately I get these errors.

When I have a look inside my borg backup directory I have the following files:

-rw-r--r-- 1 nextcloud nextcloud      965 Dec 16 05:05 config
drwxr-xr-x 1 nextcloud nextcloud        0 Nov 21 06:56 data
-rw-r--r-- 1 nextcloud nextcloud   481385 Jan  4 07:05 hints.2673
-rw-r--r-- 1 nextcloud nextcloud 87578378 Jan  4 07:05 index.2673
-rw-r--r-- 1 nextcloud nextcloud      190 Jan  4 07:05 integrity.2673
-rw-r--r-- 1 nextcloud nextcloud       49 Nov 26 01:01 lock.roster.1038d434.partial
-rw-r--r-- 1 nextcloud nextcloud       49 Jan  3 01:01 lock.roster.4a3893be.partial
-rw-r--r-- 1 nextcloud nextcloud       49 Dec 21 01:01 lock.roster.87095caa.partial
-rw-r--r-- 1 nextcloud nextcloud       49 Dec 13 01:01 lock.roster.ffc6ccb0.partial
-rw-r--r-- 1 nextcloud nextcloud       16 Jan  3 01:18 nonce
-rw-r--r-- 1 nextcloud nextcloud       16 Nov 19 15:41 nonce.f6f39466.partial
-rw-r--r-- 1 nextcloud nextcloud       73 Nov 19 15:41 README

So mounting the pcloud drive does work and the owner of the file is the same as the executing user for docker nextcloud-aio-mastercontainer.

Running the borg repair statement from nextcloud aio is also not working an outputing the same error.

Other information

Host OS

Ubuntu OS 24.04.3 LTS

Output of docker info

docker info output
Client: Docker Engine - Community
 Version:    29.1.2
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.30.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v5.0.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 13
  Running: 11
  Paused: 0
  Stopped: 2
 Images: 15
 Server Version: 29.1.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: true
 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
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1c4457e00facac03ce1d75f7b6777a7a851e5c41
 runc version: v1.3.4-0-gd6d73eb8
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  rootless
  cgroupns
 Kernel Version: 6.8.0-88-generic
 Operating System: Ubuntu 24.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.23GiB
 Name: thinky
 ID: 85dd854e-b5c8-4c60-a21a-bf63cb0dbbb6
 Docker Root Dir: /home/nextcloud/.local/share/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false
 Firewall Backend: iptables

WARNING: No cpuset support
WARNING: No io.weight support
WARNING: No io.weight (per device) support
WARNING: No io.max (rbps) support
WARNING: No io.max (wbps) support
WARNING: No io.max (riops) support
WARNING: No io.max (wiops) support

Docker run command or docker-compose file that you used

compose.yaml file:
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest # This is the container image used. You can switch to ghcr.io/nextcloud-releases/all-in-one:beta if you want to help testing new rele>
    init: true
    restart: always 
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - $XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock:ro #for docker rootless
    network_mode: bridge
    ports:
      - 8080:8080
    environment: 
      APACHE_PORT: 11000
      APACHE_IP_BINDING: 0.0.0.0
      APACHE_ADDITIONAL_NETWORK: "" # for reverse proxy
      NEXTCLOUD_DATADIR: /mnt/data/nextcloud
      NEXTCLOUD_UPLOAD_LIMIT: 16G
      NEXTCLOUD_MEMORY_LIMIT: 4096M 
      NEXTCLOUD_STARTUP_APPS: deck tasks talk calendar contacts cospend cookbook notes cloud_federation_api forms polls gpoddersync groupfolders photos memories side_menu previewgenerator
      NEXTCLOUD_ENABLE_DRI_DEVICE: true 
      WATCHTOWER_DOCKER_SOCKET_PATH: $XDG_RUNTIME_DIR/docker.sock
volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer

Output of docker logs nextcloud-aio-mastercontainer

nextcloud-aio-mastercontainer.log

Other valuable info

A picture of a cute animal

Image source: https://static.vecteezy.com/system/resources/thumbnails/052/369/484/small_2x/sloth-animal-on-tree-branch-and-looking-at-camera-photo.jpg

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions