Found inconsistency in the following files while validating database 2.2.0.106 - repair doesn't work

I get the following error using 2.2.0.106_canary_2026-03-06

Found inconsistency in the following files while validating database: .../cover.jpg, actual size 0, dbsize 173, blocksetid: 342039 . Run repair to fix it.

while trying to backup and repair

What I did:

  • ran repair database → failed with above mentioned error
  • checked the file in question, it was 0 bytes and I deleted it, ran repair again → failed with above mentioned error
  • moved the folder of the file and added a new cover.jpg, ran repair again → failed with above mentioned error
  • deleted and rebuilt database, tried backup → failed with above mentioned error
  • ran purge-broken-files → no broken files found

What else can I do?

I’ve faced this exact issue, but it looks like it’s a bug that will be fixed in a subsequent release: Fixed empty file issue by kenkendk · Pull Request #6854 · duplicati/duplicati · GitHub

I haven’t yet tried it, but it looks like canary-2.3.0.100 includes this fix.

I am getting the same problem in Duplicati 2.3.0.0. I went through all the steps mentioned in the original post.

And 2.3.0.1_stable_2026-04-24 also includes the fix; I upgraded, then deleted+rebuilt my database, and it succeeded!

Release: 2.3.0.1 (Stable) 2026-04-24 is out with

Fixed an issue where empty files could cause restored databases to be marked as inconsistent

Could someone please give it a try?

Thanks for the heads up.

Unfortunatly I can’t test it right now, because my NAS controller died and I still need to replace it.