hassio-addons/addon-node-red

Startup fails with additional node-red packages #517

nianj posted onGitHub

Problem/Motivation

I just updated home-assistant to 0.107.7 and node-red to 6.1.4 . The same config was working with version 5.0.7 of the addon.

Expected behavior

The addon starts and you can use the additional nodes from the packages

Actual behavior

Startup fails:

[cont-init.d] node-red.sh: executing... 
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
npm WARN babel-loader@7.1.5 requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@7.1.5 requires a peer of webpack@2 || 3 || 4 but none is installed. You must install peer dependencies yourself.

audited 16359 packages in 22.814s

9 packages are looking for funding
  run npm fund for details
found 225 vulnerabilities (221 low, 2 moderate, 2 high)
  run npm audit fix to fix them, or npm audit for details
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing... 
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.11.5-16-gcee525a6ad [http://dl-cdn.alpinelinux.org/alpine/v3.11/main]
v3.11.5-17-ge221aa995d [http://dl-cdn.alpinelinux.org/alpine/v3.11/community]
v20200319-526-gc72739ff43 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200319-530-g815d63975d [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200319-529-g2f54392465 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 27400 distinct packages available
(1/1) Installing make (4.2.1-r2)
Executing busybox-1.31.1-r9.trigger
OK: 132 MiB in 51 packages
ERROR: unsatisfiable constraints:
  musl-1.1.24-r1:
    breaks: musl-dev-1.1.24-r2[musl=1.1.24-r2]
    satisfies: world[musl=1.1.24-r1]
               nginx-1.16.1-r6[so:libc.musl-x86_64.so.1]
               gcc-9.2.0-r4[so:libc.musl-x86_64.so.1]
               g++-9.2.0-r4[so:libc.musl-x86_64.so.1]
               tzdata-2019c-r0[so:libc.musl-x86_64.so.1]
               patch-2.7.6-r6[so:libc.musl-x86_64.so.1]
               bash-5.0.11-r1[so:libc.musl-x86_64.so.1]
               ca-certificates-20191127-r1[so:libc.musl-x86_64.so.1]
               busybox-1.31.1-r9[so:libc.musl-x86_64.so.1]
               openssh-client-8.1_p1-r0[so:libc.musl-x86_64.so.1]
               binutils-2.33.1-r0[so:libc.musl-x86_64.so.1]
               sqlite-libs-3.30.1-r1[so:libc.musl-x86_64.so.1]
               curl-7.67.0-r0[so:libc.musl-x86_64.so.1]
               libuv-1.34.0-r0[so:libc.musl-x86_64.so.1]
               ncurses-libs-6.1_p20200118-r2[so:libc.musl-x86_64.so.1]
               expat-2.2.9-r1[so:libc.musl-x86_64.so.1]
               git-2.24.1-r0[so:libc.musl-x86_64.so.1]
               luajit-2.1.0_beta3-r6[so:libc.musl-x86_64.so.1]
               musl-utils-1.1.24-r1[so:libc.musl-x86_64.so.1]
               nghttp2-libs-1.40.0-r0[so:libc.musl-x86_64.so.1]
               nodejs-12.15.0-r1[so:libc.musl-x86_64.so.1]
               gdbm-1.13-r1[so:libc.musl-x86_64.so.1]
               python2-2.7.16-r3[so:libc.musl-x86_64.so.1]
               libstdc++-9.2.0-r4[so:libc.musl-x86_64.so.1]
               libbz2-1.0.8-r1[so:libc.musl-x86_64.so.1]
               isl-0.18-r0[so:libc.musl-x86_64.so.1]
               libcurl-7.67.0-r0[so:libc.musl-x86_64.so.1]
               mpc1-1.1.0-r1[so:libc.musl-x86_64.so.1]
               nginx-mod-http-lua-1.16.1-r6[so:libc.musl-x86_64.so.1]
               pcre-8.43-r0[so:libc.musl-x86_64.so.1]
               oniguruma-6.9.4-r0[so:libc.musl-x86_64.so.1]
               libffi-3.2.1-r6[so:libc.musl-x86_64.so.1]
               zlib-1.2.11-r3[so:libc.musl-x86_64.so.1]
               paxctl-0.9-r0[so:libc.musl-x86_64.so.1]
               libgomp-9.2.0-r4[so:libc.musl-x86_64.so.1]
               apk-tools-2.10.4-r3[so:libc.musl-x86_64.so.1]
               readline-8.0.1-r0[so:libc.musl-x86_64.so.1]
               make-4.2.1-r2[so:libc.musl-x86_64.so.1]
               libedit-20191211.3.1-r0[so:libc.musl-x86_64.so.1]
               libgcc-9.2.0-r4[so:libc.musl-x86_64.so.1]
               libssl1.1-1.1.1d-r3[so:libc.musl-x86_64.so.1]
               alpine-baselayout-3.2.0-r3[so:libc.musl-x86_64.so.1]
               libcrypto1.1-1.1.1d-r3[so:libc.musl-x86_64.so.1]
               libatomic-9.2.0-r4[so:libc.musl-x86_64.so.1]
               openssh-keygen-8.1_p1-r0[so:libc.musl-x86_64.so.1]
               pcre2-10.34-r1[so:libc.musl-x86_64.so.1]
               c-ares-1.15.0-r0[so:libc.musl-x86_64.so.1]
               scanelf-1.2.4-r0[so:libc.musl-x86_64.so.1]
               gmp-6.1.2-r1[so:libc.musl-x86_64.so.1]
               jq-1.6-r0[so:libc.musl-x86_64.so.1]
               mpfr4-4.0.2-r1[so:libc.musl-x86_64.so.1]
               nginx-mod-devel-kit-1.16.1-r6[so:libc.musl-x86_64.so.1]
[01:07:08] FATAL: Failed installing system package g++
[cont-init.d] user.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.

Steps to reproduce

use the following config:

credential_secret: XXXXXX
dark_mode: false
http_node:
  username: ''
  password: ''
http_static:
  username: ''
  password: ''
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: true
system_packages:
  - make
  - g++
  - gcc
  - python
  - linux-headers
npm_packages:
  - node-red-contrib-smartmeter
  - node-red-contrib-chatbot
init_commands: []

: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] about 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

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

Fund this Issue

$0.00
Funded

Pull requests