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.9k

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

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

Update js-controller und node.js

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
update js-controller node.js
93 Beiträge 10 Kommentatoren 65.6k 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.
  • Thomas BraunT Thomas Braun

    @Smartuser

    npm i vips
    
    S Offline
    S Offline
    Smartuser
    schrieb am zuletzt editiert von
    #66

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

    npm i vips

    rock64@rock64:/opt/iobroker$ npm i vips
    
    > 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.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
    make: Entering directory '/opt/iobroker/node_modules/sharp/build'
      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
    In file included from ../src/common.cc:23:
    /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
     #include <glib-object.h>
              ^~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
    make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
    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
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
    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
    
    + vips@1.0.0
    added 1 package from 1 contributor in 44.674s
    
    22 packages are looking for funding
      run `npm fund` for details
    
    rock64@rock64:/opt/iobroker$
    
    
    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • S Smartuser

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

      npm i vips

      rock64@rock64:/opt/iobroker$ npm i vips
      
      > 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.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
      make: Entering directory '/opt/iobroker/node_modules/sharp/build'
        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
      In file included from ../src/common.cc:23:
      /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
       #include <glib-object.h>
                ^~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
      make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
      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
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
      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
      
      + vips@1.0.0
      added 1 package from 1 contributor in 44.674s
      
      22 packages are looking for funding
        run `npm fund` for details
      
      rock64@rock64:/opt/iobroker$
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #67

      @Smartuser

      npm i canvas
      

      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

        npm i canvas
        
        S Offline
        S Offline
        Smartuser
        schrieb am zuletzt editiert von
        #68

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

        npm i canvas

        Es lief eine Weile, am Ende dieses Ergebnis:

        ...
        ...
        ...
        make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
        
        > 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.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
        make: Entering directory '/opt/iobroker/node_modules/sharp/build'
          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
        In file included from ../src/common.cc:23:
        /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
         #include <glib-object.h>
                  ^~~~~~~~~~~~~~~
        compilation terminated.
        make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
        make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
        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
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
        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
        
        + canvas@2.6.1
        updated 1 package in 158.31s
        
        22 packages are looking for funding
          run `npm fund` for details
        
        rock64@rock64:/opt/iobroker$
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • S Smartuser

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

          npm i canvas

          Es lief eine Weile, am Ende dieses Ergebnis:

          ...
          ...
          ...
          make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
          
          > 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.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
          make: Entering directory '/opt/iobroker/node_modules/sharp/build'
            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
          In file included from ../src/common.cc:23:
          /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
           #include <glib-object.h>
                    ^~~~~~~~~~~~~~~
          compilation terminated.
          make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
          make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
          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
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
          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
          
          + canvas@2.6.1
          updated 1 package in 158.31s
          
          22 packages are looking for funding
            run `npm fund` for details
          
          rock64@rock64:/opt/iobroker$
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #69

          @Smartuser
          Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
          Muss sich einer anschauen, der in node tiefer drin ist.
          Auf meinem Raspberry mit ARMV7l Architektur baut der Kram.
          Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

          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
            Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
            Muss sich einer anschauen, der in node tiefer drin ist.
            Auf meinem Raspberry mit ARMV7l Architektur baut der Kram.
            Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

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

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

            @Smartuser
            Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
            Muss sich einer anschauen, der in node tiefer drin ist.
            Auf meinem Raspberry mit ARMV71 Architektur baut der Kram.
            Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

            Ok .... danke für deine Mühe. :+1: :+1: :clap:
            Eventuell nehm ich mal ein ayufan Image für den Rock64, vielleicht geht es damit

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • S Smartuser

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

              @Smartuser
              Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
              Muss sich einer anschauen, der in node tiefer drin ist.
              Auf meinem Raspberry mit ARMV71 Architektur baut der Kram.
              Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

              Ok .... danke für deine Mühe. :+1: :+1: :clap:
              Eventuell nehm ich mal ein ayufan Image für den Rock64, vielleicht geht es damit

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

              @Smartuser
              Ich installier mir das OS immer selber. Dann weiß ich auch mehr oder weniger was da läuft.

              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

              AlCalzoneA 1 Antwort Letzte Antwort
              1
              • Thomas BraunT Thomas Braun

                @Smartuser
                Ich installier mir das OS immer selber. Dann weiß ich auch mehr oder weniger was da läuft.

                AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                schrieb am zuletzt editiert von
                #72

                @Thomas-Braun @Smartuser
                libvips ist gar kein npm-Paket. Da könnt ihr lange probieren
                ==> https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball

                Danach kann sharp rebuilded werden.

                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                Thomas BraunT 1 Antwort Letzte Antwort
                1
                • AlCalzoneA AlCalzone

                  @Thomas-Braun @Smartuser
                  libvips ist gar kein npm-Paket. Da könnt ihr lange probieren
                  ==> https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball

                  Danach kann sharp rebuilded werden.

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

                  @AlCalzone Arrrgh! Schwerer Denkfehler von mir! Danke fürs aufwecken!
                  Nur warum liegt das bei mir alles im node?

                  pi@raspberrypi:~ $ locate libvips
                  /home/iobroker/.npm/_libvips
                  /home/iobroker/.npm/_libvips/libvips-8.9.0-linux-armv7.tar.gz
                  /home/iobroker/.npm/_libvips/libvips-8.9.1-linux-armv7.tar.gz
                  /opt/iobroker/node_modules/sharp/build/Release/.deps/Release/obj.target/libvips-cpp.stamp.d
                  /opt/iobroker/node_modules/sharp/build/Release/obj.target/libvips-cpp.stamp
                  /opt/iobroker/node_modules/sharp/build/libvips-cpp.target.mk
                  /opt/iobroker/node_modules/sharp/install/libvips.js
                  /opt/iobroker/node_modules/sharp/lib/libvips.js
                  /opt/iobroker/node_modules/sharp/src/libvips
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VConnection.cpp
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VError.cpp
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VImage.cpp
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VInterpolate.cpp
                  /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/vips-operators.cpp
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42.12.1
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42
                  /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42.12.1
                  

                  Und sharp ist bei mir drin:

                  pi@raspberrypi:/opt/iobroker $ npm list sharp --depth=2
                  iobroker.inst@2.0.3 /opt/iobroker
                  └─┬ iobroker.iot@1.4.14
                    └── sharp@0.25.2
                  

                  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 AlCalzoneA 2 Antworten Letzte Antwort
                  1
                  • Thomas BraunT Thomas Braun

                    @AlCalzone Arrrgh! Schwerer Denkfehler von mir! Danke fürs aufwecken!
                    Nur warum liegt das bei mir alles im node?

                    pi@raspberrypi:~ $ locate libvips
                    /home/iobroker/.npm/_libvips
                    /home/iobroker/.npm/_libvips/libvips-8.9.0-linux-armv7.tar.gz
                    /home/iobroker/.npm/_libvips/libvips-8.9.1-linux-armv7.tar.gz
                    /opt/iobroker/node_modules/sharp/build/Release/.deps/Release/obj.target/libvips-cpp.stamp.d
                    /opt/iobroker/node_modules/sharp/build/Release/obj.target/libvips-cpp.stamp
                    /opt/iobroker/node_modules/sharp/build/libvips-cpp.target.mk
                    /opt/iobroker/node_modules/sharp/install/libvips.js
                    /opt/iobroker/node_modules/sharp/lib/libvips.js
                    /opt/iobroker/node_modules/sharp/src/libvips
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VConnection.cpp
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VError.cpp
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VImage.cpp
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VInterpolate.cpp
                    /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/vips-operators.cpp
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42.12.1
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42
                    /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42.12.1
                    

                    Und sharp ist bei mir drin:

                    pi@raspberrypi:/opt/iobroker $ npm list sharp --depth=2
                    iobroker.inst@2.0.3 /opt/iobroker
                    └─┬ iobroker.iot@1.4.14
                      └── sharp@0.25.2
                    
                    S Offline
                    S Offline
                    Smartuser
                    schrieb am zuletzt editiert von
                    #74

                    @Thomas-Braun @AlCalzone

                    Viele Dank euch Beiden. Ich konnte jetzt erfolgreich die aktuelle libvips-version bauen.
                    Jetzt funktioniert alles. :) :+1:

                    Ich habe es wie folgt gemacht:

                    cd /tmp
                    wget https://github.com/libvips/libvips/releases/download/v8.9.2/vips-8.9.2.tar.gz
                    tar xf vips-8.9.2.tar.gz
                    cd vips-8.9.2
                    ./configure
                    make
                    sudo make install
                    sudo ldconfig
                    

                    Danach Sharp installiert.

                    cd /opt/iobroker
                    npm i sharp
                    

                    Ohne Errors - Log:

                    rock64@rock64:/opt/iobroker$ npm i sharp
                    > 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)
                    info sharp Detected globally-installed libvips v8.9.2
                    info sharp Building from source via node-gyp
                    make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                      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
                      CXX(target) Release/obj.target/sharp/src/metadata.o
                      CXX(target) Release/obj.target/sharp/src/stats.o
                      CXX(target) Release/obj.target/sharp/src/operations.o
                      CXX(target) Release/obj.target/sharp/src/pipeline.o
                      CXX(target) Release/obj.target/sharp/src/utilities.o
                      CXX(target) Release/obj.target/sharp/src/sharp.o
                      SOLINK_MODULE(target) Release/obj.target/sharp.node
                      COPY Release/sharp.node
                    make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                    + sharp@0.25.2
                    added 4 packages from 112 contributors in 137.029s
                    22 packages are looking for funding
                      run `npm fund` for details
                    rock64@rock64:/opt/iobroker$
                    

                    Zur Sicherheit nochmal den "Fixer" ausgeführt. Wahrscheinlich nicht notwendig, aber schadet ja auch nicht :)

                    iobroker stop
                    iobroker fix
                    iobroker start
                    

                    Grüße

                    1 Antwort Letzte Antwort
                    1
                    • Thomas BraunT Thomas Braun

                      @AlCalzone Arrrgh! Schwerer Denkfehler von mir! Danke fürs aufwecken!
                      Nur warum liegt das bei mir alles im node?

                      pi@raspberrypi:~ $ locate libvips
                      /home/iobroker/.npm/_libvips
                      /home/iobroker/.npm/_libvips/libvips-8.9.0-linux-armv7.tar.gz
                      /home/iobroker/.npm/_libvips/libvips-8.9.1-linux-armv7.tar.gz
                      /opt/iobroker/node_modules/sharp/build/Release/.deps/Release/obj.target/libvips-cpp.stamp.d
                      /opt/iobroker/node_modules/sharp/build/Release/obj.target/libvips-cpp.stamp
                      /opt/iobroker/node_modules/sharp/build/libvips-cpp.target.mk
                      /opt/iobroker/node_modules/sharp/install/libvips.js
                      /opt/iobroker/node_modules/sharp/lib/libvips.js
                      /opt/iobroker/node_modules/sharp/src/libvips
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VConnection.cpp
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VError.cpp
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VImage.cpp
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VInterpolate.cpp
                      /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/vips-operators.cpp
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42.12.1
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42
                      /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42.12.1
                      

                      Und sharp ist bei mir drin:

                      pi@raspberrypi:/opt/iobroker $ npm list sharp --depth=2
                      iobroker.inst@2.0.3 /opt/iobroker
                      └─┬ iobroker.iot@1.4.14
                        └── sharp@0.25.2
                      
                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #75

                      @Thomas-Braun Zeile 5-22 ist alles das sharp-Modul
                      2-4 bin ich mir nicht sicher, sieht aber nach vorkompilierten binaries aus, die ggf von sharp bei der Installation heruntergeladen werden.

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      1 Antwort Letzte Antwort
                      0
                      • K Offline
                        K Offline
                        klausiob
                        schrieb am zuletzt editiert von
                        #76

                        @Smartuser habe Deine Installation auf meinen Raspi mit rasbian stretch ausgeführt. Hat zwar ganz schön lang gedauert. Besonders die sharp-Installation. Dabei war meine Netzwerkverbindung noch abgebrochen.

                         $ npm list sharp --depth=2
                        iobroker.inst@1.3.1 /opt/iobroker
                        ├─┬ iobroker.iot@1.4.10
                        │ └── sharp@0.25.2  deduped
                        └── sharp@0.25.2
                        
                        

                        Habe jetzt so 5 Adapter upgedatet und die obigen Fehlermeldungen sind weg. Danke an alle.

                        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

                        1 Antwort Letzte Antwort
                        0
                        • A Offline
                          A Offline
                          adaer
                          schrieb am zuletzt editiert von adaer
                          #77

                          @Smartuser: Auch ich hatte diese lästige Meldungen und habe deine Installation auf meinen Raspi mit rasbian stretch ebenfalls ausgeführt. Alles wieder im Lot.. :)

                          pi@MyRasPi:/opt/iobroker $ npm list sharp --depth=2
                          iobroker.inst@1.1.2 /opt/iobroker
                          ├─┬ iobroker.iot@1.4.14
                          │ └── sharp@0.25.2  deduped
                          └── sharp@0.25.2
                          

                          Nochmals Danke ...
                          Gruss..

                          Henry

                          1 Antwort Letzte Antwort
                          1
                          • W Offline
                            W Offline
                            Wing.Stefan
                            schrieb am zuletzt editiert von
                            #78

                            Wie kann ich auf Synology im Docker den JS-Controller updaten?

                            Die gefundenen Anleitungen waren für Linux Windows usw. Im Syno Docker gibt es kein Sudo und kein SToppen von iobroker weil dann geht nichts mehr.
                            suche daher schritt für schritt Anleitung
                            Danke

                            GlasfaserG 1 Antwort Letzte Antwort
                            0
                            • W Wing.Stefan

                              Wie kann ich auf Synology im Docker den JS-Controller updaten?

                              Die gefundenen Anleitungen waren für Linux Windows usw. Im Syno Docker gibt es kein Sudo und kein SToppen von iobroker weil dann geht nichts mehr.
                              suche daher schritt für schritt Anleitung
                              Danke

                              GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              schrieb am zuletzt editiert von Glasfaser
                              #79

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

                              und kein SToppen von iobroker weil dann geht nichts mehr.

                              was meinst du damit !?

                              pkill io
                              iobroker update
                              iobroker upgrade self
                              iobroker start
                              

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              W 1 Antwort Letzte Antwort
                              1
                              • GlasfaserG Glasfaser

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

                                und kein SToppen von iobroker weil dann geht nichts mehr.

                                was meinst du damit !?

                                pkill io
                                iobroker update
                                iobroker upgrade self
                                iobroker start
                                
                                W Offline
                                W Offline
                                Wing.Stefan
                                schrieb am zuletzt editiert von Wing.Stefan
                                #80

                                @Glasfaser

                                die befehle bringen nichst weil das pkill io oder kill io nichts macht, ab befehl 3 sagt er nämlich das noch etwas läuft

                                GlasfaserG 1 Antwort Letzte Antwort
                                0
                                • W Wing.Stefan

                                  @Glasfaser

                                  die befehle bringen nichst weil das pkill io oder kill io nichts macht, ab befehl 3 sagt er nämlich das noch etwas läuft

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #81

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

                                  die befehle bringen nichst weil das pkill io

                                  Klar geht das ...!!

                                  Bist du auch in der richtigen Docker Konsole .

                                  Zeige mal ein Screenshot

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  W 1 Antwort Letzte Antwort
                                  1
                                  • GlasfaserG Glasfaser

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

                                    die befehle bringen nichst weil das pkill io

                                    Klar geht das ...!!

                                    Bist du auch in der richtigen Docker Konsole .

                                    Zeige mal ein Screenshot

                                    W Offline
                                    W Offline
                                    Wing.Stefan
                                    schrieb am zuletzt editiert von
                                    #82

                                    @Glasfaser konsole2.JPG konsole1.JPG

                                    GlasfaserG 1 Antwort Letzte Antwort
                                    0
                                    • W Wing.Stefan

                                      @Glasfaser konsole2.JPG konsole1.JPG

                                      GlasfaserG Offline
                                      GlasfaserG Offline
                                      Glasfaser
                                      schrieb am zuletzt editiert von
                                      #83

                                      @maestro

                                      gib mal ein

                                      iobroker stop
                                      pkill io
                                      

                                      aber mehrmals

                                      und dann

                                      ps auxww|grep io
                                      

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      W 1 Antwort Letzte Antwort
                                      1
                                      • GlasfaserG Glasfaser

                                        @maestro

                                        gib mal ein

                                        iobroker stop
                                        pkill io
                                        

                                        aber mehrmals

                                        und dann

                                        ps auxww|grep io
                                        
                                        W Offline
                                        W Offline
                                        Wing.Stefan
                                        schrieb am zuletzt editiert von Wing.Stefan
                                        #84

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

                                        ps auxww|grep io

                                        root@iobroker:/opt/iobroker# iobroker stop
                                        iobroker controller daemon is not running
                                        root@iobroker:/opt/iobroker# ^C
                                        root@iobroker:/opt/iobroker# pkill io#
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# pkill io
                                        root@iobroker:/opt/iobroker# ps auxww|grep io
                                        root 1 0.0 0.0 7044 1444 pts/0 Ss+ 16:26 0:00 /bin/bash /opt/scripts/iobroker_startup.sh
                                        iobroker 436 2.8 0.4 862128 78244 pts/0 Sl+ 16:26 0:24 iobroker.js-controller
                                        iobroker 458 1.0 0.4 862236 77696 pts/0 Sl+ 16:26 0:09 io.admin.0
                                        iobroker 473 0.2 0.1 610404 32740 pts/0 Sl+ 16:26 0:01 io.discovery.0
                                        iobroker 488 0.3 0.2 680584 37396 pts/0 Sl+ 16:26 0:03 io.info.0
                                        iobroker 507 0.7 0.2 678264 38040 pts/0 Sl+ 16:26 0:06 io.loxone.0
                                        iobroker 990 1.2 0.2 888508 48192 pts/0 Sl+ 16:26 0:10 io.alexa2.0
                                        iobroker 1005 1.2 0.5 687080 96532 pts/0 Sl+ 16:26 0:10 io.javascript.0
                                        iobroker 1020 0.2 0.2 611312 33644 pts/0 Sl+ 16:27 0:01 io.simple-api.0
                                        iobroker 1035 0.3 0.2 699868 43328 pts/0 Sl+ 16:27 0:03 io.tuya.0
                                        root 1127 0.0 0.0 6404 980 pts/1 S+ 16:40 0:00 grep io

                                        root@iobroker:/opt/iobroker# iobroker upgrade self
                                        Controller is running. Please stop ioBroker first.

                                        GlasfaserG 1 Antwort Letzte Antwort
                                        0
                                        • W Wing.Stefan

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

                                          ps auxww|grep io

                                          root@iobroker:/opt/iobroker# iobroker stop
                                          iobroker controller daemon is not running
                                          root@iobroker:/opt/iobroker# ^C
                                          root@iobroker:/opt/iobroker# pkill io#
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# pkill io
                                          root@iobroker:/opt/iobroker# ps auxww|grep io
                                          root 1 0.0 0.0 7044 1444 pts/0 Ss+ 16:26 0:00 /bin/bash /opt/scripts/iobroker_startup.sh
                                          iobroker 436 2.8 0.4 862128 78244 pts/0 Sl+ 16:26 0:24 iobroker.js-controller
                                          iobroker 458 1.0 0.4 862236 77696 pts/0 Sl+ 16:26 0:09 io.admin.0
                                          iobroker 473 0.2 0.1 610404 32740 pts/0 Sl+ 16:26 0:01 io.discovery.0
                                          iobroker 488 0.3 0.2 680584 37396 pts/0 Sl+ 16:26 0:03 io.info.0
                                          iobroker 507 0.7 0.2 678264 38040 pts/0 Sl+ 16:26 0:06 io.loxone.0
                                          iobroker 990 1.2 0.2 888508 48192 pts/0 Sl+ 16:26 0:10 io.alexa2.0
                                          iobroker 1005 1.2 0.5 687080 96532 pts/0 Sl+ 16:26 0:10 io.javascript.0
                                          iobroker 1020 0.2 0.2 611312 33644 pts/0 Sl+ 16:27 0:01 io.simple-api.0
                                          iobroker 1035 0.3 0.2 699868 43328 pts/0 Sl+ 16:27 0:03 io.tuya.0
                                          root 1127 0.0 0.0 6404 980 pts/1 S+ 16:40 0:00 grep io

                                          root@iobroker:/opt/iobroker# iobroker upgrade self
                                          Controller is running. Please stop ioBroker first.

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          schrieb am zuletzt editiert von Glasfaser
                                          #85

                                          @maestro

                                          sehr merkwürdig , das noch etwas läuft ...

                                          kill -9 <prozessid>
                                          

                                          also

                                          kill -9 436
                                          
                                          kill -9 458
                                          

                                          usw.

                                          schau aber mit .. nach ober er dann weg ist

                                          ps auxww|grep io
                                          

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          1 Antwort Letzte Antwort
                                          1
                                          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

                                          518

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          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