Update recommendation

I have used the version “2.0.8.1_beta_2024-05-07” probably since its release. The update check has never told me there are any new versions, but I now realize there are.

Can I safely update from that version to the latest version, or is there something I should consider before doing that? And which is the “latest version” that I should install? I’m on Windows 11 and I connect to IDrive e2.

Hi @GuruGurra and welcome to the forum.

Is it possible that you have set the update check to follow the “Stable” channel? In that case we are still lagging a bit behind on getting an actual stable release out.

It is generally safe to update, and the process is meant to be seamless with no manual steps required. This update is slightly special in that it adds a mandatory API password. If you are not using Duplicati with the TrayIcon launcher, you need to set up a password (if you have not already).

In case you need to downgrade, the process is described here:

The “already” must be 2.0.9.103 Canary or later, I assume.
Securing the database and password

Is what I’d expect a typical 2.0.8.1 user to have on Settings screen.
2.0.8.1 has no option to select Stable channel, so issue is puzzling.

The Windows service may need reinstall if it points to an old update.

Is there an official policy on stopping things before doing an update?

You could see if About → Show log → Stored says the below (normal for me, as I block it):

Error in updater

Click to see detail.

No, I meant generally. You have been able to set an API password many versions back, I would think almost back to 2.0.0.0. The 2.0.9.103+ updates will continue to use the password if present. Only if there is no password will a random one be generated.

True. @GuruGurra can you try to manually check for an update and see what you get in the logs?

I would always advise stopping Duplicati (or any software) before doing an update. In most cases the updater can work despite a running instance or will attempt to stop it during the update, but a manual shutdown is usually safer.

I think this is what I get in the log when doing a manual check:

13 dec 2024 08:42: Failed to load assembly C:\ProgramData\Duplicati\updates\2.0.8.1\Xamarin.Mac.dll, error message: Non-abstract, non-.cctor method in an interface.
{“ClassName”:“System.TypeLoadException”,“Message”:“Non-abstract, non-.cctor method in an interface.”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)\r\n at System.Reflection.RuntimeAssembly.GetExportedTypes()\r\n at Duplicati.Library.DynamicLoader.DynamicLoader`1.FindInterfaceImplementors(String additionalfolders)",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:“8\nGetExportedTypes\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Reflection.RuntimeAssembly\nVoid GetExportedTypes(System.Reflection.RuntimeAssembly, System.Runtime.CompilerServices.ObjectHandleOnStack)”,“HResult”:-2146233054,“Source”:“mscorlib”,“WatsonBuckets”:null,“TypeLoadClassName”:“CallKit.ICXCallObserverDelegate”,“TypeLoadAssemblyName”:“Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065”,“TypeLoadMessageArg”:null,“TypeLoadResourceID”:8208}

That seems strangely unrelated. Do you see that on each update check?

No, I seem to get 4 such log entries each time I update the log page (?)
Am I looking in the right place? I go to About - Show Log.

  • When “Stored” is selected, I only get old log entries, and there is nothing new related to the update check.
  • When “Live” is selected and I select “Verbose” I only get normal backup log entries.
  • When “Live” is selected and I select “ExplicitOnly” I get the log entries above.

Where I look, I cannot find any log entries related to the update check.

I tested a little-used old 2.0.8.1 Windows 10 system, and it doesn’t report the new Beta.

When I first started Duplicati (it’s been awhile), it put a popup at bottom for 2.0.7.1 Beta.

I dismissed that as leftover noise, ran About → Check for updates now. No new release.

Nothing in About → Show log → Stored. Thinking maybe CLI would see better, tried this:

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater
Usage:
        Duplicati.Library.AutoUpdater.exe [LIST|VERIFY|CHECK|INSTALL|HELP]

Environment variables:

AUTOUPDATER_Duplicati_SKIP_UPDATE - Disables updates completely
AUTOUPDATER_Duplicati_POLICY - Choose how to handle updates, valid settings: CheckBefore, CheckDuring, CheckAfter, InstallBefore, InstallDuring, InstallAfter, Never
AUTOUPDATER_Duplicati_URLS - Use alternate updates urls
AUTOUPDATER_Duplicati_CHANNEL - Choose different channel than the default Beta, valid settings: Stable,Beta,Experimental,Canary,Nightly,Debug

Updates are downloaded from: https://updates.duplicati.com/beta/latest.manifest;https://alt.updates.duplicati.com/beta/latest.manifest
Updates are installed in: C:\ProgramData\Duplicati\updates
The base version is "2.0.8.1_beta_2024-05-07" (2.0.8.1) and is installed in: C:\Program Files\Duplicati 2
This version is "2.0.8.1_beta_2024-05-07" (2.0.8.1) and is installed in: C:\Program Files\Duplicati 2

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater check
No updates found

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater list
 - 2.0.6.3_beta_2021-06-17 (2.0.6.3)
 * 2.0.8.1_beta_2024-05-07 (2.0.8.1)

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater verify
Error detected: System.Exception: Found unexpected file: C:\ProgramData\Duplicati\updates\2.0.6.3\updates\
   at Duplicati.Library.AutoUpdater.UpdaterManager.VerifyUnpackedFolder(String folder, UpdateInfo version)
 - 2.0.6.3_beta_2021-06-17 (2.0.6.3): *** Modified ***
 * 2.0.8.1_beta_2024-05-07 (2.0.8.1): Valid

C:\Program Files\Duplicati 2>

Both latest.manifest files (downloaded manually in browser) appear to be 2.1.0.2 Beta.

I just checked and while they are both showing the right version, they are also stating:

"ReleaseType":"Experimental"

I think this is the cause of the missing update notification, because the updater will reject it if it is not beta or stable (on the beta channel).

EDIT: I have now uploaded a new manifest that has the correct “ReleaseType” field.

Working now on CLI and GUI manual check. I think automatics are intentionally spread out.

C:\Program Files\Duplicati 2>Duplicati.Library.AutoUpdater check
New version is available: Duplicati v2.1.0.2

C:\Program Files\Duplicati 2>

image

image

1 Like