Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Instanz rot nach node.js Update auf v12.18.4 [Gelöst]

    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

    UNSOLVED Zigbee Instanz rot nach node.js Update auf v12.18.4 [Gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • birdy
      birdy @Thomas Braun last edited by

      @Thomas-Braun

      pi@raspberrypi:/opt/iobroker $ npm uninstall dissolve
      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
      
      > 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-v72-linux-glibc-arm.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      Package cairo was not found in the pkg-config search path.
      Perhaps you should add the directory containing `cairo.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'cairo' found
      gyp: Call to 'pkg-config cairo --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:315:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp ERR! System Linux 4.19.66-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-v72"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v12.18.4
      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-v72' (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:315:20)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
      node-pre-gyp ERR! System Linux 4.19.66-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 v12.18.4
      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-v72' (1)
      
      > 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:138: 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:194:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp ERR! System Linux 4.19.66-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 v12.18.4
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      
      > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker
      > node lib/setup.js
      
      NPM version: 6.14.8
      
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      NPM 5 is currently NOT supported!
      Please use "npm install -g npm@4" to downgrade npm to 4.x and try again.
      You need to make sure to downgrade again with the above command after you
      installed an update to nodejs/npm!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      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: concentrate@^0.2.3 (node_modules/unpi/node_modules/concentrate):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"})
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: concentrate@0.2.3
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      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! iobroker@1.0.8 install: `node lib/setup.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the iobroker@1.0.8 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-09-20T16_36_28_808Z-debug.log
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • birdy
        birdy @Thomas Braun last edited by

        @Thomas-Braun

        So nebenbei möchte ich mich mal bei dir für die Zeit, die du in den fall investierst, bedanken!

        1 Reply Last reply Reply Quote 1
        • Thomas Braun
          Thomas Braun Most Active @birdy last edited by

          @birdy
          Wie gesagt: Viele viele Baustellen.
          Vermutlich geht das schneller, wenn du das System komplett neuinstallierst (Buster) und dann dein Backup in den ioBroker einspielst.

          birdy 2 Replies Last reply Reply Quote 1
          • birdy
            birdy @Thomas Braun last edited by

            @Thomas-Braun

            aber jetzt ganz schlimm:

            pi@raspberrypi:/opt/iobroker $ start iobroker
            -bash: start: Kommando nicht gefunden.
            
            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @birdy last edited by

              @birdy

              iobroker start
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @birdy last edited by

                @birdy
                Nö. Das heißt ja auch

                iobroker start
                
                birdy 1 Reply Last reply Reply Quote 0
                • birdy
                  birdy @Thomas Braun last edited by

                  @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                  @birdy
                  Nö. Das heißt ja auch

                  iobroker start
                  

                  Sorry, bin schon etwas durch den Wind...

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @birdy last edited by

                    @birdy
                    Die Meldung bzgl. cairo dürfest du mit

                    sudo apt install libcairo2-dev
                    

                    schon mal loswerden. Ändert aber nix am Umfang der Großbaustelle.

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

                      @Thomas-Braun

                      Aber was soll ich jetzt mit dem deistallierten dissolve machen?

                      Nochmal?

                      npm i iobroker.zigbee@1.2.1
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @birdy last edited by

                        @birdy
                        Probier mal. Ich bin nicht mal sicher das dissolve sich jetzt aufgelöst hat...

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

                          @Thomas-Braun

                          Scheint nicht so... 😞

                          pi@raspberrypi:/opt/iobroker $ npm i iobroker.zigbee@1.2.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: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concentrate@^0.2.3 (node_modules/unpi/node_modules/concentrate):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"})
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: concentrate@0.2.3
                          
                          npm ERR! code ENOTSUP
                          npm ERR! notsup Unsupported engine for dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"})
                          npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3
                          npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3
                          npm ERR! notsup Required: {"node":"~0.10.0"}
                          npm ERR! notsup Actual:   {"npm":"6.14.6","node":"12.18.4"}
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2020-09-20T16_51_25_317Z-debug.log
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @birdy last edited by Thomas Braun

                            @birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                            Unsupported engine for concentrate@0.2.3: wanted: "node":"~0.10.0"}
                            

                            Da hast du übrigens den nächsten alten Hund.
                            Wer weiß was da noch alles nach oben gespült wird.
                            Ich würde das Ding plattmachen und ein Backup des ioBrokers einspielen. Backitup hast du ja hoffentlich am Start?

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

                              @Thomas-Braun

                              Ja, Backup habe ich, Komplett und Standard... Ist eine Variante zu bevorzugen?

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @birdy last edited by Thomas Braun

                                @birdy
                                Die Unterscheidung zwischen Komplett und Standard kenne ich nicht. Vermutlich eine alte Einstellung.

                                Du kannst aber auch mal den hier probieren:

                                iobroker stop
                                curl -sL https://iobroker.net/fix.sh | bash -
                                iobroker start
                                
                                npm i iobroker.zigbee@1.2.1 --force
                                

                                kannst du auch nochmal versuchen.

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

                                  @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                  @birdy
                                  Die Unterscheidung zwischen Komplett und Standard kenne ich nicht. Vermutlich eine alte Einstellung.

                                  Du kannst aber auch mal den hier probieren:

                                  iobroker stop
                                  curl -sL https://iobroker.net/fix.sh | bash -
                                  iobroker start
                                  
                                  npm i iobroker.zigbee@1.2.1 --force
                                  

                                  kannst du auch nochmal versuchen.

                                  Nach dem Fix sieht es aber besser aus:

                                  pi@raspberrypi:~ $ npm i iobroker.zigbee@1.2.1                                  npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
                                  npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                  npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
                                  npm WARN pi No description
                                  npm WARN pi No repository field.
                                  npm WARN pi No README data
                                  npm WARN pi No license field.
                                  
                                  + iobroker.zigbee@1.2.1
                                  updated 1 package and audited 113 packages in 38.913s
                                  
                                  38 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  found 4 high severity vulnerabilities
                                    run `npm audit fix` to fix them, or `npm audit` for details
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @birdy last edited by Thomas Braun

                                    @birdy
                                    Das sieht doch gar nicht mal so schlecht aus.
                                    [Edit:] Im falschen Verzeichnis ausgeführt.

                                    Dann bleiben noch die anderen Baustellen wie 'canvas' z. B.

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

                                      @Thomas-Braun

                                      Zigbee Adapter bleibt aber trotzdem auf 0.10.2

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @birdy last edited by

                                        @birdy

                                        iobroker restart
                                        
                                        birdy 1 Reply Last reply Reply Quote 0
                                        • birdy
                                          birdy @Thomas Braun last edited by

                                          @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                          @birdy

                                          iobroker restart
                                          

                                          Leider keine Änderung nach restart...

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @birdy last edited by

                                            @birdy

                                            iobroker update
                                            iobroker upgrade
                                            

                                            Beide Ausgaben posten.

                                            birdy 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            664
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee
                                            5
                                            95
                                            5585
                                            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