Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Gelöst: Adapter Updates können nicht installiert werden

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Gelöst: Adapter Updates können nicht installiert werden

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WalterKA @wendy2702 last edited by

      @wendy2702 sagte in Adapter Updates können nicht installiert werden:

      @WalterKA

      
      cd /opt/iobroker
      npm install iobroker.js-controller
      iobroker start
      
      

      Bitte die Ausgaben danach posten

      Kann man den Code alles auf einmal per Copy&Paste kopieren, einfügen und dann ausführen lassen oder soll ich Zeile für Zeile machen?

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

        @Jan1 said in Adapter Updates können nicht installiert werden:

        Ist ein PI, da zählt jede kB

        Du bist ein kB-Fuchser...
        Diese kB machen aber nur die SD-Karte fett...

        wendy2702 legt ja auch los. Dann kann ich mich ja zurücklehnen...

        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 last edited by

          Zeile für Zeile

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

            @WalterKA Zeilenweise.

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

              @Thomas-Braun sagte in Adapter Updates können nicht installiert werden:

              wendy2702 legt ja auch los. Dann kann ich mich ja zurücklehnen..

              Ne, lass mal...

              Nur noch 18% Akku dann ist Schicht.

              Außerdem verderben schließlich viele Köche den Brei 🙂

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • W
                WalterKA last edited by

                @wendy2702 sagte in Adapter Updates können nicht installiert werden:

                iobroker start

                Ich habe es Zeilenweise gemacht

                Läuft noch, sind aber ein paar Errormeldunegn beim durchlaufen zu sehen

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

                  @WalterKA Die interessieren uns brennend.

                  1 Reply Last reply Reply Quote 0
                  • W
                    WalterKA last edited by

                    Ergebnis:

                    i@ioBrokerWS:~ $
                    pi@ioBrokerWS:~ $ cd /opt/iobroker
                    pi@ioBrokerWS:/opt/iobroker $ npm install iobroker.js-controller
                    
                    > iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.14.4
                    
                    > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth
                    > node-gyp configure build
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betreten
                      CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                    In file included from ../src/DeviceINQ.h:17,
                                     from ../src/linux/BluetoothSerialPort.cc:13:
                    ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../node_modules/nan/nan.h:2298: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)
                                                                                  ^
                    ../src/linux/BluetoothSerialPort.cc: At global scope:
                    ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void
                     void InitAll(Handle<Object> exports) {
                                  ^~~~~~
                    ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
                    ../src/linux/BluetoothSerialPort.cc:18:14: note: suggested alternative: ‘rand_r’
                     void InitAll(Handle<Object> exports) {
                                  ^~~~~~
                                  rand_r
                    ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token
                     void InitAll(Handle<Object> exports) {
                                               ^
                    ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope
                     void InitAll(Handle<Object> exports) {
                                                 ^~~~~~~
                    In file included from ../src/linux/BluetoothSerialPort.cc:12:
                    ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope
                     NODE_MODULE(BluetoothSerialPort, InitAll)
                                                      ^~~~~~~
                    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(BluetoothSerialPort, InitAll)
                     ^~~~~~~~~~~
                    make: *** [BluetoothSerialPort.target.mk:115: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
                    make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/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:310:20)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                    gyp ERR! System Linux 4.19.97-v7+
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
                    gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
                    gyp ERR! node -v v12.16.3
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    
                    > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                      CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                    In file included from ../src/unix_dgram.cc:5:
                    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../../nan/nan.h:2298: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 ../../nan/nan.h:54,
                                     from ../src/unix_dgram.cc:5:
                    ../src/unix_dgram.cc: At global scope:
                    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           (node::addon_register_func) (regfunc),                          \
                                                               ^
                    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’
                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                       ^~~~~~~~~~~~~
                    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(unix_dgram, Initialize)
                     ^~~~~~~~~~~
                      SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                      COPY Release/unix_dgram.node
                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                    
                    > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                    > node rebuild.js
                    
                    ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
                    
                    > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                      CXX(target) Release/obj.target/diskusage/src/main.o
                    In file included from ../src/main.cpp:3:
                    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../../nan/nan.h:2298: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 ../../nan/nan.h:54,
                                     from ../src/main.cpp:3:
                    ../src/main.cpp: At global scope:
                    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           (node::addon_register_func) (regfunc),                          \
                                                               ^
                    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’
                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                       ^~~~~~~~~~~~~
                    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(diskusage, Init)
                     ^~~~~~~~~~~
                      CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                      SOLINK_MODULE(target) Release/obj.target/diskusage.node
                      COPY Release/diskusage.node
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                    
                    > iobroker.js-controller@2.2.9 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                    
                    The following notifications happened during sync:
                    - Ignoring Directory "ical.admin" because officially not created as meta object. Please remove directory!
                    
                    
                    > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                    > node scripts/postinstall
                    
                    
                    Greenlock and ACME.js v3 are on the way!
                    Watch for updates at https://indiegogo.com/at/greenlock
                    
                    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/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure build`
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    
                    + iobroker.js-controller@2.2.9
                    added 178 packages from 199 contributors in 95.143s
                    
                    9 packages are looking for funding
                      run `npm fund` for details
                    
                    pi@ioBrokerWS:/opt/iobroker $
                    
                    
                    wendy2702 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @wendy2702 last edited by

                      @wendy2702 said in Adapter Updates können nicht installiert werden:

                      Außerdem verderben schließlich viele Köche den Brei

                      Bislang kochen wir den gleichen Brei.

                      1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @WalterKA last edited by

                        @WalterKA jetzt mal

                        iobroker start
                        
                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WalterKA @wendy2702 last edited by

                          @wendy2702

                          hatte ich auch gerade gemerkt dass das noch fehlte, hatte es gleich nachgeholt und Hurra! Webseite wieder da.

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

                            Sehr gut.

                            Und was willst du jetzt updaten?

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

                              @WalterKA Dann kannst du ja jetzt in der Konsole weitermachen:

                              iobroker list adapters
                              
                              W 1 Reply Last reply Reply Quote 0
                              • W
                                WalterKA @wendy2702 last edited by

                                @wendy2702

                                dauert das jetzt noch länger oder ist die Installation hinüber? Jetzt sind unter Adapter keinerlei Einträge mehr zu sehen.

                                Ich hatte vorhin auf Anraten alle Instanzen bis auf admin deaktiviert vor dem Updateversuch. Die habe ich nun gestartet. Es geht nur noch hue.0 und info.0
                                Alle anderen Instanzen starten scheinbar nicht

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

                                  @Thomas-Braun sagte in Adapter Updates können nicht installiert werden:

                                  iobroker list adapters

                                  pi@ioBrokerWS:/opt/iobroker $ iobroker start
                                  pi@ioBrokerWS:/opt/iobroker $ iobroker list adapters
                                  system.adapter.admin                   : admin          - v4.0.9
                                  system.adapter.alexa2                  : alexa2         - v3.0.5
                                  system.adapter.backitup                : backitup       - v1.4.5
                                  system.adapter.cloud                   : cloud          - v3.0.2
                                  system.adapter.deconz                  : deconz         - v1.2.6
                                  system.adapter.discovery               : discovery      - v2.2.2
                                  system.adapter.email                   : email          - v1.0.6
                                  system.adapter.fb-checkpresence        : fb-checkpresence - v0.3.0
                                  system.adapter.fritzbox                : fritzbox       - v0.2.1
                                  system.adapter.hue                     : hue            - v3.2.3
                                  system.adapter.icons-mfd-png           : icons-mfd-png  - v1.0.2
                                  system.adapter.icons-ultimate-png      : icons-ultimate-png - v1.0.1
                                  system.adapter.info                    : info           - v1.5.6
                                  system.adapter.iot                     : iot            - v1.1.8
                                  system.adapter.javascript              : javascript     - v4.3.4
                                  system.adapter.scenes                  : scenes         - v1.1.0
                                  system.adapter.shelly                  : shelly         - v3.1.6
                                  system.adapter.sonoff                  : sonoff         - v2.3.3
                                  system.adapter.tahoma                  : tahoma         - v0.3.2
                                  system.adapter.telegram                : telegram       - v1.4.3
                                  system.adapter.text2command            : text2command   - v1.3.0
                                  system.adapter.tr-064                  : tr-064         - v3.2.0
                                  system.adapter.vis                     : vis            - v1.2.4
                                  system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.1.3
                                  system.adapter.vis-jqui-mfd            : vis-jqui-mfd   - v1.0.12
                                  system.adapter.vis-metro               : vis-metro      - v1.1.2
                                  system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
                                  system.adapter.web                     : web            - v2.4.1
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • W
                                    WalterKA last edited by

                                    Die Adapter sind wieder da! Ich hatte da noch den Knopf gedrückt der nur Adapter mit aktualisierungen anzeigt.
                                    Als ich den deaktivierte kam die Liste, inklusive des CloudConnection, der ein Update haben will

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

                                      CloudConnection wird meist nicht mehr benötigt. Läuft über iot jetzt.
                                      Oder hast du da wissentlich was drin?

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

                                        @Thomas-Braun

                                        das war von Anfang an drin, aber deaktiviert weil iot gekauft habe

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • W
                                          WalterKA last edited by

                                          soll ich rebooten?
                                          es bleibt bei sehr viel rot:

                                          2020-05-04 21_30_16-.png

                                          1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 last edited by

                                            NEIN!

                                            Logfile posten aber bitte als Text.

                                            Da du im „Latest“ unterwegs bist, macht es wahrscheinlich Sinn auch den JS-Controller auf Version 3.x anzuheben.

                                            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

                                            842
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            update adapter
                                            10
                                            156
                                            11722
                                            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