Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. /bin/sh: 1: hcitool: not found

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    /bin/sh: 1: hcitool: not found

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

      Kann mir jemand hier helfen...
      Hab das ganze in HomeAssistant wenn ich JS Controller auf Version 4 + Node auf 16 und Admin auf 6 update...

      Starting ioBroker...
       
      Running 'eval' commands
      library: loaded
      Library version=2022-12-09
      ==========================================================================
          Welcome to the ioBroker installation fixer!
          Script version: 2023-04-02
      ==========================================================================
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      Get:1 http://security.debian.org/debian-security buster/updates InRelease [34,8 kB]
      Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
      Get:3 http://deb.debian.org/debian buster-updates InRelease [56,6 kB]
      Get:4 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
      Get:5 http://security.debian.org/debian-security buster/updates/main arm64 Packages [542 kB]
      Get:6 http://deb.debian.org/debian buster/main arm64 Packages [7.737 kB]
      Get:7 http://deb.debian.org/debian buster-updates/main arm64 Packages [8.780 B]
      Get:8 https://deb.nodesource.com/node_12.x buster/main arm64 Packages [774 B]
      Fetched 8.506 kB in 4s (2.153 kB/s)
      Reading package lists...
      Installed gcc-c++
      Installed cmake
      Docker detected!
      If you have any adapters that need the CAP_NET_ADMIN capability,
      you need to start the docker container with the option --cap-add=NET_ADMIN
      and manually add that capability to node
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      ==========================================================================
          Check and cleanup npm temporary directories (3/5)
      ==========================================================================
      Done.
      ==========================================================================
          Database maintenance (4/5)
      ==========================================================================
      Checking for uncompressed JSONL databases... This might take a while!
      npx: Installierte 12 in 6.074s
      No path given, using /data/iobroker/iobroker-data
      Compressing /data/iobroker/iobroker-data/states.jsonl
      Compressing /data/iobroker/iobroker-data/objects.jsonl
      Compressed 2 JSONL files. Done
      ==========================================================================
          Checking autostart (5/5)
      ==========================================================================
      Unsupported init system, cannot enable autostart!
      ==========================================================================
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      ==========================================================================
      ================================== > LOG REDIRECT system.adapter.admin.0 => true [starting]
      host.1e14b3fb-iobroker check instance "system.adapter.admin.0" for host "1e14b3fb-iobroker"
      host.1e14b3fb-iobroker check instance "system.adapter.mqtt.0" for host "1e14b3fb-iobroker"
      host.1e14b3fb-iobroker check instance "system.adapter.mqtt-client.0" for host "1e14b3fb-iobroker"
      host.1e14b3fb-iobroker check instance "system.adapter.discovery.0" for host "1e14b3fb-iobroker"
      host.1e14b3fb-iobroker check instance "system.adapter.info.0" for host "1e14b3fb-iobroker"
      host.1e14b3fb-iobroker check instance "system.adapter.gruenbeck.0" for host "1e14b3fb-iobroker"
      /bin/sh: 1: hcitool: not found
      
      Thomas Braun ? Marc Berg 4 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Presl last edited by Thomas Braun

        @presl

        iob diag
        

        und

        apt policy bluez
        

        sagen?

        node12 ist auch zu alt.

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

          @presl sagte in /bin/sh: 1: hcitool: not found:

          Docker detected!

          Seh ich jetzt erst...

          Dann gilt:

          Docker detected!
          
          If you have any adapters that need the CAP_NET_ADMIN capability,
          
          you need to start the docker container with the option --cap-add=NET_ADMIN
          
          and manually add that capability to node
          
          Presl 1 Reply Last reply Reply Quote 0
          • Presl
            Presl @Thomas Braun last edited by

            @thomas-braun Danke für deine Antwort!!!1
            Kannst du mir hier ein bisschen auf die Sprünge helfen?

            Da ich das ganze unter HA laufen lasse habe ich nur eval wo ich Commands mitschicken kann mit ";" sep.

            node hätte ich eigentlich schon hochgezogen - keine Ahnung warum die jetzt wieder auf 12 ist. War schon auf 18...

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

              @presl sagte in /bin/sh: 1: hcitool: not found:

              Da ich das ganze unter HA laufen lasse

              heisst was genau?

              keine eigene iob Installation?
              node-Version ggf. durch HA festgepinnt?

              erzähl mal mehr über dein Konstrukt
              https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

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

                @presl sagte in /bin/sh: 1: hcitool: not found:

                Hab das ganze in HomeAssistant

                Moin,

                ich bin verwirrt, Home Assistant ist eine eigene Hausautomatisierungs-Software, wie kann man darin ein ioBroker laufen lassen?
                Ich kenne da nur die Möglichkeit, dass man sich gegenseitig die jeweiligen Zugriffe erlaubt, einrichtet, mal einfach ausgedrückt.

                VG
                Bernd

                Presl 1 Reply Last reply Reply Quote 0
                • Marc Berg
                  Marc Berg Most Active @Presl last edited by

                  @presl sagte in /bin/sh: 1: hcitool: not found:

                  Kann mir jemand hier helfen...
                  /bin/sh: 1: hcitool: not found

                  Abgesehen vom Home Assistant Thema, was ich auch etwas verwirrend finde, kam bei mir auch immer diese Fehlermeldung im Container, bis ich den Info-Adapter deinstalliert habe. Da dieser sowieso nicht weiter entwickelt wird, war die Entscheidung dann einfach.

                  Irgendwelche CAP_NET_ADMIN Anpassungen haben übrigens nicht geholfen.

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

                    @dp20eic :

                    Man kann unter Add-Ons den Iobroker installieren und dieser läuft dann nehm ich an in so nem Container oder Docker...

                    Bin leider überhaupt nicht in dem Thema drinnen und möchte eigentlich nur meinen Gruenbeck Adapter zum laufen bekommen^^.

                    Aber man lernt nie aus und darum muss ich mich damit mehr befassen.

                    keine eigene iob Installation? -> Home Assistant ist ein eigenes BS für nen Rasp.
                    node-Version ggf. durch HA festgepinnt? -> das kann ich dir leider nicht sagen weil ich mich damit nicht auskenne... Ich hab es geschafft zu updaten und durch die neue node konnte ich dann auch den Admin Adapater installieren welche ich für MQTT benötige.

                    Nach nem Neustart von iobroker ging nichts mehr und ich bekomm hcitool not found.

                    @Marc-Berg: dann werde ich mal versuchen diesen zu deinstallieren - danke!

                    Marc Berg 1 Reply Last reply Reply Quote 0
                    • Marc Berg
                      Marc Berg Most Active @Presl last edited by Marc Berg

                      @presl sagte in /bin/sh: 1: hcitool: not found:

                      Nach nem Neustart von iobroker ging nichts mehr und ich bekomm hcitool not found.

                      Dass "nichts mehr geht" ist jetzt eine neue Information für mich. Das wird nicht am Info-Adapter liegen.

                      Presl 1 Reply Last reply Reply Quote 0
                      • Presl
                        Presl @Marc Berg last edited by

                        @marc-berg:
                        hab ich auch grad festgestellt^^. Hat nichts geholfen. Sehr komisch ich komm einfach nicht mehr in die UI rein...

                        2dc4360c-4d36-4fcd-971b-9c4b7d379fd0-image.png

                        Presl 1 Reply Last reply Reply Quote 0
                        • Presl
                          Presl @Presl last edited by

                          @presl: Ich kann auch den neuen JS Controller gar nicht installieren auf diesem System da bekomme ich immer diverse Fehler. Wobei das System lief mit Version 4... bis zum neustart.

                          mcm1957 1 Reply Last reply Reply Quote 0
                          • mcm1957
                            mcm1957 @Presl last edited by mcm1957

                            Also dass HOME ASSISTENT eine BETRIEBSSYSTEM ist wäre mir neu. Ich glaub da ahst du was falschg verstanden. Du kannst home assistent mittels Assistenten auf einem Pi installieren - der installierte dir dann eine Basis (Rapian, Linuxvariente, ...) und das eigentlich homeassistent.

                            Wie es homeassistent dann schafft ioBroker zu installierne - keine Ahnung. Aber ob in diesem Umfeld überhaupt eine Aktualisierung von node und js-controller möglich ist wird dir eher im homeassistent support wer sagen können.

                            Edit:
                            Offensichtlich wird das Einrichten einer dedizierten homeassitant installation auf einem Pi wirklich als Betriebssysteminstallation bezeichnet:

                            https://www.home-assistant.io/installation/raspberrypi/

                            man lernt nie aus ...

                            Presl ? 2 Replies Last reply Reply Quote 0
                            • Presl
                              Presl @mcm1957 last edited by Presl

                              @mcm57 said in /bin/sh: 1: hcitool: not found:

                              glaub da ahst du was falschg verstanden. Du kannst home assistent mittels Assistenten auf einem Pi installieren - der installierte dir dann eine Basis (Rapian, Linuxvariente, ...) und das eigentlich homeassistent.

                              genau so gut kenn ich mich aus^^. Dachte ich zumindest.

                              Bin halt völlig in der Windows-welt 🙂 und durch Smart Home hier reingekommen.

                              Update:
                              haha hatte ich doch recht - wie gesagt ich bin voll der noob mit Linux und so

                              mcm1957 1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @Presl last edited by

                                @presl

                                Aber wie hast du ioBroker dann auf einem Pi installiert das du mit homeassistant initialisiert hast installiert? Wenn ich mal auf homeassistent suche gibts keine iobroker integration.

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

                                  @mcm57 sagte in /bin/sh: 1: hcitool: not found:

                                  Wenn ich mal auf homeassistent suche gibts keine iobroker integration.

                                  Moin,

                                  gibt es auch nicht, man kann entweder, in ioBroker z. B. mqtt installieren, und die Datenpunkte, die man in Home Assistant (HA) haben möchte Publishen/Subscriben und in HA dann mittels mqtt Client hineinziehen, oder andersherum in ioBroker den Adapter installieren und HA anbinden, mal ganz platt gesprochen.
                                  Da ich aber noch eine VM vom HA habe, werde ich mich mal dransetzen und nachschauen.

                                  VG
                                  Bernd

                                  Edit
                                  Unter den AddOn in HA, gibt es nichts zu ioBroker
                                  1437496b-6d9d-4c81-980f-da6ef687487d-grafik.png
                                  Unter Integration gibt es kein ioBroker
                                  fe8bc31d-fe80-44ea-b1e4-631d62e91855-grafik.png
                                  Auch im HACS kein ioBroker
                                  e66de701-20e2-486d-9a0e-47db7bdf03ef-grafik.png

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

                                    @mcm57 sagte in /bin/sh: 1: hcitool: not found:

                                    Offensichtlich wird das Einrichten einer dedizierten homeassitant installation auf einem Pi wirklich als Betriebssysteminstallation bezeichnet:

                                    Moin,

                                    ja es gibt, nicht nur für SBCs, sondern auch ganz allgemein, z. B. als VM Abbild das sogenannte HAOS → https://developers.home-assistant.io/docs/operating-system/ das ist ein fertig konfiguriertes Linux, so weit ich das sehe, dient Alpine → https://www.alpinelinux.org/ als Unterbau

                                    Edit
                                    Jetzt könnte man auf die Idee kommen, parallel mittels Einzeiler, auch noch den ioBroker auf dem HAOS zu installieren, das birgt aber Gefahren, oder spezielles KnowHoff.

                                    • Alpine nutzt nicht apt, sondern einen anderen Paketmanager → apk
                                    • Home Assistant bringt monatliche Updates, von HA Core, das entspricht in etwas ioBroker , aber es gibt auch alle paar Monate Updates vom HAOS sobald die eingespielt werden, ist alles futsch, was man sich da selbst installiert hat, deshalb gibt es einige Standard Programme als AddOn, z. B. InfluxDB, Grafana

                                    VG
                                    Bernd

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

                                      So ...

                                      Ich hab jetzt hier mal gesucht. Es gibt ein iobroker addon (ev. auch noch andere).
                                      Das von mir gefundene liegt hier:

                                      https://github.com/MaxWinterstein/homeassistant-addons/tree/main/ioBroker

                                      Ob dieses addon das "Richtige" ist muss @presl bestätigen bzw. korrigieren.

                                      So wie es für mich aussieht wird da ioBroker irgendwie via container installiert.
                                      Es stellt sich aber die Frage ob das Problem nicht besser bei homeassistant aufgehoben wäre.

                                      mcm1957 ? Presl 3 Replies Last reply Reply Quote 0
                                      • mcm1957
                                        mcm1957 @mcm1957 last edited by

                                        Und wie ich sehe gibts von @Presl auch schon ein issue im oben genannten Repo.
                                        Wär schön gewesen, wenn er hier gleich alle Infos die er hat gepostet hätte 🙂

                                        https://github.com/MaxWinterstein/homeassistant-addons/issues/184
                                        https://github.com/MaxWinterstein/homeassistant-addons/issues/159

                                        Offensichttlich wird hier der buanet container 5.1.0 verwendet. Ob es Sinn macht bzw. überhaupt möglich ist IN diesem node und ioBroker zu aktualiseren weiß ich nicht. Aktuell ist jedenfalls 8.x.x

                                        Wahrscheinlich wäre die saubere Vorgangsweise das addOn zu aktualisieren

                                        Presl1983 created this issue in MaxWinterstein/homeassistant-addons

                                        open [ioBroker] can't connect to ui after updateing js-controller and admin #184

                                        cbho created this issue in MaxWinterstein/homeassistant-addons

                                        closed ioBroker #159

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

                                          @mcm57 sagte in /bin/sh: 1: hcitool: not found:

                                          So wie es für mich aussieht wird da ioBroker irgendwie via container installiert.

                                          Moin,

                                          Danke fürs Suchen, aber erstens nichts Offizielles von HA und der Container ist ja Asbach Uralt

                                          ARG BUILD_FROM=buanet/iobroker:v5.1.0
                                          FROM ${BUILD_FROM}
                                          
                                          # copy over the patched iobroker_startup.sh
                                          COPY iobroker_startup.sh /opt/scripts/iobroker_startup.sh
                                          RUN chmod a+x /opt/scripts/iobroker_startup.sh
                                          

                                          Das ist mir zu viel gewürgte, bin dann mal raus.

                                          VG
                                          Bernd

                                          @mcm57 sagte in /bin/sh: 1: hcitool: not found:

                                          Es stellt sich aber die Frage ob das Problem nicht besser bei homeassistant aufgehoben wäre.

                                          Sehe ich genauso.

                                          mcm1957 1 Reply Last reply Reply Quote 1
                                          • mcm1957
                                            mcm1957 @Guest last edited by

                                            @dp20eic
                                            Ja das gepantschte Startupskrikt hat bei mir auch Alarmglocken ausgelöst...

                                            @Presl
                                            Ich glaub du musst dich da wirklich an den Maintainer dieses addOns wenden.
                                            Alternativ installiert dir ioBroker nativ oder via Container auf einem System.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            670
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            35
                                            1848
                                            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