Restart Backup on Backblaze, Error: "C:\Users\...\Downloads\true" cannot be found

Hi,

I set up Backblaze Cloud Storage and started the backup. Apparently, I reached the default cap of 10 GB overnight and the loading of files to Backblaze stopped. I edited the cap restrictions to 5 USD per day in the account settings of Backblaze. I tried to restart the backup in Duplicati.

It says Error while running … Die Datei “C:\Users\JV\Downloads\true” konnte nicht gefunden werden. Translated it means “The file “C:\Users\JV\Downloads\true” could not be found”. I am wondering what C:\Users\JV\Downloads\true could be, because when I look into the Downloads folder there is no “true” entry and moreover I excluded the Downloads folder in the backup plan.

In the logs there nothing interesting, there are many lines like:
{“Name”:“duplicati-ifdfREDACTEDBYME.dindex.zip.aes”,“LastAccess”:“2021-06-27T00:39:51Z”,“LastModification”:“2021-06-27T00:39:51Z”,“Size”:93181,“IsFolder”:false}

Duplicati: Duplicati.GUI.TrayIcon, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null (Duplicati.Library.Main, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null)
Autoupdate urls: https://updates.duplicati.com/beta/latest.manifest;https://alt.updates.duplicati.com/beta/latest.manifest
Update folder: C:\ProgramData\Duplicati\updates
Base install folder: C:\Program Files\Duplicati 2
Version name: "2.0.6.3_beta_2021-06-17" (2.0.6.3)
Current Version folder C:\Program Files\Duplicati 2
OS: Microsoft Windows NT 10.0.19042.0
Uname: 
64bit: True (True)
Machinename: REDACTEDBYME
Processors: 8
.Net Version: 4.0.30319.42000
Mono: False (0.0) ()
Locale: de-DE, de-DE, de-DE
Date/time strings: dddd, d. MMMM yyyy - HH:mm:ss
Tempdir: C:\Users\JV\AppData\Local\Temp\
SQLite: 3.28.0 - System.Data.SQLite.SQLiteConnection
SQLite assembly: C:\Program Files\Duplicati 2\SQLite\win64\System.Data.SQLite.dll

Can you edit your backup job and look at the Source Data page… click the 3-dot menu on the right and click “show advanced editor”. See if that “true” folder is listed here.

No, the true folder is not listed there. Funny enough, it now says “The file “C:\Program Files\Duplicati 2\true” cannot be found” (New file location of “true”).

Puzzling!

We might need to watch the Live Log (About → Show Log → Live → set dropdown to Verbose). Leave a tab open on this Live Log, open a new tab to Duplicati, and start your backup. Then switch back to the Live Log tab.

This could be due to a malformed filter or other option. The below issue sound related

2 Likes

Good find - that does sound like the same issue.

Verbose says:

4. Jul. 2021 12:02: Die Operation Backup ist mit folgenden Fehler fehlgeschlagen: Die Datei “C:\Program Files\Duplicati 2\true” konnte nicht gefunden werden.

{"ClassName":"System.IO.FileNotFoundException","Message":"Die Datei \"C:\\Program Files\\Duplicati 2\\true\" konnte nicht gefunden werden.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n   bei Duplicati.Library.Main.Volumes.FilesetVolumeWriter.AddControlFile(String localfile, CompressionHint hint, String filename)\r\n   bei Duplicati.Library.Main.Operation.Backup.UploadSyntheticFilelist.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei Duplicati.Library.Main.Operation.Backup.UploadSyntheticFilelist.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei CoCoL.AutomationExtensions.<RunTask>d__10`1.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)\r\n   bei Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result)\r\n   bei Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)\r\n   bei Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)\r\n   bei Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nWinIOError\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=TOKEN_REDACTEDBYME\nSystem.IO.__Error\nVoid WinIOError(Int32, System.String)","HResult":-2147024894,"Source":"mscorlib","WatsonBuckets":null,"FileNotFound_FileName":"C:\\Program Files\\Duplicati 2\\true","FileNotFound_FusionLog":null}

4. Jul. 2021 12:02: Fatal error

{"ClassName":"System.IO.FileNotFoundException","Message":"Die Datei \"C:\\Program Files\\Duplicati 2\\true\" konnte nicht gefunden werden.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n   bei Duplicati.Library.Main.Volumes.FilesetVolumeWriter.AddControlFile(String localfile, CompressionHint hint, String filename)\r\n   bei Duplicati.Library.Main.Operation.Backup.UploadSyntheticFilelist.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei Duplicati.Library.Main.Operation.Backup.UploadSyntheticFilelist.<>c__DisplayClass1_0.<<Run>b__0>d.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei CoCoL.AutomationExtensions.<RunTask>d__10`1.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   bei CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)\r\n   bei Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result)\r\n   bei Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)\r\n   bei Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)\r\n   bei Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nWinIOError\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=TOKEN_REDACTEDBYME\nSystem.IO.__Error\nVoid WinIOError(Int32, System.String)","HResult":-2147024894,"Source":"mscorlib","WatsonBuckets":null,"FileNotFound_FileName":"C:\\Program Files\\Duplicati 2\\true","FileNotFound_FusionLog":null}

Duplicati.Library.Main.Volumes.FilesetVolumeWriter.AddControlFile means you might have:

in Advanced options. If you just selected control-files from dropdown menu, blank is interpreted as true.

If you do Export As Command-line you’ll probably see --control-files=true which interprets true as a pathname relative to the current directory, which is typically where Duplicati runs from, e.g. currently it’s at
C:\Program Files\Duplicati 2. The first error at C:\Users\JV\Downloads is possibly run-after-install.

Unless you want a control file, please try deleting that option, saving the configuration, and trying a backup.
A control file is an additional file that you want Duplicati to put in the dlist file uploaded at end of a backup. There’s generally no need to do that, but if you have to upload a control file, give its (usually absolute) path.

This would be exactly the error others have been thinking it is. You can also read the GitHub issue writeup.

I removed the option “control-files” and now backing up works. It would be helpful if the user would get a different error message.