Page 1 of 1

[SOLVED] Domoticz error after update

Posted: Tuesday 06 May 2025 17:33
by jimbou
Hello,

I had been enjoying domoticz for several months.

Yesterday evening, domoticz informed me of the availability of a new version, and asked me if I wanted to update.

I said yes. I have automated backup and I new I could go back to the previous ~/domoticz folder if needed.

It took a while, and it ended with a message that download had failed.

I am not sure the message was correct. The update occured, as I can see with the date of the domoticz executable file under ~/domoticz. But now, it is impossible to start domoticz. If I enter ./domoticz while in the ~/domoticz folder, I am told that "./domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory".

I restored the ~/domoticz folder at its pre-update content. First using my backup, and then using the tar file in ~/domoticz/backup. But I still get the same error message.

I installed the libssl-dev package, but no improvement.

Many thanks for any thought. I have customized pages, scripts and so on, and I would like to avoid re-installing domoticz and re-configuring everything.

Re: Domoticz error after update

Posted: Tuesday 06 May 2025 19:48
by waltervl
There is also a complete backup made just before installing the new version. See the wiki how to restore that backup: https://wiki.domoticz.com/Linux#Revert_ ... ect_update


It is a little bit strange you get libssl1.1 issues as those are OS files and you probably did not execute an OS update (I hope) and for the old version you also need those files.

Re: Domoticz error after update

Posted: Wednesday 07 May 2025 21:10
by jimbou
Well, actually, I ended running the apt upgrade command.

But it is not the origin of the problem, I run it because I was trying to find a solution to the problem. The problem existed before the upgrade.

Re: Domoticz error after update

Posted: Wednesday 07 May 2025 23:22
by waltervl
But did you now try to restore Domoticz from the backup that was made during Domoticz update?
And did that work out?

Re: Domoticz error after update

Posted: Thursday 08 May 2025 7:25
by jimbou
Yes, I tried this, too. Still with the same result.

Re: Domoticz error after update

Posted: Thursday 08 May 2025 7:40
by jimbou
Solved ! I entered the install instruction sudo bash -c "$(curl -sSfL https://install.domoticz.com)".

When asked whether I wanted to update the existing installation of domoticz, or install a new one, I chose update.

And done deal ! I recovered my complete configuration.

But thanks for your help, waltervl.