Crash bug in duplicati-server-util from 2.1.0.5 stable

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)

I can confirm that the Linux and MacOS builds for 2.1.0.5 are for some reason missing the file System.CommandLine.dll.

It is a bit odd, because the file is present in the Agent builds but missing from the CLI and GUI builds. I tried the exact same build procedure again, and it correctly places the file in the output build folder. :face_with_head_bandage:

If you want to upgrade, you can grab the file from the 2.1.0.4 zip package and place it with the other files.

Crash when issuing change-password #6022 is the GitHub Issues report on this.