Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update js-controller und node.js

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update js-controller und node.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klausiob @Homoran last edited by 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 Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @klausiob last edited by 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 1 Reply Last reply Reply Quote 0
        • K
          klausiob @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @klausiob last edited by Thomas Braun

            @klausiob

            sudo apt update 
            

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

            K 1 Reply Last reply Reply Quote 0
            • K
              klausiob @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @klausiob last edited by

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

                lsb_release -a
                
                K 1 Reply Last reply Reply Quote 0
                • K
                  klausiob @Thomas Braun last edited by

                  @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 Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @klausiob last edited by

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

                    K S 2 Replies Last reply Reply Quote 0
                    • K
                      klausiob @Thomas Braun last edited by

                      @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 Braun K 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @klausiob last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • K
                          klausiob @klausiob last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Smartuser @Thomas Braun last edited by

                            @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 Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Smartuser last edited by

                              @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 1 Reply Last reply Reply Quote 0
                              • S
                                Smartuser @Thomas Braun last edited by

                                @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 Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Smartuser last edited by

                                  @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 1 Reply Last reply Reply Quote 1
                                  • S
                                    Smartuser @Thomas Braun last edited by

                                    @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.👍
                                    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 Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Smartuser last edited by

                                      @Smartuser

                                      libpixman-1-0 set to manually installed
                                      

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

                                      S K 2 Replies Last reply Reply Quote 0
                                      • S
                                        Smartuser @Thomas Braun last edited by

                                        @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 Braun 1 Reply Last reply Reply Quote 0
                                        • K
                                          klausiob @Thomas Braun last edited by klausiob

                                          @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
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Smartuser last edited by Thomas Braun

                                            @Smartuser

                                            sudo apt update
                                            sudo apt dist-upgrade
                                            sudo apt install --reinstall libpixman-1-0 libpixman-1-dev
                                            
                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            423
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            update js-controller node.js
                                            10
                                            93
                                            60899
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo