Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Testinstallation unter Node 12.6.0

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Testinstallation unter Node 12.6.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • AlCalzone
      AlCalzone Developer @MathiasJ last edited by

      @MathiasJ sagte in Testinstallation unter Node 12.6.0:

      BLE:
      host.tinkerboard 2019-07-12 05:57:08.717 info Do not restart adapter system.adapter.ble.1 because desired by instance
      host.tinkerboard 2019-07-12 05:56:30.425 error instance system.adapter.ble.1 terminated by request of

      Sonst nix? Das sind Ausgaben von ioBroker selbst, nicht dem Adapter.

      MathiasJ 1 Reply Last reply Reply Quote 0
      • MathiasJ
        MathiasJ @AlCalzone last edited by

        @AlCalzone
        Vom Adapter kommt trotz debug nix.
        Das ist ja das Problem.
        Den fix habe ich nochmal ausgeführt. Hat nur nichts gebracht.

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @MathiasJ last edited by

          @MathiasJ

          Aber du hast schon bei der Instanz die logstufe auf debug gestellt?
          Nicht nur im Log den Filter?

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by AlCalzone

            Ich erwarte eher was im Loglevel "error":

            adapter.log.error(`Terminating because ${reason}`);
            
            MathiasJ 1 Reply Last reply Reply Quote 0
            • MathiasJ
              MathiasJ @AlCalzone last edited by

              @AlCalzone
              Ja erst admin eingestellt, sonst sieht mans net.
              Das Resultot kennst Du ja.....

              AlCalzone 1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @MathiasJ last edited by

                @MathiasJ Ok wenn du da nichts siehst, erkennt man ggf. auf der Konsole was. Dazu bitte den Adapter anhalten und folgendes ausführen:

                cd /opt/iobroker/node_modules/iobroker.ble
                node build/main.js --force --logs
                

                Kannst du im Zweifel mit Strg+C wieder beenden.

                MathiasJ 1 Reply Last reply Reply Quote 0
                • MathiasJ
                  MathiasJ @AlCalzone last edited by

                  @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                  node build/main.js --force --logs

                  Im ble-Adapter kommt das:

                  root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble# node build/main.js --force --logs
                  starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                  loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                  enabled plugins: mi-flora, _default
                  monitored services: fe95
                  Terminating because Cannot find module '@abandonware/bluetooth-hci-socket'
                  Require stack:
                  - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                  - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                  - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                  - /opt/iobroker/node_modules/@abandonware/noble/index.js
                  - /opt/iobroker/node_modules/iobroker.ble/build/main.js
                  root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble#
                  

                  Im Radar kommt das:

                  
                  root@tinkerboard:~# cd /opt/iobroker/node_modules/iobroker.radar2
                  root@tinkerboard:/opt/iobroker/node_modules/iobroker.radar2# node build/main.js --force --logs
                  internal/modules/cjs/loader.js:628
                      throw err;
                      ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.radar2/build/main.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:527:27)
                      at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
                      at internal/main/run_main_module.js:17:11 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  

                  Gruß,
                  Mathias

                  Stabilostick 1 Reply Last reply Reply Quote 0
                  • Stabilostick
                    Stabilostick @MathiasJ last edited by Stabilostick

                    @MathiasJ sagte in Testinstallation unter Node 12.6.0:

                    Probiere mal

                    npm i @abandonware/bluetooth-hci-socket
                    

                    im ioBroker-Ordner. Siehe auch https://www.npmjs.com/package/@abandonware/bluetooth-hci-socket

                    MathiasJ 1 Reply Last reply Reply Quote 0
                    • MathiasJ
                      MathiasJ @Stabilostick last edited by MathiasJ

                      @Stabilostick

                      Ausgabe:

                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp instal                                                                                                                                                             l --fallback-to-build`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log
                      

                      Eingabe:
                      cd /opt/iobroker/node_modules/iobroker.adaptername
                      node build/main.js --force --logs

                      Ausgabe:

                      root@tinkerboard:~# cd /opt/iobroker/node_modules/iobroker.ble
                      root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble# node build/main.js --force --logs
                      starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                      loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                      enabled plugins: mi-flora, _default
                      monitored services: fe95
                      Terminating because Cannot find module '@abandonware/bluetooth-hci-socket'
                      Require stack:
                      - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                      - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                      - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                      - /opt/iobroker/node_modules/@abandonware/noble/index.js
                      - /opt/iobroker/node_modules/iobroker.ble/build/main.js
                      root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble#
                      
                      

                      Gruß,
                      Mathias

                      AlCalzone 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @MathiasJ last edited by

                        @MathiasJ sagte in Testinstallation unter Node 12.6.0:

                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: node-pre-gyp instal l --fallback-to-build
                        npm ERR! Exit status 1

                        Dann müsste vorher ein Fehler im Log stehen. Hier steht nur dass es nicht geklappt hat.

                        MathiasJ 1 Reply Last reply Reply Quote 0
                        • MathiasJ
                          MathiasJ @AlCalzone last edited by

                          @AlCalzone
                          Die sichtbaren Fehler im Log hast Du schon bzw ich gucke heute abend nochmal nach.
                          Bin auf dem Weg zur Arbeit

                          AlCalzone 1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @MathiasJ last edited by

                            @MathiasJ Alles klar. Wir wissen jetzt schon mal, dass es an der fehlgeschlagenen Installation von @abandonware/bluetooth-hci-socket liegt. Wenn die klappt, sollten auch beide Adapter laufen.

                            MathiasJ 1 Reply Last reply Reply Quote 0
                            • MathiasJ
                              MathiasJ @AlCalzone last edited by

                              @AlCalzone

                              hier noch mal der Log:
                              instanz BLE = debug
                              Log = debug

                              host.tinkerboard	2019-07-16 07:36:32.053	info	Do not restart adapter system.adapter.ble.1 because desired by instance
                              host.tinkerboard	2019-07-16 07:36:32.053	error	instance system.adapter.ble.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                              ble.1	2019-07-16 07:36:31.986	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                              ble.1	2019-07-16 07:36:31.896	info	starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                              ble.1	2019-07-16 07:36:31.852	debug	statesDB connected
                              ble.1	2019-07-16 07:36:31.824	debug	objectDB connected
                              

                              Gruß,
                              Mathias

                              AlCalzone 1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer @MathiasJ last edited by

                                @MathiasJ Nur damit wir vom gleichen reden... ich meine den Log der Installation des BLE-Adapters bzw. hci-socket.

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

                                  Also dem, was vor dem hier passiert ist:

                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp instal                                                                                                                                                             l --fallback-to-build`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log
                                  

                                  Oder das Log davon: /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log

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

                                    So,
                                    die Logfile dann doch gefunden und habe sie hier als txt-datei angehängt.
                                    Ich weiß nicht, nach was ich suchen soll 😕

                                    2019-07-14T17_43_34_011Z-debug.log

                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @MathiasJ last edited by

                                      @MathiasJ
                                      Du hast npm i @abandonware/bluetooth-hci-socket nicht wie gefordert

                                      im ioBroker-Ordner

                                      sondern in / ausgeführt. Mach das bitte nochmal in /opt/iobroker.

                                      MathiasJ 1 Reply Last reply Reply Quote 0
                                      • MathiasJ
                                        MathiasJ @AlCalzone last edited by

                                        @AlCalzone

                                        Dann beekomme ich das:

                                        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
                                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
                                        node-pre-gyp ERR! System Linux 4.19.57-rockchip
                                        node-pre-gyp ERR! command "/usr/bin/node" "/root/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                        node-pre-gyp ERR! cwd /root/node_modules/@abandonware/bluetooth-hci-socket
                                        node-pre-gyp ERR! node -v v12.6.0
                                        node-pre-gyp ERR! node-pre-gyp -v v0.12.0
                                        node-pre-gyp ERR! not ok
                                        
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp install --fallback-to-build`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install 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!     /root/.npm/_logs/2019-07-18T04_44_00_892Z-debug.log
                                        

                                        Gruß,
                                        Mathias

                                        AlCalzone 1 Reply Last reply Reply Quote 0
                                        • AlCalzone
                                          AlCalzone Developer @MathiasJ last edited by

                                          @MathiasJ Wenn der Log anfängt mit stack at ... ist er nicht vollständig 😞 Ich brauche alles ab Befehlseingabe

                                          Stabilostick 1 Reply Last reply Reply Quote 0
                                          • MathiasJ
                                            MathiasJ last edited by

                                            Mache ich, wenn ich wieder zuhause bin.
                                            Dann wiederhole ich den Befehl und sende es Dir....
                                            Nun hopp hopp zur Arbeit

                                            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

                                            635
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            node 12 testsystem
                                            5
                                            41
                                            3392
                                            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