I recently upgraded from 2.1.0.4 stable to 2.1.0.5 stable. Unfortunately, backups stopped working. I invoke them from cron using duplicati-server-util and log the results in a file, so I was able to pull this information up and see the following exception. I tested the command against a few jobs, just to make sure it wasn’t job-specific. I also tested running the command with no job or parameters and received the same error message. I rolled back to 2.1.0.4 and have no issues.
duplicati-server-util run gideon-lessimportant-backblaze
Crash!
System.IO.FileNotFoundException: Could not load file or assembly 'System.CommandLine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'System.CommandLine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Duplicati.CommandLine.ServerUtil.Program.Main(String[] args)
at Duplicati.CommandLine.ServerUtil.Net8.Program.<>c__DisplayClass0_0.<Main>b__0()
at Duplicati.Library.Crashlog.CrashlogHelper.WrapWithCrashLog[T](Func`1 method, String logdir, String applicationName)
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.CommandLine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'System.CommandLine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Duplicati.CommandLine.ServerUtil.Program.Main(String[] args)
at Duplicati.CommandLine.ServerUtil.Net8.Program.<>c__DisplayClass0_0.<Main>b__0()
at Duplicati.Library.Crashlog.CrashlogHelper.WrapWithCrashLog[T](Func`1 method, String logdir, String applicationName)
at Duplicati.CommandLine.ServerUtil.Net8.Program.<Main>(String[] args)
Aborted (core dumped)