Page 1 of 1

Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 3:14
by Alpha
I've tried several versions of Raspian and get stuck everywhere. Either with the "easy install", which might either fail right from the get go or allowing me to go through setting options and ports, but crashes with ssl errors. Installing opensll or ca-certificates doesn't help. Downloading the tarball doesn't work either, it says:

"plugins/AwoxSMP/lib/__init__.py
tar: Exiting with failure status due to previous errors"


Using the SD card image it throws lots of errors during boot, then mounts read the filesystem read only.


The hardware is a Raspberry Pi 3B which I've used about a year with no issues.

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 3:49
by Alpha
Did yet another fresh install of Raspian Stretch, updated, upgraded, set a few options in raspi-config, rebooted, then:

pi@raspberrypi:~$ sudo curl -L install.domoticz.com | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16257 100 16257 0 0 72623 0 --:--:-- --:--:-- --:--:-- 72901
:::
::: Script called with non-root privileges. The Domoticz installs server packages and configures
::: system networking, it requires elevated rights. Please check the contents of the script for
::: any concerns with this requirement. Please be sure to download this script from a trusted source.
:::
::: Detecting the presence of the sudo utility for continuation of this install...
::: Utility sudo located.
curl: (51) SSL: no alternative certificate subject name matches target host name 'install.domoticz.com'
pi@raspberrypi:~$


*sigh*

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 4:00
by Alpha
Did a sudo su - first, then tried again:

The installation started, went through the port settings and stuff again, then:

:::
::: Destination folder=/root/domoticz
::: Creating /root/domoticz
--2018-04-05 02:00:00-- http://www.domoticz.com/download.php?ch ... ine=armv7l
Resolving www.domoticz.com (www.domoticz.com)... 185.27.142.198
Connecting to www.domoticz.com (www.domoticz.com)|185.27.142.198|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.domoticz.com/download.php?c ... ine=armv7l [following]
--2018-04-05 02:00:16-- https://www.domoticz.com/download.php?c ... ine=armv7l
Connecting to www.domoticz.com (www.domoticz.com)|185.27.142.198|:443... connected.
ERROR: The certificate of ‘www.domoticz.com’ is not trusted.
ERROR: The certificate of ‘www.domoticz.com’ hasn't got a known issuer.


*sigh*

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 6:06
by SweetPants
There was a problem with the web-site, should be fixed now

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 7:15
by FIT4IT
I'm sorry but the download is still not possible (certificate was issued for gandalf.domoticz.com but URL points to releases.domoticz.com/releases/downloads.php) Seems like english is not spoken at https://www.domoticz.com/downloads/index.html ;-)
Please find manual download instructions viewtopic.php?f=6&t=22948#p176995

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 17:07
by MrRikkie
I also just tried to install domoticz and the installation stops when Checking for git ....
After this message I get the command prompt again.

Anybody an idea ?

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 18:45
by MrRikkie
My issue is solved, after an sudo apt-get update and sudo apt-get install git and reinstall it worked.

Re: Why is Domoticz impossible to install?

Posted: Thursday 05 April 2018 20:54
by Jantje007
Thanks! worked also for me :-)