Page 1 of 1

Domoticz fresh install Linux Mint web portal not accessible

Posted: Thursday 21 March 2024 14:18
by svanweelden
Version: xxxx
Platform: Linux Mint
Plugin/Hardware:
Description:

Hi everybody. This is my first post. I am trying to setup my first domoticz server using Linux Mint.
I installed Mint fresh and updated all the packages.
Then I ran the command:

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"

I walked through the wizard pages and everything went without errors.
When the wizard was finished I should be able to open the admin port via:

http://192.168.1.108:8080 or https://192.168.1.108:443

I receive this error:

Unable to connect
Firefox can’t establish a connection to the server at 192.168.1.108:8080.

When I check the service I get this message:

sudo service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Thu 2024-03-21 12:46:02 CET; 56min ago
Docs: man:systemd-sysv-generator(8)
Process: 2570 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CPU: 67ms

Mar 21 12:46:02 ASROCK systemd[1]: Starting LSB: Home Automation System...
Mar 21 12:46:02 ASROCK domoticz.sh[2570]: Time synchronized, starting Domoticz...
Mar 21 12:46:02 ASROCK domoticz.sh[2579]: /home/sebastiaan/domoticz/domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or di>
Mar 21 12:46:02 ASROCK systemd[1]: Started LSB: Home Automation System.

Can you help me resolve this?

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Thursday 21 March 2024 15:19
by waltervl
Seems you are missing libssl.so.1.1
So you should add that. See for example https://www.domoticz.com/forum/viewtopic.php?t=40553

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 11:07
by svanweelden
I am a Linux-newbee and the suggested procedure is not working for me.
If I should use a different OS that's fine, please help me make the best choice.

The error I got applying the fix:

sebastiaan@ASROCK:~$ sudo dpkg -i /home/sebastiaan/Downloads/libssl-dev_1.1.0g-2ubuntu4_amd64.deb
dpkg: warning: downgrading libssl-dev:amd64 from 3.0.2-0ubuntu1.15 to 1.1.0g-2ubuntu4
(Reading database ... 567816 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.0g-2ubuntu4) over (3.0.2-0ubuntu1.15) ...
dpkg: dependency problems prevent configuration of libssl-dev:amd64:
libssl-dev:amd64 depends on libssl1.1 (= 1.1.0g-2ubuntu4); however:
Package libssl1.1 is not installed.

dpkg: error processing package libssl-dev:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libssl-dev:amd64

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 12:24
by gizmocuz
You can also use the docker compose method to install/run Domoticz

https://www.domoticz.com/wiki/Docker

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 14:48
by waltervl
Or use Ubuntu instead of a lesser used distro like Mint.

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 15:01
by svanweelden
Okay. I will try Ubuntu first. To be continued..

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 17:07
by svanweelden
Installed latest Ubuntu Desktop, same issue:
Screenshot from 2024-03-22 17-06-05.png
Screenshot from 2024-03-22 17-06-05.png (201.7 KiB) Viewed 1671 times

Re: Domoticz fresh install Linux Mint web portal not accessible

Posted: Friday 22 March 2024 18:32
by waltervl
Try with an older version that has libssl1 installed.
Or go the docker way.