Crash after upgrade to last version (2.0.5.1)

A serious error occurred in Duplicati: System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.GetDatabaseConnection (System.Collections.Generic.Dictionary`2 commandlineOptions) <0x41e935d0 + 0x00297> in :0
at Duplicati.Server.Program.RealMain (System.String _args) <0x41e8f2a0 + 0x0079f> in :0
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x41e8f2a0 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7fe85a5ab9e0 + 0x000a1> in :0
— End of inner exception stack trace —
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7fe85a5ab9e0 + 0x000ef> in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object parameters) <0x7fe85a3e3cf0 + 0x0002a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x41e8ecc0 + 0x0007e> in :0

Unhandled Exception:
System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x41e8f2a0 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7fe85a5ab9e0 + 0x000a1> in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe85a4016d0 + 0x00029> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x41e8ecc0 + 0x00343> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_0.b__0 () <0x41e8ec90 + 0x00017> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) <0x41e8e740 + 0x0032a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x41e8df50 + 0x001bb> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x41e8deb0 + 0x0005f> in :0
at Duplicati.Server.Program.Main (System.String args) <0x41e26d50 + 0x0003b> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x41e8f2a0 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7fe85a5ab9e0 + 0x000a1> in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe85a4016d0 + 0x00029> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x41e8ecc0 + 0x00343> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_0.b__0 () <0x41e8ec90 + 0x00017> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) <0x41e8e740 + 0x0032a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x41e8df50 + 0x001bb> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x41e8deb0 + 0x0005f> in :0
at Duplicati.Server.Program.Main (System.String args) <0x41e26d50 + 0x0003b> in :0

Ubuntu 16

Welcome to the forum @Harrison_Martins

What does running mono --version say? Here was a similar crash fixed by getting a new mono.

Release: 2.0.5.1 (beta) 2020-01-18

On Linux, macOS, and other systems that require Mono, this version requires Mono v5 or later.

Install Duplicati on Ubuntu Server 18.04 has other mono information, but Ubuntu 16 may be older.

1 Like

Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

tks, I will try to update my mono and try again

thank you , everything is running again

2 Likes