For some time one of my backups stopped working.
I keep getting an error when I run it (at the Deleting unwanted files stage):
The file duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip was downloaded and had size 185597952 but the size was expected to be 196755197
In the log I see:
Warnings 2
• 2022-05-14 13:18:53 +03 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingRemoteHash]: remote file duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip is listed as Verified with size 185597952 but should be 196755197, please verify the sha256 hash “yMYGZbwRkfhEwpUtQ2XRkv1FG+AgnyVjZDGfiVAHaxw=”
• 2022-05-14 13:19:12 +03 - [Warning-Duplicati.Library.Compression.FileArchiveZip-BrokenCentralHeaderFallback]: Zip archive appears to have a broken Central Record Header, switching to stream mode
Errors 1
• 2022-05-14 13:19:12 +03 - [Error-Duplicati.Library.Main.Operation.RepairHandler-RemoteFileVerificationError]: Failed to perform verification for file: duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip, please run verify; message: Object reference not set to an instance of an object.
And the complete log is:
{
"MainOperation": "Repair",
"RecreateDatabaseResults": null,
"ParsedResult": "Error",
"Version": "2.0.6.102 (2.0.6.102_canary_2022-04-06)",
"EndTime": "2022-05-14T10:20:18.923435Z",
"BeginTime": "2022-05-14T10:18:51.5536089Z",
"Duration": "00:01:27.3698261",
"MessagesActualLength": 7,
"WarningsActualLength": 2,
"ErrorsActualLength": 1,
"Messages": [
"2022-05-14 13:18:51 +03 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started",
"2022-05-14 13:18:52 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()",
"2022-05-14 13:18:52 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (201 bytes)",
"2022-05-14 13:18:53 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip ()",
"2022-05-14 13:19:12 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip (177.00 MB)",
"2022-05-14 13:20:16 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ibf948f0611c44fa9aed2935054ce4503.dindex.zip (244.82 KB)",
"2022-05-14 13:20:18 +03 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-ibf948f0611c44fa9aed2935054ce4503.dindex.zip (244.82 KB)"
],
"Warnings": [
"2022-05-14 13:18:53 +03 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingRemoteHash]: remote file duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip is listed as Verified with size 185597952 but should be 196755197, please verify the sha256 hash \"yMYGZbwRkfhEwpUtQ2XRkv1FG+AgnyVjZDGfiVAHaxw=\"",
"2022-05-14 13:19:12 +03 - [Warning-Duplicati.Library.Compression.FileArchiveZip-BrokenCentralHeaderFallback]: Zip archive appears to have a broken Central Record Header, switching to stream mode"
],
"Errors": [
"2022-05-14 13:19:12 +03 - [Error-Duplicati.Library.Main.Operation.RepairHandler-RemoteFileVerificationError]: Failed to perform verification for file: duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip, please run verify; message: Object reference not set to an instance of an object."
],
"BackendStatistics": {
"RemoteCalls": 3,
"BytesUploaded": 250697,
"BytesDownloaded": 185597952,
"FilesUploaded": 1,
"FilesDownloaded": 1,
"FilesDeleted": 0,
"FoldersCreated": 0,
"RetryAttempts": 0,
"UnknownFileSize": 0,
"UnknownFileCount": 0,
"KnownFileCount": 200,
"KnownFileSize": 90387706446,
"LastBackupDate": "2022-04-22T20:39:56+03:00",
"BackupListCount": 16,
"TotalQuotaSpace": 1990727823360,
"FreeQuotaSpace": 801719767040,
"AssignedQuotaSpace": -1,
"ReportedQuotaError": false,
"ReportedQuotaWarning": false,
"MainOperation": "Repair",
"ParsedResult": "Success",
"Version": "2.0.6.102 (2.0.6.102_canary_2022-04-06)",
"EndTime": "0001-01-01T00:00:00",
"BeginTime": "2022-05-14T10:18:51.5536089Z",
"Duration": "00:00:00",
"MessagesActualLength": 0,
"WarningsActualLength": 0,
"ErrorsActualLength": 0,
"Messages": null,
"Warnings": null,
"Errors": null
}
}
Trying database → repair give an error that look the same:
Warnings 2
• 2022-05-14 13:50:14 +03 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingRemoteHash]: remote file duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip is listed as Verified with size 185597952 but should be 196755197, please verify the sha256 hash “yMYGZbwRkfhEwpUtQ2XRkv1FG+AgnyVjZDGfiVAHaxw=”
• 2022-05-14 13:50:32 +03 - [Warning-Duplicati.Library.Compression.FileArchiveZip-BrokenCentralHeaderFallback]: Zip archive appears to have a broken Central Record Header, switching to stream mode
Errors 1
• 2022-05-14 13:50:32 +03 - [Error-Duplicati.Library.Main.Operation.RepairHandler-RemoteFileVerificationError]: Failed to perform verification for file: duplicati-b5087f7ba32974df0b904e7be79cfa967.dblock.zip, please run verify; message: Object reference not set to an instance of an object.
What can I do to get the backup working again?
I use the latest 2.0.6.102_canary_2022-04-06