Domoticz won't start after latest beta

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Dave21w
Posts: 361
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Domoticz won't start after latest beta

Post by Dave21w »

Domoticz fails after update despite saying OK

pi@Domoticz:~/domoticz $ sudo ./updatebeta
Stopping Domoticz...
Making backup of current installation...
Output file: backups/domoticz_backup_20240404_140645.tar.gz
Backup finished...
Downloading latest beta version...
Checking file integrity...
Installing new version...
................................
Starting Domoticz... (please standby...)
Done...
pi@Domoticz:~/domoticz $

Web page not available and get this after query.

pi@Domoticz:~ $ systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Thu 2024-04-04 14:07:11 BST; 2min 30s ago
Docs: man:systemd-sysv-generator(8)
Process: 3312 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CPU: 128ms

Apr 04 14:07:11 Domoticz systemd[1]: Starting domoticz.service - LSB: Home Automation System...
Apr 04 14:07:11 Domoticz domoticz.sh[3312]: Time synchronized, starting Domoticz...
Apr 04 14:07:11 Domoticz domoticz.sh[3320]: /home/pi/domoticz/domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Apr 04 14:07:11 Domoticz systemd[1]: Started domoticz.service - LSB: Home Automation System.
pi@Domoticz:~ $

Changed nothing since my last beta update to 15910

Running Bookworm x64 on rpi 3b

Any help appreciated
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domoticz won't start after latest beta

Post by waltervl »

It surprisingly worked for bookworm already for the previous update. Domoticz needs libssl1 but it is not available on bookworm.

So you have to install it manually to get Domoticz working again or switch to the docker version of Domoticz to get rid of this libssl1 obligation.
See for example https://www.domoticz.com/forum/viewtopic.php?p=315488
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 361
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: Domoticz won't start after latest beta

Post by Dave21w »

I did read about that but as it was working previously I discounted it - Duh!
Anyway I have fixed it but not by installing libssl1 although I will be doing that now.
Here is what I did but I don't know why it worked given what I know now, first I renamed my domoticz folder to some thing different then created a new domoticz folder and extracted the complete backup that gets done before an update into that folder - that also didn't work so i renamed that folder as well then did a complete fresh domoticz install from cmd line, once completed I copied the contents of the restored backup over top of anything in that folder and then it was fine - very weird.
Given what you have told me the even more strange thing is that during the install I definitely remember the script checking for libssl1 and it saying it present and OK. I certainly haven't installed it manually since my bookworm install, this is only my test pi so any issues are not a major problem but thanks for your response @waltervl

Edit - quick update.
So I tried
sudo apt install libssl1.1
and it says already installed so this just confuses me more, I didn't install it and as it is present it also doesn't explain why it failed in the first place.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domoticz won't start after latest beta

Post by waltervl »

In the install script there is now an libssl1 install action so it will update the system during install. This action should not be needed on updates.
If I google on this it is not the best solution to do but it seems to do the trick for now.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest