Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node- red not staring after update 14.6.1 #1701

Closed
msteingr opened this issue Oct 7, 2023 · 37 comments
Closed

Node- red not staring after update 14.6.1 #1701

msteingr opened this issue Oct 7, 2023 · 37 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@msteingr
Copy link

msteingr commented Oct 7, 2023

Problem/Motivation

My HAS updated to the new node red 14.6.1 Node-red is to working anymore

(Why the issue was filed)

Expected behavior

program to start

(What you expected to happen)
program not staring

Actual behavior

program not starting giving the following message

" Image ghcr.io/hassio-addons/node-red/aarch64:14.6.1 does not exist for addon_a0d7b954_nodered"

(What actually happened)
HAS informed that a new version of nod red is available and was installed since that install not red does not start up giving the following message
" Image ghcr.io/hassio-addons/node-red/aarch64:14.6.1 does not exist for addon_a0d7b954_nodered"

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)

@eagleeyedpixel
Copy link

eagleeyedpixel commented Oct 7, 2023

Confirming also having this issue.

Image ghcr.io/hassio-addons/node-red/aarch64:14.6.1 does not exist for addon_a0d7b954_nodered

Restored backup to 14.5.0 has fixed the issue.
This was occuring on:

Home Assistant 2023.10.1 Supervisor 2023.10.0 Operating System 10.5 Frontend 20231005.0 - latest
And 2023.10.0

@kybandy

This comment was marked as duplicate.

@mortist
Copy link

mortist commented Oct 7, 2023

Confirming same issue.
Apparently I had "Auto Update" turned on.
Node red is dead in the water, wont start. Receiving error:

Failed to start add-on
Image ghcr.io/hassio-addons/node-red/amd64:14.6.1 does not exist for addon_a0d7b954_nodered

@is0c0

This comment was marked as duplicate.

@msteingr

This comment was marked as off-topic.

@tudor-ghiorghiu

This comment was marked as duplicate.

@ru5611

This comment was marked as duplicate.

@Supreme-Bob
Copy link

suspect it has something to do with this as i don't seem to have a container for that

⬆️ Dependency updates
⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.2.1 @renovate (#1698)

@qiang221

This comment was marked as duplicate.

@Supreme-Bob

This comment was marked as off-topic.

@roberttucci

This comment was marked as duplicate.

@Supreme-Bob

This comment was marked as off-topic.

@danielRicardo

This comment was marked as duplicate.

@it4rz4n

This comment was marked as duplicate.

@jghek

This comment was marked as duplicate.

@LazzaAU

This comment was marked as off-topic.

@LazzaAU
Copy link

LazzaAU commented Oct 7, 2023

Alot of my automations are now dead because of this too, just wondering if someone can tell me how i downgrade the version without losing my flows please ?

Think i worked it out :) for those with the same question....., go to System > Backups > Tick the node red 14.5.0 back up, click into it >> tick the node red items and hit restore :)

@Godzookee

This comment was marked as duplicate.

@stupideveloper

This comment was marked as off-topic.

@MCLJason

This comment was marked as duplicate.

@stiefenswiegel

This comment was marked as off-topic.

@victorfvk60
Copy link

I had the same problem and by uninstalling and reinstalling the node-red add-on, it was fixed. I didn't need to save the code but I recommend backing it up, to be save. I have mine in a repository.

@jghek
Copy link

jghek commented Oct 7, 2023

For me, it also worked to uninstall and install node red. I did do a backup and restored that afterwards.

@aljubori

This comment was marked as off-topic.

@MarcoSch1988

This comment was marked as off-topic.

@dwarf-rbi

This comment was marked as off-topic.

@frenck
Copy link
Member

frenck commented Oct 7, 2023

ℹ️ What is going on here?

program not starting giving the following message

" Image ghcr.io/hassio-addons/node-red/aarch64:14.6.1 does not exist for addon_a0d7b954_nodered"

