hassio-addons/addon-node-red









The issue has been closed
Can't start node-red after update #417
Dendrowen posted onGitHub
Problem/Motivation
After updating to node-red 6.0.0, the add-on won't start up
Expected behavior
Node-red running and automations triggering
Actual behavior
An 'something went wrong' in the logs and node-red exiting with status 0
Steps to reproduce
- Go to the hassio panel in home assistant
- Selecting the node-red add-on
- click start
log
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: Node-RED
Flow-based programming for the Internet of Things
-----------------------------------------------------------
Add-on version: 6.0.0
You are running the latest version of this add-on.
System: Raspbian GNU/Linux 9 (stretch) (armv7 / raspberrypi3)
Home Assistant version: 0.103.5
Supervisor version: 193
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing...
[11:33:21] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[11:33:23] INFO: Password is NOT in the Have I Been Pwned database! Nice!
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
/var/run/s6/etc/cont-init.d/node-red.sh: line 86: 447 Illegal instruction (core dumped) npm uninstall node-red-contrib-home-assistant node-red-contrib-home-assistant-llat node-red-contrib-home-assistant-ws
[11:33:24] FATAL: Failed un-installing conflicting packages
[cont-init.d] node-red.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
config
{
"credential_secret": "xxxxxxxx",
"dark_mode": false,
"http_node": {
"username": "xxxx",
"password": "xxxx"
},
"http_static": {
"username": "xxxx",
"password": "xxxx"
},
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"require_ssl": true,
"system_packages": [],
"npm_packages": [],
"init_commands": [],
"log_level": "info"
}