When I try and setup duplicati-2.0.3.3_beta as a Service I use the following command:
C:\Program Files\Duplicati 2>Duplicati.WindowsService.exe install --webservice-interface=any --webservice-port=8200 --portable-mode
But whilst this comman is running I get a pop up message saying "WindowsService has Stopped Working"
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: Duplicati.WindowsService.exe
Problem Signature 02: 2.0.3.3
Problem Signature 03: 5ac1f98c
Problem Signature 04: mscorlib
Problem Signature 05: 4.7.2563.0
Problem Signature 06: 5a3352fe
Problem Signature 07: 1671
Problem Signature 08: f
Problem Signature 09: System.AggregateException
OS Version: 6.1.7601.2.1.0.768.2
Locale ID: 2057
Additional Information 1: 4def
Additional Information 2: 4def3b33d7c7278176a1e1e2092c5cd4
Additional Information 3:|c566|
Additional Information 4:|c5662bf626103bf06ba96e16c6b54c48|
This command always worked in duplicati-2.0.2.1 without any problems, is there anything I need to change in the command for the new version.
The output in the command window shows this
C:\Program Files\Duplicati 2>Duplicati.WindowsService.exe install --webservice-interface=any --webservice-port=8200 --portable-mode
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe assembly's progress.
The file is located at C:\Program Files\Duplicati 2\Duplicati.WindowsService.InstallLog.
Installing assembly 'C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe
logfile = C:\Program Files\Duplicati 2\Duplicati.WindowsService.InstallLog
commandline = "--webservice-interface=any" "--webservice-port=8200" --portable-mode
Installing service Duplicati...
Service Duplicati has been successfully installed.
Creating EventLog source Duplicati in log Application...
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe assembly's progress.
The file is located at C:\Program Files\Duplicati 2\Duplicati.WindowsService.InstallLog.
Committing assembly 'C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files\Duplicati 2\Duplicati.WindowsService.exe
logfile = C:\Program Files\Duplicati 2\Duplicati.WindowsService.InstallLog
commandline = "--webservice-interface=any" "--webservice-port=8200" --portable-mode
The Commit phase completed successfully.
The transacted install has completed.
Unhandled Exception: System.AggregateException: One or more errors occurred. ---
> System.IO.IOException: Not enough storage is available to process this command
.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__ConsoleStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.<>c.<BeginReadInternal>b__39_0(Object )
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.IO.Stream.EndRead(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.IO.Stream.<CopyToAsyncInternal>d__27.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn(MethodInfo method, String[] cmdargs, AutoUpdateStrategy defaultstrategy)
at Duplicati.WindowsService.Program.Main(String[] args)
This problem has occured on the last 3 Windows 7 machines that I have installed v2.0.3.3, I must admit I havent tried installing version 2.0.3.3 on any Windows 10 machines yet so I dont know if this problem affects them too!
Does anyone know why this problem occurs, so far I havent noticed it stopping anything from working, the service starts ok and I can login to the web interface ok, whilst all seems to be working ok despite this error messge, just a bit worried that there might be something not working right in the background.