System.NullReferenceException and System.FormatException trying to purge

Hi,
I’m trying to purge some files that shouldn’t have been included in the backup on the first hand. I understand that’s what the purge command can be used for.
It often fails when running but usually appears successful when --dry-run=true.
Now i have a case where it always fails even when dry-run = true, thus I believe something makes it unhappy.
I’m using version 2.0.2.14_canary_2017-12-22 on linux Mint 18.3 using lastest mono 5.4.1.6

Here is the output
Please let me know how I can provide some more useful information.


    marc@resh-lakish ~ $ sudo duplicati-cli purge 'webdavs://o*********t.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=o********t&auth-password=*************' '--passphrase=*********'  --dbpath=/root/.config/Duplicati/KNQLJCGAWY.sqlite --verbose --dry-run=true  '--include=*/Storage/Users/marc/VirtualBox VMs/*'
            Input command: purge
            Input arguments: 
            	webdavs://o**********t.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=o*********t&auth-password=**********************

            Input options: 
            passphrase: *************************
            dbpath: /root/.config/Duplicati/KNQLJCGAWY.sqlite
            verbose: 
            dry-run: true

            Starting purge operation
              Listing remote folder ...
            Replacing fileset duplicati-20171227T180000Z.dlist.zip.aes with duplicati-20171227T180001Z.dlist.zip.aes which has with 16 fewer file(s) (9.79 GB reduction)

            System.NullReferenceException: Object reference not set to an instance of an object
              at Duplicati.Library.Main.Database.LocalDatabase.WriteFileset (Duplicati.Library.Main.Volumes.FilesetVolumeWriter filesetvolume, System.Data.IDbTransaction transaction, System.Int64 filesetId) [0x000b4] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Operation.PurgeFilesHandler.DoRun (Duplicati.Library.Main.Database.LocalPurgeDatabase db, Duplicati.Library.Utility.IFilter filter, System.Action`3[T1,T2,T3] filtercommand, System.Single pgoffset, System.Single pgspan) [0x003d6] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Operation.PurgeFilesHandler.Run (Duplicati.Library.Utility.IFilter filter) [0x00054] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Controller+<>c__DisplayClass36_0.<PurgeFiles>b__0 (Duplicati.Library.Main.PurgeFilesResults result) [0x0001c] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0014b] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.Action`1[T] method) [0x00009] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.Library.Main.Controller.PurgeFiles (Duplicati.Library.Utility.IFilter filter) [0x0001a] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
              at Duplicati.CommandLine.Commands.PurgeFiles (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) [0x0008e] in <08be045d41054657bb406455b4cf1a83>:0 
              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)
              at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x003fb] in <08be045d41054657bb406455b4cf1a83>:0 
    marc@resh-lakish ~ $

Kill 16 files to save almost 10G storage? Good call. :slight_smile:

Unfortunately, I’m not sure what the source of the null object error is - that might be a good @kenkendk question.

I suspect the problem is in fact connected to the purged filename containing special characters i.e “{” and “}”. The next file after the last printed one is such a case. next file should be
/media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/AlbumArt_{00000000-0000-0000-0000-000000000000}_Large.jpg

root@yohanan:/media/44f378d4-27bf-4d40-85f2-da571db6cace/work/Duplicati# duplicati-cli purge 'webdavs://m******r.stackstorage.com/remote.php/webdav/yohanan/Share?auth-username=m*****r&auth-password=***************' '--passphrase=**************' '--dry-run=false' '--include=*/amtest/*' --verbose  --dbpath=/media/44f378d4-27bf-4d40-85f2-da571db6cace/work/Duplicati/LLUEYIAECB.sqlite --version=4
Input command: purge
Input arguments: 
	webdavs://m******r.stackstorage.com/remote.php/webdav/yohanan/Share?auth-username=m****&auth-password=*******************

Input options: 
passphrase: ***********
dry-run: false
verbose: 
dbpath: /media/44f378d4-27bf-4d40-85f2-da571db6cace/work/Duplicati/LLUEYIAECB.sqlite
version: 4

Starting purge operation
  Listing remote folder ...
