duplicati / duplicati

Store securely encrypted backups in the cloud!
Other
10.93k stars 895 forks source link

Duplicati won't start - LSOpenURLsWithRole() failed for the application /Applications/Duplicati.app with error -10810. #3640

Open BitTourette opened 5 years ago

BitTourette commented 5 years ago

Environment info

Description

Mono installed but Duplicati won't start mono "/Applications/Duplicati.app/Contents/Resources/Duplicati.CommandLine.exe" works:

duplicati.commandline.exe help for more information. General: example, changelog Commands: backup, find, restore, delete, compact, test, compare, purge, vacuum Repair: repair, affected, list-broken-files, purge-broken-files Debug: debug, logging, create-report, test-filters, system-info, send-mail Targets: aftp, amzcd, azure, b2, box, cloudfiles, dropbox, ftp, file, googledrive, gcs, hubic, jottacloud, mega, msgroup, onedrive, onedrivev2, sharepoint, openstack, rclone, s3, ssh, od4b, mssp, sia, tahoe, webdav Modules: aes, gpg, zip, 7z, console-password-input, mssql-options, hyperv-options, http-options, sendhttp, sendmail, runscript, sendxmpp, check-mono-ssl Formats: date, time, size, encryption, compression Advanced: mail, advanced, returncodes, filter, filter-groups,

http://www.duplicati.com/ Version: - 2.0.4.5_beta_2018-11-28

But won't open the App

open -a /Applications/Duplicati.app LSOpenURLsWithRole() failed for the application /Applications/Duplicati.app with error -10810.

Debug log

warwickmm commented 5 years ago

Could this be an issue with permissions or "trusted sources"?

https://apple.stackexchange.com/questions/181026/lsopenurlswithrole-failed-with-error-10810-cant-open-install-os-x-yosemite

BitTourette commented 5 years ago

it was in quarantine but xattr -dr com.apple.quarantine /Applications/Duplicati.app did't help. Same problem

vibl commented 5 years ago

I have the same problem. Any news?

mikem commented 5 years ago

I'm facing the same issue.

I see this exception when launching Duplicati directly from the terminal:

$ /Applications/Duplicati.app/Contents/MacOS/duplicati
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: A serious error occurred in Duplicati: System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0  ---> System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0
   --- End of inner exception stack trace ---
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x0077e] in <fe28905ee30b422e8d475f1cfdb85515>: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) [0x0003b] in <72ce9eef86654f57b8eadb2543cb8f98>: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) [0x00051] in <72ce9eef86654f57b8eadb2543cb8f98>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <72ce9eef86654f57b8eadb2543cb8f98>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String[] args) [0x00000] in <3227b98b904042faac2116282e7fbdfd>:0
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: A serious error occurred in Duplicati: System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0  ---> System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0
   --- End of inner exception stack trace ---
  at Duplicati.GUI.TrayIcon.HostedInstanceKeeper..ctor (System.String[] args) [0x00098] in <a5f36c71f1df46eb8251c7281146fa4b>:0
  at Duplicati.GUI.TrayIcon.Program.RealMain (System.String[] _args) [0x002a6] in <a5f36c71f1df46eb8251c7281146fa4b>: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) [0x0003b] in <72ce9eef86654f57b8eadb2543cb8f98>: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) [0x00051] in <72ce9eef86654f57b8eadb2543cb8f98>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <72ce9eef86654f57b8eadb2543cb8f98>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String[] args) [0x00000] in <3227b98b904042faac2116282e7fbdfd>:0

Unhandled Exception:
System.Exception: A serious error occurred in Duplicati: System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0  ---> System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0
   --- End of inner exception stack trace ---
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String[] args) [0x00097] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.<RunFromMostRecentSpawn>b__0 () [0x00000] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) [0x00157] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String[] cmdargs, Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy) [0x0004b] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String[] cmdargs, Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy) [0x0001b] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.GUI.TrayIcon.Program.Main (System.String[] args) [0x0001c] in <a5f36c71f1df46eb8251c7281146fa4b>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: A serious error occurred in Duplicati: System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0  ---> System.Exception: Unable to start up, perhaps another process is already running?
Error message: System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
  at (wrapper managed-to-native) Interop+Sys.RealPath(string)
  at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at System.IO.CoreFXFileSystemWatcherProxy+<>c.<StartDispatching>b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <e9297c7c5cde4e1285346aced9ff2658>:0
   --- End of inner exception stack trace ---
  at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <e9297c7c5cde4e1285346aced9ff2658>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
  at Duplicati.Server.SingleInstance..ctor (System.String basefolder) [0x000ee] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00307] in <fe28905ee30b422e8d475f1cfdb85515>:0
  at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00337] in <fe28905ee30b422e8d475f1cfdb85515>:0
   --- End of inner exception stack trace ---
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String[] args) [0x00097] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.<RunFromMostRecentSpawn>b__0 () [0x00000] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) [0x00157] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String[] cmdargs, Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy) [0x0004b] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String[] cmdargs, Duplicati.Library.AutoUpdater.AutoUpdateStrategy defaultstrategy) [0x0001b] in <3227b98b904042faac2116282e7fbdfd>:0
  at Duplicati.GUI.TrayIcon.Program.Main (System.String[] args) [0x0001c] in <a5f36c71f1df46eb8251c7281146fa4b>:0

I don't believe it's the quarantine, because as @BitTourette points out, the CLI appears to work:

$ ls -lA@ /Applications/Duplicati.app/Contents/MacOS/{duplicati,run-with-mono.sh}
-rwxr-xr-x@ 1 mike  staff   192 Nov 28 20:55 /Applications/Duplicati.app/Contents/MacOS/duplicati
    com.apple.quarantine      67
-rwxr-xr-x@ 1 mike  staff  3260 Nov 28 20:55 /Applications/Duplicati.app/Contents/MacOS/run-with-mono.sh
    com.apple.cs.CodeDirectory   137
    com.apple.cs.CodeRequirements    228
    com.apple.cs.CodeRequirements-1  173
    com.apple.cs.CodeSignature  9013
    com.apple.quarantine      67
$ ls -lA@ /Applications/Duplicati.app/Contents/Resources/Duplicati.GUI.TrayIcon.exe
-rw-r--r--@ 1 mike  staff  337872 Nov 28 20:52 /Applications/Duplicati.app/Contents/Resources/Duplicati.GUI.TrayIcon.exe
    com.apple.cs.CodeDirectory     146
    com.apple.cs.CodeRequirements      184
    com.apple.cs.CodeRequirements-1    182
    com.apple.cs.CodeSignature    9013
    com.apple.quarantine        67
$ ls -lA@ /Applications/Duplicati.app/Contents/Resources/Duplicati.CommandLine.exe
-rw-r--r--@ 1 mike  staff  133072 Nov 28 20:52 /Applications/Duplicati.app/Contents/Resources/Duplicati.CommandLine.exe
    com.apple.cs.CodeDirectory     145
    com.apple.cs.CodeRequirements      184
    com.apple.cs.CodeRequirements-1    181
    com.apple.cs.CodeSignature    9013
    com.apple.quarantine        67
$ mono /Applications/Duplicati.app/Contents/Resources/Duplicati.CommandLine.exe

See duplicati.commandline.exe help <topic> for more information.
  General: example, changelog
  Commands: backup, find, restore, delete, compact, test, compare, purge, vacuum
  Repair: repair, affected, list-broken-files, purge-broken-files
  Debug: debug, logging, create-report, test-filters, system-info, send-mail
  Targets: aftp, amzcd, azure, b2, box, cloudfiles, dropbox, ftp, file, googledrive, gcs, hubic, jottacloud, mega, msgroup, onedrive, onedrivev2, sharepoint, openstack, rclone, s3, ssh, od4b, mssp, sia,
  tahoe, webdav
  Modules: aes, gpg, zip, 7z, console-password-input, mssql-options, hyperv-options, http-options, sendhttp, sendmail, runscript, sendxmpp, check-mono-ssl
  Formats: date, time, size, encryption, compression
  Advanced: mail, advanced, returncodes, filter, filter-groups, <option>

http://www.duplicati.com/              Version:  - 2.0.4.5_beta_2018-11-28
mikem commented 5 years ago

According to #3572, this is an issue with the version of mono. I'm running the latest available via Homebrew:

$ mono --version
Mono JIT compiler version 5.18.0.240 (tarball Tue Feb 12 15:18:28 GMT 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:
    SIGSEGV:       altstack
    Notification:  kqueue
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug
    Interpreter:   yes
    LLVM:          supported, not enabled.
    Suspend:       preemptive
    GC:            sgen (concurrent by default)

This can be worked around by installing an older version of mono.

BitTourette commented 5 years ago

yes. I also installed Mono with brew. So now i installed Mono 5.16 manually and Bling it works. And this is as you said only a workaround no Solution ;) should be fixed ... But works for me 😂

https://github.com/duplicati/duplicati/issues/3572#issuecomment-458338510

  • Get rid of mono 5.18, with which Duplicati does not seem to work: brew uninstall mono
  • Manually download Mono 5.16 from Visual Studio Channel: https://www.mono-project.com/download/vs/#download-mac
  • Double-click on the downloaded pkg and enjoy a setup wizard, which you probably have not seen for ages thanks to Homebrew 😅
  • CMD+Space → Duplicati → Enter
  • ✨✨✨
gedankenexperimenter commented 5 years ago

What's the latest version of Mono that works with Duplicati? I haven't been able to get Duplicati to run at all so far.