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
Code: Select all
systemctl enable domoticz
systemctl start domoticz
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'.
I'm not too expert with linux, so please be patient if it is something obvious
Thanks!