This is an issue with Home Assistant itself (or the Docker environment running underneath it).
The error message shows the image, which can be verified by simply putting https:// in front of it:

https://ghcr.io/hassio-addons/node-red/aarch64:14.6.1

CleanShot 2023-10-07 at 10 21 28

As you can see, it had 13K downloads already... It most definitely exists 😄

As a matter of fact, I do test each aarch and amd64 build before shipping it to you.

Cool Frenck, but how do I fix this?

Some of you seems to tried a re-install, which indeed works for such cases. But might be a bit too much of an effort 😬. Home Assistant has a "fix" command that checks all add-ons, core, and what not, to ensure everything is working as expected. Run the following command from an available (web) terminal or SSH session:

ha supervisor repair

Get yourself coffee, and by the time you're back at your desk, it should all be sorted.

Thanks, but please don't do this again!

I wish I could do anything about this. This problem is occurring outside of the add-on scope. From this end, there is nothing I can do. Sorry 😢 This issue can happen with any add-on, at any time.

For Node-RED, it is one of the popular add-ons, so it just happens that more people run into things like this. But percentage-wise, it is pretty much the same compared to others.

Why did you hide all these comments in this issue?

I've hidden all "I have the same issue" kinda comments, or comment that are unrelated to issue triaging like... I did restore a backup! Cool, but that doesn't solve stuff or help with solving stuff.

Finding an issue on a GitHub issue tracker that matches your problem is kinda nice: At least you know you are not alone. So, let's leave a commit with: "Yeah, I have the same issue", or "+1!!!". 🚫 No!

Please do not create "I have the same issue" comments. Ever.

Not just this issue or this project, but anywhere on GitHub or any issue tracker on the internet even. It doesn't add to triaging the issue. It only generates noise when reading / triaging the case.

Instead, go to the top of the issue, and add a 👍 emoji reaction. That way, we can still see that you (and how many others) experience this issue while keeping the issue threads nice and clean.

Thanks! ❤️

../Frenck

@agners
Copy link
Contributor

agners commented Oct 7, 2023

Hm, this seems a Supervisor issue indeed. It looks as if the download of the new Node RED version somehow did not complete/failed, and Supervisor tried to start nonetheless.

Can someone create an issue in the Supervisor repository along with the complete Supervisor logs when this happened? Thanks!

https://github.com/home-assistant/supervisor/

@atmurray

This comment has been minimized.

@frenck
Copy link
Member

frenck commented Oct 7, 2023

@atmurray that is not something I can do with the node-red add-on, hence marked offtopic. Feel free to provide information as request above or raise an feature request at the Home Assistant project.

@agners
Copy link
Contributor

agners commented Oct 9, 2023

There is actually a Supervisor issue handling the "Image .. does not exist" problem, please refer to home-assistant/supervisor#4610. If someone just happens to come across, please attach the complete log as requested in home-assistant/supervisor#4610 (comment).

@CADdy57
Copy link

CADdy57 commented Oct 9, 2023

My solution was:

After updating NodeRed, I also had the described problem. From the backups I restored the state of NodeRed before the update and ran the update again. After that everything was fine and NodeRed works in version 14.6.1

Peter

@BobRathke
Copy link

BobRathke commented Oct 9, 2023

I am still getting the error after running "supervisor repair". It appears that NodeRed does start. but the logging stops within the console of the add-on.... It is not processing any triggers.. I am rolling back to previous.

2023-10-09 16:22:18.148 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/a0d7b954_nodered/stats - 404 Client Error for http+docker://localhost/v1.42/containers/addon_a0d7b954_nodered/json: Not Found ("No such container: addon_a0d7b954_nodered")
2023-10-09 16:22:24.687 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/a0d7b954_nodered/stats - 404 Client Error for http+docker://localhost/v1.42/containers/addon_a0d7b954_nodered/json: Not Found ("No such container: addon_a0d7b954_nodered")

Node Red Logs:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

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

Add-on version: 14.6.1
You are running the latest version of this add-on.
System: Home Assistant OS 10.5 (amd64 / qemux86-64)
Home Assistant Core: 2023.10.1
Home Assistant Supervisor: 2023.10.0

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

s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
s6-rc: info: service init-nginx successfully started
up to date, audited 21 packages in 1s
2 packages are looking for funding
run npm fund for details
2 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit for details.
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service nodered successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:25:27] INFO: Starting Node-RED...

start
node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
9 Oct 16:25:28 - [info]
Welcome to Node-RED
===================
9 Oct 16:25:28 - [info] Node-RED version: v3.1.0
9 Oct 16:25:28 - [info] Node.js version: v18.17.1
9 Oct 16:25:28 - [info] Linux 6.1.45 x64 LE
9 Oct 16:25:28 - [info] Loading palette nodes
9 Oct 16:25:30 - [info] Dashboard version 3.6.0 started at /endpoint/ui
9 Oct 16:25:31 - [info] Settings file : /etc/node-red/config.js
9 Oct 16:25:31 - [info] Context store : 'default' [module=memory]
9 Oct 16:25:31 - [info] User directory : /config/node-red/
9 Oct 16:25:31 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Oct 16:25:31 - [info] Flows file : /config/node-red/flows.json
9 Oct 16:25:31 - [info] Server now running at http://127.0.0.1:46836/
9 Oct 16:25:31 - [info] Starting flows
9 Oct 16:25:31 - [info] Started flows
9 Oct 16:25:31 - [info] [server:Home Assistant] Connecting to http://supervisor/core
9 Oct 16:25:31 - [info] [server:Home Assistant] Connected to http://supervisor/core
[16:25:31] INFO: Starting NGinx...

@platini76
Copy link

up to date, audited 395 packages in 2s
41 packages are looking for funding
run npm fund for details
3 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service nodered successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:03:50] INFO: Starting Node-RED...

start
node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
11 Oct 16:03:51 - [info]
Welcome to Node-RED
===================
11 Oct 16:03:51 - [info] Node-RED version: v3.1.0
11 Oct 16:03:51 - [info] Node.js version: v18.17.1
11 Oct 16:03:51 - [info] Linux 6.1.45 x64 LE
11 Oct 16:03:51 - [info] Loading palette nodes
11 Oct 16:03:52 - [info] Dashboard version 3.6.0 started at /endpoint/ui
11 Oct 16:03:53 - [info] Settings file : /etc/node-red/config.js
11 Oct 16:03:53 - [info] Context store : 'memoryOnly' [module=memory]
11 Oct 16:03:53 - [info] Context store : 'file' [module=localfilesystem]
11 Oct 16:03:53 - [info] User directory : /config/node-red/
11 Oct 16:03:53 - [warn] Projects disabled : editorTheme.projects.enabled=false
11 Oct 16:03:53 - [info] Flows file : /config/node-red/flows.json
11 Oct 16:03:53 - [info] Server now running at http://127.0.0.1:46836/
11 Oct 16:03:53 - [info] Starting flows
11 Oct 16:03:53 - [warn] [knxUltimate-config:KNX Gateway] KNXUltimate-config: WARNING IMPORT OF ETS CSV FILE. Datapoint not set. You choosed to continue import with a fake datapoint 1.001. -> PT Tapparelle 0/1/3
11 Oct 16:03:53 - [warn] [knxUltimate-config:KNX Gateway] KNXUltimate-config: WARNING IMPORT OF ETS CSV FILE. Datapoint not set. You choosed to continue import with a fake datapoint 1.001. -> P1 Tapparelle 0/1/4
11 Oct 16:03:53 - [info] KNX-Unsecure: connection to insecure interface/router using node KNX Gateway
11 Oct 16:03:53 - [info] KNX-Unsecure: connection to insecure interface/router using node KNX Gateway
11 Oct 16:03:53 - [info] Started flows
11 Oct 16:03:53 - [info] [server:Home Assistant] Connecting to http://supervisor/core
11 Oct 16:03:53 - [warn] [alexa-remote-account:028245d35d3bd321] ENOENT: no such file or directory, open '/token-alexa-cakebaked.txt'
11 Oct 16:03:53 - [info] [alexa-remote-account:028245d35d3bd321] intialising with the PROXY method and NO saved data...
11 Oct 16:03:53 - [warn] [alexa-remote-account:028245d35d3bd321] open 192.168.0.50:3456 in your browser
11 Oct 16:03:53 - [info] [mqtt-broker:homeassistant] Connected to broker: node-red@mqtt://192.168.0.50:1883
11 Oct 16:03:53 - [info] [server:Home Assistant] Connected to http://supervisor/core
KNXUltimateHUEConfig: classHUE: request.on(error): NOT FOUND
11 Oct 16:03:53 - [red] Uncaught Exception:
11 Oct 16:03:53 - [error] Error: Error response for https://192.168.0.29/clip/v2/resource with status 404
at /config/node-red/node_modules/node-red-contrib-knx-ultimate/nodes/utils/http.js:39:32
at /config/node-red/node_modules/simple-get/index.js:98:7
at IncomingMessage. (/config/node-red/node_modules/simple-concat/index.js:8:13)
at Object.onceWrapper (node:events:628:28)
at IncomingMessage.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
[16:03:53] INFO: Service Node-RED exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[16:03:53] INFO: Service NGINX exited with code 256 (by signal 15)

