Hi,
first of all and once again thank you for this great piece of software. I had my issues when I started but I’ve been using Duplicati as my main backup solution for over two years now and it never let me down. Plus, I love how flexible you can do so many things via the command line (and not cluttering the UI with it)!
Now my problem. I’m using OneDrive on a business license with 1 TB. After almost two years, it now ran pretty much full (998 of 1000 GB used), I saw the warnings and wanted to free up some space with the delete command (here with options --version=13-18). That threw me a long error message. I repeated it with a smaller delete job (–version=18) and it, again, did not work. Here’s the error message from the log:
30. Nov. 2023 15:38: Die Operation Delete ist mit folgenden Fehler fehlgeschlagen: Error converting value "full" to type 'System.Nullable`1[Duplicati.Library.Backend.MicrosoftGraph.QuotaState]'. Path 'quota.state', line 1, position 769.
{"ClassName":"Newtonsoft.Json.JsonSerializationException","Message":"Error converting value \"full\" to type 'System.Nullable`1[Duplicati.Library.Backend.MicrosoftGraph.QuotaState]'. Path 'quota.state', line 1, position 769.","Data":null,"InnerException":{"ClassName":"System.ArgumentException","Message":"Requested value 'full' was not found.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum (System.Type enumType, Newtonsoft.Json.Serialization.NamingStrategy namingStrategy, System.String value, System.Boolean disallowNumber) [0x001f9] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x0007b] in <f5c4580481df43759ebf446d5ffb33c1>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024809,"Source":"Newtonsoft.Json","ParamName":null},"HelpURL":null,"StackTraceString":" at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x000f1] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00055] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00052] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00280] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00065] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00280] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Newtonsoft.Json.JsonSerializer.Deserialize[T] (Newtonsoft.Json.JsonReader reader) [0x00000] in <f5c4580481df43759ebf446d5ffb33c1>:0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.ParseResponse[T] (System.Net.HttpWebResponse response) [0x0001c] in <31240f90f26d4e5da68af2ea32d1c2b6>:0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.SendRequest[T] (System.Net.Http.HttpMethod method, System.String url) [0x00043] in <31240f90f26d4e5da68af2ea32d1c2b6>:0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.Get[T] (System.String url) [0x00006] in <31240f90f26d4e5da68af2ea32d1c2b6>:0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.get_Quota () [0x00007] in <31240f90f26d4e5da68af2ea32d1c2b6>:0 \n at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00291] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter log, System.Collections.Generic.IEnumerable`1[T] protectedFiles) [0x00000] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, Duplicati.Library.Main.IBackendWriter backendWriter, System.Boolean latestVolumesOnly, System.Data.IDbTransaction transaction) [0x00019] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Operation.DeleteHandler.DoRun (Duplicati.Library.Main.Database.LocalDeleteDatabase db, System.Data.IDbTransaction& transaction, System.Boolean hasVerifiedBackend, System.Boolean forceCompact, Duplicati.Library.Main.BackendManager sharedManager) [0x00043] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Operation.DeleteHandler.Run () [0x00075] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Controller.<Delete>b__17_0 (Duplicati.Library.Main.DeleteResults result) [0x00012] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0026f] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.Action`1[T] method) [0x00009] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.Library.Main.Controller.Delete () [0x00006] in <9cab5b8f1b4f49ec980acae8e278968b>:0 \n at Duplicati.CommandLine.Commands.Delete (System.IO.TextWriter outwriter, System.Action`1[T] setup, System.Collections.Generic.List`1[T] args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, Duplicati.Library.Utility.IFilter filter) [0x00084] in <81fea8e154eb4fd9aa8b06aac66d311a>:0 \n at (wrapper delegate-invoke) System.Func`6[System.IO.TextWriter,System.Action`1[Duplicati.Library.Main.Controller],System.Collections.Generic.List`1[System.String],System.Collections.Generic.Dictionary`2[System.String,System.String],Duplicati.Library.Utility.IFilter,System.Int32].invoke_TResult_T1_T2_T3_T4_T5(System.IO.TextWriter,System.Action`1<Duplicati.Library.Main.Controller>,System.Collections.Generic.List`1<string>,System.Collections.Generic.Dictionary`2<string, string>,Duplicati.Library.Utility.IFilter)\n at Duplicati.CommandLine.Program.ParseCommandLine (System.IO.TextWriter outwriter, System.Action`1[T] setup, System.Boolean& verboseErrors, System.String[] args) [0x00342] in <81fea8e154eb4fd9aa8b06aac66d311a>:0 \n at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x00002] in <81fea8e154eb4fd9aa8b06aac66d311a>:0 ","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Newtonsoft.Json"}
I can’t really get a grip on it. Does anyone how I can safe the backup and/or free up some space manually on the OneDrive? I could simply access the OneDrive via the UI and start deleting old packages but something tells me I should check here first
Thanks for any ideas!