Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Adapter Updates nicht möglich

    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 Adapter Updates nicht möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xDYR0 last edited by xDYR0

      Systemdata Bitte Ausfüllen
      Hardwaresystem: RPI 4
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Raspian
      Node-Version: ? Node.js ?
      Nodejs-Version: 10.23.1
      NPM-Version: 6.14.10
      Installationsart: Skript
      Image genutzt: Nein
      Ort/Name der Imagedatei: Link

      Moin,

      ich wollte gerade meine Adapter updaten, klicke auf alle Adapter updaten und dann passiert irgendwie gefühlt nicht mehr viel. Oben rechts steht dann zwar 4.1.11 allerdings zeigt mir der Admin Adapter immer noch ein verfügbares Update an. Was kann ich tun?

      1ee01446-05e2-43be-b90e-0668499b7163-image.png
      5162a49e-e7e0-4b28-85c3-d997f77917b3-image.png

      iobroker.2021-01-07.log.html

      Irgendwie funktionieren meine Alexa Befehle auch nicht mehr. Ich weiß nicht genau, ob das damit zusammenhängt oder damit, dass mein Pro Abo abgelaufen ist und ich es nicht verlängert habe.

      Platform: linux
      os: linux
      Architecture: arm
      CPUs: 4
      Speed: 1500 MHz
      Model: ARMv7 Processor rev 3 (v7l)
      RAM: 3.7 GB
      System uptime: 00:13:59
      Node.js: v10.23.1
      NPM: 6.14.10
      Disk size: 58.3 GiB
      Disk free: 54.8 GiB
      adapters count: 323
      Uptime: 00:13:59
      Active instances: 18

      Gruß,
      xDYR0

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

        @xDYR0 node12 installieren, canvas nachinstallieren.
        Log Files nicht als Screenshot sondern in Textform (in CodeTags) hier rein.

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

          @Thomas-Braun sagte in Adapter Updates nicht möglich:

          canvas

          Moin,

          Node12 habe ich installiert gemäß https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten/2

          Der Satz "Bei einer Aktualisierung von Node.js müssen bereits installierte JavaScript- Module im ioBroker-Ordner aktualisiert werden, da sonst Fehler bei deren Ausführung auftreten." bezieht sich aber nicht auf die "Skripte" innerhalb von iobroker (im Menü) oder?

          Wie installiere ich canvas am besten? So wie hier beschrieben?

          cd /opt/iobroker
          npm install canvas@2.6.1 --unsafe-perm --production --save --prefix
          Wenn man npm install xxx macht und es gibt Probleme, hilft es das zu "erweitern" mit
          
           --unsafe-perm --production --save --prefix
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @xDYR0 last edited by

            @xDYR0 Zu node:

            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
            

            liefert?

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

              @Thomas-Braun sagte in Adapter Updates nicht möglich:

              which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

              pm && npm -v && apt policy nodejs
              /usr/bin/nodejs
              v12.20.1
              /usr/bin/node
              v12.20.1
              /usr/bin/npm
              6.14.10
              nodejs:
                Installed: 12.20.1-1nodesource1
                Candidate: 12.20.1-1nodesource1
                Version table:
               *** 12.20.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   10.23.1~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @xDYR0 last edited by

                @xDYR0
                Gut, das passt.

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

                Dann

                iobroker update
                iobroker upgrade
                
                X 1 Reply Last reply Reply Quote 1
                • X
                  xDYR0 @Thomas Braun last edited by

                  @Thomas-Braun Danke dir, scheint geklappt zu haben. Woran hat es gelegen? Zigbee Adapter scheint leider gerade nicht mehr zu laufen ... Naja anderes Thema wieder 😄

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

                    @xDYR0 sagte in Adapter Updates nicht möglich:

                    Woran hat es gelegen?

                    An nicht installierten Paketen, die für den Bau von canvas aber erforderlich sind.

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

                      @Thomas-Braun Okay, und wieso fehlen diese Pakete? Hab eigentlich an nichts rumgefrickelt ... ZigBee läuft nach einer Neuinstallation jetzt auch wieder 🙂 Dann kann ich mich jetzt noch um das Alexa Problem kümmern. Danke dir!

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

                        @xDYR0 sagte in Adapter Updates nicht möglich:

                        Okay, und wieso fehlen diese Pakete?

                        Weil die nicht automatisch mitinstalliert werden. Weder vom Betriebssystem, noch von npm/node, noch vom ioBroker. Da ist das Wissen des System-Administrators gefragt.

                        1 Reply Last reply Reply Quote 1
                        • Dirk Gnebner
                          Dirk Gnebner last edited by

                          Ich habe das gleiche Problem.
                          Adapter wird aktualisiert, Update endet mit Code 0, und wird danach mit der alten Versionsnummer angezeigt.
                          Fehler tritt auf seit ich nach einem Stromausfall ein BackUp einspielen musste.
                          Habe mich an den vorherigen Posts langgehangelt, leider bis jetzt erfolglos.

                          /usr/bin/nodejs
                          v12.20.1
                          /usr/bin/node
                          v12.20.1
                          /usr/bin/npm
                          6.14.10
                          nodejs:
                            Installed: 12.20.1-1nodesource1
                            Candidate: 12.20.1-1nodesource1
                            Version table:
                           *** 12.20.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_12.x stretch/main arm64 Packages
                                  100 /var/lib/dpkg/status
                               8.11.1~dfsg-2~bpo9+1 100
                                  100 http://httpredir.debian.org/debian stretch-backports/main arm64 Packages
                               4.8.2~dfsg-1 500
                                  500 http://httpredir.debian.org/debian stretch/main arm64 Packages
                          

                          Zur Info mal ein Log vom Update eines Adapters

                          $ ./iobroker upgrade trashschedule
                          Update trashschedule from @0.0.11 to @1.0.3
                          NPM version: 6.14.10npm install iobroker.trashschedule@1.0.3 --loglevel error --prefix "/opt/iobroker" (System call)
                          npm ERR! code ENOTSUP
                          npm
                           ERR! notsup Unsupported engine for homebridge-tado-thermostat-plugin@3.2.3: wanted: {"node":"^8.9.4","homebridge":"^0.4.38"} (current: {"node":"12.20.1","npm":"6.14.10"})npm ERR! notsup Not compatible with your version of node/npm: homebridge-tado-thermostat-plugin@3.2.3npm ERR! notsup Not compatible with your version of node/npm: homebridge-tado-thermostat-plugin@3.2.3npm ERR! notsup Required: {"node":"^8.9.4","homebridge":"^0.4.38"}npm ERR! notsup Actual:   {"npm":"6.14.10","node":"12.20.1"}
                          npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-01-18T11_54_24_299Z-debug.log
                          upload [4] trashschedule.admin /opt/iobroker/node_modules/iobroker.trashschedule/admin/words.js words.js application/javascript
                          Adapter "system.adapter.vis.0" restarted.
                          upload [3] trashschedule.admin /opt/iobroker/node_modules/iobroker.trashschedule/admin/trashschedule.png trashschedule.png image/png
                          upload [2] trashschedule.admin /opt/iobroker/node_modules/iobroker.trashschedule/admin/style.css style.css text/css
                          upload [1] trashschedule.admin /opt/iobroker/node_modules/iobroker.trashschedule/admin/index_m.html index_m.html text/html
                          upload [0] trashschedule.admin /opt/iobroker/node_modules/iobroker.trashschedule/admin/admin.d.ts admin.d.ts video/mp2t
                          Adapter "trashschedule" updated
                          process exited with code 0
                          

                          Bei jedem Adapter taucht die Fehlermeldung mit dem falschen Homebridge-plugin auf
                          ich habe schon (mit meinen gegoogelten Linuxfähigkeiten) das plugin und homebridge deinstalliert
                          den dazugehörigen Adapter "Homebridge accessories manager" habe ich auch gelöscht, allerdings ist er nur in den instanzen weg, auf der Adapterseite steht er noch als installiert. Der klick auf den Mülleimer löst zwar den Löschvorgang aus, aber der Adapter bleibt installiert!

                          über Hilfe würde ich mich sehr freuen, mein Latein ist am Ende

                          Gruß Dirk

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

                            @dirk-gnebner sagte in Adapter Updates nicht möglich:

                            homebridge-tado-thermostat-plugin

                            iobroker del homebridge-tado-thermostat-plugin
                            

                            Ich würde den iobroker.tado-Adapter verwenden.
                            Und perspektivisch auch Stretch verlassen und auf Buster hüpfen.

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

                              @thomas-braun said in Adapter Updates nicht möglich:

                              iobroker del homebridge-tado-thermostat-plugin

                              Delete adapter "homebridge-tado-thermostat-plugin"
                              Error deleting adapter homebridge-tado-thermostat-plugin from disk: Error: Cannot find module 'iobroker.homebridge-tado-thermostat-plugin/io-package.json'
                              Require stack:
                              - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js
                              - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                              - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                              You might have to delete it yourself!
                              

                              wenn ich das richtige sehen, ist er gelöscht!?

                              ich hatte den installiert bevor es den Tado-Adapter gab.

                              von Stretch auf Buster wechseln geht wahrscheinlich nur mit kompletter Neuinstallation?

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

                                @dirk-gnebner sagte in Adapter Updates nicht möglich:

                                wenn ich das richtige sehen, ist er gelöscht!?

                                Aber nicht korrekt/vollständig. Weiß aber jetzt nicht aus dem Kopf wo sich da noch was verstecken könnte.

                                von Stretch auf Buster wechseln geht wahrscheinlich nur mit kompletter Neuinstallation?

                                Nee, das (kann) auch per full-upgrade funktionieren. Kommt drauf an, in welchem Zustand das Alt-System ist. Da gibt es aber Anleitungen zu, was da im Einzelfall zu berücksichtigen ist.

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

                                  @thomas-braun das mit dem full-upgrade schaue ich mir mal an, hab da schon ne Anleitung gefunden.
                                  Leider löst das beides wahrscheinlich nicht mein Problem mit den nicht-updatebaren Adapter?!

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

                                    @dirk-gnebner Nein. Das steckt woanders fest.
                                    Deswegen schrieb ich ja auch 'perspektivisch'. Stretch wird als nächstes abgekündigt und macht die Systempflege an anderen Stellen auch heute schon etwas aufwändiger.

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

                                      @thomas-braun ich danke dir trotzdem, das upgrade mache ich auf jeden Fall
                                      vielleicht hat ja jemand noch ne idee wie ich adapter wieder updaten kann

                                      Horst Böttcher 1 Reply Last reply Reply Quote 0
                                      • Horst Böttcher
                                        Horst Böttcher @Dirk Gnebner last edited by Horst Böttcher

                                        Systemdata Bitte Ausfüllen
                                        Hardwaresystem: RPI 4
                                        Arbeitsspeicher: 4GB
                                        Festplattenart: SD-Karte
                                        Betriebssystem: Raspian
                                        Node-Version: ? Node.js ?
                                        Nodejs-Version: v12.20.1
                                        NPM-Version: 6.14.10
                                        Installationsart: upgrade
                                        Image genutzt: Nein
                                        Ort/Name der Imagedatei: Link

                                        e752dad0149f5b60679522b63f9d14e1.png

                                        $ ./iobroker upgrade trashschedule
                                        Update trashschedule from @1.0.3 to @1.1.1
                                        NPM version: 6.14.10
                                        npm install iobroker.trashschedule@1.1.1 --loglevel error --prefix "/opt/iobroker" (System call)
                                        In file included from ../src/backend/Backend.h:6,                 from ../src/backend/Backend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                        In file included from ../src/backend/Backend.h:6,                 from ../src/backend/ImageBackend.h:3,                 from ../src/backend/ImageBackend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                                        In file included from ../src/backend/PdfBackend.h:4,                 from ../src/backend/PdfBackend.cc:1:../src/backend/../closure.h:6:10: fatal error: jpeglib.h: No such file or directory #include <jpeglib.h>          ^~~~~~~~~~~compilation terminated.
                                        make: *** [canvas.target.mk:156: Release/obj.target/canvas/src/backend/PdfBackend.o] Error 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:194:23)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.72-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--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=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.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 build --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=7 --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: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.72-v7l+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/canvasnode-pre-gyp ERR! node -v v12.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
                                        
                                        ╭─────────────────────────────────────────────────────────╮│                                                         ││ Manual installation of ioBroker is no longer supported  ││ on Linux, OSX and FreeBSD!                              ││ Please refer to the documentation on how to install it! ││ https://github.com/ioBroker/ioBroker/wiki/Installation  ││                                                         │╰─────────────────────────────────────────────────────────╯
                                        npm
                                         ERR!
                                         
                                        code
                                         ELIFECYCLEnpm ERR!
                                         errno 100
                                        npm
                                         ERR!
                                         iobroker@2.0.3 postinstall: `node lib/install.js`npm 
                                        ERR! Exit status 100npm
                                         ERR! 
                                        npm ERR!
                                         Failed at the iobroker@2.0.3 postinstall 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/2021-02-10T19_40_10_665Z-debug.log
                                        ERROR: host.raspberrypi Cannot install iobroker.trashschedule@1.1.1: 100
                                        ERROR: process exited with code 25
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Horst Böttcher last edited by

                                          @horst-böttcher

                                          canvas / pixman1-dev installieren.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          798
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          4.1.11 adapter alexa iot iot adapter update
                                          4
                                          19
                                          631
                                          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