Error updating to version 2.0.2.13

I’m trying to update from version 2.0.2.12 to 2.0.2.13, and getting an error:

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe list
 - 2.0.2.10_canary_2017-10-11 (2.0.2.10)
 * 2.0.2.12_canary_2017-10-20 (2.0.2.12)
 - 2.0.2.9_canary_2017-10-01 (2.0.2.9)

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe check
New version is available: 2.0.2.13_canary_2017-11-22

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe install
Downloading update "2.0.2.13_canary_2017-11-22" ...
Downloading 5% ...

Downloading 100% ...
Error detected: System.Exception: Folder C:\Users\Ednilsom.SETIS\AppData\Local\Temp\7912c303-f426-4906-b742-250cafcd8e6c\ is missing webroot\ and 321 other file(s)
   at Duplicati.Library.AutoUpdater.UpdaterManager.VerifyUnpackedFolder(String folder, UpdateInfo version)
Error detected: System.Exception: Unable to verify unpacked folder for url: https://updates.duplicati.com/canary/duplicati-2.0.2.13_canary_2017-11-22.zip
   at Duplicati.Library.AutoUpdater.UpdaterManager.DownloadAndUnpackUpdate(UpdateInfo version, Action`1 progress)
Error detected: System.Net.WebException: The remote name could not be resolved: 'alt.updates.duplicati.com'
   at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()
   at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse()
   at Duplicati.Library.AutoUpdater.UpdaterManager.DownloadAndUnpackUpdate(UpdateInfo version, Action`1 progress)
New version "2.0.2.13_canary_2017-11-22" installed!

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe list
 - 2.0.2.10_canary_2017-10-11 (2.0.2.10)
 * 2.0.2.12_canary_2017-10-20 (2.0.2.12)
 - 2.0.2.9_canary_2017-10-01 (2.0.2.9)

UPDATE:

Funny, I selected the option to update from the UI and it workted:

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe list
 - 2.0.2.10_canary_2017-10-11 (2.0.2.10)
 - 2.0.2.12_canary_2017-10-20 (2.0.2.12)
 * 2.0.2.13_canary_2017-11-22 (2.0.2.13)

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater.exe verify
 - 2.0.2.10_canary_2017-10-11 (2.0.2.10): Valid
 - 2.0.2.12_canary_2017-10-20 (2.0.2.12): Valid
 * 2.0.2.13_canary_2017-11-22 (2.0.2.13): Valid
1 Like

Glad to hear you got it working!

I forget exactly which versions were involved but it’s possible you updated between the ones where an change to the update process was implemented.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

That is because the update checker in older versions was broken. It skips checking webroot for speed reasons, but then fails because webroot is “missing”.

When running from the trayicon or server, it checks for webroot and there are no problems.

1 Like