Replacing fileset duplicati-20180101T120002Z.dlist.zip.aes with duplicati-20180101T120003Z.dlist.zip.aes which has with 950 fewer file(s) (3.61 GB reduction)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/01-Parti De La Jeunesse.mp3 (5.32 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/02-Oui J'enmerde.mp3 (4.40 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/03-Blonde Aux Cheveux Teints.mp3 (7.27 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/04-Rien A Perdre.mp3 (4.89 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/05-Shakin Bootle.mp3 (2.19 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/06-Get It Up.mp3 (3.00 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/07-On A Marche Sur Ta Gueule.mp3 (3.70 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/08-Eject.mp3 (7.46 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/09-What Is The Truth.mp3 (3.13 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/10-Alienation Hereditaire.mp3 (3.94 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/11-Plouc Plouc Province.mp3 (5.19 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/12-Party Time.mp3 (2.24 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/13-La Loi Du Talion.mp3 (5.32 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/14-Je Veux Etre Un Beauf.mp3 (1.68 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/15-En Arriere.mp3 (5.77 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/16-Ceci Cela.mp3 (4.35 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/17-Marie Bb.mp3 (6.69 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/18-Swannie.mp3 (4.53 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/19-Avarice In The Uk.mp3 (4.15 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/20-Le Keupon Et Le Neuski.mp3 (1.99 MB)
  Purging file /media/44f378d4-27bf-4d40-85f2-da571db6cace/amtest/Music/Various Artists/Punk En France Vol.2/Disc 4/AlbumArtSmall.jpg (7.40 KB)

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <62f5937022004555807e6c57c33f6684>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <62f5937022004555807e6c57c33f6684>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <62f5937022004555807e6c57c33f6684>:0 
  at Duplicati.Library.Main.BasicResults.AddVerboseMessage (System.String message, System.Object[] args) [0x00036] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.DoRun (Duplicati.Library.Main.Database.LocalPurgeDatabase db, Duplicati.Library.Utility.IFilter filter, System.Action`3[T1,T2,T3] filtercommand, System.Single pgoffset, System.Single pgspan) [0x004d8] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.Run (Duplicati.Library.Utility.IFilter filter) [0x00054] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller+<>c__DisplayClass36_0.<PurgeFiles>b__0 (Duplicati.Library.Main.PurgeFilesResults result) [0x0001c] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0014b] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.Action`1[T] method) [0x00009] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.PurgeFiles (Duplicati.Library.Utility.IFilter filter) [0x0001a] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.CommandLine.Commands.PurgeFiles (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) [0x0008e] in <08be045d41054657bb406455b4cf1a83>:0 
  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)
  at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x003fb] in <08be045d41054657bb406455b4cf1a83>:0 
root@yohanan:/media/44f378d4-27bf-4d40-85f2-da571db6cace/work/Duplicati#

Thanks for the insight! I’ll need to check the code but I found see those braces munging a JSON parse step…

I’ll see if I can replicate the issue with a similarly named file as well.

Hi Jon,
I can confirm the problematic { } with a new case:

  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514330193216.d768b1bd-9aac-4249-9c99-a1307885f6c8.sync.jsonlz4 (2.03 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514330193420.5347e042-7976-4264-a46e-6365685c279e.main.jsonlz4 (8.62 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514335590810.53c6796d-7c76-4989-adf5-0d9523cadbe7.sync.jsonlz4 (1.75 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514335590823.fa08718d-b302-4c5a-985c-dd4142a68a55.health.jsonlz4 (460 bytes)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514335590939.d0ec8157-b764-4c19-a72c-d7f8e80a15a7.main.jsonlz4 (10.05 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/archived/2017-12/1514375947722.b362bc0e-bf3b-4087-97fb-51c94fcbbba0.modules.jsonlz4 (12.46 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/datareporting/state.json (51 bytes)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/Clipper@OneNote.com.xpi (1.25 MB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/Open-Link-with-New-Tab@sienori.xpi (43.62 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/belgiumeid@eid.belgium.be.xpi (7.84 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/fvdmedia@gmail.com.xpi (866.06 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/keepasshttp-connector@addons.brandt.tech.xpi (530.30 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/passifox@hanhuy.com.xpi (19.97 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/support@todoist.com.xpi (51.81 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/tabcloud@firefox.connorhd.co.uk.xpi (31.91 KB)
  Purging file /home/marc/.mozilla/firefox/go654sf0.default-1476437568077/extensions/zotero@chnm.gmu.edu.xpi (570.90 KB)

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <079584b47e8f450098bc88bd19fac385>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <079584b47e8f450098bc88bd19fac385>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <079584b47e8f450098bc88bd19fac385>:0 
  at Duplicati.Library.Main.BasicResults.AddVerboseMessage (System.String message, System.Object[] args) [0x00036] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.DoRun (Duplicati.Library.Main.Database.LocalPurgeDatabase db, Duplicati.Library.Utility.IFilter filter, System.Action`3[T1,T2,T3] filtercommand, System.Single pgoffset, System.Single pgspan) [0x004d8] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.Run (Duplicati.Library.Utility.IFilter filter) [0x00054] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller+<>c__DisplayClass36_0.<PurgeFiles>b__0 (Duplicati.Library.Main.PurgeFilesResults result) [0x0001c] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0014b] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.Action`1[T] method) [0x00009] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.PurgeFiles (Duplicati.Library.Utility.IFilter filter) [0x0001a] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.CommandLine.Commands.PurgeFiles (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) [0x0008e] in <08be045d41054657bb406455b4cf1a83>:0 
  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)
  at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x003fb] in <08be045d41054657bb406455b4cf1a83>:0 

Here is the content of the extensions directory

marc@resh-lakish ~/.mozilla/firefox/go654sf0.default-1476437568077/extensions $ ls
{94b89ca6-23ec-45c0-a648-0f30d5a2f74d}.xpi
belgiumeid@eid.belgium.be.xpi
Clipper@OneNote.com.xpi
fvdmedia@gmail.com.xpi
keepasshttp-connector@addons.brandt.tech.xpi
Open-Link-with-New-Tab@sienori.xpi
passifox@hanhuy.com.xpi
support@todoist.com.xpi
tabcloud@firefox.connorhd.co.uk.xpi
zotero@chnm.gmu.edu.xpi
marc@resh-lakish ~/.mozilla/firefox/go654sf0.default-1476437568077/extensions $  

Good luck bug hunting

Thanks for the additional details, sorry it’s taking so long (stupid real life).

I met a few others since, { } are always there, so I can fully confirm.
Cheers

1 Like

The new log system in the canary for 2.0.3.2 should fix this problem.

sorry but it still does not work in Canary 2.0.3.2

duplicati-cli find 'webdavs://onthebeat.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=******&auth-password=************' '--passphrase=************' --verbose --dbpath=/root/.config/Duplicati/KNQLJCGAWY.sqlite --dry-run --version=40 '--include=*/.stversions/AlbumArt_*'
Input command: find
Input arguments: 
	webdavs://onthebeat.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=onthebeat&auth-password=************

Input options: 
passphrase: *********************
verbose: 
dbpath: /root/.config/Duplicati/KNQLJCGAWY.sqlite
dry-run: 
version: 40

Listing contents 40 (15/03/2018 19:00:02):
/mnt/Storage/Users/marc/Music/.stversions/AlbumArtSmall~20180101-230138.jpg (8.74 KB)
/mnt/Storage/Users/marc/Music/.stversions/AlbumArt_{18BEC7DF-ECAD-40DF-B2CF-E5250E37FFAE}_Large~20180101-230137.jpg (29.10 KB)
/mnt/Storage/Users/marc/Music/.stversions/AlbumArt_{18BEC7DF-ECAD-40DF-B2CF-E5250E37FFAE}_Small~20180101-230138.jpg (8.74 KB)

and the purge

duplicati-cli purge 'webdavs://onthebeat.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=*******&auth-password=*******' '--passphrase=************' --verbose --dbpath=/root/.config/Duplicati/KNQLJCGAWY.sqlite --version=40 '--include=*/.stversions/AlbumArt_*'
Input command: purge
Input arguments: 
	webdavs://onthebeat.stackstorage.com//remote.php/webdav/resh-lakish/home?auth-username=onthebeat&auth-password=******

Input options: 
passphrase: *********
verbose: 
dbpath: /root/.config/Duplicati/KNQLJCGAWY.sqlite
version: 40

Starting purge operation
  Listing remote folder ...
Replacing fileset duplicati-20180315T180002Z.dlist.zip.aes with duplicati-20180315T180003Z.dlist.zip.aes which has with 2 fewer file(s) (37.84 KB reduction)

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
  at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <95bce58511bd4c2ebd32913a9fac5766>:0 
  at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <95bce58511bd4c2ebd32913a9fac5766>:0 
  at System.String.Format (System.String format, System.Object[] args) [0x00020] in <95bce58511bd4c2ebd32913a9fac5766>:0 
  at Duplicati.Library.Main.BasicResults.AddVerboseMessage (System.String message, System.Object[] args) [0x00036] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.DoRun (Duplicati.Library.Main.Database.LocalPurgeDatabase db, Duplicati.Library.Utility.IFilter filter, System.Action`3[T1,T2,T3] filtercommand, System.Single pgoffset, System.Single pgspan) [0x004d8] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Operation.PurgeFilesHandler.Run (Duplicati.Library.Utility.IFilter filter) [0x00054] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller+<>c__DisplayClass36_0.<PurgeFiles>b__0 (Duplicati.Library.Main.PurgeFilesResults result) [0x0001c] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0014b] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.Action`1[T] method) [0x00009] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.Library.Main.Controller.PurgeFiles (Duplicati.Library.Utility.IFilter filter) [0x0001a] in <118ad25945a24a3991f7b65e7a45ea1e>:0 
  at Duplicati.CommandLine.Commands.PurgeFiles (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) [0x0008e] in <08be045d41054657bb406455b4cf1a83>:0 
  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)
  at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1[T] setup, System.String[] args) [0x003fb] in <08be045d41054657bb406455b4cf1a83>:0 


All the best

Are you sure this is using the 2.0.3.2 canary? I think the BasicResults.AddVerboseMessage method was removed and doesn’t exist anymore.

Hi,

You are right but this is very odd !! I upgraded to canary 2.0.3.2 and the backup features prove it. However, my duplicati-cli remained 2.0.2.1_beta_2017-08-01, I need to check my files and path.
Did I install something wrong or did the upgrade “fail”?

all the binaries in /usr/lib/duplicati are from AUg 1 2017 thus 2.0.2.1 but the GUI reports

You are currently running Duplicati - 2.0.3.2_canary_2018-03-16
Check for updates now

Thanks

Everything works fine with proper 2.0.3.2.

However I see my other machines also have old binaries despite the upgrades with the GUI.
So there is an issue with with the upgrade process. Installing the deb file fixed it, but I suspect we’ll face the upgrade issue again.