question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node-RED crashed, halting add-on

See original GitHub issue

Problem/Motivation

For a few days now I have problems with node-red. Everything is up to date with the latest version but now the addon is always giving an error and shuts down without me knowing what it is.

I didn’t make any changes to node-red, I just made updates.

thanks

`s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/00-banner.sh

Add-on: Node-RED Flow-based programming for the Internet of Things

Add-on version: 13.2.0 You are running the latest version of this add-on. System: Debian GNU/Linux 11 (bullseye) (amd64 / qemux86-64) Home Assistant Core: 2022.7.7 Home Assistant Supervisor: 2022.07.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 cont-init: info: running /etc/cont-init.d/customizations.sh cont-init: info: /etc/cont-init.d/customizations.sh exited 0 cont-init: info: running /etc/cont-init.d/nginx.sh cont-init: info: /etc/cont-init.d/nginx.sh exited 0 cont-init: info: running /etc/cont-init.d/node-red.sh patching file nodes/ui_base.html Hunk #1 succeeded at 1164 (offset 633 lines). up to date, audited 151 packages in 1s 34 packages are looking for funding run npm fund for details found 0 vulnerabilities cont-init: info: /etc/cont-init.d/node-red.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun nginx (no readiness notification) services-up: info: copying legacy longrun nodered (no readiness notification) s6-rc: info: service legacy-services successfully started [23:23:16] INFO: Starting Node-RED…

start node $NODE_OPTIONS node_modules/node-red/red.js “–settings” “/etc/node-red/config.js” 27 Jul 23:23:17 - [info] Welcome to Node-RED =================== 27 Jul 23:23:17 - [info] Node-RED version: v3.0.1 27 Jul 23:23:17 - [info] Node.js version: v16.16.0 27 Jul 23:23:17 - [info] Linux 5.10.0-9-amd64 x64 LE 27 Jul 23:23:18 - [info] Loading palette nodes 27 Jul 23:23:21 - [info] Dashboard version 3.1.7 started at /endpoint/ui 27 Jul 23:23:21 - [info] Settings file : /etc/node-red/config.js 27 Jul 23:23:21 - [info] Context store : ‘default’ [module=memory] 27 Jul 23:23:21 - [info] User directory : /config/node-red/ 27 Jul 23:23:21 - [warn] Projects disabled : editorTheme.projects.enabled=false 27 Jul 23:23:21 - [info] Flows file : /config/node-red/flows.json 27 Jul 23:23:21 - [info] Server now running at http://127.0.0.1:/ 27 Jul 23:23:22 - [info] Starting flows [23:23:22] INFO: Starting NGinx… 27 Jul 23:23:23 - [info] [cronplus:c.] createTask - index: 0, static: true, opt: {“name”:“schedule1”,“topic”:“schedule1”,“payloadType”:“default”,“payload”:“”,“expressionType”:“cron”,“expression”:"0 * * * “,“location”:”",“offset”:“0”,“solarType”:“all”,“solarEvents”:“sunrise,sunset”} 27 Jul 23:23:23 - [info] Started flows 27 Jul 23:23:23 - [info] [mqtt-broker:.] Connected to broker: mqtt://*:1883 27 Jul 23:23:27 - [info] [server:Home Assistant] Connecting to http://supervisor/core 27 Jul 23:23:27 - [info] [server:Home Assistant] Connected to http://supervisor/core Received state update for unknown entity sensor.template_sidebar Received event for unknown subscription 3. Unsubscribing. Received event for unknown subscription 3. Unsubscribing. Received event for unknown subscription 3. Unsubscribing. Received event for unknown subscription 3. Unsubscribing. 27 Jul 23:24:00 - [red] Uncaught Exception: 27 Jul 23:24:00 - [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason “#<Object>”. [23:24:00] WARNING: Node-RED crashed, halting add-on s6-rc: info: service legacy-services: stopping [23:24:00] INFO: Node-RED stoped, restarting… [23:24:00] INFO: Node-RED stoped, restarting… s6-svwait: fatal: supervisor died s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped`

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

1reaction
miraixyzcommented, Aug 17, 2022

I am having the same issue with Node Red v.13.2. Seems to have started every since I upgraded to 2022.8.x. Every time I restart HA or after random period of time, the addon crashes, and all of my flows stop. I usually reload the integration and restart the web UI to get it working again, but this is getting to a bit annoying now. Not using any experimental nodes that I know of, and everything seems to be up-to-date. Hope we can get a resolution soon!

0reactions
github-actions[bot]commented, Sep 17, 2022

There hasn’t been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node-Red keeps crashing at home assistant restart
Hi guys, Since a few days, my node-red is been having some problems. Whenever I restart home-assistant, it is not able to start...
Read more >
Nodered crashing when using the node-red-contrib-cast node
I'm using this node to play audio on some of my cast enabled devices and although it functions, each time the node is...
Read more >
The latest Node-Red 13.5.3 crashes in HomeAssistant - General
The latest Node-Red 13.5.3 crashes in HomeAssistant ... WARNING: Node-RED crashed, halting add-on. INFO: Node-RED stopped, restarting.
Read more >
Node-red crashes after startup - General
I have found myself in an odd situation. Node-red crashes after starting up every minute. The only change I made was copy/paste all...
Read more >
Home Assistant Node-RED Crashed out of the blue - General
This just recently started happening and I uninstall/reinstall node-red and add my flows back one at a time. So far, I can't pin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found