Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gismoh @crunchip last edited by

      @crunchip

      systemctl status bluetooth
      

      Liefert:

      ● bluetooth.service - Bluetooth service
           Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: en>
           Active: active (running) since Tue 2023-11-07 15:12:36 CET; 2min 58s ago
             Docs: man:bluetoothd(8)
         Main PID: 584 (bluetoothd)
           Status: "Running"
            Tasks: 1 (limit: 4623)
           Memory: 3.6M
              CPU: 42ms
           CGroup: /system.slice/bluetooth.service
                   └─584 /usr/libexec/bluetooth/bluetoothd
      
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      Nov 07 15:12:37 ioBrokerVM bluetoothd[584]: Endpoint registered: sender=:1.28 p>
      lines 1-22/22 (END)
      
      hciconfig
      

      Liefert:

      hci0:   Type: Primary  Bus: USB
              BD Address: 0C:54:15:D0:86:93  ACL MTU: 1021:4  SCO MTU: 96:6
              UP RUNNING 
              RX bytes:819 acl:0 sco:0 events:63 errors:0
              TX bytes:3692 acl:0 sco:0 commands:63 errors:0
      
      rfkill list all
      

      Liefert:

      -bash: rfkill: Kommando nicht gefunden.
      
      dmesg | egrep -i 'blue|firm'
      

      Liefert:

      [    0.266252] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
      [    4.193119] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    4.265674] Bluetooth: Core ver 2.22
      [    4.265696] NET: Registered PF_BLUETOOTH protocol family
      [    4.265698] Bluetooth: HCI device and connection manager initialized
      [    4.265740] Bluetooth: HCI socket layer initialized
      [    4.265744] Bluetooth: L2CAP socket layer initialized
      [    4.265748] Bluetooth: SCO socket layer initialized
      [    4.319533] Bluetooth: hci0: Firmware revision 0.1 build 19 week 44 2021
      [    4.380570] iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
      [    4.938807] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
      [    5.478986] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
      [    5.478990] Bluetooth: BNEP filters: protocol multicast
      [    5.478994] Bluetooth: BNEP socket layer initialized
      [    5.481078] Bluetooth: MGMT ver 1.22
      [   17.632400] Bluetooth: hci0: urb 000000003977ddce failed to resubmit (2)
      
      ? crunchip 2 Replies Last reply Reply Quote 0
      • G
        Gismoh @Guest last edited by Gismoh

        @dp20eic
        VM und ganze Maschine wurden bereits mehrfach neu gestartet.

        Den BLE hatte ich nicht wieder deinstalliert, sondern das Backup aufgespielt.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Gismoh last edited by

          @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

          -bash: rfkill: Kommando nicht gefunden.

          Moin,

          dann installier Dir mal rfkill

          # sudo apt install rfkill
          

          VG
          Bernd

          G 1 Reply Last reply Reply Quote 0
          • G
            Gismoh @Guest last edited by

            @dp20eic

            rfkill list all
            

            Liefert:

            0: hci0: Bluetooth
                    Soft blocked: no
                    Hard blocked: no
            
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Gismoh last edited by

              @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

              Den BLE hatte ich nicht wieder deinstalliert, sondern das Backup aufgespielt.

              Moin,

              kannst Du den Adapter jetzt einmal deinstallieren und dann noch einmal neu installieren und konfigurieren.

              VG
              Bernd

              G 1 Reply Last reply Reply Quote 1
              • G
                Gismoh @Guest last edited by Gismoh

                @dp20eic
                Merci,

                dies hatte ich im Vorfeld auch bereits getan, allerdings mit "Hindernissen" 😉
                Schreibe nun mit, was passiert....
                -Adapter wurde deinstalliert,
                -ioBroker neugestartet
                beim Versuch ihn aus der Weboberfläche hinzuzufügen kommt folgende Fehlermeldung:

                $ iobroker add ble --host ioBrokerVM
                
                NPM version: 9.8.1
                
                Installing iobroker.ble@0.13.4... (System call)
                
                npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/@abandonware/noblenpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! (node:2525) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-13-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noblenpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-07T15_10_54_825Z-debug-0.log
                
                host.ioBrokerVM Cannot install iobroker.ble@0.13.4: 1
                
                ERROR: Process exited with code 25
                

                Edit:
                Habe danach

                curl -sL http://iobroker.net/fix.sh | bash -
                

                und

                sudo -H -u iobroker npm cache verify
                

                gemacht, danach erneut versucht den BLE Adapter zu installieren, aber gleicher Fehler.

                da_Woody crunchip 2 Replies Last reply Reply Quote 0
                • da_Woody
                  da_Woody @Gismoh last edited by

                  @gismoh bin kein Profi, aber wenn ich dein post so lese.
                  Du hast iob installiert, dann ble. Da hat noch alles geklappt. Danach das Backup eingespielt und locker flockig den Port 8081 verbogen.
                  Ob das so gut gehen kann?

                  G 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @Gismoh last edited by

                    @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                    hci0: urb 000000003977ddce failed to resubmit (2)

                    Sieht aber irgendwie so aus als wenn da etwas nicht stimmt, unabhängig von deinem npm Problem

                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Gismoh last edited by

                      @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                      beim Versuch ihn aus der Weboberfläche hinzuzufügen kommt folgende Fehlermeldung

                      Ist mir gerade eingefallen, schau mal bei meinem issue
                      https://github.com/AlCalzone/ioBroker.ble/issues/801

                      crunchip77 created this issue in AlCalzone/ioBroker.ble

                      closed upgrade 0.13.3 auf 0.13.4 npm ERR #801

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gismoh @da_Woody last edited by Gismoh

                        @da_woody
                        Dachte Backitup, ist das "Mittel der Wahl"?
                        Habe allerdings nun das erste mal damit ein Backup widerhergestellt.

                        Um noch mal zu sehen, das ich mir das nicht eingebildet hatte, das vor dem einspielen des Backups ioBroker ersteinmal "Normal" lief, die VM wieder vom früheren Zeitpunkt widerhergestellt.

                        = Weboberfläche wieder mit :8081 aufrufbar, und ble ist grün und hat Geräte gefunden und aktualisiert die Werte.

                        Nachtrag: Hab das Backup einspielen bereits zwei mal durch gemacht, jeweils mit einem neuen Backup. Aber das Ergebnis war jeweils dasselbe.

                        crunchip da_Woody 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Gismoh last edited by

                          @gismoh dann deinstalliere doch mal den ble jetzt und spiel anschliessend dein backup zurück

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Gismoh @crunchip last edited by

                            @crunchip
                            merci, werde ich dann heute später machen, muss nun ersteinmal vom Rechner weg - sonst holt die GG noch das Nudelholz 🤕

                            1 Reply Last reply Reply Quote 0
                            • da_Woody
                              da_Woody @Gismoh last edited by

                              @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                              Dachte Backitup, ist das "Mittel der Wahl"?

                              jo, auf einem nackten system.
                              offensichtlich knallt dir da was rein. warum sollte die oberfläche nachher nicht mehr über :8081 erreichbar sein?
                              das war, was mich nochmal nachlesen hat lassen...

                              crunchip 1 Reply Last reply Reply Quote 1
                              • crunchip
                                crunchip Forum Testing Most Active @da_Woody last edited by

                                @da_woody sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                die oberfläche nachher nicht mehr über :8081 erreichbar sein?

                                Möglich das der admin nicht gestartet war

                                G 1 Reply Last reply Reply Quote 1
                                • G
                                  Gismoh @crunchip last edited by Gismoh

                                  @crunchip @da_Woody
                                  Admin war zuerst nicht gestartet, das stimmt, hatte ich aber über die Console nachgeholt.
                                  Aber auch danach war er unter :8081 nicht erreichbar. Erst nachdem ich über die Console einen "admin.1" installiert hatte, war dieser dann über :8091 erreichbar.

                                  Spiele gerade erneut ein Restore mit dem Backitup Adapter ein, habe diesmal alle Instanzen außer "admin" und "backitup" auf der Zielmaschine vorher deinstalliert.
                                  Mal sehen 😉

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Gismoh last edited by

                                    @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                    Aber auch danach war er unter :8081 nicht erreichbar.

                                    gebunden vllt an die IP?

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Gismoh @crunchip last edited by Gismoh

                                      @crunchip
                                      würde mich wundern, denn vor der Backup Einspielung hatte es ja mit 8081 geklappt - sonst hatte ich ja nichts geändert.
                                      Oder wird im iobroker selber die IP noch "bestimmt" ?

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Gismoh last edited by

                                        @gismoh klar, aber was ist denn in der alten Installation eingestellt, sprich deinem backup? diese Einstellungen spielst du ja durch dein backup ein

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          Gismoh @crunchip last edited by

                                          @crunchip
                                          wo wird denn im ioBroker die eigene IP gesetzt? Habe dort nichts gefunden.

                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @Gismoh last edited by crunchip

                                            @gismoh in der admin Instanz...IP- Adresse
                                            sollte eigentlich auf 0.0.0.0 stehen

                                            G 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            860
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            267
                                            21520
                                            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