Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Adapter installation crashed IoBroker

    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

    Zigbee Adapter installation crashed IoBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @BMB last edited by Thomas Braun

      @bmb sagte in Zigbee Adapter installation crashed IoBroker:

      Das hatte ich schon versucht, hat aber leider nicht funktioniert.

      Konkret?

      which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      

      sagt z. B.?

      Am Rande:
      ioBroker wird nicht (mehr) über init.d gestartet, in /etc/init.d dürfte eigentlich nichts diesbezügliches vorhanden sein.

      B 1 Reply Last reply Reply Quote 0
      • B
        BMB @Thomas Braun last edited by

        @thomas-braun OK, danke. Nach meinem Post bezüglich de-installieren habe ich gleich losgelegt und 'update-rc.d iobroker.sh remove' ausgeführt. Daher installiere ich es jetzt neu.

        Dabei fällt mir auf, dass mir noch nicht einleuchtet wann ich eine root bash benutzen sollte. Das Installationsskript läuft mit meinem Benutzer, der auch in der root Gruppe ist nicht durch.
        Sorry wenn das jetzt sehr basic ist

        ==========================================================================
        
            Welcome to the ioBroker installer!
            Installer version: 2021-04-07
            
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/4)
        ==========================================================================
        
        [sudo] password for ben: 
        Sorry, user ben is not allowed to execute '/usr/bin/apt-get update' as root on odroid.
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @BMB last edited by Thomas Braun

          @bmb
          Ja, wirklich basic. Der 'ben' gehört in die Gruppe sudo rein, nicht in die Gruppe root.
          ben ausloggen, als root nochmal einloggen:

          usermod -aG sudo ben
          

          root ausloggen, als ben:

          sudo whoami
          

          Sollte dann so wie auf meinem System aussehen:

          pi@chet:~ $ sudo whoami
          root
          

          Vor dem Fixer würde ich aber zuerst dein nodeJS gerade rücken.
          Das ist ja die Laufzeitumgebung für den ioBroker, die muss also zuerst passen.

          1 Reply Last reply Reply Quote 0
          • B
            BMB last edited by

            Super, vielen dank. Das hat geklappt, das war wahrscheinlich mein grundsätzlicher Fehler.
            Mal schauen ob jetzt alles durchläuft.

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

              @bmb
              Wie schon gesagt, schau dir zuvor deine node-Installation an, die ist vermutlich auch krumm. Zumindest das npm@7 gehört da nicht zu.

              1 Reply Last reply Reply Quote 0
              • B
                BMB last edited by BMB

                Mein Löschen von IoBroker war offensichtlich nicht vollständig. Die Adapter waren nach der Neuinstallation noch vorhanden.

                Die Installation des Zigbee Adapters hat jetzt nicht mehr zu einem Crash geführt, aber ist mit Fehlern Abgebrochen.

                Ich bin nochmal durch die Installationsanleitung gegangen und habe jetzt folgende Versionen:
                node v12.22.1
                nodejs 12.22.1-deb-1nodesource1
                npm 6.14.12

                Allerdings hat nodejs anscheinend ein Problem:

                ben@odroid:~$ nodejs -v
                -bash: nodejs: command not found
                ben@odroid:~$ sudo apt install -y nodejs
                Reading package lists... Done
                Building dependency tree       
                Reading state information... Done
                nodejs is already the newest version (12.22.1-deb-1nodesource1).
                0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                

                Kann ich das ignorieren?
                Oder wie korrigiere ich es?

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

                  @bmb

                  Lies das HowTo zu node aus meiner Signatur. Da steht das drin, was bei Ubuntu noch erforderlich ist um eine Ausgabe bei

                  nodejs -v
                  

                  zu erhalten.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BMB @Thomas Braun last edited by

                    @thomas-braun Danke! hab es jetzt auch gefunden

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

                      @bmb
                      Und wie schaut das jetzt aus, wenn du den Check auf korrekte Installation machst?

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BMB @Thomas Braun last edited by

                        @thomas-braun Es hat etwas gedauert, war mit meiner Familie beschäftigt 🙂 Vielen Dank nochmal, es läuft jetzt alles!

                        ben@odroid:~$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs 
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v12.22.1
                        v12.22.1
                        6.14.12
                        nodejs:
                          Installed: 12.22.1-deb-1nodesource1
                          Candidate: 12.22.1-deb-1nodesource1
                          Version table:
                         *** 12.22.1-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x focal/main armhf Packages
                                100 /var/lib/dpkg/status
                             10.19.0~dfsg-3ubuntu1 500
                                500 http://ports.ubuntu.com/ubuntu-ports focal/universe armhf Packages
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        857
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        2
                        17
                        524
                        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