Start failes after minor update to addon and hassio os
See original GitHub issueProblem/Motivation
Failed to start after latest minor update for addon and hassio os.
Actual behavior
-----------------------------------------------------------
Add-on: Node-RED
Flow-based programming for the Internet of Things
-----------------------------------------------------------
Add-on version: 8.1.2
You are running the latest version of this add-on.
System: Home Assistant OS 5.11 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.2.3
Home Assistant Supervisor: 2021.02.11
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
...
[cont-init.d] node-red.sh: executing...
[07:51:15] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[07:51:17] INFO: Password is NOT in the Have I Been Pwned database! Nice!
patching file nodes/ui_base.html
Hunk #1 succeeded at 1159 (offset 628 lines).
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'nopt'
Require stack:
- /usr/lib/node_modules/npm/lib/config/defaults.js
- /usr/lib/node_modules/npm/lib/config/core.js
- /usr/lib/node_modules/npm/lib/npm.js
- /usr/lib/node_modules/npm/bin/npm-cli.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/config/defaults.js:8:12)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/lib/node_modules/npm/lib/config/defaults.js',
'/usr/lib/node_modules/npm/lib/config/core.js',
'/usr/lib/node_modules/npm/lib/npm.js',
'/usr/lib/node_modules/npm/bin/npm-cli.js'
]
}
[07:51:18] 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to Update Community Add-Ons in Supervisor after ...
If you open the add-on in the UI the slug appears in the URL. Basically click on any addon from the supervisor panel...
Read more >Node-Red broken after HA Update (0.105.2 + OS update) #444
I attempted upgrade Home-Assistant (rPi 3B+, HA 0.105.2, HassOS 3.9) which failed to start/restart Node-Red following upgrade.
Read more >How to Update Home Assistant as Safe as Possible - YouTube
It is time to start updating Home Assistant the right way. Do you know how to properly update your Home Assistant OS installation...
Read more >Home Assistant Community Add-ons
Home Assistant allows anyone to create add-on repositories to share their add-ons for Home Assistant easily. This repository is one of those repositories, ......
Read more >Home Assistant on a Raspberry Pi with HASS OS, Zigbee ...
Set up Home Assistant from Scratch using a Raspberry Pi with HASS OS, Zigbee Conbee II, deCONZ, Xiaomi Aqara sensors. Beginner friendly!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It sounds strange because node-red is in a container, rebuild does not help and it’s minor update back and forth with will cause the container log the error. I’m not aware any 3rd party modules installed inside node-red and my config is simple. But I will keep looking, need to disable auto update for now.
Thank you for you help.
That startup is fine.
Is not part of this add-on, so I’m not able to tell you how it got into your system. I don’t manage that system.