Instalation problem Domoticz

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!
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
Post Reply
marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Instalation problem Domoticz

Post by marcinb » Thursday 28 September 2017 8:27

Hello,
I have a problem with installation Domoticz.
I have a Raspberry Pi 2.
No web server is installed.

Everything is installed correctly but www not works

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Thursday 28 September 2017 8:33

What is the error message when you start domoticz with ./domoticz in the /home/pi/domoticz directory?

Verstuurd vanaf mijn SM-G930F met Tapatalk


marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Re: Instalation problem Domoticz

Post by marcinb » Thursday 28 September 2017 19:33

Yes,
Look:
Install screen:

Code: Select all

[email protected]:~ $ sudo su
[email protected]:/home/pi# mkdir domoticz
[email protected]:/home/pi# cd domoticz/
[email protected]:/home/pi/domoticz# sudo curl -L install.domoticz.com | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16257    0 16257    0     0  60251      0 --:--:-- --:--:-- --:--:-- 60660
:::
::: You are root.
::: Verifying free disk space...
:::
::: apt-get update has not been run today. Running now... done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 10 updates available for your system!
::: We recommend you run 'apt-get upgrade' after installing Domoticz!
:::
:::    Checking for apt-utils... installed!
:::    Checking for whiptail... installed!
:::    Checking for git... installed!
:::    Checking for curl... installed!
:::    Checking for libcurl3... installed!
:::    Checking for unzip... installed!
:::    Checking for wget... installed!
:::    Checking for sudo... installed!
:::    Checking for cron... installed!
:::    Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: root
HTTP Port:  8080
HTTPS Port:  443
:::
::: Destination folder=/home/pi/domoticz
--2017-09-28 17:30:48--  http://www.domoticz.com/download.php?channel=release&type=release&system=linux&machine=armv7l
Resolving www.domoticz.com (www.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4e8e, ...
Connecting to www.domoticz.com (www.domoticz.com)|104.31.78.142|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://releases.domoticz.com/releases/release/domoticz_linux_armv7l.tgz [following]
--2017-09-28 17:30:48--  http://releases.domoticz.com/releases/release/domoticz_linux_armv7l.tgz
Resolving releases.domoticz.com (releases.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4f8e, ...
Reusing existing connection to www.domoticz.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 14307116 (14M) [application/octet-stream]
Saving to: ‘domoticz_release.tgz’

domoticz_release.tgz                      100%[=====================================================================================>]  13.64M   268KB/s    in 56s

2017-09-28 17:31:44 (250 KB/s) - ‘domoticz_release.tgz’ saved [14307116/14307116]

::: Unpacking Domoticz...
domoticz
History.txt
License.txt
domoticz.sh
server_cert.pem
updatebeta
updaterelease
www/
www/images/
www/images/uvdark.png
www/images/lock_closed.png
www/images/forward_enabled.png
www/images/WindNE.png
...
plugins/AwoxSMP/plugin.py
plugins/AwoxSMP/lib/
plugins/AwoxSMP/lib/pySmartPlugSmpB16.py
plugins/AwoxSMP/lib/__init__.py
Creating database...
::: Restarting services...
:::
::: Enabling domoticz.sh service to start on reboot... done.
:::
::: Starting domoticz.sh service... done.
::: done.
:::
::: Installation Complete! Configure your browser to use the Domoticz using:
:::     192.168.1.9:8080
:::     192.168.1.9:443
[email protected]:/home/pi/domoticz#
Status screen:

Code: Select all

[email protected]:/home/pi/domoticz# service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Thu 2017-09-28 17:32:00 UTC; 1min 12s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2652 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Sep 28 17:31:59 raspberrypi systemd[1]: Starting LSB: Home Automation System...
Sep 28 17:32:00 raspberrypi domoticz.sh[2652]: /home/pi/domoticz/domoticz: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No suc
Sep 28 17:32:00 raspberrypi systemd[1]: Started LSB: Home Automation System.

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Thursday 28 September 2017 19:39

Please search the forum. The libssl problem is explained somewhere.

Verstuurd vanaf mijn SM-G930F met Tapatalk


marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Re: Instalation problem Domoticz

Post by marcinb » Thursday 28 September 2017 20:12

OK,
I install and:

Code: Select all

[email protected]:/home/pi/domoticz# service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Thu 2017-09-28 18:12:16 UTC; 5s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2738 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
  Process: 2772 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Sep 28 18:12:16 raspberrypi systemd[1]: Starting LSB: Home Automation System...
Sep 28 18:12:16 raspberrypi domoticz.sh[2772]: Illegal instruction
Sep 28 18:12:16 raspberrypi systemd[1]: Started LSB: Home Automation System.
[email protected]:/home/pi/domoticz#
The same problem

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Thursday 28 September 2017 20:57

hm, looks different to me.

The illegal instruction happens to more people. Do you use python scripts?

marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Re: Instalation problem Domoticz

Post by marcinb » Friday 29 September 2017 8:53

No,
I only install Domotim and Stop becouse not works :(

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Friday 29 September 2017 9:30

hm, I'm afraid you will have to wait for a new beta that fixes this.

marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Re: Instalation problem Domoticz

Post by marcinb » Friday 29 September 2017 11:13

When are we expecting a new beta ?

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Friday 29 September 2017 12:49

Sometimes daily. Make backups and try.

./updatebeta in de Domoticz directory

Jan Jansen
Posts: 144
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Instalation problem Domoticz

Post by Jan Jansen » Friday 29 September 2017 13:52

Try a fresh install and reload database.

- burn stretch
- set raspi-config
- wget http://mirrordirector.raspbian.org/rasp ... _armhf.deb
- sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
- sudo apt-get install libpython3.4
- sudo apt-get update and upgrade
- sudo reboot
- sudo curl -L install.domoticz.com | sudo bash
- reload database

My issues have been solved (latest stable on a rpi B)

marcinb
Posts: 11
Joined: Thursday 28 September 2017 8:23
Target OS: Raspberry Pi
Domoticz version:
Location: Poland
Contact:

Re: Instalation problem Domoticz

Post by marcinb » Saturday 30 September 2017 9:25

Yeahhh ....

Works. Many thanks,

roblom
Posts: 565
Joined: Wednesday 26 February 2014 16:28
Target OS: Raspberry Pi
Domoticz version:
Location: the Netherlands
Contact:

Re: Instalation problem Domoticz

Post by roblom » Saturday 21 October 2017 12:19

Jan Jansen wrote:
Friday 29 September 2017 13:52
Try a fresh install and reload database.

- burn stretch
- set raspi-config
- wget http://mirrordirector.raspbian.org/rasp ... _armhf.deb
- sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
- sudo apt-get install libpython3.4
- sudo apt-get update and upgrade
- sudo reboot
- sudo curl -L install.domoticz.com | sudo bash
- reload database

My issues have been solved (latest stable on a rpi B)
I tried this and it works for the stable version. But when you update to the latest beta it doesn't work. Domoticz could not be reached through the webpage and the status check gives the following

Code: Select all

[email protected]_test:~/domoticz $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled   Active: active (exited) since Sat 2017-10-21 10:08:45 UTC; 8min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25999 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0  Process: 26055 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status
okt 21 10:08:37 Domoticz_test systemd[1]: Starting LSB: Home Automation Systeokt 21 10:08:45 Domoticz_test domoticz.sh[26055]: Segmentation fault
okt 21 10:08:45 Domoticz_test systemd[1]: Started LSB: Home Automation Systemokt 21 10:08:45 Domoticz_test sudo[26028]: pam_unix(sudo:session): session cl
When I do a "sudo ./updaterelease" everything works again.

User avatar
jannl
Posts: 884
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Geleen
Contact:

Re: Instalation problem Domoticz

Post by jannl » Saturday 21 October 2017 12:25

When you start Domoticz as described on the troubleshooting page, what is the result?

Jan Jansen
Posts: 144
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Instalation problem Domoticz

Post by Jan Jansen » Wednesday 01 November 2017 17:53

roblom wrote:
Saturday 21 October 2017 12:19
I tried this and it works for the stable version. But when you update to the latest beta it doesn't work.
As I have already mentioned, I use the latest stable version. Updating to the beta version did not work for me either. The last stable version is sufficient for me.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests