probably explains why 2.0.8.105 “Check for updates now” errors into the server log with
May 3, 2024 2:01 PM: Error in updater
System.IO.InvalidDataException: Unable to verify signature
at Duplicati.Library.Utility.SignatureReadingStream..ctor(Stream stream, IEnumerable`1 keys)
at Duplicati.Library.AutoUpdater.UpdaterManager.CheckForUpdate(ReleaseType channel)
and
C:\Program Files\Duplicati 2>Duplicati.CommandLine.AutoUpdater.exe check
Error detected: System.IO.InvalidDataException: Unable to verify signature
at Duplicati.Library.Utility.SignatureReadingStream..ctor(Stream stream, IEnumerable`1 keys)
at Duplicati.Library.AutoUpdater.UpdaterManager.CheckForUpdate(ReleaseType channel)
Error detected: System.IO.InvalidDataException: Unable to verify signature
at Duplicati.Library.Utility.SignatureReadingStream..ctor(Stream stream, IEnumerable`1 keys)
at Duplicati.Library.AutoUpdater.UpdaterManager.CheckForUpdate(ReleaseType channel)
No updates found
but I’m less sure about this:
C:\Program Files\Duplicati 2>Duplicati.CommandLine.AutoUpdater.exe
Unhandled exception. 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.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
at System.IO.StreamWriter.WriteFormatHelper(String format, ReadOnlySpan`1 args, Boolean appendNewLine)
at System.IO.StreamWriter.WriteLine(String format, Object arg0, Object arg1)
at System.IO.TextWriter.SyncTextWriter.WriteLine(String format, Object arg0, Object arg1)
at System.Console.WriteLine(String format, Object arg0, Object arg1)
at Duplicati.Library.AutoUpdater.Program.WriteUsage()
at Duplicati.Library.AutoUpdater.Program.Main(String[] _args)
at Duplicati.CommandLine.AutoUpdater.Net8.Program.Main(String[] args)
but note that this is 2.0.8.105 code trying to check for updates. Maybe I’ll just do 2.0.8.106 directly.
I’m also just now noticing that the AutoUpdater.exe file got renamed from Library to CommandLine.
This actually makes more sense, and the whole scheme is so different that some differences show.