I am not sure about the reasons for this issue. I had some error in the flow caused by a node which was not installed. I resolved that and restarted nodered.
Now, all my flows which have been working without issues for months are not giving any output.
I do not see errors of any type. The exec node has a PID. The script is working. I don't know what to look for. If I create a simple inject/debug node, it is working but all my proven working nodes do not give output.
Here is one of the nodes not giving output (just a temperature probe).
[{"id":"f20693fd.b834c","type":"inject","z":"4e4990f3.d4ada","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":540,"wires":[["af021ac0.286e18"]]},{"id":"1eeb94bf.26d04b","type":"debug","z":"4e4990f3.d4ada","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":750,"y":500,"wires":[]},{"id":"af021ac0.286e18","type":"exec","z":"4e4990f3.d4ada","command":" bash /home/pi/Develop/Temp/Temperature.sh","addpay":"","append":"","useSpawn":"true","timer":"","oldrc":false,"name":"Command Temperature","x":370,"y":540,"wires":[["2473ff7.e3f4d"],[],[]]},{"id":"563647d0.68ebd8","type":"influxdb out","z":"4e4990f3.d4ada","influxdb":"b87cafc6.11924","name":"Temp-Influx","measurement":"temperature","precision":"","retentionPolicy":"","database":"database","precisionV18FluxV20":"ms","retentionPolicyV18Flux":"","org":"organisation","bucket":"bucket","x":750,"y":580,"wires":[]},{"id":"2473ff7.e3f4d","type":"function","z":"4e4990f3.d4ada","name":"","func":"var t=msg.payload;\nif(t!==\"\")\n{\nk=t.split(':');\nfor (i = 0; i < k.length; i++)\n{\n k[i]=parseFloat(k[i]);\n}\nmsg.topic=\"Temperature\";\n\tif(k[0]&&k[1])\n\t\t{\n\t\tmsg.payload={\"DegC\":k[0],\"DegF\":k[1]};\n\t\treturn msg;\n\n }\n}\n\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":540,"wires":[["563647d0.68ebd8","1eeb94bf.26d04b"]]},{"id":"b87cafc6.11924","type":"influxdb","hostname":"127.0.0.1","port":"8086","protocol":"http","database":"datastorage","name":"","usetls":false,"tls":"","influxdbVersion":"1.x","url":"http://localhost:8086","rejectUnauthorized":true}]
The exec node has a PID. The script is working. I don't know why there is no output? Any hint?
Update
could this be the problem?
pi@raspberrypi:~ $ sudo apt-get upgrade nodered
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnode64 : Conflicts: nodejs-legacy
nodered : Depends: npm (>= 5.8)
E: Broken packages