Recursive loop with files having broken metadata

FYI As I wanted to see if my broken backup was any better I bypassed the check with the service parameter and it started. However the problem persists with the delete+create database command:

"Messages": [
    "2026-07-16 17:44:33 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started",
    "2026-07-16 17:44:33 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (3.598 KiB)",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-RebuildStarted]: Rebuild database started, downloading 32 filelists",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20240614T040021Z.dlist.zip.aes (3.520 MiB)",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20240614T040021Z.dlist.zip.aes (3.520 MiB)",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20240717T040010Z.dlist.zip.aes (3.723 MiB)",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Compression.ZipCompression.FileArchiveZip-CompressionReadErrorFallback]: Failed to open file with built-in ZIP archive, falling back to SharpCompress\r\nInvalidDataException: The archive entry was compressed using LZMA and is not supported.",
    "2026-07-16 17:44:34 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20240717T040010Z.dlist.zip.aes (3.723 MiB)",
    "2026-07-16 17:44:39 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20240818T040007Z.dlist.zip.aes (3.350 MiB)",
    "2026-07-16 17:44:39 +02 - [Information-Duplicati.Library.Compression.ZipCompression.FileArchiveZip-CompressionReadErrorFallback]: Failed to open file with built-in ZIP archive, falling back to SharpCompress\r\nInvalidDataException: The archive entry was compressed using LZMA and is not supported.",
    "2026-07-16 17:44:39 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20240818T040007Z.dlist.zip.aes (3.350 MiB)",
    "2026-07-16 17:44:42 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20240924T120341Z.dlist.zip.aes (3.496 MiB)",
    "2026-07-16 17:44:42 +02 - [Information-Duplicati.Library.Compression.ZipCompression.FileArchiveZip-CompressionReadErrorFallback]: Failed to open file with built-in ZIP archive, falling back to SharpCompress\r\nInvalidDataException: The archive entry was compressed using LZMA and is not supported.",
    "2026-07-16 17:44:42 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20240924T120341Z.dlist.zip.aes (3.496 MiB)",
    "2026-07-16 17:44:45 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20241101T050001Z.dlist.zip.aes (3.111 MiB)",
    "2026-07-16 17:44:45 +02 - [Information-Duplicati.Library.Compression.ZipCompression.FileArchiveZip-CompressionReadErrorFallback]: Failed to open file with built-in ZIP archive, falling back to SharpCompress\r\nInvalidDataException: The archive entry was compressed using LZMA and is not supported.",
    "2026-07-16 17:44:45 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20241101T050001Z.dlist.zip.aes (3.111 MiB)",
    "2026-07-16 17:44:48 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20241208T020001Z.dlist.zip.aes (4.048 MiB)",
    "2026-07-16 17:44:48 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20241208T020001Z.dlist.zip.aes (4.048 MiB)"
  ],
  "Warnings": [
    "2026-07-16 17:46:54 +02 - [Warning-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b64453779588246e39e271e650b085228.dblock.zip.aes by duplicati-i836147d0459948d4a5d7663528f26aab.dindex.zip.aes, but not found in list, registering a missing remote file",
    "2026-07-16 17:47:29 +02 - [Warning-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-bf8a849d0b03543a683c0eed123f95a0b.dblock.zip.aes by duplicati-ic6525ccb791744ec9078123e24f4896f.dindex.zip.aes, but not found in list, registering a missing remote file",
    "2026-07-16 17:48:03 +02 - [Warning-Duplicati.Library.Main.Database.Local.LocalRecreateDatabase-MissingVolumesDetected]: Replaced blocks for 2 missing volumes; there are now 2 missing volumes",
    "2026-07-16 17:48:44 +02 - [Warning-Duplicati.Library.Main.Database.Local.LocalRecreateDatabase-MissingVolumesDetected]: Replaced blocks for 2 missing volumes; there are now 0 missing volumes"
  ],
  "Errors": [
    "2026-07-16 17:49:10 +02 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Repair has failed\r\nUserInformationException: 1 zero-length metadata entries could not be repaired."
  ],

I ran the new purge and I get the feeling I’m in some kind of loop:

  "Messages": [
    "2026-07-18 16:12:48 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation ListBrokenFiles has started",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.Operation.ListBrokenFilesHandler-NoBrokenFilesetsInDatabase]: No broken filesets found in database, checking for missing remote files",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (3.609 KiB)",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: QuotaInfo - Started:  ()",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: Removing file listed as Temporary: duplicati-20260718T140331Z.dlist.zip.aes",
    "2026-07-18 16:12:57 +02 - [Information-Duplicati.Library.Main.Operation.ListBrokenFilesHandler-NoMissingFilesFound]: Skipping operation because no files were found to be missing, and no filesets were recorded as broken."
  ],
  "Warnings": [
    "2026-07-18 16:12:57 +02 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-ActiveUploadsDetected]: Active uploads detected, but no cleanup was performed. Run the \"repair\" command to clean up the incomplete files",
    "2026-07-18 16:12:57 +02 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-MissingRemoteHash]: Remote file duplicati-b6e98f23fbdd2469eb0f9f16f5ba216d3.dblock.zip.aes is listed as Verified with size 2695261 but should be 0, please verify the sha256 hash \"\""
  ],

So I ran a repair:

  "Messages": [
    "2026-07-18 16:13:39 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started",
    "2026-07-18 16:13:42 +02 - [Information-Duplicati.Library.Main.Database.Local.LocalRepairDatabase-ZeroLengthMetadata]: Found 1 zero-length metadata entries",
    "2026-07-18 16:13:44 +02 - [Information-Duplicati.Library.Main.Database.Local.LocalRepairDatabase-ZeroLengthMetadataRepaired]: Zero length metadata entries repaired successfully"
  ],
  "Warnings": [],
  "Errors": [
    "2026-07-18 16:13:45 +02 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: The operation Repair has failed\r\nDatabaseInconsistencyException: Found inconsistency in the following files while validating database: \r\nC:\\ProgramData\\BraveSoftware\\BraveVpnService\\Crashpad\\metadata, actual size 0, dbsize 102400, blocksetid: 6486\r\nC:\\ProgramData\\Intel\\Logs\\IntelCPHS.log, actual size 0, dbsize 102400, blocksetid: 6486\r\nC:\\ProgramData\\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\\UpdateLock-308046B0AF4A39CB, actual size 0, dbsize 102400, blocksetid: 6486\r\nC:\\ProgramData\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\S-1-5-21-3301197204-2781052952-692608797-500\\SystemAppData\\Helium\\Cache\\1e7d2dc91f14a48_COM15.dat.LOG2, actual size 0, dbsize 102400, blocksetid: 6486\r\nC:\\ProgramData\\Packages\\MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe\\S-1-5-21-3301197204-2781052952-692608797-500\\SystemAppData\\Helium\\Cache\\dbda3473e8dab9bc_COM15.dat.LOG2, actual size 0, dbsize 102400, blocksetid: 6486\r\n... and 4384 more. Run repair to fix it."
  ],