Can't View snapshots or stats from desktop, but visible from server

Hey there, so I’m experiencing a strange issue. Restic seems to be working fine on my home server (running Unraid, pushing to a Hetzner Storage Box). I can init repos, make snapshots, view the snapshots, no problem. But on my desktop running NixOS (I’ve tried builds from both the stable and unstable repos) I can init repos, push snapshots, theoretically at least, and open the repository. But I can’t see any snapshots and when I try to view the stats it loads all the index files, but says 0 bytes.

Everything is configured the exact same .env file with RESTIC_HOST RESTIC_PASSWORD and _RESTIC_PACK_SIZE. I even initialized this specific repo from my desktop, and then pushed the snapshot from my server.

But when I run restic -r rclone:hetzner:/home/backup/music stats on my server I get this

repository 71a2a9f4 opened (version 2, compression level auto)
[0:02] 100.00%  143 / 143 index files loaded
scanning...
Stats in restore-size mode:
     Snapshots processed:  1
        Total File Count:  143257
              Total Size:  2.131 TiB

but when run on the same repo from my desktop I get this

repository 71a2a9f4 opened (version 2, compression level auto)
[0:02] 100.00%  143 / 143 index files loaded
scanning...
Stats in restore-size mode:
     Snapshots processed:  0
              Total Size:  0 B

Here is the output of the snapshots command from my server:

repository 71a2a9f4 opened (version 2, compression level auto)
ID        Time                 Host         Tags        Paths
-------------------------------------------------------------------------------
8a57ee9d  2025-02-26 15:20:35  mediaserver              /mnt/user/music/library
-------------------------------------------------------------------------------
1 snapshots

and from my desktop (just a blank line output after the repo is opened):

repository 71a2a9f4 opened (version 2, compression level auto)

Any ideas what’s going on here?

1 Like

And what is restic version on your desktop?

Have you tried with the latest one? Not from your distro repository but one directly downloaded from restic website.

1 Like

It looks like the latest version in the stable and unstable repos is 0.17.3 which appears to be the latest version on the github repo. Restic doesn’t appear to have any sort of --version flag that I can find.

1 Like

Ok. So all good here.

This is very puzzling behaviour… and I wonder if it has anything to do with your OS. Could you try run your commands without cache? Add --no-cache flag.

1 Like

Same blank output for the snapshots command and zero bytes for the stats with the --no-cache flag.

The really strange thing is that everything was working fine a week or so ago. I was creating snapshots and able to view them from my desktop. And now no matter what repo I try to view this happens. And absolutely nothing has changed in my config, and there has been no update.

1 Like

Hold on, sorry, I was wrong, I do have one repo on that host where it is working. I can view and create snapshots for it. Almost makes it more difficult.

1 Like

Could it be related to the rclone? If somehow rclone “user” (or however it’s authenticated) on desktop client cannot have the rights to see under /snapshots folder on remote, this could be happening maybe? :thinking:

1 Like

I’m not sure that’s it. I’m using the same login credentials for my rclone sftp mount from my server, laptop, and desktop. There’s something stranger going on I believe, and it seems to have something to do with my restic installs on NixOS.

I was mistaken before, I think I go mixed up. But my Restic installs on my Windows install on my desktop can see any restic repo, and my install on Unraid can see any restic repo. Including the snapshots created by my desktop/laptop.

However, on my desktop and laptop running NixOS they can only see snapshots created by each other. I even tried renaming the restic cache folder to see if it was a cache issue but that doesn’t seem to be it. If anyone has any ideas on what settings or something might be causing this it would be greatly appreciated. It’s really throwing me for a loop.

Missing snapshots mean that restic for some reason isn’t able to see the snapshot files in the repository. The local cache is irrelevant for that. What does restic list snapshots show? Does rclone ls hetzner:/home/backup/music show all expected snapshot files? Is the rclone configuration identical on both hosts?