Hello everyone,
maybe there is an expert here on the subject. As I installed the latest updates for pimatic today and then rebooted, my pimatic did not start anymore. So I tried to reinstall everything so it would work again maybe. For some reason though, when I try to call the init.d script using sudo service pimatic start
, it does not work, dies and tells me I need to update my node version. Though running node -v
outputs v4.4.5
.
Also, running the pimatic.js script on it’s own just works fine.
The error message of the init.d script is:
● pimatic.service - LSB: pimatic service
Loaded: loaded (/etc/init.d/pimatic)
Active: failed (Result: exit-code) since Mo 2016-11-14 23:40:35 CET; 15min ago
Process: 5418 ExecStart=/etc/init.d/pimatic start (code=exited, status=1/FAILURE)
Nov 14 23:40:35 raspberrypi pimatic[5418]: Error: Your node.js version v0.10.29 is too old. Please update node.js to version >=4.0.0 and run pimatic again...you again.
Nov 14 23:40:35 raspberrypi systemd[1]: pimatic.service: control process exited, code=exited status=1
Nov 14 23:40:35 raspberrypi systemd[1]: Failed to start LSB: pimatic service.
Nov 14 23:40:35 raspberrypi systemd[1]: Unit pimatic.service entered failed state
Any ideas or suggestions?