"errors occurred" but none in log

My newly created backup fails as shown in this screenshot:

The entries I see don’t appear to represent errors. Also there are no errors in the "General " log.

This is the first time I am using a destination of type FTP, but the connection test during configuration was successful, so I don’t think that’s the issue.

Any suggestions?

To add…

  • Win 10
  • Duplicati - 2.0.4.5_beta_2018-11-28

I’m at a loss re what errors occurred. Is there somewhere else to look for them?

Hello @jabauer650 and welcome to the forum!

Sometimes errors wind up in the server log intead of the per-backup log, so check About --> Show log --> Stored, and if Stored has nothing then you can switch to Live at Error level to see if that shows something. Frequent errors might merit setting up a –log-file which at default level will log warnings, errors, and above. Reporting options can also do things like email warnings and errors. It might avoid the need to look around.

Thanks @ts678, server log has much more to go on, though i’m not sure what it means. Full log with a few NullReferenceExceptions below, with nothing i’m able to understand except perhaps…

—> (Inner Exception #1) System.AggregateException: One or more errors occurred. —> Duplicati.Library.Interface.FolderMissingException: The folder /folder1/Backups/Duplicati/LenovoT480ftp/duplicati-b864621a4b8b341bc9d9098f4f15a499d.dblock.zip was not found, message: The remote server returned an error: (550) File unavailable (e.g., file not found, no access). —>

I checked and there are no files at /folder1/Backups/Duplicati/LenovoT480ftp/.

Thanks for any further guidance.

Full server log from most recent run:

May 24, 2019 2:59 PM: Failed while executing “Backup” with id: 2
System.AggregateException: One or more errors occurred. —> System.AggregateException: Object reference not set to an instance of an object. —> System.NullReferenceException: Object reference not set to an instance of an object.
at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte data, Int32 offset, Int32 size, CompressionHint hint)
at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<b__0>d.MoveNext()
— 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 CoCoL.AutomationExtensions.d__101.MoveNext() --- 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 Duplicati.Library.Main.Operation.BackupHandler.<RunMainOperation>d__12.MoveNext() --- 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 Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() --- End of inner exception stack trace --- at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() --- End of inner exception stack trace --- at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task) at Duplicati.Library.Main.Controller.<>c__DisplayClass13_0.<Backup>b__0(BackupResults result) at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action1 method)
at Duplicati.Library.Main.Controller.Backup(String inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
—> (Inner Exception #0) System.AggregateException: Object reference not set to an instance of an object. —> System.NullReferenceException: Object reference not set to an instance of an object.
at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte data, Int32 offset, Int32 size, CompressionHint hint)
at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<b__0>d.MoveNext()
— 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 CoCoL.AutomationExtensions.d__101.MoveNext() --- 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 Duplicati.Library.Main.Operation.BackupHandler.<RunMainOperation>d__12.MoveNext() --- 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 Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() --- End of inner exception stack trace --- at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext() ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object. at Duplicati.Library.Main.Volumes.BlockVolumeWriter.AddBlock(String hash, Byte[] data, Int32 offset, Int32 size, CompressionHint hint) at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<<Run>b__0>d.MoveNext() --- 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 CoCoL.AutomationExtensions.<RunTask>d__101.MoveNext()
— 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 Duplicati.Library.Main.Operation.BackupHandler.d__12.MoveNext()
— 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 Duplicati.Library.Main.Operation.BackupHandler.d__19.MoveNext()<—

—> (Inner Exception #1) System.AggregateException: One or more errors occurred. —> Duplicati.Library.Interface.FolderMissingException: The folder /folder1/Backups/Duplicati/LenovoT480ftp/duplicati-b864621a4b8b341bc9d9098f4f15a499d.dblock.zip was not found, message: The remote server returned an error: (550) File unavailable (e.g., file not found, no access). —> System.Net.WebException: The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()
at Duplicati.Library.Utility.AsyncHttpRequest.GetRequestStream(Int64 contentlength)
at Duplicati.Library.Backend.FTP.Put(String remotename, Stream input)
— End of inner exception stack trace —
at Duplicati.Library.Main.Operation.Common.BackendHandler.d__211.MoveNext() --- 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 Duplicati.Library.Main.Operation.Common.BackendHandler.<>c__DisplayClass13_0.<<UploadFileAsync>b__1>d.MoveNext() --- 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 Duplicati.Library.Main.Operation.Common.BackendHandler.<UploadFileAsync>d__13.MoveNext() --- 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 Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass0_0.<<Run>b__0>d.MoveNext() --- 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 CoCoL.AutomationExtensions.<RunTask>d__101.MoveNext()
— End of inner exception stack trace —
—> (Inner Exception #0) Duplicati.Library.Interface.FolderMissingException: The folder /folder1/Backups/Duplicati/LenovoT480ftp/duplicati-b864621a4b8b341bc9d9098f4f15a499d.dblock.zip was not found, message: The remote server returned an error: (550) File unavailable (e.g., file not found, no access). —> System.Net.WebException: The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()
at Duplicati.Library.Utility.AsyncHttpRequest.GetRequestStream(Int64 contentlength)
at Duplicati.Library.Backend.FTP.Put(String remotename, Stream input)
— End of inner exception stack trace —
at Duplicati.Library.Main.Operation.Common.BackendHandler.d__211.MoveNext() --- 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 Duplicati.Library.Main.Operation.Common.BackendHandler.<>c__DisplayClass13_0.<<UploadFileAsync>b__1>d.MoveNext() --- 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 Duplicati.Library.Main.Operation.Common.BackendHandler.<UploadFileAsync>d__13.MoveNext() --- 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 Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass0_0.<<Run>b__0>d.MoveNext() --- 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 CoCoL.AutomationExtensions.<RunTask>d__101.MoveNext()<—
<—
<—

Even though the 550 was originally meant for file downloads, some servers seem to give it on uploads (which is what your stack trace looks like, e.g. at the Duplicati.Library.Backend.FTP.Put shown).

The test is pretty weak generally. It’s not an upload or download, but just a file list (which can be empty). Storage type FTP (Alternative) has an upload test because someone asked, so the author added it:

Feature request: Test write permissions on ‘FTP Test connection’ #2473

You can try reconfiguring to use FTP (Alternative), try the Test button with that, and also try your backup. There are many other FTP clients around too, and some FTP servers keep logs that may show issues. Duplicati.CommandLine.BackendTool.exe can also be an FTP client, if you need a Duplicati-style client.

Duplicati.CommandLine.BackendTester.exe can also give your server a workout. Give it an empty folder and point to it with something adapted from the Target URL field of the backup job’s GUI Commandline.

Thanks for all the tips. They helped me identify the original issue – my not providing ftp write access, which was easy to fix.

I’m now seeing diagnostics of the form, “too many connected users”. At this point, I’m starting to suspect that my FTP server, which is built into a TP-Link AC1900 router, may not be up to the task. Am now planning to attempt another kind of Duplicati destination, e.g. Google Drive.

1 Like