NodeRed crashes since update to v1.3.2 - log shows problem with homee plugin probably
Closed this issue · 2 comments
medicus07 commented
Hi Stefan,
yesterday I tried to update to the actual version of NR coming from v1.0.2. I'm using NR in a Synology docker. Since the update, NR crashes directly in the start process...
In the Log there seems to be a problem with your homee plugin:
`
2021-04-18 06:49:22 | stdout | �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m Exit status 1 |
---|---|---|
2021-04-18 06:49:22 | stdout | �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m node-red-docker@1.3.2 start: node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data" |
2021-04-18 06:49:22 | stdout | �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m �[0m�[35merrno�[0m 1 |
2021-04-18 06:49:22 | stdout | �[37;40mnpm�[0m �[0m�[31;40mERR!�[0m �[0m�[35mcode�[0m ELIFECYCLE |
2021-04-18 06:49:22 | stdout | at process._tickCallback (internal/process/next_tick.js:63:19) |
2021-04-18 06:49:22 | stdout | at state.handle.lookup (dgram.js:249:7) |
2021-04-18 06:49:22 | stdout | at startListening (dgram.js:128:10) |
2021-04-18 06:49:22 | stdout | at Socket.EventEmitter.emit (domain.js:448:20) |
2021-04-18 06:49:22 | stdout | at Socket.emit (events.js:198:13) |
2021-04-18 06:49:22 | stdout | at Socket.server.on (/data/node_modules/node-red-contrib-homee/lib/discovery.js:29:5) |
2021-04-18 06:49:22 | stdout | at Node.debug (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:532:5) |
2021-04-18 06:49:22 | stdout | at log_helper (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:496:16) |
2021-04-18 06:49:22 | stdout | 18 Apr 06:49:22 - TypeError: Cannot read property 'log' of undefined |
`
My version of node-red-contrib-homee is 0.8.1.
I attached the full log under this issue.
Can you please look into this. I went back to my backup version.
Thank a lot.
Michael
nodered-node-redTest.html.zip
medicus07 commented
I did some tests with a new NR test docker...
- without homee plugin (deleted all config and device nodes in the flow), all other nodes as before -> no problem
- in addition installed homee plugin without any configuration -> no problem
- configured api node -> no problem
- then, configured new virtual homee and one device node -> CRASH
So it seems, the problem is associated to the virtual homee configuration.
stfnhmplr commented
Thanks for reporting. With version 0.8.2 the bug should be fixed.