Kopia backup issue reddit / selfhosted ---------------------------------------------------------------------- Dry_Doctor_5658 · 2023-11-27 23:54 I'm trying to move from duplicati to kopia based on this subs recommendation. However I'm experiencing weird issues after the first snapshot runs. I create the repository via webdav, I see files created. I then create a default policy (/data) to backup the directory I want to and it runs and succeeds in the GUI, I get no errors initially. I see no errors in the docker log. I then almost immediately lose access to the snapshot/policies pages with the error "Request failed with status code 500" most folders in webdav repo location show 0 KB. If I try to restart the container I finally get a docker error: "ERROR unable to initialize repository: unable to initialize repository: error connecting to repository: unable to list sources: unable to find manifest entries: unable to load manifest contents: error loading manifest content: error getting cached content: invalid (offset=3047904,length=563) for blob "q94ef0b4ecdd3a04825a09c8ae9544bf7-s85b0939d1c798db9123" of size 0" I'm assuming this is just telling me the repo is size of 0? when in reality the folder size is 11 KB I have tried changing the docker container user to root, with 0 change, which I thought would rule out a permissions issue. I don't believe it's a webdav issue as duplicati and restic can upload just fine. I have the same issue when I try to take a backup of subfolders (ie /data/baikal, /data/bookstack\_db\_data) I know I'm doing something wrong but have no idea where to look at this point as I've exhausted my googling. Including relevant kopia compose below. The repository password I use to create the repo in the gui matches the kopia\_password variable in the compose file. kopia: image: kopia/kopia:latest user: 0:0 hostname: docker1 container_name: Kopia restart: unless-stopped ports: - 51515:51515 # Setup the server that provides the web gui command: - server - start - --disable-csrf-token-checks - --insecure - --address=0.0.0.0:51515 - --server-username=username - --server-password=secret environment: # Set repository password KOPIA_PASSWORD: "repopw" USER: "root" TZ: America/Chicago volumes: # Mount local folders needed by kopia - /etc/config/kopia/config:/app/config - /usr/kopia/cache:/app/cache - /usr/kopia/logs:/app/logs # Mount local folders to snapshot - /etc/config:/data:ro # Mount repository location - /usr/kopia/repository:/repository # Mount path for browsing mounted snaphots - /usr/kopia/tmp:/tmp:shared I hope I included all relevant info to help troubleshoot. ---------------------------------------------------------------------- SleepingProcess · 2023-11-28 00:36 I believe you find much faster help on kopia's forum. BTW, why in docker? It is a single executable without any dependencies that won't screw host due to fully independent binary. ---------------------------------------------------------------------- Dry_Doctor_5658 · 2023-11-28 00:52 Habit I suppose, I just default to looking for a docker image. I should give the other a shot since I'm having trouble, thanks for the idea. ---------------------------------------------------------------------- hdddanbrown · 2023-11-28 02:02 Ask Kopia Github for support, not here. ---------------------------------------------------------------------- gaggina · 2023-11-28 08:20 Please make sure that you have mounted the local folders you want to back up inside the container. The local folders must have the correct permissions for the docker user to read and modify them. Additionally, as you have already been advised, I would recommend using kopia standalone, which does not require docker. ---------------------------------------------------------------------- Dry_Doctor_5658 · 2023-11-29 01:15 Update: I've tried the non docker version and have the exact same issue. I posted in kopia support forum yesterday. so hopefully someone can help there.