Release: 2.0.7.1 (beta) 2023-05-25

2.0.7.1-2.0.7.1_beta_2023-05-25

After almost 2 years, a new Beta has taken its time, but it’s finally
there. It’s a roll-up of all the fixes since the last beta build and is
expected to cause very few issues when upgrading. This release is almost
identical to Canary 106.

It involves a better UI for dark mode, better support for Dropbox,
Jottacloud, S3, Tencent backends, add IDrive backend, TLS modernization,
bug fixes, upgrades to libraries.

Points of attention:

  • database upgrade from 11 to 12: Downgrade from this version requires
    manually adjusting the version
    number in the database. The additions can be re-applied if the database is
    upgraded again later.
9 Likes

I guess this is not intended, just to keep you updated:
Rpm package is not signed!

Anyway, THANK YOU ALL!

1 Like

Is there a changelog?

1 Like

The detailed changes since last Beta (or basically anytime) are available at:

https://github.com/duplicati/duplicati/blob/master/changelog.txt and also at

About → Changelog on GUI system, or Duplicati.CommandLine changelog.

I’m getting an error trying to run a restore.

Failed to load assembly C:\Program Files\Duplicati 2\Xamarin.Mac.dll, error message: Non-abstract, non-.cctor method in an interface.

Further to my previous post, I just removed Duplicati as a service, pointed to the same database (moved to user folder), ran Duplicati as an application and restore worked fine. Therefore, it seems that the Xamarin.Mac.dll error relates to running it as a service.

(Windows 11 install)

thanks for the report, it’s true that I never thought of testing specifically as a service. I’ll try to check what happens tomorrow.

@mackayr8

You will have to be more explicit as to what you are doing exactly, I created a test backup on a WIn11 VM with the SFTP backend, used it for a few files, tried to restore 1 of them into a different directory: success. Deleted them from the original directory, tried to restore them in place: success. In short, I can’t repro from your description.

Edit: on second thought, I just noticed that Alternate FTP was missing from my install on this Win11 VM. The FluentFTP.dll file is just missing. However, having installed the same beta on a Win10 VM, the very same dll is present, it’s not a problem with the release. So your problem may be related to some newfangled ‘security’ feature of Win11, corrupting files and messing with everything it can. Try to disable all you can of ‘smart’ features of Win11 and install again. I have uninstalled everything in the Win11 VM, removed the service manually and installed again the same .msi for Duplicati 2.0.7 beta and the Alternate FTP backend was back on the menu. Maybe a hardware failure, maybe a Win11 mess.

Was this fresh install or autoupdate of old one? If old install, was it prior Beta 2.0.6.3?
Was service ever restarted, or system restarted, before switching to non-service use?

I usually run as a freshly installed application, but successfully added Win 10 service.
Rather than test all possible paths, I’d rather test a sequence matching what you ran.

These two things only show you the change log up to the version that’s currently installed on the computer you’re running it on. It does not show the latest information that (duplicati/changelog.txt at master · duplicati/duplicati · GitHub) shows.

Good point. It’s from the install folder, so if you need a preinstall view, you need to go to the source.
https://github.com/duplicati/duplicati/releases also gives the view, but it’s more broken into releases.
One can also look right here in the Releases category, but that’s not chronological so gets harder…

I have seen it ! however you are calling an error message a log message appearing at the ‘explicit’ level. In other words, it is not an error.

I’m not sure where I started, but I was using Canary for a long time as a service. Backing up to Wasabi (S3 compatable). I was recently trying to restore a few files, and found I was waiting a LONG time for the restore to list files from database. Thinking something might be wrong with my backup, I checked for updates to see if that might fix my problem. I upgraded to 2.0.7.1, to no avail. At that point, I noticed the Xamarin message referenced above, so I figured it might be helpful in troubleshooting. Either it appeared in 2.0.7.1, or it was there before, but I didn’t notice it. If it’s a log message and not an error, it seems confusing to have the string “error message” in the line.

Is there a reason I wouldn’t be able to run restores when running Duplicati as a service, but can restore properly when running as an application? I’m even using the same database, so it’s not a database corruption. I’ll try to switch back to a service and test. It seems that when running as an application, it doesn’t properly deal with files that are in use (ie. throws an error). I’ll let you know what I find.

Thanks!

I see the message with Duplicati launched as an application.
Your problems are confusing. You say first that you are waiting a long time (how long is long ? 10s ? 10’ ? 10h ?) but don’t say that it does not work. Then you say that it does not work as a service. Then you say that when running as an application it does not work because files are in use (that’s pretty much to be expected., backing up in use files is done with snapshots that are supported only when run as system / administrator).
For the record if Duplicati has a delay before displaying a file version in a restore operation, I see no reason for the delay to be different between running as a service and as an application. Delays are happening when there is a lot of files in the accessed directory, because the query is not well optimized.

Edit: you can remove the ‘error’ message by deleting/moving elsewhere the Dll. It is not used on Windows.

What is the procedure to update in debian 11 ? I have the old version. Just follow a normal installation ?

Do you use GUI or command line? Either one should be notifying you by now, and offering this update.
If it doesn’t, then I guess you can do it by hand, but that’s less convenient than letting autoupdate do it.
For Docker users, I think the preferred practice is to update the whole container to the updated version.

I recently inherited IT duties and an attempt at updating duplicati from 2.0.6.3 to 2.0.7.1 on CENTOS-7 resulted in:

ERROR You need to update rpm to handle: rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by duplicati…

Other blogs I’ve read indicate that RPM wasn’t the problem rather the package wasn’t intended for RH. What should I do?

sigh. The problem is that with new Fedora versions, default compression is changing to newer shining methods and to actually keep compression methods that are compatible with old bangers like Centos 7, it’s necessary to change the existing .spec files. This was signaled for apt format, but never for rpm, so the spec file was not upgraded for Duplicati.

You can rebuild the rpm following the wisdom fount here:

the following changes should do:

%define _source_payload w1.gzdio
%define _binary_payload w1.gzdio

I was able to complete the build under Fedora 38 and install the resulting rpm with rpm -ivh --nodeps
I could start the server with duplicati-server and it does not crash immediately, and duplicati-cli display the default help. I did not test further.
Hope this helps.

It’d be worth figuring out how you managed to be on 2.0.6.3. Maybe it was with Duplicati autoupdater.
About → System info will show the BaseVersionName which would have been an installation by RPM.
ServerVersionName could be different, e.g. if someone did About and clicked Check for updates now.
Duplicati autoupdater doesn’t use RPM, so isn’t bothered by Red Hat’s evolving compression choices.

Getting information about your setup
Updating Duplicati

Usually Duplicati is quite noisy about leading you to updates. Are you on CLI? That might be quieter…
Duplicati.Library.AutoUpdater.exe would be the CLI updater. Run it as whatever user Duplicati is using.

Thank you. I’m going to attempt a rebuild of the RPM but at this point it might be easier for the long haul if I just move these five servers to Ubuntu… Another can of worms altogether.