I upgraded a Windows machine to this and renabled USN, set it to āonā, the scheduled backup ran and I receive this still:
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetPathRoot(String path) at Duplicati.Library.Snapshots.UsnJournalService.IsPathEnumerated(String path)
at Duplicati.Library.Main.Operation.BackupHandler.<>c__DisplayClass12_0.<RunMainOperation>b__2(String path, Int64 fileSize)
at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSetWithPredicate(IDbTransaction transaction, Func`3 exclusionPredicate, Int64 fileSetId, Int64 prevFileSetId, DateTime timestamp)
at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSetWithPredicate(IDbTransaction transaction, Func`3 exclusionPredicate) at Duplicati.Library.Main.Operation.Common.SingleRunner.<>c__DisplayClass3_0.<RunOnMain>b__0()
at Duplicati.Library.Main.Operation.Common.SingleRunner.<DoRunOnMain>d__2`1.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 stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 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, Action`1 method) at Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
Iāve checked and there are definitely no long names/paths, though it would be nice if the error gave me a hint as to where to look.
The updated version failed to automatically launch (as always), but other than that it appears to have gone smoothely. (For anyone else this happens to, just re-launch Duplicati manually).
[Windows 10]
If itās installed as a Windows Service, you might have to use Task Manager or Settings ā View local services, and if anyone on Windows wants to share their experience, see Activate downloaded upgrade sometimes fail.
Linux (Ubnuntu) upgrade from 2.0.3.11 worked (and restarted) fine with the following pre-existing exceptions:
If connected to GUI āShowā screen with a password window never refreshes (I think itās waiting, but not prompting, for a password) - manual reload of main page URL resolves this.
After update, still get prompted that update is available.
@kenkendk, it looks like there was a database version update from 5 to 6 in this release. Has anybody tested if itās possible to downgrade back to 2.0.3.11 yet?
Note that Iāve already updated this How-To on the assumption that a downgrade will NOT work:
After upgrading to the latest canary, I started receiving the following error on the OneDrive v2 (personal) backend (some information redacted for privacy):
Maybe it is just a temporary issue with OneDrive, but the onset of the error does seem to coincide with my installation of the update. I havenāt been able to complete a backup job to this backend since.
May be relevant: I currently use the OneDrive v2 backend because I have second factor authentication enabled on OneDrive (this did work seamlessly in the previous canary).
I just confirmed that downgrading from 2.0.3.12 -> 2.0.3.11 (on Windows 10) causes this error:
A serious error occurred in Duplicati: System.Exception: Failed to create, open or upgrade the database.
Error message:
The database has version 5 but the largest supported version is 4.
Putting 2.0.3.12 back in the updates folder got things running again.
It was stop after downloading. I just realized i had a very high async upload limit with not as much bandwidth, so it would normally take a long time to stop (donāt know why I did that). However, I left it stopping for over an hour and it changed back to regular uploading. When I forced stopped I got a warning next time I tried to upload. I promptly downgraded back to 2.0.3.3. Did the same procedure in 2.0.3.3 w/ same upload limit and everything was fine. It seems like this feature may be broken (could somebody test this)
P.S. Iām using the docker version and I also got the same bug with the upgrade dialog being shown after upgrade.