I use a mounted ZFS dataset for the data directory used by nextcloud. Overall this works perfectly, however, for some reason I cannot figure out, the snapshots are not properly usable by nextcloud. I believe I have permissions set properly, but this happens when I run a command to check if a snapshot is properly readable
root@nextcloud:/nextcloud/data/.zfs/snapshot# sudo docker exec --user www-data -it nextcloud-aio-nextcloud ls -l /mnt/ncdata/.zfs/snapshot/zfs-auto-snap_monthly-2024-08-01-1052/
ls: cannot access '/mnt/ncdata/.zfs/snapshot/zfs-auto-snap_monthly-2024-08-01-1052/': Symbolic link loop
Note that the snapshot directory properly lists it’s contents in the host ( Which is a Proxmox LXC, but I figure that’s irrelevant. ZFS is on the proxmox host.