Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Update js-controller und node.js

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Update js-controller und node.js

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
update js-controller node.js
93 Beiträge 10 Kommentatoren 65.4k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • HomoranH Homoran

    @klausiob sagte in Update js-controller und node.js:

    Für eine mutmachende Antwort würde ich mich freuen.

    Optimist!

    Wenn du jetzt updatest würde ich direkt den großen Sprung machen, dann kannst du es wieder lange unberührt lassen (wenn es denn unbedingt sein muss)

    Node.js 12!
    Admin 3.x (der 4er ist auch bald soweit, hat noch ein paar Kinderkrankheiten)
    js-controller 2.2.x

    Latest muss nicht außer wenn du einen Adapter updaten willst, der einen höheren anderen Adapter benötigt (war mal so mit javascript und admin) dann "kurz" auf latest umschalten, diesen einen Adapter updaten und alles andere auf stable lassen, dann wieder repo auf default zurück

    K Offline
    K Offline
    klausiob
    schrieb am zuletzt editiert von klausiob
    #13

    @Homoran Nach meinem Node und js-controller updates gibt es ein Problem mit dem Update einiger Adapter, wie folgt

    $ ./iobroker upgrade vis-materialdesign
    Update vis-materialdesign from @0.3.4 to @0.3.6
    NPM version: 6.14.4
    npm install iobroker.vis-materialdesign@0.3.6 --loglevel error --prefix "/opt/iobroker" (System call)
    Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found
    gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
    gyp
     ERR! configure error 
    gyp
     ERR! 
    stack Error: `gyp` failed with exit code: 1
    gyp ERR!
     stack
         at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp 
    ERR! stack
         at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp
     ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
    node-pre-gyp
     ERR! build error node-pre-gyp
     ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
    node-pre-gyp ERR! System Linux 4.14.79-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
    node-pre-gyp ERR! node -v v10.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
    ERR!
     
    sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info
     sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
    ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
    compilation terminated.
    make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
    gyp
     
    ERR! build error 
    gyp
     ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack
         at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
    gyp
     ERR! System Linux 4.14.79-v7+gyp
     ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR!
     node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
     
    Killed
    ERROR: host.hsmart Cannot install iobroker.vis-materialdesign@0.3.6: 137
    ERROR: process exited with code 25
    

    Ursache bzw.Lösung: should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found ?

    VG klausiob

    Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
    node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • K klausiob

      @Homoran Nach meinem Node und js-controller updates gibt es ein Problem mit dem Update einiger Adapter, wie folgt

      $ ./iobroker upgrade vis-materialdesign
      Update vis-materialdesign from @0.3.4 to @0.3.6
      NPM version: 6.14.4
      npm install iobroker.vis-materialdesign@0.3.6 --loglevel error --prefix "/opt/iobroker" (System call)
      Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found
      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp
       ERR! configure error 
      gyp
       ERR! 
      stack Error: `gyp` failed with exit code: 1
      gyp ERR!
       stack
           at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp 
      ERR! stack
           at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp
       ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      node-pre-gyp
       ERR! build error node-pre-gyp
       ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      node-pre-gyp ERR! System Linux 4.14.79-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v10.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
      ERR!
       
      sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info
       sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
      ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
      compilation terminated.
      make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
      gyp
       
      ERR! build error 
      gyp
       ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack
           at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp
       ERR! System Linux 4.14.79-v7+gyp
       ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR!
       node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
       
      Killed
      ERROR: host.hsmart Cannot install iobroker.vis-materialdesign@0.3.6: 137
      ERROR: process exited with code 25
      

      Ursache bzw.Lösung: should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found ?

      VG klausiob

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #14

      @klausiob said in Update js-controller und node.js:

      Package pixman-1

      npm i canvas
      

      im Verzeichis /opt/iobroker ausführen.
      Wenn das nicht weiter hilft:

      sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev librsvg2-dev
      

      (Wenn du da was Debian-artiges fährst)

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      K 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @klausiob said in Update js-controller und node.js:

        Package pixman-1

        npm i canvas
        

        im Verzeichis /opt/iobroker ausführen.
        Wenn das nicht weiter hilft:

        sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev librsvg2-dev
        

        (Wenn du da was Debian-artiges fährst)

        K Offline
        K Offline
        klausiob
        schrieb am zuletzt editiert von klausiob
        #15

        @Thomas-Braun
        Vorschlag 1 bringt folgendes Ergebnis:

        :/opt/iobroker $ npm i canvas
        
        > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
        > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
        
        ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
        info sharp Attempting to build from source via node-gyp but this may fail due to the above error
        info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten
          CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
          AR(target) Release/obj.target/../node-addon-api/src/nothing.a
          COPY Release/nothing.a
          TOUCH Release/obj.target/libvips-cpp.stamp
          CXX(target) Release/obj.target/sharp/src/common.o
        ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
         #include <vips/vips8>
                              ^
        compilation terminated.
        sharp.target.mk:130: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte
        make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
        gyp ERR! System Linux 4.14.79-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/sharp
        gyp ERR! node -v v10.20.1
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        
        > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
        > node-pre-gyp install --fallback-to-build
        
        node-pre-gyp WARN Using request for node-pre-gyp https download
        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
        node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
        Package pixman-1 was not found in the pkg-config search path.
        Perhaps you should add the directory containing `pixman-1.pc'
        to the PKG_CONFIG_PATH environment variable
        No package 'pixman-1' found
        gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
        gyp ERR! configure error
        gyp ERR! stack Error: `gyp` failed with exit code: 1
        gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
        gyp ERR! System Linux 4.14.79-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
        gyp ERR! cwd /opt/iobroker/node_modules/canvas
        gyp ERR! node -v v10.20.1
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        node-pre-gyp ERR! build error
        node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
        node-pre-gyp ERR! System Linux 4.14.79-v7+
        node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        node-pre-gyp ERR! node -v v10.20.1
        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
        node-pre-gyp ERR! not ok
        Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp):
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the canvas@2.6.1 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2020-05-02T06_59_03_859Z-debug.log
        
        

        Bei Vorschlag 2:

        E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/t/tiff/libtiff5_4.0.8-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
        E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
        
        

        Bin offenbar nicht der einzigste mit dem Fehler: Link Text

        Der Vorschlag hier hat auch nichts gebracht:

        sudo apt-get remove build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Paket »libgif-dev« ist nicht installiert, wird also auch nicht entfernt.
        Paket »libjpeg-dev« ist nicht installiert, wird also auch nicht entfernt.
        Paket »libpango1.0-dev« ist nicht installiert, wird also auch nicht entfernt.
        Paket »librsvg2-dev« ist nicht installiert, wird also auch nicht entfernt.
        Paket »libcairo2-dev« ist nicht installiert, wird also auch nicht entfernt.
        Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
          g++ g++-6 libstdc++-6-dev
        Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
        Die folgenden Pakete werden ENTFERNT:
          build-essential
        0 aktualisiert, 0 neu installiert, 1 zu entfernen und 91 nicht aktualisiert.
        Nach dieser Operation werden 20,5 kB Plattenplatz freigegeben.
        Möchten Sie fortfahren? [J/n] j
        (Lese Datenbank ... 41607 Dateien und Verzeichnisse sind derzeit installiert.)
        Entfernen von build-essential (12.3) ...
        
        

        Da muß wohl ein Profi mal drauf gucken. Das habe ich noch gefunden:
        Link Text

        Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
        node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • K klausiob

          @Thomas-Braun
          Vorschlag 1 bringt folgendes Ergebnis:

          :/opt/iobroker $ npm i canvas
          
          > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
          > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
          
          ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
          info sharp Attempting to build from source via node-gyp but this may fail due to the above error
          info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
          make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten
            CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
            AR(target) Release/obj.target/../node-addon-api/src/nothing.a
            COPY Release/nothing.a
            TOUCH Release/obj.target/libvips-cpp.stamp
            CXX(target) Release/obj.target/sharp/src/common.o
          ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
           #include <vips/vips8>
                                ^
          compilation terminated.
          sharp.target.mk:130: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte
          make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
          make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.14.79-v7+
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/sharp
          gyp ERR! node -v v10.20.1
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok
          
          > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
          > node-pre-gyp install --fallback-to-build
          
          node-pre-gyp WARN Using request for node-pre-gyp https download
          node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
          node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
          Package pixman-1 was not found in the pkg-config search path.
          Perhaps you should add the directory containing `pixman-1.pc'
          to the PKG_CONFIG_PATH environment variable
          No package 'pixman-1' found
          gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
          gyp ERR! configure error
          gyp ERR! stack Error: `gyp` failed with exit code: 1
          gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.14.79-v7+
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
          gyp ERR! cwd /opt/iobroker/node_modules/canvas
          gyp ERR! node -v v10.20.1
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok
          node-pre-gyp ERR! build error
          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
          node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
          node-pre-gyp ERR! System Linux 4.14.79-v7+
          node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
          node-pre-gyp ERR! node -v v10.20.1
          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
          node-pre-gyp ERR! not ok
          Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp):
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the canvas@2.6.1 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2020-05-02T06_59_03_859Z-debug.log
          
          

          Bei Vorschlag 2:

          E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/t/tiff/libtiff5_4.0.8-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
          E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
          
          

          Bin offenbar nicht der einzigste mit dem Fehler: Link Text

          Der Vorschlag hier hat auch nichts gebracht:

          sudo apt-get remove build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Paket »libgif-dev« ist nicht installiert, wird also auch nicht entfernt.
          Paket »libjpeg-dev« ist nicht installiert, wird also auch nicht entfernt.
          Paket »libpango1.0-dev« ist nicht installiert, wird also auch nicht entfernt.
          Paket »librsvg2-dev« ist nicht installiert, wird also auch nicht entfernt.
          Paket »libcairo2-dev« ist nicht installiert, wird also auch nicht entfernt.
          Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
            g++ g++-6 libstdc++-6-dev
          Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
          Die folgenden Pakete werden ENTFERNT:
            build-essential
          0 aktualisiert, 0 neu installiert, 1 zu entfernen und 91 nicht aktualisiert.
          Nach dieser Operation werden 20,5 kB Plattenplatz freigegeben.
          Möchten Sie fortfahren? [J/n] j
          (Lese Datenbank ... 41607 Dateien und Verzeichnisse sind derzeit installiert.)
          Entfernen von build-essential (12.3) ...
          
          

          Da muß wohl ein Profi mal drauf gucken. Das habe ich noch gefunden:
          Link Text

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #16

          @klausiob

          sudo apt update 
          

          und dann nochmal die Pakete wie oben beschrieben installieren. Welches System hast du da eigentlich?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          K 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @klausiob

            sudo apt update 
            

            und dann nochmal die Pakete wie oben beschrieben installieren. Welches System hast du da eigentlich?

            K Offline
            K Offline
            klausiob
            schrieb am zuletzt editiert von klausiob
            #17

            @Thomas-Braun Installation der Pakete lief erstmal fehlerfrei durch. Dummerweise scheint iobroker trotz o.g. Fehler die Updates zu installieren. Daher mußte ich jetzt ein anderen Adapter nehmen. Da kommen jetzt andere Fehler, aber offenbar zum gleichen Thema "imageprocessing" :

            $ ./iobroker upgrade shelly
            Update shelly from @3.2.5 to @3.2.6
            NPM version: 6.14.4
            npm install iobroker.shelly@3.2.6 --loglevel error --prefix "/opt/iobroker" (System call)
            ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data > imgdOffset, "image data overlaps with another structure");
                 ~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                     ^~~~
            ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                 ~~~~~~~~~~~~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                     ^~~~
            ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]     if (canvas->nBytes() > node::Buffer::kMaxLength) {         ~~~~~~~~~~~~~~~~~^~~~~~
            ERR!
             
            sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
            ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
            compilation terminated.
            make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
            gyp
             ERR! build error 
            gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
            Killed
            ERROR: host.hsmart Cannot install iobroker.shelly@3.2.6: 137
            ERROR: process exited with code 25
            

            Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
            node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • K klausiob

              @Thomas-Braun Installation der Pakete lief erstmal fehlerfrei durch. Dummerweise scheint iobroker trotz o.g. Fehler die Updates zu installieren. Daher mußte ich jetzt ein anderen Adapter nehmen. Da kommen jetzt andere Fehler, aber offenbar zum gleichen Thema "imageprocessing" :

              $ ./iobroker upgrade shelly
              Update shelly from @3.2.5 to @3.2.6
              NPM version: 6.14.4
              npm install iobroker.shelly@3.2.6 --loglevel error --prefix "/opt/iobroker" (System call)
              ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data > imgdOffset, "image data overlaps with another structure");
                   ~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                       ^~~~
              ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                   ~~~~~~~~~~~~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                       ^~~~
              ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]     if (canvas->nBytes() > node::Buffer::kMaxLength) {         ~~~~~~~~~~~~~~~~~^~~~~~
              ERR!
               
              sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
              ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
              compilation terminated.
              make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
              gyp
               ERR! build error 
              gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
              Killed
              ERROR: host.hsmart Cannot install iobroker.shelly@3.2.6: 137
              ERROR: process exited with code 25
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #18

              @klausiob Was für ein System läuft da?

              lsb_release -a
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              K 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @klausiob Was für ein System läuft da?

                lsb_release -a
                
                K Offline
                K Offline
                klausiob
                schrieb am zuletzt editiert von
                #19

                @Thomas-Braun sagte in Update js-controller und node.js:

                lsb_release -a

                No LSB modules are available.
                Distributor ID: Raspbian
                Description:    Raspbian GNU/Linux 9.6 (stretch)
                Release:        9.6
                Codename:       stretch
                
                

                Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • K klausiob

                  @Thomas-Braun sagte in Update js-controller und node.js:

                  lsb_release -a

                  No LSB modules are available.
                  Distributor ID: Raspbian
                  Description:    Raspbian GNU/Linux 9.6 (stretch)
                  Release:        9.6
                  Codename:       stretch
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #20

                  @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                  Ich fürchte nur, das baut keiner für Stretch.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  K S 2 Antworten Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                    Ich fürchte nur, das baut keiner für Stretch.

                    K Offline
                    K Offline
                    klausiob
                    schrieb am zuletzt editiert von
                    #21

                    @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                    Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                    VG klausiob

                    Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                    node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                    Thomas BraunT K 2 Antworten Letzte Antwort
                    0
                    • K klausiob

                      @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                      Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                      VG klausiob

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #22

                      @klausiob
                      Ich fahre ein raspbian Buster/stable bei mir. Ein dist-upgrade ist ja kein Hexenwerk.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • K klausiob

                        @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                        Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                        VG klausiob

                        K Offline
                        K Offline
                        klausiob
                        schrieb am zuletzt editiert von
                        #23

                        @Homoran Ist es notwendig das rasbian stretch auf buster upzugraden, um die Fehler, die auch andere haben Fehlermeldung bei manuelles Update / Adapter zu vermeiden? Leider hat die Lösung gelöst - Was bedeudet diese Fehlermeldung? nicht funktioniert.

                        Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                        node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                          Ich fürchte nur, das baut keiner für Stretch.

                          S Offline
                          S Offline
                          Smartuser
                          schrieb am zuletzt editiert von
                          #24

                          @Thomas-Braun sagte in Update js-controller und node.js:

                          @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                          Ich fürchte nur, das baut keiner für Stretch.

                          Hallöchen,

                          ich häng mich hier mal mit dran. Nur an Stretch allein scheint es nicht zu liegen. Bei buster tritt auch diese Medlung auf.

                          rock64@rock64:/opt/iobroker$ iobroker upgrade backitup
                          Update backitup from @1.4.5 to @1.5.6
                          host.rock64 Adapter "system.adapter.backitup.0" is stopped.
                          NPM version: 6.14.4
                          npm install iobroker.backitup@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                          ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                          info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                          info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                          ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                           #include <vips/vips8>
                                    ^~~~~~~~~~~~
                          compilation terminated.
                          make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                          gyp ERR! build error
                          gyp ERR! stack Error: `make` failed with exit code: 2
                          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                          gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                          gyp ERR! System Linux 4.4.213-rockchip64
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/sharp
                          gyp ERR! node -v v12.16.3
                          gyp ERR! node-gyp -v v5.1.0
                          gyp ERR! not ok
                          upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                          Update "system.adapter.backitup.0"
                          upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                          upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                          upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                          Adapter "backitup" updated
                          host.rock64 Adapter "system.adapter.backitup.0" is started
                          

                          Die Updates laufen trotz der Fehlermeldung.
                          Hardware: Rock64
                          JS-Controller: 3.0.20
                          Dist (stable buster):

                          rock64@rock64:/opt/iobroker$ lsb_release -a
                          No LSB modules are available.
                          Distributor ID: Debian
                          Description:    Debian GNU/Linux 10 (buster)
                          Release:        10
                          Codename:       buster
                          

                          Node/NodeJS:

                          rock64@rock64:/opt/iobroker$ node -v
                          v12.16.3
                          rock64@rock64:/opt/iobroker$ nodejs -v
                          v12.16.3
                          

                          Grüße

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • S Smartuser

                            @Thomas-Braun sagte in Update js-controller und node.js:

                            @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                            Ich fürchte nur, das baut keiner für Stretch.

                            Hallöchen,

                            ich häng mich hier mal mit dran. Nur an Stretch allein scheint es nicht zu liegen. Bei buster tritt auch diese Medlung auf.

                            rock64@rock64:/opt/iobroker$ iobroker upgrade backitup
                            Update backitup from @1.4.5 to @1.5.6
                            host.rock64 Adapter "system.adapter.backitup.0" is stopped.
                            NPM version: 6.14.4
                            npm install iobroker.backitup@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                            ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                            info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                            info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                            ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                             #include <vips/vips8>
                                      ^~~~~~~~~~~~
                            compilation terminated.
                            make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                            gyp ERR! build error
                            gyp ERR! stack Error: `make` failed with exit code: 2
                            gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                            gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                            gyp ERR! System Linux 4.4.213-rockchip64
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/sharp
                            gyp ERR! node -v v12.16.3
                            gyp ERR! node-gyp -v v5.1.0
                            gyp ERR! not ok
                            upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                            Update "system.adapter.backitup.0"
                            upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                            upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                            upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                            Adapter "backitup" updated
                            host.rock64 Adapter "system.adapter.backitup.0" is started
                            

                            Die Updates laufen trotz der Fehlermeldung.
                            Hardware: Rock64
                            JS-Controller: 3.0.20
                            Dist (stable buster):

                            rock64@rock64:/opt/iobroker$ lsb_release -a
                            No LSB modules are available.
                            Distributor ID: Debian
                            Description:    Debian GNU/Linux 10 (buster)
                            Release:        10
                            Codename:       buster
                            

                            Node/NodeJS:

                            rock64@rock64:/opt/iobroker$ node -v
                            v12.16.3
                            rock64@rock64:/opt/iobroker$ nodejs -v
                            v12.16.3
                            

                            Grüße

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #25

                            @Smartuser sagte in Update js-controller und node.js:

                            Nur an Stretch allein scheint es nicht zu liegen.

                            Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            S 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @Smartuser sagte in Update js-controller und node.js:

                              Nur an Stretch allein scheint es nicht zu liegen.

                              Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                              S Offline
                              S Offline
                              Smartuser
                              schrieb am zuletzt editiert von
                              #26

                              @Thomas-Braun sagte in Update js-controller und node.js:

                              @Smartuser sagte in Update js-controller und node.js:

                              Nur an Stretch allein scheint es nicht zu liegen.

                              Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                              Ja scheint so :)
                              Hast du einen Tip/Link wie und wo man Hand anlegt um die Meldungen wegzubekommen?
                              Die Suche hat mir leider noch nicht weitergeholfen.

                              Grüße

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • S Smartuser

                                @Thomas-Braun sagte in Update js-controller und node.js:

                                @Smartuser sagte in Update js-controller und node.js:

                                Nur an Stretch allein scheint es nicht zu liegen.

                                Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                                Ja scheint so :)
                                Hast du einen Tip/Link wie und wo man Hand anlegt um die Meldungen wegzubekommen?
                                Die Suche hat mir leider noch nicht weitergeholfen.

                                Grüße

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #27

                                @Smartuser
                                Leg mal so Hand an:

                                sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                S 1 Antwort Letzte Antwort
                                1
                                • Thomas BraunT Thomas Braun

                                  @Smartuser
                                  Leg mal so Hand an:

                                  sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                  
                                  S Offline
                                  S Offline
                                  Smartuser
                                  schrieb am zuletzt editiert von
                                  #28

                                  @Thomas-Braun sagte in Update js-controller und node.js:

                                  @Smartuser
                                  Leg mal so Hand an:

                                  sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                  

                                  Danke für deine schnellen Rückmeldungen.:+1:
                                  In dem Fall ist scheinbar alles schon in der aktuellsten Version vorhanden:

                                  rock64@rock64:~$ sudo apt-get install build-essential libcairo2-dev libpango1.0-                                                                                                                                                             dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                  [sudo] password for rock64:
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  build-essential is already the newest version (12.6).
                                  libcairo2-dev is already the newest version (1.16.0-4).
                                  libgif-dev is already the newest version (5.1.4-3).
                                  libjpeg-dev is already the newest version (1:1.5.2-2).
                                  librsvg2-dev is already the newest version (2.44.10-2.1).
                                  libpango1.0-dev is already the newest version (1.42.4-7~deb10u1).
                                  libpixman-1-0 is already the newest version (0.36.0-1).
                                  libpixman-1-0 set to manually installed.
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  rock64@rock64:~$
                                  

                                  Grüße

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • S Smartuser

                                    @Thomas-Braun sagte in Update js-controller und node.js:

                                    @Smartuser
                                    Leg mal so Hand an:

                                    sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                    

                                    Danke für deine schnellen Rückmeldungen.:+1:
                                    In dem Fall ist scheinbar alles schon in der aktuellsten Version vorhanden:

                                    rock64@rock64:~$ sudo apt-get install build-essential libcairo2-dev libpango1.0-                                                                                                                                                             dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                                    [sudo] password for rock64:
                                    Reading package lists... Done
                                    Building dependency tree
                                    Reading state information... Done
                                    build-essential is already the newest version (12.6).
                                    libcairo2-dev is already the newest version (1.16.0-4).
                                    libgif-dev is already the newest version (5.1.4-3).
                                    libjpeg-dev is already the newest version (1:1.5.2-2).
                                    librsvg2-dev is already the newest version (2.44.10-2.1).
                                    libpango1.0-dev is already the newest version (1.42.4-7~deb10u1).
                                    libpixman-1-0 is already the newest version (0.36.0-1).
                                    libpixman-1-0 set to manually installed.
                                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    rock64@rock64:~$
                                    

                                    Grüße

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #29

                                    @Smartuser

                                    libpixman-1-0 set to manually installed
                                    

                                    Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    S K 2 Antworten Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Smartuser

                                      libpixman-1-0 set to manually installed
                                      

                                      Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                      S Offline
                                      S Offline
                                      Smartuser
                                      schrieb am zuletzt editiert von
                                      #30

                                      @Thomas-Braun sagte in Update js-controller und node.js:

                                      @Smartuser

                                      libpixman-1-0 set to manually installed
                                      

                                      Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                      Moin ...
                                      nein eigentlich nicht. Es ist ein frisch aufgesetztes Buster (Stable). Iobroker drauf, Backup eingespielt, proftp und cifs pakete drauf ... fertig.
                                      Wenn libpixman manuell installiert wurde, müsste es bei der Installation von iobroker passiert sein.

                                      Kann das sein?
                                      Wie bekomme ich es behoben, so dass es wieder bei den upgrades mit angepasst wird?

                                      Grüße

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @Smartuser

                                        libpixman-1-0 set to manually installed
                                        

                                        Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                        K Offline
                                        K Offline
                                        klausiob
                                        schrieb am zuletzt editiert von klausiob
                                        #31

                                        @Thomas-Braun Habe auch nochmal die Essentials wie oben installiert. War auch alles aktuell, nur gif noch dazu installiert.
                                        Meldete auch

                                        libpixman-1-0 set to manually installed.
                                        

                                        obwohl ich nie was manuell installiert hatte.

                                        Distributor ID: Raspbian
                                        Description:    Raspbian GNU/Linux 9.6 (stretch)
                                        Release:        9.6
                                        Codename:       stretch
                                        

                                        Also bringt buster-Installation auch nichts?

                                        $ ./iobroker upgrade hs100
                                        Update hs100 from @1.1.2 to @1.1.5
                                        NPM version: 6.14.4npm install iobroker.hs100@1.1.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                        ERR!
                                         
                                        sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                                        info
                                         sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                        ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^compilation terminated.
                                        make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
                                        gyp
                                         ERR! build error 
                                        gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Linux 4.14.79-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                        upload [3] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/words.js words.js application/javascript
                                        Adapter "system.adapter.hs100.0" restarted.
                                        Update "system.adapter.hs100.0"
                                        upload [2] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index_m.html index_m.html text/html
                                        upload [1] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index.html index.html text/html
                                        upload [0] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/hs100.png hs100.png image/png
                                        Adapter "hs100" updated
                                        process exited with code 0
                                        

                                        Problem bleibt bei fast jedem Adapteruodate. Problem liegt doch offenbar in dem Bereich.

                                        sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                                        info
                                         sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                        ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^compilation terminated.
                                        make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
                                        

                                        Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                                        node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S Smartuser

                                          @Thomas-Braun sagte in Update js-controller und node.js:

                                          @Smartuser

                                          libpixman-1-0 set to manually installed
                                          

                                          Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                          Moin ...
                                          nein eigentlich nicht. Es ist ein frisch aufgesetztes Buster (Stable). Iobroker drauf, Backup eingespielt, proftp und cifs pakete drauf ... fertig.
                                          Wenn libpixman manuell installiert wurde, müsste es bei der Installation von iobroker passiert sein.

                                          Kann das sein?
                                          Wie bekomme ich es behoben, so dass es wieder bei den upgrades mit angepasst wird?

                                          Grüße

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #32

                                          @Smartuser

                                          sudo apt update
                                          sudo apt dist-upgrade
                                          sudo apt install --reinstall libpixman-1-0 libpixman-1-dev
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          S 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          896

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe