Hello,
I’m trying to get Duplicati working on a Raspberry Pi and so far I can’t seem to get it to work. Any help would be appreciated.
Here are the things I’ve tried so far:
- I installed using Duplicati by by downloading the DEB file (I’m using Raspbian) and running
sudo dpkg -i <filename>
- The install errored due to missing dependencies, but I ran
sudo apt-get -f install
to fix that. - Duplicati would start up, but when trying to connect to B2 I would get certificate errors and followed the advice given in the error message of running
cert-sync ...
to fix the issue, but cert-sync wasn’t installed… - So added the Mono repo and installed the ca-certification-mono package and tried running cert-sync, but that failed for some reason and I can’t remember why. I decided that I should uninstall all the Mono packages and Duplicati and try to reinstall everything.
- Reinstalled Duplicati using dpkg, ran apt-get to fix the dependencies, manually installed ca-certification-mono, but now I get the below errors:
Server has started and is listening on 127.0.0.1, port 8300
Unexpected error: System.TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsSettings' (52) due to: Could not resolve type with token 01000034 (from typeref, class/assembly Mono.Security.Interface.MonoTlsSettings, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsSettings member:<none>
at Duplicati.GUI.TrayIcon.HttpServerConnection.PerformRequest[T] (System.String method, System.String urlfragment, System.Collections.Generic.Dictionary`2[TKey,TValue] queryparams) [0x0000c] in <d07129d6974642b0bbdaa3ccc42fe89d>:0
at Duplicati.GUI.TrayIcon.HttpServerConnection.UpdateStatus () [0x00001] in <d07129d6974642b0bbdaa3ccc42fe89d>:0
at Duplicati.GUI.TrayIcon.HttpServerConnection..ctor (System.Uri server, System.String password, System.Boolean saltedpassword, System.Boolean dbPasswordSourceDatabase, System.Collections.Generic.Dictionary`2[TKey,TValue] options) [0x000de] in <d07129d6974642b0bbdaa3ccc42fe89d>:0
at Duplicati.GUI.TrayIcon.Program.RealMain (System.String[] _args) [0x003d7] in <d07129d6974642b0bbdaa3ccc42fe89d>:0
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsSettings' (52) due to: Could not resolve type with token 01000034 (from typeref, class/assembly Mono.Security.Interface.MonoTlsSettings, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsSettings member:<none>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <c109e83bf6b6427c945b56620bfa750d>:0
at Duplicati.Library.UsageReporter.ReportSetUploader+<>c.<Run>b__2_0 (CoCoL.IReadChannel`1[T] chan) [0x00023] in <5fd9851e5e564c4d957baf4634e9caab>:0
at CoCoL.AutomationExtensions+<RunTask>c__async2`1[T].MoveNext () [0x000f3] in <42facd2a943c4ff2bbe038fcc8489a68>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <c109e83bf6b6427c945b56620bfa750d>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <c109e83bf6b6427c945b56620bfa750d>:0
at System.Threading.Tasks.Task.Wait (System.TimeSpan timeout) [0x00022] in <c109e83bf6b6427c945b56620bfa750d>:0
at Duplicati.Library.UsageReporter.Reporter.ShutDown () [0x00037] in <5fd9851e5e564c4d957baf4634e9caab>:0
at Duplicati.Server.Program.RealMain (System.String[] args) [0x006c4] in <a6c0c2089b9a44ec9be5057a44f12116>: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, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <c109e83bf6b6427c945b56620bfa750d>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <c109e83bf6b6427c945b56620bfa750d>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <c109e83bf6b6427c945b56620bfa750d>:0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String[] args) [0x00000] in <2e3a1be277654a188f84e503094300c3>:0'
So, am I just doing things in the wrong order (i.e install Mono first and then Duplicati, if so what Mono packages?)? Or is there something else going on here that I’m not sure about.
Thanks a ton!