Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Adapter B-Control lässt sich nicht installieren

    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

    Adapter B-Control lässt sich nicht installieren

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC- Proxmox VM
      Arbeitsspeicher: 3GB
      Festplattenart: SSD
      Betriebssystem: Debian
      Node-Version: ??
      Nodejs-Version: 16.7.0
      NPM-Version: 8.15.0
      Installationsart: Manuell
      Image genutzt: Nein
      Ort/Name der Imagedatei: Link

      Hallo
      Js-Controller ist 4.0.23
      Nach einem Update auf die neuen Versionen lässt sich der b-control Adapter nicht mehr installieren.
      Alles andere läuft.
      Ein Versuch manuell ergab:
      npm install iobroker.bcontrol
      npm ERR! code E404
      npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.bcontrol - Not found
      npm ERR! 404
      npm ERR! 404 'iobroker.bcontrol@*' is not in this registry.
      npm ERR! 404
      npm ERR! 404 Note that you can also install from a
      npm ERR! 404 tarball, folder, http url, or git url.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /root/.npm/_logs/2022-09-10T15_51_03_249Z-debug-0.log

      Für mich sieht das so aus das dieser nicht mehr im repository ist. Hat jemand eine Idee was man machen kann? Version 0.2.1 wurde zuletzt von bluefox angefasst.

      Danke

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

        @tgr sagte in Adapter B-Control lässt sich nicht installieren:

        /root/
        

        Falscher user. Verwende einen standard user.
        Siehe hier:
        https://www.iobroker.net/#de/documentation/install/proxmox.md

        Der Adapter ist gut versteckt (bzw. unter diesem Namen nicht existent). Meinst du evtl. diesen:
        https://github.com/ioBroker/ioBroker.b-control-em

        Der rennt natürlich auch unter diesem Namen:

        echad@chet:~ $ iobroker add b-control-em
        NPM version: 8.15.0
        Installing iobroker.b-control-em@0.2.1... (System call)
        added 1 package in 9s86 packages are looking for funding run `npm fund` for details
        host.chet install adapter b-control-em
        upload [1] b-control-em.admin /opt/iobroker/node_modules/iobroker.b-control-em/admin/bcontrol.png bcontrol.png image/png
        upload [0] b-control-em.admin /opt/iobroker/node_modules/iobroker.b-control-em/admin/index.html index.html text/html
        host.chet object system.adapter.b-control-em created/updated
        host.chet create instance b-control-em
        host.chet object system.adapter.b-control-em.0.alive created
        host.chet object system.adapter.b-control-em.0.connected created
        host.chet object system.adapter.b-control-em.0.compactMode created
        host.chet object system.adapter.b-control-em.0.cpu created
        host.chet object system.adapter.b-control-em.0.cputime created
        host.chet object system.adapter.b-control-em.0.memHeapUsed created
        host.chet object system.adapter.b-control-em.0.memHeapTotal created
        host.chet object system.adapter.b-control-em.0.memRss created
        host.chet object system.adapter.b-control-em.0.uptime created
        host.chet object system.adapter.b-control-em.0.inputCount created
        host.chet object system.adapter.b-control-em.0.outputCount created
        host.chet object system.adapter.b-control-em.0.eventLoopLag created
        host.chet object system.adapter.b-control-em.0.sigKill created
        host.chet object system.adapter.b-control-em.0.logLevel created
        host.chet object b-control-em.0.info created
        host.chet object b-control-em.0.info.connection created
        host.chet object b-control-em.0.inclusionOn created
        host.chet Set default value of b-control-em.0.info.connection: false
        host.chet Set default value of b-control-em.0.inclusionOn: false
        host.chet object system.adapter.b-control-em.0 created
        Process exited with code 0
        
        T 1 Reply Last reply Reply Quote 0
        • T
          Tgr @Thomas Braun last edited by

          @thomas-braun
          Hallo Thomas,
          Danke für deine Antwort:
          Mein erster Versuch der Installation war wie immer über den Admin Adapter. Das hat leider mit folgenden Meldungen nicht geklappt.

          $ iobroker add b-control-em --host IObroker
          Installing iobroker.b-control-em@0.2.1... (System call)
          host.IObroker Cannot install iobroker.b-control-em@0.2.1: 217
          ERROR: Process exited with code 25
          

          Anschließend habe ich im Adapter auf der Admin Oberfläche das ? angeklickt und unter "Abzeichen" die Install Anweisung gefunden. Mit obigen Ergebnis.

          Ich habe es nun mit deiner Lösung versucht.

          tgr@IObroker:~$ iobroker add b-control-em
          NPM version: 8.15.0
          Installing iobroker.b-control-em@0.2.1... (System call)
          host.IObroker Cannot install iobroker.b-control-em@0.2.1: 217
          

          Leider ohne Erfolg

          Eine Variante:

          sudo npm install iobroker.b-control-em
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          
          added 48 packages, and audited 49 packages in 3s
          
          2 packages are looking for funding
            run `npm fund` for details
          
          found 0 vulnerabilities
          

          Scheint zumindest das Modul zu finden, allerdings landen dann das Modul irgendwo, es wird auf alle Fälle nicht unter Instanzen angezeigt.

          Noch jemand eine Idee?

          P.S. ich war nicht root - Die Meldung "npm ERR! /root/.npm/_logs/2022-09-10T16_27_08_403Z-debug-0.log" wird wohl immer so angezeigt.

          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Tgr last edited by

            @tgr sagte in Adapter B-Control lässt sich nicht installieren:

            sudo npm install

            Falsch... npm wird nicht mit sudo eingeleitet.
            Davon abgesehen sollte man npm direkt ohnehin nicht verwenden.
            Da muss man nämlich drauf achten, im richtigen Verzeichnis zu stehen, sonst passiert das:

            allerdings landen dann das Modul irgendwo

            Zu deinem eigentlichen Problem (neben den schiefen usern...):

            https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

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

              @tgr sagte in Adapter B-Control lässt sich nicht installieren:

              P.S. ich war nicht root

              Doch, per 'sudo' wirst du zu root.
              Also wie immer: NICHT machen.

              Fix das:

              iobroker stop 
              iobroker fix
              iobroker start
              
              T 1 Reply Last reply Reply Quote 0
              • T
                Tgr @Thomas Braun last edited by

                @thomas-braun
                Hallo Thomas,

                danke nochmal. Der Link https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8 von dir hat geholfen.

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

                  @tgr

                  Natürlich 😄

                  Aber fummel da künftig nicht so kopflos irgendwas irgendwie im System herum. Du verbiegst dir da ggf. alles.
                  Hast du den fixer jetzt ausgeführt?

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  749
                  Online

                  31.8k
                  Users

                  80.0k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  384
                  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