Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. esphome - ERROR: Process exited with code 25

    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

    esphome - ERROR: Process exited with code 25

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

      @thomas-braun

      iobroker add esphome --host Pi4ioBroker --debug
      NPM version: 8.11.0
      Installing iobroker.esphome@0.2.4... (System call)
      npm ERR! code 126
      npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
      npm ERR! command failed
      npm ERR! command sh -c npip install
      npm ERR! sh: 1: npip: Permission denied
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-08-03T13_03_43_923Z-debug-0.log
      host.Pi4ioBroker Cannot install iobroker.esphome@0.2.4: 126
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Sushibomba last edited by

        @sushibomba

        npm ERR! command sh -c npip install
        npm ERR! sh: 1: npip: Permission denied
        

        Die Meldung hatten wir schon mal hier. Such mal danach, ich weiß nicht ob das gelöst wurde.

        S 1 Reply Last reply Reply Quote 1
        • S
          Sushibomba @Thomas Braun last edited by Sushibomba

          @thomas-braun

          Hier hat der @Tontechniker was mit pip geschrieben.
          Meinst du das? https://forum.iobroker.net/topic/55555/probleme-mit-installation-von-esp-home-0-2-4/100?lang=en-GB

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

            @sushibomba
            Nein, das meinte ich nicht.

            Aber ich vermute, das hat mit dem in seinen Rechten beschränkten user 'iobroker' zu tun. Der darf nicht viel außerhalb von /opt/iobroker, ich denke auf python-pip darf der nicht zugreifen.
            Das müsste man vermutlich in dessen sudoers eintragen. Kann ich mir evtl. heute abend mal anschauen, hab ich jetzt keine Zeit für.

            S 1 Reply Last reply Reply Quote 1
            • S
              Sushibomba @Thomas Braun last edited by

              @thomas-braun

              Ok alles klar. Erst mal vielen Dank für deine Hilfe und dann bis heute Abend 🙂
              Viel Erfolg bei dem was du tust!

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

                @sushibomba

                Schau mal ob die drei Pakete installiert sind:

                apt policy python3-pip python-dev-is-python3 python-is-python3
                

                Wenn was fehlt: Nachinstallieren.
                Ich konnte den Adapter jetzt einwandfrei installieren.

                S 2 Replies Last reply Reply Quote 1
                • S
                  Sushibomba @Thomas Braun last edited by

                  @thomas-braun
                  Gebe ich das alles als einen Befehl ein?

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

                    @sushibomba

                    Ja, damit schaut man aber nur was gerade installiert ist und woher das kommt.

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      Sushibomba @Thomas Braun last edited by

                      @thomas-braun

                      OK mache ich gleich nach dem Essen. Danke schon mal.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sushibomba @Thomas Braun last edited by Sushibomba

                        @thomas-braun

                        Sorry hatte gestern Abend so Margenschmerzen und saß nicht mehr am PC 😕

                        apt policy python3-pip python-dev-is-python3 python-is-p                                                      ython3
                        python3-pip:
                          Installed: (none)
                          Candidate: 20.3.4-4+rpt1+deb11u1
                          Version table:
                             20.3.4-4+rpt1+deb11u1 500
                                500 http://archive.raspberrypi.org/debian bullseye/main armhf Packages
                             20.3.4-4+deb11u1 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                                      s
                        python-dev-is-python3:
                          Installed: 3.9.2-1
                          Candidate: 3.9.2-1
                          Version table:
                         *** 3.9.2-1 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                                      s
                                100 /var/lib/dpkg/status
                        python-is-python3:
                          Installed: 3.9.2-1
                          Candidate: 3.9.2-1
                          Version table:
                         *** 3.9.2-1 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                                      s
                                100 /var/lib/dpkg/status
                        
                        

                        Dieses python3-pip scheint wohl gebraucht zu werden. Wie installiere ich das jetzt nach? So?

                        sudo apt install python3-pip
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Sushibomba last edited by

                          @sushibomba
                          Ja.

                          S 1 Reply Last reply Reply Quote 1
                          • S
                            Sushibomba @Thomas Braun last edited by Sushibomba

                            @thomas-braun

                            apt policy python3-pip python-dev-is-python3 python-is-python3
                            python3-pip:
                              Installed: 20.3.4-4+rpt1+deb11u1
                              Candidate: 20.3.4-4+rpt1+deb11u1
                              Version table:
                             *** 20.3.4-4+rpt1+deb11u1 500
                                    500 http://archive.raspberrypi.org/debian bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 20.3.4-4+deb11u1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            python-dev-is-python3:
                              Installed: 3.9.2-1
                              Candidate: 3.9.2-1
                              Version table:
                             *** 3.9.2-1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                            python-is-python3:
                              Installed: 3.9.2-1
                              Candidate: 3.9.2-1
                              Version table:
                             *** 3.9.2-1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                            
                            
                            iobroker add esphome --host Pi4ioBroker --debug
                            NPM version: 8.11.0
                            Installing iobroker.esphome@0.2.4... (System call)
                            npm ERR! code 126
                            npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                            npm ERR! command failed
                            npm ERR! command sh -c npip install
                            npm ERR! sh: 1: npip: Permission denied
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-08-04T05_35_13_770Z-debug-0.log
                            host.Pi4ioBroker Cannot install iobroker.esphome@0.2.4: 126
                            
                            

                            Leider klappt es immer noch nicht 😞 Hast du noch ne Idee?

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

                              @sushibomba

                              Bei mir lief es gestern ohne Beschwerden durch. Keine Ahnung dann.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Sushibomba @Thomas Braun last edited by

                                @thomas-braun

                                Prerequisites

                                • NodeJS >= 12.x
                                • Python >=3.7, <4.0
                                • API is activated in YAML
                                • For admin tabs (optional)
                                  • ESPHome Dashboard IP is provided in instance settings

                                Was ist denn dieses API is activated in YAML? Muss ich da vorher noch was machen?

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

                                  @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                  Was ist denn dieses API is activated in YAML? Muss ich da vorher noch was machen?

                                  Keine Ahnung. Ich habe die Hardware nicht im Betrieb, nur geschaut ob der Adapter sich installieren lässt.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sushibomba @Thomas Braun last edited by

                                    @thomas-braun

                                    Ja habe gefragt weil ich nicht weiß ob das eine nötige Vorraussetzung dafür ist den Adapter zu installieren.

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

                                      @sushibomba

                                      In welchen Gruppen ist der user 'iobroker' enthalten?

                                      sudo -u iobroker groups
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sushibomba @Thomas Braun last edited by

                                        @thomas-braun

                                        iobroker tty dialout audio video bluetooth gpio i2c
                                        
                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Sushibomba last edited by

                                          @sushibomba sagte in esphome - ERROR: Process exited with code 25:

                                          @thomas-braun

                                          iobroker tty dialout audio video bluetooth gpio i2c
                                          

                                          sehe ich das richtig dass Der User iobroker nicht in seiner eigenen Gruppe ist??

                                          OliverIO 1 Reply Last reply Reply Quote 0
                                          • OliverIO
                                            OliverIO @Homoran last edited by

                                            @homoran
                                            das erste? auch wenn es in einer anderen farbe ist?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            853
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            12
                                            162
                                            13270
                                            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