NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

gpaolo's avatar
gpaolo
Luminary
Dec 03, 2020
Solved

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!

 

 

  • 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.

6 Replies

  • 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?

    • Sandshark's avatar
      Sandshark
      Sensei

      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.

      • gpaolo's avatar
        gpaolo
        Luminary

        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...

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More