Page 1 of 1

Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Sunday 24 April 2022 23:32
by stig
I am trying to install Domoticz through SSH (using Putty) and when the installation 'welcome' dialog is shown (see attachment) it seems that it is not possible to press the 'OK' button.

I tried pressing the following input methods:
  • Tab: many times, no response
  • Enter: after many presses, it results in black lines being added at the bottom
  • Mouse: no response
None of the attempts above result in being able to select or press the 'ok' button. Only by pressing Ctrl+C I'm able to exit the dialog.

Since my first suspect was that it might be related to Putty, I tried other methods to connect through SSH (cygwin, and Ubutu WSL); they all show the same behaviour. In addition, I tried it directly on the PC by connecting a keyboard and monitor (instead of using SSH) and it also shows the same behaviour.
  • Linux version: Ubuntu-Server 22.04 LTS (Minimal)
    • Distribution: Ubuntu 22.04 LTS
    • Kernel: Linux 5.15.0-25-generic x86_64
  • Domoticz version: 2022.1.14127
  • Domoticz installation method: by running 'curl -sSL install.domoticz.com | sudo bash'
  • PC: Advantech ARK-3360
Anyone an idea of what this could be? Am I missing packages needed to support a shell GUI? Could it be related to the Ubuntu-Server 22.04 Minimal installation?

2022-04-24 22_54_02-.png
2022-04-24 22_54_02-.png (14.29 KiB) Viewed 2650 times

Re: Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Wednesday 27 April 2022 21:51
by stig
Instead of using the pre-compiled version, I build Domoticz from source, now it's working. So, I think there was an error at the background which was not displayed on the terminal.

Re: Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Saturday 25 June 2022 22:41
by Gianni
+1

thx allmost dumping my laptop to the bin.
Hitting all posible buttons but cannot enter OK on 22.04
now try the build my own version

Re: Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Sunday 26 June 2022 8:16
by Gianni
Building from source give me make errors.
So i rebuild my os on 20.04 and now the automatic installer works 2.
is this possible to update the installer?

thx

Re: Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Sunday 26 June 2022 15:50
by kiddigital
This might be related to Ubuntu 22.04 coming with OpenSSL3 instead of the older OpenSLL 1.1.

The precompiled versions (till now) might not function with OpenSSL 3 (yet).

See github issue #5233

Re: Domoticz installation in Linux stuck on 'welcome' dialog

Posted: Monday 08 August 2022 23:59
by desliem
Same problem here with Armbian 22.08.0 Jimmy (ie Ubuntu 22.04.1 LTS) on an Arm 64-bit cpu. Dowloading the script and then executing it is a way around this problem:

Code: Select all

$ curl -L install.domoticz.com > install.sh
$ chmod +x install.sh
$ sudo ./install.sh
However Domoticz will not run because of the missing library.

Code: Select all

$ systemctl status domoticz

● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/armbianticz.sh; generated)
Active: active (exited) since Sun 2022-08-07 15:36:19 ADT; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 2219 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CPU: 42ms

Aug 07 15:36:19 armbian systemd[1]: Starting LSB: Home Automation System...
Aug 07 15:36:19 armbian domoticz.sh[2225]: /home/me/domoticz/domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Aug 07 15:36:19 armbian systemd[1]: Started LSB: Home Automation System.
Here is a temporary solution until openssl3 makes it to the stable release (reference) if this advice is deemed important
Use a stable release in Production environments (eq the one your wife uses or contains data you want to keep) :) :

Code: Select all

$ wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb
$ sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb
If a 64 bit Intel/AMD OS Linux distribution is used get the library from here
http://archive.ubuntu.com/ubuntu/pool/m ... _amd64.deb

Got these links to the 64-bit deb packages from https://pkgs.org.

Don't know about 32 bit Arm, maybe http://http.us.debian.org/debian/pool/m ... _armhf.deb ?
That link was found on https://packages.debian.org/sid/armhf/l ... 1/download

Unfortunately, installing the libssl1.1 library ahead of invoking the Domoticz install script did not solve the problem of the frozen screen.