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.

nodered says via the web interface that it is not running but the automations are all running

See original GitHub issue

Describe the issue you are experiencing

When I open the web interface of nodered I get the message: Add-on is not running. please start first. If I then click ok I get to the addon screen of nodered and then I can click on start whatever I want but nothing changes. When I then look in the logs I see that nodered has just started, which also shows that the automations that I have made in nodered just work. However, I can’t get into the web interface.

What is the used version of the Supervisor?

Supervisor 2022.07.1

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

What is the version of your installed operating system?

Operating System 8.4

What version of Home Assistant Core is installed?

core-2022.7.7

Steps to reproduce the issue

I have no idea how to repoduce this. I’ve done my updates every time but haven’t been working on nodered for a while. So I can’t say when this first occurred. I did try to restore a backup from a week ago but it didn’t work either. I even removed the addon completely and reinstalled it, but that also had no effect.

Anything in the Supervisor logs that might be useful for us?

npm WARN config     Default value does install optional deps unless otherwise omitted.
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
removed 3 packages, and audited 598 packages in 1s
87 packages are looking for funding
  run `npm fund` for details
found 0 vulnerabilities
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 1401 packages in 19s
45 packages are looking for funding
  run `npm fund` for details
75 vulnerabilities (26 moderate, 32 high, 17 critical)
To address issues that do not require attention, run:
  npm audit fix
To address all issues possible (including breaking changes), run:
  npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
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
[14:13:28] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
1 Aug 14:13:29 - [info] 
Welcome to Node-RED
===================
1 Aug 14:13:29 - [info] Node-RED version: v3.0.1
1 Aug 14:13:29 - [info] Node.js  version: v16.16.0
1 Aug 14:13:29 - [info] Linux 5.15.55 x64 LE
1 Aug 14:13:29 - [info] Loading palette nodes
Mon, 01 Aug 2022 12:13:30 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at node:internal/modules/cjs/loader:1105:14
1 Aug 14:13:31 - [info] Dashboard version 3.1.0 started at /endpoint/ui
1 Aug 14:13:32 - [warn] ------------------------------------------------------
1 Aug 14:13:32 - [warn] [node-red-contrib-samsung-tv-control/Samsung-TV] 'samsung-tv-isalive' already registered by module node-red-contrib-samsung-tv
1 Aug 14:13:32 - [warn] [node-red-contrib-samsung-tv-mk/Samsung-TV] 'samsung-tv-isalive' already registered by module node-red-contrib-samsung-tv
1 Aug 14:13:32 - [warn] [node-red-contrib-telegrambot-home/bot] 'telegrambot-config' already registered by module @danielnguyen/node-red-contrib-telegrambot-home
1 Aug 14:13:32 - [warn] [node-red-contrib-telegrambot-home/command] 'telegrambot-command' already registered by module @danielnguyen/node-red-contrib-telegrambot-home
1 Aug 14:13:32 - [warn] [node-red-contrib-telegrambot-home/switch] 'telegrambot-switch' already registered by module @danielnguyen/node-red-contrib-telegrambot-home
1 Aug 14:13:32 - [warn] [node-red-contrib-telegrambot-home/notify] 'telegrambot-notify' already registered by module @danielnguyen/node-red-contrib-telegrambot-home
1 Aug 14:13:32 - [warn] [node-red-contrib-telegrambot-home/payload] 'telegrambot-payload' already registered by module @danielnguyen/node-red-contrib-telegrambot-home
1 Aug 14:13:32 - [warn] [node-red-contrib-wled3/wled2] 'wled2' already registered by module node-red-contrib-wled2
1 Aug 14:13:32 - [warn] ------------------------------------------------------
1 Aug 14:13:32 - [info] Settings file  : /etc/node-red/config.js
1 Aug 14:13:32 - [info] Context store  : 'default' [module=memory]
1 Aug 14:13:32 - [info] User directory : /config/node-red/
1 Aug 14:13:32 - [warn] Projects disabled : editorTheme.projects.enabled=false
1 Aug 14:13:32 - [info] Flows file     : /config/node-red/flows.json
1 Aug 14:13:32 - [info] Server now running at http://127.0.0.1:46836/
1 Aug 14:13:32 - [info] Starting flows
fileServer listening on ip 192.168.178.7 and port 8089
[14:13:32] INFO: Starting NGinx...
1 Aug 14:13:32 - [info] Started flows
1 Aug 14:13:33 - [info] [zigbee2mqtt-server:Homeasisstant Z2M] MQTT Connected
1 Aug 14:13:33 - [info] [zigbee2mqtt-server:Homeasisstant Z2M] Refreshing devices
1 Aug 14:13:33 - [info] [mqtt-broker:6ecffe12.79bf3] Connected to broker: mqtt://192.168.178.7:1883
1 Aug 14:13:33 - [info] [zigbee2mqtt-server:Homeasisstant Z2M] MQTT Subscribed to: "zigbee2mqtt/#
1 Aug 14:13:33 - [info] [zigbee2mqtt-server:Homeasisstant Z2M] Refreshing devices
1 Aug 14:13:37 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:13:37 - [info] [server:Home Assistant] Connected to http://supervisor/core
1 Aug 14:37:31 - [info] [server:Home Assistant] Connection closed to http://supervisor/core
1 Aug 14:37:36 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:37:41 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:37:46 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:37:51 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:37:56 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:01 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:06 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:11 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:16 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:21 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:27 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:33 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:38 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:43 - [info] [server:Home Assistant] Connecting to http://supervisor/core
1 Aug 14:38:43 - [info] [server:Home Assistant] Connected to http://supervisor/core

Additional information

image image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Scags104commented, Aug 4, 2022

issue still persists on 2022.8.1

0reactions
compujunkcommented, Aug 5, 2022

Also having this issue too, for me it was fine last night. Today I can’t get to the UI due to this issue. Same logs etc

@compujunk If you go to <homeassistantip>:1880 and login with your Home Assistant login, you can get to the instance. This is just a Supervisor issue

Yes this works

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node-RED does not load interface - General
I run my node-red locally on my mac. everything was working fine and all of a sudden it stop loading the web interface...
Read more >
Node-RED Stops working every few hours / days
Hi all. I've been running Node-Red for about 2 months, but in the past few weeks it keeps failing, requiring me to restart...
Read more >
moving ALL of my Automations from Home Assistant to Node ...
Node RED Course - FREE Preview (code included)☆: https://courses.leonardosmarthomemakers.com/In this tutorial I'm going to show you how to ...
Read more >
Node Red for Beginners - 2021 Edition (Using Home Assistant)
Home Assistant and Node-RED are the ultimate automating duo, get started today with this video. Thank you to Govee for sponsoring this video ......
Read more >
Home Assistant Node-RED Install Plus Examples - YouTube
In this video we show how to install and configure the Node-RED add-on for Home AssistantBecause Node-RED provides a visual way to create ......
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