it is the same error? someone fix it?

@spiek81
Copy link

spiek81 commented Oct 13, 2023

ℹ️ What is going on here?

program not starting giving the following message

" Image ghcr.io/hassio-addons/node-red/aarch64:14.6.1 does not exist for addon_a0d7b954_nodered"

This is an issue with Home Assistant itself (or the Docker environment running underneath it). The error message shows the image, which can be verified by simply putting https:// in front of it:

https://ghcr.io/hassio-addons/node-red/aarch64:14.6.1

CleanShot 2023-10-07 at 10 21 28

As you can see, it had 13K downloads already... It most definitely exists 😄

As a matter of fact, I do test each aarch and amd64 build before shipping it to you.

Cool Frenck, but how do I fix this?

Some of you seems to tried a re-install, which indeed works for such cases. But might be a bit too much of an effort 😬. Home Assistant has a "fix" command that checks all add-ons, core, and what not, to ensure everything is working as expected. Run the following command from an available (web) terminal or SSH session:

ha supervisor repair

Get yourself coffee, and by the time you're back at your desk, it should all be sorted.

Thanks, but please don't do this again!

I wish I could do anything about this. This problem is occurring outside of the add-on scope. From this end, there is nothing I can do. Sorry 😢 This issue can happen with any add-on, at any time.

For Node-RED, it is one of the popular add-ons, so it just happens that more people run into things like this. But percentage-wise, it is pretty much the same compared to others.

Why did you hide all these comments in this issue?

I've hidden all "I have the same issue" kinda comments, or comment that are unrelated to issue triaging like... I did restore a backup! Cool, but that doesn't solve stuff or help with solving stuff.

Finding an issue on a GitHub issue tracker that matches your problem is kinda nice: At least you know you are not alone. So, let's leave a commit with: "Yeah, I have the same issue", or "+1!!!". 🚫 No!

Please do not create "I have the same issue" comments. Ever.

Not just this issue or this project, but anywhere on GitHub or any issue tracker on the internet even. It doesn't add to triaging the issue. It only generates noise when reading / triaging the case.

Instead, go to the top of the issue, and add a 👍 emoji reaction. That way, we can still see that you (and how many others) experience this issue while keeping the issue threads nice and clean.

Thanks! ❤️

../Frenck

Using the command worked for me. Thx Frenck for your excellent work.

Bas

@mboltonnet
Copy link

I run HAOS on bare metal and hard-rebooting my system resolved this issue for me when nothing else would.

Copy link

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!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Nov 13, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests