Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unexpected difference in fileset version X", also not possible to delete versions #5131

Open
2 tasks done
Boulder08 opened this issue Mar 17, 2024 · 4 comments
Open
2 tasks done

Comments

@Boulder08
Copy link

Boulder08 commented Mar 17, 2024

  • I have searched open and closed issues for duplicates.
  • I have searched the forum for related topics.

Environment info

  • Duplicati version: 2.0.7.101_canary_2024_03_08
  • Operating system: Windows 10
  • Backend: OneDrive

Description

I ran into an issue with a recent scheduled backup failing with the notorious error message "Unexpected difference in fileset version 6". I then verified the db and tried to delete the troublesome versions (1-6), but get another error message:

System.Exception: Unexpected number of deleted filesets 6 vs 8 at Duplicati.Library.Main.Database.LocalDeleteDatabase.<DropFilesetsFromTable>d__5.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at Duplicati.Library.Main.Operation.DeleteHandler.DoRun(LocalDeleteDatabase db, IDbTransaction& transaction, Boolean hasVerifiedBackend, Boolean forceCompact, BackendManager sharedManager)
at Duplicati.Library.Main.Operation.DeleteHandler.Run()
at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method) at Duplicati.Library.Main.Controller.Delete() at Duplicati.CommandLine.Commands.Delete(TextWriter outwriter, Action1 setup, List1 args, Dictionary2 options, IFilter filter)
at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action1 setup, Boolean& verboseErrors, String[] args) at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action1 setup, String[] args)
Return code: 100`

The DB size is around 3GB.

Just let me know if you need any information or files etc. from me.

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/unexpected-difference-in-fileset-unable-to-delete-broken-version/17553/5

@ts678
Copy link
Collaborator

ts678 commented Mar 17, 2024

The DB size is around 3GB.

Just let me know if you need any information or files etc. from me.

Still need the database bug report requested in linked forum topic. Continuing work in the forum might have been a better plan.

@ts678 ts678 added the pending user feedback needs information from the original poster label Mar 17, 2024
@Boulder08
Copy link
Author

DB bugreport created and uploaded here: https://1drv.ms/u/s!AmigIkpX12NOgrZXWkTc0xZ52QKXVA?e=FQVxlY

@ts678 ts678 removed the pending user feedback needs information from the original poster label Mar 19, 2024
@kenkendk
Copy link
Member

kenkendk commented Apr 4, 2024

@Boulder08 thanks for providing the bug report. I have a copy, so feel free to delete it from your 1drive.

In case anyone else has the same problem, it was resolved on the forum:
https://forum.duplicati.com/t/unexpected-difference-in-fileset-unable-to-delete-broken-version/17553/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants