2.0.4.5_beta_2018-11-28: "Unable to start up, perhaps another process is already running?"

OS X High Sierra, running with separate server and ‘tray icon’ plists, and neither is running after a system crash (power related.) Running with —help is fine.

I’ve tried removing the control_dir_v2 lockfile and running /Applications/Duplicati.app/Contents/MacOS/duplicati-server --webservice-port=8200 by hand:

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 <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <783f9ec99b954b3081ca4c67bd3306c7>: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 <783f9ec99b954b3081ca4c67bd3306c7>: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 <783f9ec99b954b3081ca4c67bd3306c7>: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 <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.FileSystemWatcher.Start () [0x0001b] in <783f9ec99b954b3081ca4c67bd3306c7>:0 
  at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <783f9ec99b954b3081ca4c67bd3306c7>: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

Solved. It’s due to mono 5.18.0.225: Duplicati does not start up · Issue #3572 · duplicati/duplicati · GitHub

Thanks for figuring this out!

For any who end up here I believe some mono downgrade steps are included here (though they may be “brew” specific):