Hello all,
Attached is the relevant log. I get these random crashes with the ping node. I looked at the code and there does appear to be an "on" property. I just can't track this down.
Any ideas on how to track this down?
There seems to be an unresolved issue here
Maybe an exec script and remove the use of ping node?
Thanks all!
Jun 21 09:59:36 myPi512 systemd[1]: Starting Cleanup of Temporary Directories...
Jun 21 09:59:36 myPi512 systemd[1]: Started Cleanup of Temporary Directories.
Jun 21 13:40:29 myPi512 Node-RED[257]: 21 Jun 13:40:29 - [red] Uncaught Exception:
Jun 21 13:40:29 myPi512 Node-RED[257]: 21 Jun 13:40:29 - TypeError: Cannot read property 'on' of undefined
Jun 21 13:40:29 myPi512 Node-RED[257]: at doPing (/home/pi/.node-red/node_modules/node-red-node-ping/88-ping.js:53:19)
Jun 21 13:40:29 myPi512 Node-RED[257]: at Timeout._onTimeout (/home/pi/.node-red/node_modules/node-red-node-ping/88-ping.js:105:34)
Jun 21 13:40:29 myPi512 Node-RED[257]: at ontimeout (timers.js:436:11)
Jun 21 13:40:29 myPi512 Node-RED[257]: at tryOnTimeout (timers.js:300:5)
Jun 21 13:40:29 myPi512 Node-RED[257]: at listOnTimeout (timers.js:263:5)
Jun 21 13:40:29 myPi512 Node-RED[257]: at Timer.processTimers (timers.js:223:10)
Jun 21 13:40:29 myPi512 systemd[1]: nodered.service: main process exited, code=exited, status=1/FAILURE
Jun 21 13:40:29 myPi512 systemd[1]: Unit nodered.service entered failed state.
Jun 21 13:40:30 myPi512 systemd[1]: nodered.service holdoff time over, scheduling restart.
Jun 21 13:40:30 myPi512 systemd[1]: Stopping Node-RED graphical event wiring tool...
Jun 21 13:40:30 myPi512 systemd[1]: Starting Node-RED graphical event wiring tool...
Jun 21 13:40:30 myPi512 systemd[1]: Started Node-RED graphical event wiring tool.
Jun 21 13:40:41 myPi512 Node-RED[12620]: 21 Jun 13:40:40 - [info]
Jun 21 13:40:41 myPi512 Node-RED[12620]: Welcome to Node-RED
Jun 21 13:40:41 myPi512 Node-RED[12620]: ===================
Jun 21 13:40:41 myPi512 Node-RED[12620]: 21 Jun 13:40:41 - [info] Node-RED version: v1.0.6
Jun 21 13:40:41 myPi512 Node-RED[12620]: 21 Jun 13:40:41 - [info] Node.js version: v10.17.0
Jun 21 13:40:41 myPi512 Node-RED[12620]: 21 Jun 13:40:41 - [info] Linux 4.9.35+ arm LE
Jun 21 13:40:46 myPi512 Node-RED[12620]: 21 Jun 13:40:46 - [info] Loading palette nodes
Jun 21 13:41:11 myPi512 Node-RED[12620]: 21 Jun 13:41:11 - [info] Dashboard version 2.22.1 started at /ui
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [info] Settings file : /home/pi/.node-red/settings.js
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [info] HTTP Static : /home/pi/public
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [info] Context store : 'default' [module=memory]
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [info] User directory : /home/pi/.node-red/
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [warn] Projects disabled : editorTheme.projects.enabled=false
Jun 21 13:41:16 myPi512 Node-RED[12620]: 21 Jun 13:41:16 - [info] Flows file : /home/pi/.node-red/flows_myPi512.json
Jun 21 13:41:17 myPi512 Node-RED[12620]: 21 Jun 13:41:17 - [info] Server now running at http://127.0.0.1:1880/
Jun 21 13:41:18 myPi512 Node-RED[12620]: 21 Jun 13:41:18 - [warn]
Jun 21 13:41:18 myPi512 Node-RED[12620]: ---------------------------------------------------------------------
Jun 21 13:41:18 myPi512 Node-RED[12620]: Your flow credentials file is encrypted using a system-generated key.
Jun 21 13:41:18 myPi512 Node-RED[12620]: If the system-generated key is lost for any reason, your credentials
Jun 21 13:41:18 myPi512 Node-RED[12620]: file will not be recoverable, you will have to delete it and re-enter
Jun 21 13:41:18 myPi512 Node-RED[12620]: your credentials.
Jun 21 13:41:18 myPi512 Node-RED[12620]: You should set your own key using the 'credentialSecret' option in
Jun 21 13:41:18 myPi512 Node-RED[12620]: your settings file. Node-RED will then re-encrypt your credentials
Jun 21 13:41:18 myPi512 Node-RED[12620]: file using your chosen key the next time you deploy a change.
Jun 21 13:41:18 myPi512 Node-RED[12620]: ---------------------------------------------------------------------