Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update JS controller Fehlgeschlagen

    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 Fehlgeschlagen

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Coolbeer last edited by Homoran

      Update JS controller Fehlgeschlagen

      Es kann anscheinend Canvas nicht installiert werden. Kann jemand helfen ?

      Hier die Fehlermeldungen.

      pi@raspberrypi-iob:/opt/iobroker $ npm install iobroker.js-controller
      
      > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.16
      
      > canvas@2.10.1 install /opt/iobroker/node_modules/canvas
      > node-pre-gyp install --fallback-to-build --update-binary
      
      node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v72-linux-glibc-arm.tar.gz
      node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.1 and node@12.22.12 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v72-linux-glibc-arm.tar.gz
      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:314:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
      gyp ERR! System Linux 5.4.79-v7l+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=8" "--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.22.12
      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 --update-binary --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=8 --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/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
      node-pre-gyp ERR! System Linux 5.4.79-v7l+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v12.22.12
      node-pre-gyp ERR! node-pre-gyp -v v1.0.10
      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 --update-binary --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      
      > iobroker.js-controller@4.0.23 install /opt/iobroker/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
      Successfully migrated 2991 objects to Redis Sets
      object _design/system updated
      {
        "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEA0WS6ndAP16Y/hXWsBkaJCJxNUegVZQYRuaPoG5qOLJnrX47S\r\nbr3BkGSYtTEKHlm03p7K3n/TOgqGpRkv482JzzOZwd/1Gs9Zni2/tKbSe4tN9SJ0\r\n39Fxk3/8AtFhGHmPprtXBs3+KnLXR2u7wOdj2Pq7nopQ+SjrH+IBGKYC/rcioT/s\r\nU+b6lwXUK32bB/oGqlXX2gRovFqWklAW8wrovBBVxpuv5n+TsfBQHJLFnzqJ2SJj\r\n84afGFAmDwFyi1sZqZdqw9s9NhUskRCUmQ9mixMIEdQp1Cm+rX+IoAZEsFpKvVKO\r\nxi0itYq9t9wF/XTsljZdRNCSnYiS/cqaBXL/nwIDAQABAoIBAEhKgGsvg+itysxm\r\nvcdE3taML92RRKGmIMR4pA+zolYfpbVN97Sn6oXRVS9pCNdFnT4mkF+UvfYR4D5r\r\nna8GLQfOBs16ZoKlB4mmvcK+vXhNtdJl3PfQtWd5DiZi5ySuAzxK/VaqE4/QKibM\r\nOPv2ZvBoUBICKsZ6rAJL4pkB55LMQvmJMBRE78qdeLxWvzcpKZwfuf1KMk3AQFAm\r\nIV9fzuC2UP76tJHqQRdYH3WJtON3shvSWTygLyAvj0IxdBRdLntUrCzqsX/52n8t\r\nbD7N71GsknwJF55TfQlWvHJVewjgBYq+RJJayQlN4Fe7BF+6Ijd+ded4brTwScZS\r\ni6T3QsECgYEA99aklB3kUvHyoWPGBFtWw/fNs7HaZ9hDCrAL7sqTRvAhhpcYYCPF\r\ncDfg0xrdHfpx1d0coigu4f0ysI75Ya97kZELGsbVLLuJcUL5hVLA4YtwXNr+qYic\r\nX/ZPMTDz4XXhRiCKE82B0ho1cxo20Y3nZX4QwE50WigwKVwp11Vq9dECgYEA2En7\r\nkRVYcKltldQlbxj69g/FJbTvmmIJrJnCKN18EH2xA2X2FxGC6a/y2o7gsKjIXlEx\r\nNwvAPdCFzowhP6hJrIXDsNgsku0lQ1C3R0F8F7Sq1gVlD/jgZwLRJPtqq3put5kN\r\nMHKT+AONHuyJZI8RrkTgYC6cmPo7thCNB03ESm8CgYBNGq0HG6meGIG4rha74kLD\r\nIwQPBKUDK6fn2k9MEh/xsOFtQvKlbluNhwTeCHyESBdERs8Sr9euHRy5CzIQrwyN\r\nhAdlZDiL+yhOYVzJmq5BPSVO7h7OVZ74x+NpVWZ6XTchnxv1/ziFSfwY/C3T0gcM\r\nb0T83yuZpOke5PprcLqfEQKBgGy9fVnq5mT1+Z9rYkqhv4K4WQDlH9V5Vq3NO/15\r\npSdRWg6AU6IzbqL4j9tsG/EVWm942Ip5QPSTAsLeVtT/UdMICWO+u2I/Eg3u5cZQ\r\nWQg+D+m8GpxWHtQLaYTzViTSUBnEPApQgK4fcvLKLyU8fMIl5LzWkmqi3CRj29OB\r\nOJ/HAoGBAIQ6SprbpclCrWfO3QNupftFb0OMeZPx3lQQ6x8JptZToGF+BSWOyVCB\r\nbIvscUadBBvSY4iRKETZMYan30CtCYURIN25NVoTNInt3clwX4PUPvBNzd6YrxR+\r\n+kv4rqH/aK6CY1LKKa3jft9Tsl+P77C83p8uWdDgVk7ZSajwnoUx\r\n-----END RSA PRIVATE KEY-----\r\n",
        "defaultPublic": "-----BEG....
      =\r\n-----END CERTIFICATE-----\r\n"
      }
      Update certificate defaultPrivate
      The object "system.certificates" was updated successfully.
      Update certificate defaultPublic
      The object "system.certificates" was updated successfully.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.10.1 (node_modules/canvas):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.10.1 install: `node-pre-gyp install --fallback-to-build --update-binary`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      + iobroker.js-controller@4.0.23
      updated 1 package in 46.994s
      
      49 packages are looking for funding
        run `npm fund` for details
      

      MOD-EDIT: Code in code-tags gesetzt und Zertifikat entfernt

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

        @coolbeer

        Nodejs aktualisieren. Version 16.

        Den sonstigen Kram auch auf Stand bringen, ich vermute da herrscht akuter Wartungsstau.

        Sind die zum Bau von canvas erforderlichen dev-Pakete installiert?

        C 1 Reply Last reply Reply Quote 0
        • C
          Coolbeer @Thomas Braun last edited by Homoran

          @thomas-braun

          Node.js 16 lässt sich nicht installieren.

          Es kommem folgende Meldungen ??

          --------------------------------------------------------
          
          pi@raspberrypi-iob:/opt/iobroker $ pi@raspberrypi-iob:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
          
          ## Installing the NodeSource Node.js 16.x repo...
          
          
          ## Populating apt-get cache...
          
          + apt-get update
          OK:1 https://deb.nodesource.com/node_12.x buster InRelease
          Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
          Holen:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
          Paketlisten werden gelesen... Fertig
          E: Für das Depot »http://archive.raspberrypi.org/debian buster InRelease« wurde der »Suite«-Wert von »testing« in »oldstable« geändert.
          N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
          E: Für das Depot »http://raspbian.raspberrypi.org/raspbian-bash: pi@raspberrypi-iob:/opt/iobroker: Datei oder Verzeichnis nicht gefunden
           buster InRelease« wurde der »Suite«-Wert von »stable« in »oldstable« geändert.
          N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
          Error executing command, exiting
          

          MOD-EDIT: Code in code-tags gesetzt!

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

            @coolbeer

            Ich sach ja... Akutester Upgrade-Stau...

            iobroker stop
            sudo apt upgrade
            sudo apt full-upgrade
            sudo reboot
            

            Alle Rückfragen bejahen. Danach sollte auch node16 zu installieren sein.

            Künftig das System regelmäßig updaten!

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

              @thomas-braun
              sudo apt-get update --allow-releaseinfo-change
              ..dann hats geklappt

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

                @coolbeer

                Das hätte mit apt auch bzw. besser geklappt.

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

                  @thomas-braun
                  Lasse das apt upgrade auch noch durchlaufen

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

                    @coolbeer

                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    

                    zeigen, wenn das durch ist.

                    1 Reply Last reply Reply Quote 0
                    • C
                      Coolbeer last edited by Homoran

                      Alles durchgelaufen

                      pi@raspberrypi-iob:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden:                                                                                                                                                                                                                                              Die Datei existiert bereits
                      pi@raspberrypi-iob:~ $ uname -m && type -P nodejs node npm && nodejs -v && node                                                                                                                                                                                                                                              -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/nul                                                                                                                                                                                                                                             l && sudo apt update && apt policy nodejs
                      armv7l
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v16.17.1
                      v16.17.1
                      8.15.0
                      4.0.23
                      pi
                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c                                                                                                                                                                                                                                              spi iobroker
                      /home/pi
                      OK:1 http://archive.raspberrypi.org/debian buster InRelease
                      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Alle Pakete sind aktuell.
                      nodejs:
                        Installiert:           16.17.1-deb-1nodesource1
                        Installationskandidat: 16.17.1-deb-1nodesource1
                        Versionstabelle:
                       *** 16.17.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u2 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      

                      MOD-EDIT: Code in code-tags gesetzt!

                      Homoran 1 Reply Last reply Reply Quote 0
                      • C
                        Coolbeer last edited by

                        IO Brocker läuft erst mal 🙂 Danke

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Coolbeer last edited by

                          @coolbeer zieh mal dein Terminfenster breiter, dann gibt es nicht diese Lücken im Code

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

                            @coolbeer Künftig das System nicht über ein Jahr ohne Updates versumpfen lassen! Der Wechsel von stable auf oldstable war in 08/2021.
                            Solange ist da also mindestens nichts gemacht worden!

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

                              @thomas-braun
                              io brocker Admin update abgebrochen 😞

                              kein zugriff mehr 😞

                              Thomas Braun 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Coolbeer last edited by

                                @coolbeer

                                iobroker update 
                                

                                in CodeTags eingebettet!

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

                                  @coolbeer

                                  https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8/2

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Coolbeer @Thomas Braun last edited by Homoran

                                    @thomas-braun

                                    pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                                    Used repository: stable
                                    Adapter    "admin"        : 6.2.22   , installed 6.2.22
                                    Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
                                    Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                    Adapter    "firetv"       : 1.0.0    , installed 1.0.0
                                    Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                    Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
                                    Adapter    "history"      : 2.2.0    , installed 1.9.14 [Updatable]
                                    Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                    Adapter    "hm-rpc"       : 1.15.12  , installed 1.14.24 [Updatable]
                                    Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                                    Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                    Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                    Adapter    "info"         : 1.9.19   , installed 1.9.19
                                    Adapter    "iot"          : 1.11.9   , installed 1.11.9
                                    Adapter    "iqontrol"     : 2.0.0    , installed 2.0.0
                                    Adapter    "jarvis"       : 3.0.13   , installed 3.0.13
                                    Adapter    "javascript"   : 6.0.3    , installed 4.8.4  [Updatable]
                                    Controller "js-controller": 4.0.23   , installed 4.0.23
                                    Adapter    "mpd"          : 1.0.6    , installed 1.0.6
                                    Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                                    Adapter    "mqtt-client"  : 1.6.3    , installed 1.6.3
                                    Adapter    "openweathermap": 0.3.0   , installed 0.1.0  [Updatable]
                                    Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                    Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                                    Adapter    "shelly"       : 6.0.0    , installed 5.3.2  [Updatable]
                                    Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                    Adapter    "socketio"     : 4.2.0    , installed 3.0.13 [Updatable]
                                    Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                    Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                    Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                                    Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                    Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                    Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                                    Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                    Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                                    Adapter    "web"          : 4.3.0    , installed 3.1.0  [Updatable]
                                    

                                    MOD-EDIT: Code in code-tags gesetzt! 😡

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

                                      @coolbeer

                                      Da geht der Update-Stau wie erwartet weiter.

                                      iobroker upgrade all
                                      
                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        Coolbeer @Thomas Braun last edited by Coolbeer

                                        @thomas-braun said in Update JS controller Fehlgeschlagen:

                                        iobroker upgrade all

                                        Hat geholfen.....Danke

                                        Werde ein paar Donate spenden

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        832
                                        Online

                                        31.8k
                                        Users

                                        80.0k
                                        Topics

                                        1.3m
                                        Posts

                                        3
                                        18
                                        464
                                        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