Installing on Readynas OS6 RN524

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
gpaolo79
Posts: 15
Joined: Thursday 03 December 2020 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Installing on Readynas OS6 RN524

Post by gpaolo79 »

Hi all,
I am trying to install Domoticz on my Netgeat Readynas RN524 running OS6. I have followed the instructions that I have found online at this address:
https://www.jaqb.gda.pl/pol/Spolecznosc ... n-ReadyNAS
which seems rather straighforward, but something is not working as it should.
I have followed all the steps for the installation with no error, and then create file /lib/systemd/system/domoticz.service

Code: Select all

[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

Code: Select all

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. So I checked the status of the service and I get this:

Code: Select all

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'.
Does anyone has any idea of what is going on?
I'm not too expert with linux, so please be patient if it is something obvious :)

Thanks!
gpaolo79
Posts: 15
Joined: Thursday 03 December 2020 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Installing on Readynas OS6 RN524

Post by gpaolo79 »

Well, not much luck at the moment, still nothing. I have tried everything I have found online.
I have just found that, if I try to load Domoticz manually, I get this error:

Code: Select all

./domoticz: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
so I have tried to install it following the indication for Debian and it seems that it has been installed correctly:

Code: Select all

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
but I still get the same error.

Any suggestion?
gpaolo79
Posts: 15
Joined: Thursday 03 December 2020 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Installing on Readynas OS6 RN524

Post by gpaolo79 »

Well, while I'm still hoping to get some help, I keep trying to find out what's going on...
So it looks like the libssl1.1 is still not installed, I tried to get it in another way but there is a dependency issue:

Code: Select all

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
So this libc6 package seems to be a specific one for netgear, I have asked on their forum if there is any update, but I doubt it.
I was thinking, the original post about installing Domoticz on Readynas is from 2017. From what I read, there has been some major update of Domoticz this year. I was trying to see if I can find one of the previous versions, like a 4.x or 3.x, but I can't find them. Does anyone know where I could get them please?
gpaolo79
Posts: 15
Joined: Thursday 03 December 2020 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Installing on Readynas OS6 RN524

Post by gpaolo79 »

Not much interest here for this topic apparently, but for posterity...
It looks like Netgear OS6 does not include some update on libraries needed by Domoticz 2020, in particular I got stuck with the libssl.
I found a page with the older releases ( viewtopic.php?f=6&t=31157&p=250194 look at page 12) . I got the V4.10717, which was the latest stable release I could see, followed the instructions from the first post, and worked straight away.
So, until Netgear doesn't update the OS, V4 is the only way to go on these NAS.
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Installing on Readynas OS6 RN524

Post by JuanUil »

Hi Guys,

anyone know if it is possible to install on readynas 426 with os 6.10.7?

regards
jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Installing on Readynas OS6 RN524

Post by waltervl »

If you can run Docker on your ReadyNAS as it would be the preferred way. It is also the preferred way on a Synology NAS. See for more info the wiki: https://www.domoticz.com/wiki/Docker

And installation method for Synology as a reference https://www.domoticz.com/wiki/Synology
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Installing on Readynas OS6 RN524

Post by JuanUil »

thnx, gonna try that!
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest