New (old) problem with SSH Backups

Hello all,

I have a problem with backups running via SSH. I had recently upgraded my Linux distri (Linux Mint) since then I can no longer create backups that use SSH as the transfer protocol.

I had the same problem a few months ago. At that time it was because my old LTS version of Linux did not support a newer version of Mono and I had to update it manually. Since Duplicati is the only tool I use that is based on Mono, I was able to do this without any problems. The new Linux distri seems to have this new Mono version already, but now I get a very similar error message as back then.

I posted a screenshot and an output from the error message and the log entry, maybe someone else sees more than me or had the same problem.

System.AggregateException: One or more errors occurred. (Failure (Failure) (One or more errors occurred. (Failure))) ---> System.AggregateException: Failure (Failure) (One or more errors occurred. (Failure)) ---> Renci.SshNet.Common.SshException: Failure
  at Renci.SshNet.Sftp.SftpSession.RequestOpen (System.String path, Renci.SshNet.Sftp.Flags flags, System.Boolean nullOnError) [0x00099] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.InternalUploadFile (System.IO.Stream input, System.String path, Renci.SshNet.Sftp.Flags flags, Renci.SshNet.Sftp.SftpUploadAsyncResult asyncResult, System.Action`1[T] uploadCallback) [0x0004f] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Boolean canOverride, System.Action`1[T] uploadCallback) [0x00017] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Action`1[T] uploadCallback) [0x00000] in <c60291af03764e69b153abec058a6ec5>:0 
  at Duplicati.Library.Backend.SSHv2.PutAsync (System.String remotename, System.IO.Stream stream, System.Threading.CancellationToken cancelToken) [0x00012] in <0d3e4ef338cb4d3cae538218575a1d08>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoPut (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Interface.IBackend backend, System.Threading.CancellationToken cancelToken) [0x003a4] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader+<>c__DisplayClass20_0.<UploadFileAsync>b__0 () [0x0010a] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x0017c] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x003a5] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadFileAsync (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x000da] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadBlockAndIndexAsync (Duplicati.Library.Main.Operation.Backup.VolumeUploadRequest upload, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x00098] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x00780] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x007d7] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at CoCoL.AutomationExtensions.RunTask[T] (T channels, System.Func`2[T,TResult] method, System.Boolean catchRetiredExceptions) [0x000d5] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.FlushBackend (Duplicati.Library.Main.BackupResults result, CoCoL.IWriteChannel`1[T] uploadtarget, System.Threading.Tasks.Task uploader) [0x000f2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00cb2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
   --- End of inner exception stack trace ---
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x01048] in <60a7e79acb3b49e8af8a73149919d15b>:0 
   --- End of inner exception stack trace ---
  at CoCoL.ChannelExtensions.WaitForTaskOrThrow (System.Threading.Tasks.Task task) [0x0005d] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00009] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Controller+<>c__DisplayClass14_0.<Backup>b__0 (Duplicati.Library.Main.BackupResults result) [0x0004b] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0026f] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Controller.Backup (System.String[] inputsources, Duplicati.Library.Utility.IFilter filter) [0x00074] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Server.Runner.Run (Duplicati.Server.Runner+IRunnerData data, System.Boolean fromQueue) [0x00349] in <97751f2e2d7047e983f74950165267e2>:0 
---> (Inner Exception #0) System.AggregateException: Failure (Failure) (One or more errors occurred. (Failure)) ---> Renci.SshNet.Common.SshException: Failure
  at Renci.SshNet.Sftp.SftpSession.RequestOpen (System.String path, Renci.SshNet.Sftp.Flags flags, System.Boolean nullOnError) [0x00099] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.InternalUploadFile (System.IO.Stream input, System.String path, Renci.SshNet.Sftp.Flags flags, Renci.SshNet.Sftp.SftpUploadAsyncResult asyncResult, System.Action`1[T] uploadCallback) [0x0004f] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Boolean canOverride, System.Action`1[T] uploadCallback) [0x00017] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Action`1[T] uploadCallback) [0x00000] in <c60291af03764e69b153abec058a6ec5>:0 
  at Duplicati.Library.Backend.SSHv2.PutAsync (System.String remotename, System.IO.Stream stream, System.Threading.CancellationToken cancelToken) [0x00012] in <0d3e4ef338cb4d3cae538218575a1d08>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoPut (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Interface.IBackend backend, System.Threading.CancellationToken cancelToken) [0x003a4] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader+<>c__DisplayClass20_0.<UploadFileAsync>b__0 () [0x0010a] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x0017c] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x003a5] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadFileAsync (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x000da] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadBlockAndIndexAsync (Duplicati.Library.Main.Operation.Backup.VolumeUploadRequest upload, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x00098] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x00780] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x007d7] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at CoCoL.AutomationExtensions.RunTask[T] (T channels, System.Func`2[T,TResult] method, System.Boolean catchRetiredExceptions) [0x000d5] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.FlushBackend (Duplicati.Library.Main.BackupResults result, CoCoL.IWriteChannel`1[T] uploadtarget, System.Threading.Tasks.Task uploader) [0x000f2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00cb2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
   --- End of inner exception stack trace ---
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x01048] in <60a7e79acb3b49e8af8a73149919d15b>:0 
---> (Inner Exception #0) Renci.SshNet.Common.SshException: Failure
  at Renci.SshNet.Sftp.SftpSession.RequestOpen (System.String path, Renci.SshNet.Sftp.Flags flags, System.Boolean nullOnError) [0x00099] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.InternalUploadFile (System.IO.Stream input, System.String path, Renci.SshNet.Sftp.Flags flags, Renci.SshNet.Sftp.SftpUploadAsyncResult asyncResult, System.Action`1[T] uploadCallback) [0x0004f] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Boolean canOverride, System.Action`1[T] uploadCallback) [0x00017] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Action`1[T] uploadCallback) [0x00000] in <c60291af03764e69b153abec058a6ec5>:0 
  at Duplicati.Library.Backend.SSHv2.PutAsync (System.String remotename, System.IO.Stream stream, System.Threading.CancellationToken cancelToken) [0x00012] in <0d3e4ef338cb4d3cae538218575a1d08>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoPut (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Interface.IBackend backend, System.Threading.CancellationToken cancelToken) [0x003a4] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader+<>c__DisplayClass20_0.<UploadFileAsync>b__0 () [0x0010a] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x0017c] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x003a5] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadFileAsync (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x000da] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadBlockAndIndexAsync (Duplicati.Library.Main.Operation.Backup.VolumeUploadRequest upload, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x00098] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x00780] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x007d7] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at CoCoL.AutomationExtensions.RunTask[T] (T channels, System.Func`2[T,TResult] method, System.Boolean catchRetiredExceptions) [0x000d5] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.FlushBackend (Duplicati.Library.Main.BackupResults result, CoCoL.IWriteChannel`1[T] uploadtarget, System.Threading.Tasks.Task uploader) [0x000f2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00cb2] in <60a7e79acb3b49e8af8a73149919d15b>:0 <---

---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Failure) ---> Renci.SshNet.Common.SshException: Failure
  at Renci.SshNet.Sftp.SftpSession.RequestOpen (System.String path, Renci.SshNet.Sftp.Flags flags, System.Boolean nullOnError) [0x00099] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.InternalUploadFile (System.IO.Stream input, System.String path, Renci.SshNet.Sftp.Flags flags, Renci.SshNet.Sftp.SftpUploadAsyncResult asyncResult, System.Action`1[T] uploadCallback) [0x0004f] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Boolean canOverride, System.Action`1[T] uploadCallback) [0x00017] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Action`1[T] uploadCallback) [0x00000] in <c60291af03764e69b153abec058a6ec5>:0 
  at Duplicati.Library.Backend.SSHv2.PutAsync (System.String remotename, System.IO.Stream stream, System.Threading.CancellationToken cancelToken) [0x00012] in <0d3e4ef338cb4d3cae538218575a1d08>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoPut (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Interface.IBackend backend, System.Threading.CancellationToken cancelToken) [0x003a4] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader+<>c__DisplayClass20_0.<UploadFileAsync>b__0 () [0x0010a] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x0017c] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x003a5] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadFileAsync (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x000da] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadBlockAndIndexAsync (Duplicati.Library.Main.Operation.Backup.VolumeUploadRequest upload, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x00098] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x00780] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x007d7] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at CoCoL.AutomationExtensions.RunTask[T] (T channels, System.Func`2[T,TResult] method, System.Boolean catchRetiredExceptions) [0x000d5] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.FlushBackend (Duplicati.Library.Main.BackupResults result, CoCoL.IWriteChannel`1[T] uploadtarget, System.Threading.Tasks.Task uploader) [0x000f2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00cb2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
   --- End of inner exception stack trace ---
---> (Inner Exception #0) Renci.SshNet.Common.SshException: Failure
  at Renci.SshNet.Sftp.SftpSession.RequestOpen (System.String path, Renci.SshNet.Sftp.Flags flags, System.Boolean nullOnError) [0x00099] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.InternalUploadFile (System.IO.Stream input, System.String path, Renci.SshNet.Sftp.Flags flags, Renci.SshNet.Sftp.SftpUploadAsyncResult asyncResult, System.Action`1[T] uploadCallback) [0x0004f] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Boolean canOverride, System.Action`1[T] uploadCallback) [0x00017] in <c60291af03764e69b153abec058a6ec5>:0 
  at Renci.SshNet.SftpClient.UploadFile (System.IO.Stream input, System.String path, System.Action`1[T] uploadCallback) [0x00000] in <c60291af03764e69b153abec058a6ec5>:0 
  at Duplicati.Library.Backend.SSHv2.PutAsync (System.String remotename, System.IO.Stream stream, System.Threading.CancellationToken cancelToken) [0x00012] in <0d3e4ef338cb4d3cae538218575a1d08>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoPut (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Interface.IBackend backend, System.Threading.CancellationToken cancelToken) [0x003a4] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader+<>c__DisplayClass20_0.<UploadFileAsync>b__0 () [0x0010a] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x0017c] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.DoWithRetry (System.Func`1[TResult] method, Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x003a5] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadFileAsync (Duplicati.Library.Main.Operation.Common.BackendHandler+FileEntryItem item, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x000da] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.UploadBlockAndIndexAsync (Duplicati.Library.Main.Operation.Backup.VolumeUploadRequest upload, Duplicati.Library.Main.Operation.Backup.BackendUploader+Worker worker, System.Threading.CancellationToken cancelToken) [0x00098] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x00780] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.Backup.BackendUploader.<Run>b__13_0 (<>f__AnonymousType12`1[<Input>j__TPar] self) [0x007d7] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at CoCoL.AutomationExtensions.RunTask[T] (T channels, System.Func`2[T,TResult] method, System.Boolean catchRetiredExceptions) [0x000d5] in <9a758ff4db6c48d6b3d4d0e5c2adf6d1>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.FlushBackend (Duplicati.Library.Main.BackupResults result, CoCoL.IWriteChannel`1[T] uploadtarget, System.Threading.Tasks.Task uploader) [0x000f2] in <60a7e79acb3b49e8af8a73149919d15b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00cb2] in <60a7e79acb3b49e8af8a73149919d15b>:0 <---
<---
<---

I’m currently running Duplicati - 2.0.5.112_canary_2021-01-20 on a
Linux Mint 20.1 machine.

I also googled the issue before but nothing I found, also in this forum worked (async-uploads 1, and some other stuff)

Thanks already for the support
Hovy

Can you report the version of mono that is installed?

$ mono --version
$ mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

Were you able to keep the previous Duplicati configuration and databases, or was there any work done?

Can you look to see which mono package you have? mono-complete is the most complete. An example

$ dpkg -s mono-complete | head
Package: mono-complete
Status: install ok installed

Exporting a backup job configuration and taking target URL to Duplicati.CommandLine.BackendTool.exe would let you see which operations work. Maybe change the URL so it goes to a blank folder, not backup.

Duplicati.CommandLine.BackendTester.exe can do an automated test, and will insist on a blank folder…

You can play with URL slashes with either one. You want forward, but leading and trailing count may vary.

Renci.SshNet.Common.SshException: Failure. exception #582 looks a bit similar, but hasn’t been solved.

If need be, a network capture might add info, but that’s not the sort of thing people are usually willing to do.

I keept the databases after the upgrade. The Backups to the other targets (externnal HDD, NAS) work fine, only the SSH Backup on a server in the internet is affected by this issue.

The export of the backup configuration was one of my first aproches to fix the problem. But does not work. But I haven’t tried it with the Comandline Export. Will do this later today. Also the BackendTester.

I also stumbled over Renci.SshNet.Common.SshException: Failure. exception #582 I had the same issue before, but the fix was to use the latest mono package from a PPA instead of the old on from the distro. But maye this is again the solution.

Here is the dpkg output:

$ sudo dpkg -s mono-complete | head
Package: mono-complete
Status: install ok installed
Priority: optional
Section: cli-mono
Installed-Size: 75
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: mono
Version: 6.8.0.105+dfsg-2
Depends: mono-runtime (= 6.8.0.105+dfsg-2), mono-runtime-sgen (= 6.8.0.105+dfsg-2), libmono-2.0-1 (= 6.8.0.105+dfsg-2), libmono-profiler (= 6.8.0.105+dfsg-2), mono-utils (= 6.8.0.105+dfsg-2), mono-devel (= 6.8.0.105+dfsg-2), mono-mcs (= 6.8.0.105+dfsg-2), mono-csharp-shell (= 6.8.0.105+dfsg-2), mono-4.0-gac (= 6.8.0.105+dfsg-2), mono-4.0-service (= 6.8.0.105+dfsg-2), monodoc-base (= 6.8.0.105+dfsg-2), monodoc-manual (= 6.8.0.105+dfsg-2), libmono-cil-dev (= 6.8.0.105+dfsg-2), ca-certificates-mono (= 6.8.0.105+dfsg-2)

Hope this helps, will try the commandline export later today, maybe this brings a bit more info inside the issue.

Hi guys,
since last week I get the following error:

Renci.SshNet.Common.SshException: Failure at Duplicati.Library.Main.BackendManager.Delete (System.String remotename, System.Int64 size, System.Boolean synchronous) [0x0005c] .

I’m using this mono package:

ackage: mono-complete
Status: install ok installed
Priority: optional
Section: cli-mono
Installed-Size: 75
Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com
Architecture: amd64
Source: mono
Version: 6.8.0.105+dfsg-2
Depends: mono-runtime (= 6.8.0.105+dfsg-2), mono-runtime-sgen (= 6.8.0.105+dfsg-2), libmono-2.0-1 (= 6.8.0.105+dfsg-2), libmono-profiler (= 6.8.0.105+dfsg-2), mono-utils (= 6.8.0.105+dfsg-2), mono-devel (= 6.8.0.105+dfsg-2), mono-mcs (= 6.8.0.105+dfsg-2), mono-csharp-shell (= 6.8.0.105+dfsg-2), mono-4.0-gac (= 6.8.0.105+dfsg-2), mono-4.0-service (= 6.8.0.105+dfsg-2), monodoc-base (= 6.8.0.105+dfsg-2), monodoc-manual (= 6.8.0.105+dfsg-2), libmono-cil-dev (= 6.8.0.105+dfsg-2), ca-certificates-mono (= 6.8.0.105+dfsg-2)

How can I solve it?

Welcome to the forum @nesar77

How long has the backup been running well, and what retention do you have on the Options screen?

When do you get it (one guess would be after backup itself), and what else is working or not working?
The easiest place to see where you are is the status bar, however it might require too much watching.

Looking at live log at About → Show log → Live → Retry would show destination actions, and retries if operation fails. It looks like something couldn’t be deleted. Any special protection on the SFTP server?

If you like, make an empty folder on the server to test with Duplicati.CommandLine.BackendTester.exe. Export As Command-line can give you a URL to edit for empty folder. Do you know what the server is?

EDIT:

I’m not certain your system knows how to run .exe files that are actually .NET assemblies. If not, type
mono before the program path. The programs are probably installed in /usr/lib/dupicati. The main programs have shell script convenience wrappers in /usr/bin, but the smaller utility programs do not.

Only because you mentioned updating to a new distro, I’m forced to wonder if this couldn’t be caused by a dependency to some part of the “SSH server” which stopped being included by default with many recent Ubuntu distros (LM20 included). There is an SSH client but the server component isn’t installed by default anymore.

I could almost see this sliding under the carpet from a reporting perspective. Not sure how big the Linux base is here but I would expect that many Linux admins would get a SSH server setup and running (default install or not) as soon as they have access to a terminal, well before trying to install and setup Duplicati and as such, may never encounter the error.

“sudo apt install -y openssh-server” <should install the OpenSSH server in most Ubuntu distros.