Duplicati stopped working 3 days after upgrading to Ubuntu 22.04

My Duplicati stopped creating backups 3 days after upgrading from Ubuntu 20.04 LTS to Ubuntu 22.04.
I read the thread Baaahhh... authentication failing after upgrading ubuntu which indicates that Duplicati stops working when upgrading to Ubuntu 22.04. But in that case why did it work for 3 days AFTER upgrading from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS?

Sorry, I forgot to mention that when I login to Duplicati in my browser on http://localhost:8200/ngax/index.html and try running a backup manually I get this error:

" Error while running Lenovo-Ubuntu

EVP_MD_size assembly: type: member:(null) "

Oops - I should also mention that I just updated to Duplicati - 2.0.6.3_beta_2021-06-17

I’ve been using Ubuntu 22.04 since it came out, so five months or so. Duplicati 2.0.6.3_beta was running fine every day until the most recent kernel update & reboot (Sep 7). I suspect one of the ssl libraries got updated along the way and the 15 month old beta can’t cope

Here is the search for this error message:

fixed in this thread by installing openssl 1.1.1 libraries.

One guess would be that you didn’t clean up libssl1.1 immediately. IIRC it was a late GUI request.
On purpose, I didn’t agree to it for awhile, as I wasn’t sure if I preferred trouble or avoiding trouble.
Ordinary users prefer the latter, but sometimes for debugging reasons, one tries to invite trouble…
Regarding debug, this probably needs a skilled volunteer who can debug on Linux. That’s not me.

There might be a better way, but here’s some upgrade and delete history in my /var/log/dpkg.log*:

2022-07-03 23:06:18 install libssl3:amd64 <none> 3.0.2-0ubuntu1.5
2022-07-03 23:06:18 status half-installed libssl3:amd64 3.0.2-0ubuntu1.5
2022-07-03 23:06:18 status unpacked libssl3:amd64 3.0.2-0ubuntu1.5
2022-07-03 23:06:18 configure libssl3:amd64 3.0.2-0ubuntu1.5 <none>
2022-07-03 23:06:18 status unpacked libssl3:amd64 3.0.2-0ubuntu1.5
2022-07-03 23:06:18 status half-configured libssl3:amd64 3.0.2-0ubuntu1.5
2022-07-03 23:06:20 status installed libssl3:amd64 3.0.2-0ubuntu1.5
2022-08-02 14:37:39 status installed libssl1.1:amd64 1.1.1l-1ubuntu1.5
2022-08-02 14:37:39 remove libssl1.1:amd64 1.1.1l-1ubuntu1.5 <none>
2022-08-02 14:37:39 status half-configured libssl1.1:amd64 1.1.1l-1ubuntu1.5
2022-08-02 14:37:39 status half-installed libssl1.1:amd64 1.1.1l-1ubuntu1.5
2022-08-02 14:37:39 status config-files libssl1.1:amd64 1.1.1l-1ubuntu1.5
2022-08-02 14:38:08 purge libssl1.1:amd64 1.1.1l-1ubuntu1.5 <none>
2022-08-02 14:38:08 status config-files libssl1.1:amd64 1.1.1l-1ubuntu1.5
2022-08-02 14:38:09 status not-installed libssl1.1:amd64 <none>

We know that 22.04 adds libssl3 and thinks it has no need for libssl1.1. Unfortunately Duplicati does.
In my case it probably wasn’t my July 3 install libssl3 that caused trouble, but Aug 2 remove libssl1.1
I haven’t done enough testing to be sure, but I encourage you to look into your remove libssl1.1 date.

Yes! Installing ssl1.1 with the following instructions and restarting Ubuntu 22.04 solved it:

Now I can start a manual backup (and I presume also the automatic). :slight_smile:

2 Likes

Not sure if it’s in good form to chain onto a issue with “Solution”, but now getting the error on Archlinux with Openssl-3.0.7-2 after update from Openssl-1.1.1.q-1.

Are you igotitnow on GitHub? If so, you’ve seen a reply there. For others, the main Issue for this is

where workarounds collect. How to get beyond workarounds isn’t clear. Developer-volunteers can see:

which is my suspect for what needs work, even if it’s just to go to the slow managed code without error.
Duplicati only exists and improves thanks to volunteers who contribute to code, docs, test, and support.

1 Like

You can try my solution here on github: This should ensure openssl3-support for FasterHashing.
++umgfoin.

I am. Plan to work on it this weekend, thanks!

As I noted on GitHub, direct drop in replacement of FasterHashing.dll is working.

Anyone else notice that this FasterHashing.dll stopped working in the past week on Ubuntu 22.04? I applied updates and rebooted this week and it’s broken again. I noticed that my FasterHashing.dll didn’t exactly match the one at FasterHashing/NET-Dlls.release at _OPENSSL3_LIBRESSL · umgfoin/FasterHashing · GitHub

My openssl install is:
libssl3/jammy-security,jammy-updates,now 3.0.2-0ubuntu1.9 amd64 [installed,automatic]