# Problem applying latest canary

**URL:** https://forum.duplicati.com/t/problem-applying-latest-canary/2145
**Category:** Installation
**Created:** [January 18, 2018, 8:23pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145 "2018-01-18T20:23:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![adhawkins](https://forum.duplicati.com/user_avatar/forum.duplicati.com/adhawkins/32/2900_2.png) [@adhawkins](https://forum.duplicati.com/u/adhawkins)
#### Post date: [January 18, 2018, 8:23pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/1 "2018-01-18T20:23:43Z")

</div>

This evening my installed Duplicati (2.0.2.14\_canary\_2017-12-22) has informed me there’s an update available (2.0.2.16\_canary\_2018-01-18).

However, when I try to install this from the web UI I get an error logged:

System.Exception: Damaged or corrupted file, sha256 mismatch for [https://updates.duplicati.com/canary/duplicati-2.0.2.16\_canary\_2018-01-18.zip](https://updates.duplicati.com/canary/duplicati-2.0.2.16_canary_2018-01-18.zip)  
at Duplicati.Library.AutoUpdater.UpdaterManager.DownloadAndUnpackUpdate (Duplicati.Library.AutoUpdater.UpdateInfo version, System.Action`1[T] progress) [0x0028d] in \<6577671552d646fcb8561de9c1978d41\>:0

Any suggestions?

Thanks

Andy

---

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [January 18, 2018, 9:45pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/2 "2018-01-18T21:45:52Z")

</div>

> [@adhawkins](#):
>
> Damaged or corrupted file, sha256 mismatch

That is a problem with the package. I “fixed” a problem with the AutoUpdate package builder today, and that introduced a broken SHA256 hash.

I will make a new build tomorrow with the SHA256 fixed.

---

<div class="post-metadata">

### Author: ![adhawkins](https://forum.duplicati.com/user_avatar/forum.duplicati.com/adhawkins/32/2900_2.png) [@adhawkins](https://forum.duplicati.com/u/adhawkins)
#### Post date: [January 18, 2018, 9:58pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/3 "2018-01-18T21:58:13Z")

</div>

Thanks for the response, at least I know it’s nothing on my end.

Will try again tomorrow.

Thanks again

Andy

---

<div class="post-metadata">

### Author: ![adhawkins](https://forum.duplicati.com/user_avatar/forum.duplicati.com/adhawkins/32/2900_2.png) [@adhawkins](https://forum.duplicati.com/u/adhawkins)
#### Post date: [January 21, 2018, 6:28pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/4 "2018-01-21T18:28:10Z")

</div>

Hi,

Just tried again, now getting this:

System.Net.WebException: Error: TrustFailure (One or more errors occurred.) —\> System.AggregateException: One or more errors occurred. —\> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. —\> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL\_internal:CERTIFICATE\_VERIFY\_FAILED  
at /build/mono-5.4.1.6/external/boringssl/ssl/handshake\_client.c:1132  
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00038] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003c] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream:ProcessHandshake (Mono.Net.Security.AsyncOperationStatus)  
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
at Mono.Net.Security.AsyncProtocolRequest+d\_\_24.MoveNext () [0x000ff] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
— End of stack trace from previous location where exception was thrown —  
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in \<62f5937022004555807e6c57c33f6684\>:0  
at Mono.Net.Security.AsyncProtocolRequest+d\_\_23.MoveNext () [0x0008b] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
— End of inner exception stack trace —  
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in \<62f5937022004555807e6c57c33f6684\>:0  
at Mono.Net.Security.MobileAuthenticatedStream+d\_\_47.MoveNext () [0x00254] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
— End of inner exception stack trace —  
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in \<62f5937022004555807e6c57c33f6684\>:0  
at System.Threading.Tasks.Task.Wait () [0x00000] in \<62f5937022004555807e6c57c33f6684\>:0  
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in \<50d80b08c1a5449282b22aedf03ce925\>:0  
— End of inner exception stack trace —  
at Duplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper.GetResponseOrStream () [0x0004d] in \<56b1245f594f44fe81bb104962d86e57\>:0  
at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse () [0x00044] in \<56b1245f594f44fe81bb104962d86e57\>:0  
at Duplicati.Library.AutoUpdater.UpdaterManager.DownloadAndUnpackUpdate (Duplicati.Library.AutoUpdater.UpdateInfo version, System.Action`1[T] progress) [0x0018b] in \<6577671552d646fcb8561de9c1978d41\>:0

Any suggestions?

Andy

---

<div class="post-metadata">

### Author: ![adhawkins](https://forum.duplicati.com/user_avatar/forum.duplicati.com/adhawkins/32/2900_2.png) [@adhawkins](https://forum.duplicati.com/u/adhawkins)
#### Post date: [January 21, 2018, 6:59pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/5 "2018-01-21T18:59:34Z")

</div>

Ah, just checked again and there’s a further log entry for a checksum mismatch. Seems like the update hasn’t been ‘updated’.

Andy

---

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [January 23, 2018, 4:07pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/6 "2018-01-23T16:07:50Z")

</div>

I have put up `2.0.2.17` today. We decided to put in some minor tweaks before rolling that one out, hence the delay.

---

<div class="post-metadata">

### Author: ![drakar2007](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drakar2007/32/230_2.png) [@drakar2007](https://forum.duplicati.com/u/drakar2007)
#### Post date: [January 23, 2018, 5:38pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/8 "2018-01-23T17:38:19Z")

</div>

I can confirm that this works, I just successfully ran the update. (It still doesn’t actually relaunch Duplicati after install, but as we’ve already discussed this is not a change from previous few versions).

In the changelog it mentions a new UI to expose the Retention Policy - but I can’t find anything new/different. Can you specify what this line item is referring to?

And a meta question: would it be possible to have an automated topic created for every release (canary/etc), with the changelog, to provide a place for us to discuss individual details without cluttering the forum with potentially unnecessary new topics?

Edit: if it’s ok with you, i’ve added a new topic for this canary build that captures about what I was thinking of, [over here](https://forum.duplicati.com/t/release-2-0-2-17-canary-2018-01-23/2194). Feel free to remove that if you’d rather post an ‘official’ version.

---

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [January 23, 2018, 8:17pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/9 "2018-01-23T20:17:58Z")

</div>

> [@drakar2007](#):
>
> In the changelog it mentions a new UI to expose the Retention Policy - but I can’t find anything new/different. Can you specify what this line item is referring to?

Yes, it is on the last step (5) when editing/adding a backup. In addition to being able to choose “keep-time” and “keep-versions”, there are now also a “smart retention” and “custom retention”, where “smart” is the same as using custom and typing in “1W:1D,4W:3D,1Y:1M”.

> [@drakar2007](#):
>
> And a meta question: would it be possible to have an automated topic created for every release (canary/etc), with the changelog, to provide a place for us to discuss individual details without cluttering the forum with potentially unnecessary new topics?

I assume you are referring to the “announcement” post. We do not intend to push one on each build, but our last “news” post was waaaay too long ago :).

I suppose we could have a “releases” section that curious people can subscribe to. I would need to look at the Discourse API to figure it out.

---

<div class="post-metadata">

### Author: ![adhawkins](https://forum.duplicati.com/user_avatar/forum.duplicati.com/adhawkins/32/2900_2.png) [@adhawkins](https://forum.duplicati.com/u/adhawkins)
#### Post date: [January 26, 2018, 10:56pm UTC](https://forum.duplicati.com/t/problem-applying-latest-canary/2145/10 "2018-01-26T22:56:00Z")

</div>

Updated successfully here too.

Thanks

Andy
