Duplicati Error

Hi

Duplicati: duplicati-2.0.6.3_beta_2021-06-17
OS: Ubuntu 20.04

I had removed duplicati with apt purge duplicati. then reinstalled after a some time. Now prompting this error

image

Storage type is Empty

Rebooted system many times. But duplicati does not work

Syslog Errors:

Nov 22 17:49:29 remote duplicati-server[4957]: System.TypeInitializationException: The type initializer for ‘Amazon.AWSConfigs’ threw an exception. —> System.Configu>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00007] in <09a1>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration >
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ce] i>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.Configuration.Load () [0x00043] in <09a19d997b254152bb9dd37f06ce3a34>:0
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPa>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.Configuration…ctor (System.Configuration.InternalConfigurationSystem system, System.String lo>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfi>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0000e] in <09a19d997b254152bb9dd37f06ce3a34>>
Nov 22 17:49:29 remote duplicati-server[4957]: — End of inner exception stack trace —
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0002a] in <09a19d997b254152bb9dd37f06ce3a34>>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (Syst>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00005] in <09a19d997b254152bb9d>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <09a19d997b254152bb9dd37f06ce3a34>:0
Nov 22 17:49:29 remote duplicati-server[4957]: at Amazon.AWSConfigs.GetConfig (System.String name) [0x00000] in :0
Nov 22 17:49:29 remote duplicati-server[4957]: at Amazon.AWSConfigs…cctor () [0x00026] in :0
Nov 22 17:49:29 remote duplicati-server[4957]: — End of inner exception stack trace —
Nov 22 17:49:29 remote duplicati-server[4957]: at Amazon.Runtime.ClientConfig…ctor () [0x0003e] in :0
Nov 22 17:49:29 remote duplicati-server[4957]: at Amazon.S3.AmazonS3Config…ctor () [0x0000b] in <79796cc3f14a4a2d81133207810e557f>:0
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Library.Backend.S3.get_SupportedCommands () [0x000b0] in <1150a6be8a7a4ff093c5f7e72bc45ad9>:0
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.Serializable.ServerSettings+DynamicModule…ctor (Duplicati.Library.Interface.IBackend backend) [0x>
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.Serializable.ServerSettings+<>c.<get_BackendModules>b__4_0 (Duplicati.Library.Interface.IBackend n>
Nov 22 17:49:29 remote duplicati-server[4957]: at System.Linq.Enumerable+SelectArrayIterator2[TSource,TResult].ToArray () [0x00012] in <f6c405b973804b5c804e7e759353> Nov 22 17:49:29 remote duplicati-server[4957]: at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.Serializable.ServerSettings.get_BackendModules () [0x00029] in <156011ea63b34859b4073abdbf0b1573>:0
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.WebServer.RESTMethods.SystemInfo.SystemData (Duplicati.Server.WebServer.RESTMethods.RequestInfo in>
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.WebServer.RESTMethods.SystemInfo.GET (System.String key, Duplicati.Server.WebServer.RESTMethods.Re>
Nov 22 17:49:29 remote duplicati-server[4957]: at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.S>

Quick thought

  • when you uninstalled Duplicati, did you remove also Mono ?
  • if you installed it again, was it the same version ?
  • can you try to purge again, and check if there remains something under /usr/lib/duplicati ? if yes, try to remove / rename this directory before reinstalling.

Hi Thank you for reply

  • when you uninstalled Duplicati, did you remove also Mono ?
    No, i just uninstalled duplicati
  • if you installed it again, was it the same version ?
    Yes version is same
  • can you try to purge again, and check if there remains something under /usr/lib/duplicati ? if yes, try to remove / rename this directory before reinstalling.
    When i uninstalled, then removed manually /usr/lib/duplicati (as it showed in logs directory is not empty) and when installed it again then it created this directory again but it does not resolved the issue.

Should i required to uninstall duplicati and mono both? then reinstall both again?

Hi

I have completely removed mono and duplicati and reinstalled both again. It worked!

Thank you