Skip to content

[BUG] Oldest snapshot empty, "No files in this snapshot" #709

@Cybersmog

Description

@Cybersmog

Prerequisites

Rclone Pre-flight Checklist (if applicable)

  • This issue is NOT related to rclone (skip if not using rclone)
  • I have tested rclone listremotes and rclone lsd remote: on the host and they work
  • I have verified the rclone config is mounted into the container
  • I have restarted the container after config changes

Bug Description

The oldest snapshot reports as being empty. All the other snapshots show content.

Image

Steps to Reproduce

Select oldest snapshot of a Backup

Expected Behavior

The summary indicates that there are >200 files in this snapshot, they should be visible

Zerobyte version / commit

v0.32.4

Deployment Method

Docker Compose

Backup/Repository Context

Im using a remote SFTP backend. All other functionality works as expected as far as I can tell.

Logs / Error Messages

HTTP server response:

Image

So no UI bug I think

Server Logs:

<-- GET /api/v1/repositories/emfmh/snapshots?backupId=c46695f3
<-- GET /api/v1/backups/c46695f3/mirrors/compatibility
<-- GET /api/v1/repositories/emfmh/snapshots/372e715e/files?path=%2Fmydata%2Fpi%2Fpaperless-ngx
--> GET /api/v1/backups/c46695f3/progress 200 86ms
--> GET /api/v1/backups/c46695f3/mirrors/compatibility 200 396ms
<-- GET /api/v1/volumes
--> GET /api/v1/volumes 200 286ms
10:47:19 info SFTP: SSH args: -o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-3018f42ccbfde69a -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
10:47:19 info SFTP: SSH args: -o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-d2ef64d6d6c95db3 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
10:47:19 info SFTP: SSH args: -o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-c2958fb67a15397d -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
10:47:19 debug Running restic ls with args: --repo sftp:xxx:/zerobyte ls --long --json -o sftp.args=-o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-c2958fb67a15397d -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --limit-upload 610 -- 372e715e /mydata/pi/paperless-ngx
<-- GET /api/v1/notifications/destinations
--> GET /api/v1/notifications/destinations 200 18ms
<-- GET /api/v1/backups
--> GET /api/v1/backups 200 26ms
<-- GET /api/v1/repositories
--> GET /api/v1/repositories 200 48ms
<-- GET /api/v1/repositories/emfmh/snapshots?backupId=c46695f3
10:47:22 info SFTP: SSH args: -o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-593ff7a49d39e8de -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
10:47:22 info SFTP: SSH args: -o LogLevel=ERROR -o BatchMode=yes -o NumberOfPasswordPrompts=0 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o IdentitiesOnly=yes -o ConnectTimeout=10 -o ConnectionAttempts=1 -o ServerAliveInterval=60 -o ServerAliveCountMax=240 -i /tmp/zerobyte-ssh-431f50e118e089f5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
10:47:23 debug [Mutex] Released shared lock for repo 56e5965c-517c-4330-80df-0bf75f7f3458: snapshots (held for 4189ms)
--> GET /api/v1/repositories/emfmh/snapshots?backupId=c46695f3 200 4s
10:47:23 debug [Mutex] Released shared lock for repo 56e5965c-517c-4330-80df-0bf75f7f3458: ls:372e715e (held for 4237ms)
--> GET /api/v1/repositories/emfmh/snapshots/372e715e/files?path=%2Fmydata%2Fpi%2Fpaperless-ngx 200 5s
<-- GET /api/v1/backups/c46695f3/progress
--> GET /api/v1/backups/c46695f3/progress 200 25ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions