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 @Thomas Braun last edited by

      @Thomas-Braun

      Der Reboot ist durch, die webseite noch immer offline

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

        @Thomas-Braun
        und

        sudo apt autoremove
        

        Ist ein PI, da zählt jede kB 😉

        W Thomas Braun 2 Replies Last reply Reply Quote 0
        • W
          WalterKA @Jan1 last edited by

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

          sudo apt autoremove

          Using username "pi".
          Linux ioBrokerWS 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l
          
          The programs included with the Debian GNU/Linux system are free software;
          the exact distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.
          
          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Mon May  4 21:12:30 2020
          pi@ioBrokerWS:~ $ sudo apt autoremove
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Die folgenden Pakete werden ENTFERNT:
            libmicrodns0
          0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
          Nach dieser Operation werden 30,7 kB Plattenplatz freigegeben.
          Möchten Sie fortfahren? [J/n] j
          (Lese Datenbank ... 99722 Dateien und Verzeichnisse sind derzeit installiert.)
          Entfernen von libmicrodns0:armhf (0.0.10-1) ...
          Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ...
          pi@ioBrokerWS:~ $
          
          
          
          
          
          J 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 last edited by

            Konsole:

            iobroker status
            iobroker -v
            
            1 Reply Last reply Reply Quote 0
            • W
              WalterKA last edited by

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

              iobroker -v

              pi@ioBrokerWS:~ $ iobroker status
              internal/modules/cjs/loader.js:960
                throw err;
                ^
              
              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
                  at Function.Module._load (internal/modules/cjs/loader.js:840:27)
                  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
                  at internal/main/run_main_module.js:18:47 {
                code: 'MODULE_NOT_FOUND',
                requireStack: []
              }
              pi@ioBrokerWS:~ $ iobroker -v
              internal/modules/cjs/loader.js:960
                throw err;
                ^
              
              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
                  at Function.Module._load (internal/modules/cjs/loader.js:840:27)
                  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
                  at internal/main/run_main_module.js:18:47 {
                code: 'MODULE_NOT_FOUND',
                requireStack: []
              }
              pi@ioBrokerWS:~ $
              
              
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @WalterKA last edited by

                @WalterKA
                Das war für @Thomas-Braun gedacht, halte Dich an das was er schreibt, er weiß was er tut.

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

                  @WalterKA

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

                  Bitte die Ausgaben danach posten

                  W 1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            1.0k
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

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