I would like to move on a new beta release, but I think we have some lingering issues with the current canary build.
@JonMikelV : do you have an overview of what issues we need to address?
I think the performance issues were fixed, but I am not sure.
New list with the checkbox plugin:
Processing files which are not in backup sources (only if --snapshot-policy is on)
Counting of size of file to go · Issue #3305 (as Pectojin suggested)
Skip-files-larger-than ignored (no default B, KB, MB, etc. size)
UNIQUE constraint failed with SIA (Support Request) [2.0.3.6] (resolved by downgrading, I also had this with SFTP)
Backup unusable: Duplicati tells me to repair, but repairing doesn’t work (getting a few of these missing files reported, including on my SFTP - I think it’s dlist files referencing deleted or empty dblocks so repair AFTER deleting all dlists seems to resolve it)
Metadata was reported as not changed, but still requires being added? (I’ve had this randomly happen starting with 2.0.3.6 but can’t seem to force it)
There’s also misc. non-canary stuff like:
Throttle translation is inversed in French
Linux “Failed to process metadata” errors on CIFS files related to xattr change
3 Likes
I would add this one to the list Counting of size of file to go · Issue #3305 · duplicati/duplicati · GitHub
It appears to just be cosmetic, but it’s pretty unsettling for users.
1 Like
I think there are some more, but at the moment the ones I can think of are:
There’s also misc. non-canary stuff like:
2 Likes
I believe the issue with slow database queries might still be unresolved? It appears that some of the queries may scale poorly with the size of the local database. See my later posts for more details.
Unfortunately, I am no longer able to replicate this issue as I have since modified my retention settings and trimmed my local database size from over 4GB to a few hundred MB. This has reduced my backup time from over 20 minutes to less than 4 minutes.
Thanks! I will use it as my “todo” list for now.
I have two minor things, that I will fix first, and the I will go on to this list.
2 Likes
Hi kenkendk,
The Throttle translation has been corrected in French and several hundreds other parts have been translated, please include them in the next beta release.
Cheers,
2 Likes
Yep, I have pulled translations for the languages and will include them!
I may have found a repeatable scenario to trigger this. It seems like whenever I do multiple database repair / rebuild tests around dindex / dlist failure scenarios I eventually run into the “Metadat awas reported as not changed, but still requires being added?” issue.
And it just so happens I triggered it on a test backup yesterday so I’ll let that sit as a test bed for when new version comes out.
I love the checkbox plugin!
Though I did notice I can change the checkboxes without editing the post and it appears it’s not a wiki…hopefully it’s only because of my access and not everybody can do it.
True. I cannot make any change to the check boxes, they are unclickable .
2 Likes
It looks like there are several users that are having 404 issues with 2.0.3.9 and the Google Cloud Storage backend:
The e-mail now is correct (with 2.0.3.8?), saying the backup is ok, but indeed tries to put files on GCS (Google Cloud Storage) and receive errors.
Operation Put with file duplicati-bf33e810347ea4a39a5b4a6d979c35ac3.dblock.zip attempt 5 of 5 failed with message: The remote server returned an error: (404) Not Found.
It tries to store the data but receive errors from the server. And doesn’t store anything!
I realize only today, looking in the bucket of GCS, and I have seen that there were no …
opened 07:56PM - 30 Jul 18 UTC
closed 02:45PM - 30 Aug 18 UTC
- [x] I have searched open and closed issues for duplicates.
----------------… ------------------------
## Environment info
- **Duplicati version**: 2.0.3.9
- **Operating system**: Windows 10
- **Backend**: Google Cloud Storage
## Description
All backups to the Google Cloud Storage are failing. Tried to reinstall and recreate all backups. Saving backups to a local folder is working. When choosing Google Cloud Storage as a backend, the backup fails after some seconds of scanning the files.
## Debug log
`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.<<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__10`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 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, Action`1 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.<<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__10`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 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__10`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()<---
---> (Inner Exception #1) System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at Duplicati.Library.Main.Operation.Common.BackendHandler.<DoWithRetry>d__21`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.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__10`1.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Net.WebException: The remote server returned an error: (404) Not Found.
at Duplicati.Library.Main.Operation.Common.BackendHandler.<DoWithRetry>d__21`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.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__10`1.MoveNext()<---
<---
---> (Inner Exception #2) System.AggregateException: One or more errors occurred. ---> System.Exception: Unable to find log in lookup table, this may be caused by attempting to transport call contexts between AppDomains (eg. with remoting calls)
at Duplicati.Library.Logging.Log.get_CurrentScope()
at Duplicati.Library.Logging.Log.WriteMessage(LogMessageType type, String tag, String id, Exception ex, String message, Object[] arguments)
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c.<Run>b__1_3(String rootpath, String errorpath, Exception ex)
at Duplicati.Library.Utility.Utility.<EnumerateFileSystemEntries>d__23.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<ExpandWorkList>d__4.MoveNext()
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c__DisplayClass1_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__10`1.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Exception: Unable to find log in lookup table, this may be caused by attempting to transport call contexts between AppDomains (eg. with remoting calls)
at Duplicati.Library.Logging.Log.get_CurrentScope()
at Duplicati.Library.Logging.Log.WriteMessage(LogMessageType type, String tag, String id, Exception ex, String message, Object[] arguments)
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c.<Run>b__1_3(String rootpath, String errorpath, Exception ex)
at Duplicati.Library.Utility.Utility.<EnumerateFileSystemEntries>d__23.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<ExpandWorkList>d__4.MoveNext()
at Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess.<>c__DisplayClass1_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__10`1.MoveNext()<---
<---
`
I am able to replicate this, and have a potential fix (it was a bit difficult to bisect, since many of the commits do not build). I’ll test some more and submit a pull request if things look good.
edit: pull request submitted…
duplicati:master
← warwickmm:bugfix/google_cloud_url
opened 05:50AM - 25 Aug 18 UTC
This fixes an issue where Google Cloud Storage users encountered the following e… xception:
`System.Net.WebException: The remote server returned an error: (404) Not Found.`
The refactoring in revision 18de687530 ("Updated Put and Createfolder using WebApi") omitted the `/o` in the endpoint for object uploads.
This addresses issue #3328.
Tapio
August 25, 2018, 1:23pm
11
Latest Canaries are not fun to use. Disk2disk backup, many files and >1TB with just some small MB of change, takes now hours instead of <10 minutes. Despite rebuild of database and use of check-filetime-only. Duplicati reads whole file contents (I see a permanent IO of >80MByte/s) which is terrible, because effectively I cannot run this backup any more since May.
Also, but this is probably not a problem, 10000s of warnings (# of files).
ts678
August 25, 2018, 4:10pm
12
Hi @Tapio
–check-filetime-only for canary from the big 2.0.3.6 rewrite through 2.0.3.9 can cause warnings and slowdowns.
The “Metadata” topic above describes how the option regressed, and has speed comparisions with and without.
2.0.3.6 was Apr 23. Any May problem might have come from 2.0.3.6 picking up an existing --check-filetime-only.
Removal might not fix every performance or read rate worry. I’m just giving a specific workaround that may help.
Tapio
August 27, 2018, 11:47am
13
Thanks. Yeah, I remove the checkfiletime flag and it still reads my whole contents. Backing up my few MBytes will maybe take 5 hrs now. This time I will try to let it finish the process, maybe on next backup it will not read everything again then.
Ok. There are now three open issues left on the list, and I think the snapshot issue is causing the UNIQUE constraint
issue.
I think the snapshot issue is fixed, but I was never able to reproduce locally, so it may still lurk. If I am correct, this means we only have the “repair does not work” issue left.
I have some ideas for how we can make the repair process more robust, but it will take some rewriting to complete. I propose that we make a new canary with the fixes already in there, and then make the “repair does not work” issue the top priority for the next release. And we get some feedback on the snapshot issue.
1 Like
Sounds like a great plan (full disclosure, I was thinking of proposing the same thing).
Thanks for all the effort to get these initial items resolved!
Great fixes!
Rolling update to one server/day to confirm that all nasty bugs are gone especially this one Processing files which are not in backup sources · Issue #3307 · duplicati/duplicati · GitHub
1 Like
I think this is also somewhat important:
I have searched open and closed issues for duplicates.
Environment info
Duplicati version: Latest
Operating system: Windows 10
Backend: Azure (for now)
Description
It doesn't always happen,...
bug
local database issue
reproduced
This thread is a bit stale - can you confirm what canary version you’re seeing this on and I’ll look at starting a new topic.
All of them since 2.0.3.6, will test again on latest just to be sure
Edit: I was already testing on 2.0.4.4 without having realized