Restore error: "Index was outside the bounds of the array"

Hello,

I am attempting to run a restore and consistently get the error “Index was outside the bounds of the array.” I am running Duplicati 2.2.0.3 - 2.2.0.3_stable_2026-01-06 in docker on Unraid.

I am trying to restore from an Unraid NAS to a Win 11 machine via an SMG share.

The errors in the log are:

"2026-01-22 12:16:25 -05 - [Error-Duplicati.Library.Main.Operation.Restore.VolumeDownloader-DownloadError]: Error during download\nIndexOutOfRangeException: Index was outside the bounds of the array.""2026-01-22 12:16:25 -05 - [Error-Duplicati.Library.Main.Operation.Restore.BlockManager-BlockCountError]: Block count in SleepableDictionarys block table is not zero: 2\nFirst 10 blocks: 2992075, 3000315""2026-01-22 12:16:25 -05 - [Error-Duplicati.Library.Main.Operation.Restore.BlockManager-VolumeCountError]: Volume count in SleepableDictionarys volume table is not zero: 2\nFirst 10 volumes: 43040, 43134""2026-01-22 12:16:25 -05 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Restore has failed\nIndexOutOfRangeException: Index was outside the bounds of the array."

I have run a database repair and it did not help.

The restore job restores the files to the target but they are size of 0Bytes.

I have selected earlier version of the backup and it did not help.

Please help.

…Steve

I got this exact problem when I was trying to restore to a RAM disk folder (/dev/shm) in Linux. It worked for me restoring to an SSD drive on that machine. See this, for example:

https://forum.duplicati.com/t/restore-failing-on-every-attempt/21786

Can you try it to a folder on the same machine as duplicati, and then copy it over manually?