Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installation jeglicher Adapter failed

    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 Installation jeglicher Adapter failed

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi3B+
      Arbeitsspeicher: 1GB
      Festplattenart: SD-Karte
      Betriebssystem: RaspiOS

      Hey, seit 3 Tagen stürzt der Pi bei der Installation von jedem Adapter ab. Vorhin versucht de Landroid-Adapter zu installieren:

      $ ./iobroker add worx  --host raspberrypi
      NPM version: 6.14.6npm install iobroker.worx@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
      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: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)                                                              ^
      ../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.18.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] Error 1
      gyp
       
      ERR! build error 
      gyp
       ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp
       ERR! System Linux 4.19.118-v7+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      

      Jemand eine Idee?

      da_Woody Thomas Braun 2 Replies Last reply Reply Quote 0
      • da_Woody
        da_Woody @PierrePetite last edited by

        @PierrePetite nuja, ubuntu, wahrscheinlich level 5, 1GB ram, bisschen wenig platz.

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

          @PierrePetite sagte in Installation jeglicher Adapter failed:

          /usr/local/bin/node

          NodeJS falsch installiert.
          Schau hier wie man das wieder gerade fummelt:
          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

          Den Pi könntest du auch mal aktualisieren, RaspberryOS (ich vermute Ubuntu ist eine Falschangabe) läuft mittlerweile mit einem Kernel 5.4.

          1 Reply Last reply Reply Quote 0
          • P
            PierrePetite last edited by

            Ja, Ubuntu war tatsächlich eine Falschangabe. Es ist RaspiOS.

            Problem ist behoben.

            sudo apt update
            sudo apt upgrade
            
            

            Hat es gelöst. Danke euch! Hoffentlich ist es nun auch vorbei, dass der Gute jeden zweiten Tag abstürzt und rebootet werden muss.

            Danke!

            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @PierrePetite last edited by

              @PierrePetite sagte in Installation jeglicher Adapter failed:

              sudo apt update

              sudo apt upgrade
              Hat es gelöst.

              aber nicht deine Falschinstallation in :

              /usr/local/............
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @PierrePetite last edited by Thomas Braun

                @PierrePetite Das ist aber nur die halbe Miete.

                who -r
                

                sagt? Und wie gesagt muss die node-Installation auch korrigiert werden.

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

                Support us

                ioBroker
                Community Adapters
                Donate

                777
                Online

                31.9k
                Users

                80.1k
                Topics

                1.3m
                Posts

                iobroker absturz
                4
                6
                355
                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