I have the latest version of Duplicati running on my Win11. According to posts on this forum this error should have been fixed in previous version but it is still a problem.
Backup is made to Jottacloud and Secondary backup destination is SSH to a linux machine on my network.
It does not affect every file. Of the 34464 files only 284 gets this error.
Is there any setting of configuration I have to change to make this work?
Not sure what “Cannot access a closed file” refers to?
Did you mean “open file” ?
If so, the only way to solve this on Windows is to run Duplicati with elevated privileges so it can make a VSS snapshot and read locked files from there. An alternative is to use “backup-read”, but that also requires elevated privileges.
Guessing from Google search. Might be that fix for this didn’t fully fix it:
The “Cannot access a closed file” has been handled by moving the hash computation to before the put operation as this could (for some backends) close the file.
Before assuming problem still exists, @stenp should verify message.
Here are some fresh errors from the log, seems like it is a sequence of 4 messages. I don’t know if this makes the backup invalid. This is the first of 556 errors in a backup of ca 84000 files.
2026-09-09 06:20:50 +02 - [Error-Duplicati.Library.Main.Backend.LightWeightBackendManager-rsync]: Error during operation: Get duplicati-b00b9b3c1ae9540c48b3d8c38fa0be551.dblock.zip
InvalidOperationException: Stream position mismatch after download for duplicati-b00b9b3c1ae9540c48b3d8c38fa0be551.dblock.zip
2026-09-09 06:20:52 +02 - [Error-Duplicati.Library.Main.Backend.LightWeightBackendManager-rsync]: Error during operation: Get duplicati-b00b9b3c1ae9540c48b3d8c38fa0be551.dblock.zip
ObjectDisposedException: Cannot access a closed file.
2026-09-09 06:20:54 +02 - [Error-Duplicati.Library.Main.Backend.LightWeightBackendManager-rsync]: Error during operation: Get duplicati-b00b9b3c1ae9540c48b3d8c38fa0be551.dblock.zip
ObjectDisposedException: Cannot access a closed file.