hassio-addons/addon-node-red

Node-Red 7 does not start #627

gj52 posted onGitHub

Problem/Motivation

Node-Red 7 does not start - see marked log section



[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... 
-----------------------------------------------------------
 Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 7.0.0
 You are running the latest version of this add-on.
 System: HassOS 4.11  (armv7 / raspberrypi3)
 Home Assistant Core: 0.113.0
 Home Assistant Supervisor: 229
-----------------------------------------------------------
 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... 
[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:50:50] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[11:50:51] INFO: Password is NOT in the Have I Been Pwned database! Nice!

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
patching file nodes/ui_base.html
Hunk #1 succeeded at 1177 (offset 646 lines).
/var/run/s6/etc/cont-init.d/node-red.sh: line 78: npm: command not found
[11:50:52] 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.
[s6-finish] sending all processes the KILL signal and exiting.

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

posted by addons-assistant[bot] almost 5 years ago

1st. could NOT find /var/run/s6/etc/cont-init.d/node-red.sh

2nd. reinstall does NOT work 20-07-25 13:28:29 ERROR (SyncWorker_4) [supervisor.docker.interface] Can't install hassioaddons/node-red-armv7:7.0.0 -> 404 Client Error: Not Found ("no such image: hassioaddons/node-red-armv7:7.0.0: No such image: hassioaddons/node-red-armv7:7.0.0").

posted by gj52 almost 5 years ago

I would suggest that you are likely experiencing storage issues.

The 404 is generated when the image cannot be pulled, or cannot be stored on disk. Based on the first error it almost looks like the container image was corrupted.

I would suggest ensuring you have a full snapshot, validate free disk space, and possibly look at if your SD card has issues.

posted by sinclairpaul almost 5 years ago

done backup -> reinstall HA -> restore all works now!

posted by gj52 almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests