× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Installing Domoticz on OS6 RN524

gpaolo
Luminary

Installing Domoticz on OS6 RN524

Hi all,

I have just upgraded my home heating system and I would like to install Domoticz on my NAS to monitor what is doing. I have followed the instructions on https://www.jaqb.gda.pl/pol/Spolecznosc/Blog/Domoticz-on-ReadyNAS , basically wget the file, then 

cd /opt
mkdir domoticz-2017-03-13
cd domoticz-2017-03-13
tar -zxf /tmp/domoticz_linux_x86_64.tgz

and then create file /lib/systemd/system/domoticz.service

[Unit]
Description=Domoticz
After=network.target

[Service]
ExecStart=/opt/domoticz/domoticz -daemon
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

and registered for automatic execution

systemctl enable domoticz
systemctl start domoticz

Result: absolutely nothing happens. I try to connect to my NAS on port 8080 and I get no answer. 

Does anyone has experience on this? I just found an old thread from 2015 on this forum but with no real information on the installation. 

Thanks for your help!

 

 

Model: RN524X|ReadyNAS 524X – Premium Performance Data Storage - 4-Bay
Message 1 of 7

Accepted Solutions
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

I have seen a couple of posts here on the forum from people complaining about these same outdated libraries, so I tried another approach.

I found a website which keeps the old releases of Domoticz: https://domoticaboard.nl/index.php?PHPSESSID=91e63804132fc23afa50b81d16f04790&board=16.0

I have downloaded the latest V4 stable release, installed following the instructions on the website linked on the first post and it worked straight away. 

So, until OS6 is updated with the newer linux libraries, it looks like the only way to go is to use the previous version of Domoticz.

I hope it helps other people that might want to try this program.

View solution in original post

Message 7 of 7

All Replies
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

Uhh ok, I get something looking at the status:

 

root@MY_NAS_NAME:/opt/domoticz# systemctl status domoticz
● domoticz.service - Domoticz
   Loaded: loaded (/lib/systemd/system/domoticz.service; enabled; vendor preset:  enabled)
   Active: failed (Result: start-limit-hit) since Thu 2020-12-03 18:1 1:45 GMT; 16min ago
  Process: 31740 ExecStart=/opt/domoticz/domoticz -daemon (code=exited, status=127)
 Main PID: 31740 (code=exited, status=127)

Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Main process exited, code=exited, status=127/n/a
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Unit entered failed state.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Failed with result 'exit-code'.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Service hold-off time over, scheduling restart.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: Stopped Domoticz.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Start request repeated too quickly.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: Failed to start Domoticz.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Unit entered failed state.
Dec 03 18:11:45 MY_NAS_NAME systemd[1]: domoticz.service: Failed with result 'start-limit-hit'.

I guess I need to ask on their forum then, it looks like it's more a problem on the service... am I right?

Message 2 of 7
Sandshark
Sensei

Re: Installing Domoticz on OS6 RN524

Exit code 127 is "unknown command".  I suspect there is a dependancy issue and that the program requires something that's not installed on the NAS.  Perhaps there is a "verbose" mode for Domoticz or a method to turn on a debugging log that could give you more help.

Message 3 of 7
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

I see... ok thanks, I have asked also on their forum, I'll see if I can get some more detail. If I get a solution I'll post it here too in case someone else needs it. 

I was a bit surprised that it was not in the applications of the NAS, it seems extremely popular for other brands, but barely nothing for ReadyNAS...

Message 4 of 7
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

I'm not sure if it's a progress or not, but I get this error when I try to launch it manually:

 

./domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

so I tried to follow the instructions for the installation on Debian and got this package installed, but I still get the same error:

 

root@MY_NAS_NAME:/opt/domoticz# apt-get install cmake libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  cmake-data zlib1g zlib1g-dev
Suggested packages:
  codeblocks eclipse ninja-build
Recommended packages:
  libssl-doc
The following NEW packages will be installed:
  cmake cmake-data libssl-dev zlib1g-dev
The following packages will be upgraded:
  zlib1g
1 upgraded, 4 newly installed, 0 to remove and 31 not upgraded.
Need to get 4,892 kB of archives.
After this operation, 23.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org jessie/updates/main amd64 zlib1g amd64 1:1.2.8.dfsg-2+deb8u1 [88.3 kB]
Get:2 http://security.debian.org jessie/updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2+deb8u1 [206 kB]
Get:3 http://security.debian.org jessie/updates/main amd64 libssl-dev amd64 1.0.1t-1+deb8u12 [1,284 kB]
Get:4 http://mirrors.edge.kernel.org/debian jessie/main amd64 cmake-data all 3.0.2-1+deb8u1 [929 kB]
Get:5 http://mirrors.edge.kernel.org/debian jessie/main amd64 cmake amd64 3.0.2-1+deb8u1 [2,385 kB]
Fetched 4,892 kB in 1s (2,446 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 22825 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-2+deb8u1_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.2.8.dfsg-2+deb8u1) over (1:1.2.8.dfsg-2+b1) ...
Setting up zlib1g:amd64 (1:1.2.8.dfsg-2+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ...
Selecting previously unselected package cmake-data.
(Reading database ... 22824 files and directories currently installed.)
Preparing to unpack .../cmake-data_3.0.2-1+deb8u1_all.deb ...
Unpacking cmake-data (3.0.2-1+deb8u1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.0.2-1+deb8u1_amd64.deb ...
Unpacking cmake (3.0.2-1+deb8u1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+deb8u1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+deb8u1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u12_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1t-1+deb8u12) ...
Setting up cmake-data (3.0.2-1+deb8u1) ...
Setting up cmake (3.0.2-1+deb8u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+deb8u1) ...
Setting up libssl-dev:amd64 (1.0.1t-1+deb8u12) ...
root@MY_NAS_NAME:/opt/domoticz# ./domoticz
./domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Any idea if I'm doing something wrong? I feel really uncomfortable in trying these things as root... 

Message 5 of 7
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

I'm having problem with a missing package, which requires a more updated version of another package that seems to be coming from Netgear. I'm trying to install libssl1.1 but apparently the libc6 is outdated:

 

Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 24659 files and directories currently installed.)
Preparing to unpack libssl1.1_1.1.1d-0+deb10u4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u4) ...
dpkg: dependency problems prevent configuration of libssl1.1:amd64:
 libssl1.1:amd64 depends on libc6 (>= 2.25); however:
  Version of libc6:amd64 on system is 2.19-18+deb8u10.netgear1.

dpkg: error processing package libssl1.1:amd64 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ...
Errors were encountered while processing:
 libssl1.1:amd64

As the actual version has the "netgeat1" name, I guess it's sort of customized? Any thought about this?

Message 6 of 7
gpaolo
Luminary

Re: Installing Domoticz on OS6 RN524

I have seen a couple of posts here on the forum from people complaining about these same outdated libraries, so I tried another approach.

I found a website which keeps the old releases of Domoticz: https://domoticaboard.nl/index.php?PHPSESSID=91e63804132fc23afa50b81d16f04790&board=16.0

I have downloaded the latest V4 stable release, installed following the instructions on the website linked on the first post and it worked straight away. 

So, until OS6 is updated with the newer linux libraries, it looks like the only way to go is to use the previous version of Domoticz.

I hope it helps other people that might want to try this program.

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 1801 views
  • 0 kudos
  • 2 in conversation
Announcements