Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Nach Neuinstallation 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

    Nach Neuinstallation ERROR: Process exited with code 25

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

      @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

      @thomas-brodmann OK! Dann hat das bei dir geklappt (hoffentlich)
      iobroker scheint ja auch schon installiert zu sein, oder?

      Ja, ist bereits installiert.

      dann würde ich es erst einmal mit iobroker fix versuchen bevor ich das in der Meldung genannte schwere Geschütz auffahren würde

      Habe IoBroker gestoppt, den fix durchlaufen lassen und den IoBrocker neu gestartet.
      Leider keine Veränderung.

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

        @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

        Leider keine Veränderung.

        In der Meldung steht ja was passiert ist.
        (Leider kann ich aus einem Screenshot nichts zitieren - deswegen Code immer als Text in code-tags posten)

        da laut Meldung der Cache betroffen ist könnte ein npm cache clean im Installationsverzeichnis vielleicht schon helfen (Wenn du dazu berechtig bist)

        Thomas Brodmann 2 Replies Last reply Reply Quote 0
        • Thomas Brodmann
          Thomas Brodmann @Homoran last edited by

          @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

          @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

          Leider keine Veränderung.

          In der Meldung steht ja was passiert ist.
          (Leider kann ich aus einem Screenshot nichts zitieren - deswegen Code immer als Text in code-tags posten)

          da laut Meldung der Cache betroffen ist könnte ein npm cache clean im Installationsverzeichnis vielleicht schon helfen (Wenn du dazu berechtig bist)

          root@IoBroker:/# iobroker fix
          library: loaded
          Library version=2021-08-05
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2021-04-07
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          OK:1 https://dl.yarnpkg.com/debian stable InRelease
          OK:3 https://deb.nodesource.com/node_12.x buster InRelease
          OK:4 https://deb.debian.org/debian buster InRelease
          Holen:5 https://deb.debian.org/debian buster-updates InRelease [51,9 kB]
          OK:6 https://deb.debian.org/debian-security buster/updates InRelease
          Holen:7 https://deb.debian.org/debian buster-backports InRelease [46,7 kB]
          OK:2 http://mirrors.dotsrc.org/armbian-apt buster InRelease
          Es wurden 98,6 kB in 3 s geholt (31,9 kB/s).
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/3)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Checking autostart (3/3)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          
          1 Reply Last reply Reply Quote 0
          • Thomas Brodmann
            Thomas Brodmann @Homoran last edited by

            @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

            @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

            Leider keine Veränderung.

            In der Meldung steht ja was passiert ist.
            (Leider kann ich aus einem Screenshot nichts zitieren - deswegen Code immer als Text in code-tags posten)

            da laut Meldung der Cache betroffen ist könnte ein npm cache clean im Installationsverzeichnis vielleicht schon helfen (Wenn du dazu berechtig bist)

            Die Meldung kommt nach dem cache clean:

            root@IoBroker:/# npm cache clean
            npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
            npm ERR!
            npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /root/.npm/_logs/2021-11-04T16_09_29_475Z-debug.log
            
            
            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Thomas Brodmann last edited by

              @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

              root@IoBroker:/# npm cache clean

              Nutzung vom root: Macht man nicht.
              npm cache clean im ~ vom root: Macht man nicht, falsches Verzeichnis
              npm cache clean: Funktioniert nicht ohne --force - Option

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

                @Thomas-Brodmann
                also erst einmal nie als root arbeiten.
                Das hat dich in diesen Zustand gebracht!

                zweitens solltest du das im Installationsverzeichnis, also üblicherweise /opt/iobroker ausführen.

                Dann versuche das bitte nochmal so:

                @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                If you're sure you want to delete the entire cache, rerun this command with --force.

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

                  @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                  @Thomas-Brodmann
                  also erst einmal nie als root arbeiten.
                  Das hat dich in diesen Zustand gebracht!
                  Ich habe einen neuen User angelegt und arbeite jetzt mit diesem.

                  zweitens solltest du das im Installationsverzeichnis, also üblicherweise /opt/iobroker ausführen.

                  Dann versuche das bitte nochmal so:

                  @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                  If you're sure you want to delete the entire cache, rerun this command with --force.

                  thommy@IoBroker:/opt/iobroker$ npm cache clean --force
                  npm WARN using --force I sure hope you know what you are doing.
                  
                  Thomas Brodmann 1 Reply Last reply Reply Quote 0
                  • Thomas Brodmann
                    Thomas Brodmann @Thomas Brodmann last edited by

                    @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                    @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                    @Thomas-Brodmann
                    also erst einmal nie als root arbeiten.
                    Das hat dich in diesen Zustand gebracht!
                    Ich habe einen neuen User angelegt und arbeite jetzt mit diesem.

                    zweitens solltest du das im Installationsverzeichnis, also üblicherweise /opt/iobroker ausführen.

                    Dann versuche das bitte nochmal so:

                    @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                    If you're sure you want to delete the entire cache, rerun this command with --force.

                    thommy@IoBroker:/opt/iobroker$ npm cache clean --force
                    npm WARN using --force I sure hope you know what you are doing.
                    

                    Leider keine Veränderung.

                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Thomas Brodmann last edited by

                      @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                      Leider keine Veränderung.

                      hast du es denn überhaupt nach der Warnung gestartet?

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

                        @thomas-brodmann

                        Wenn da root-owned Zeug dring liegt, dann kann der thommy die auch nicht löschen.
                        Deswegen halt auch die Maxime: NIE als root anmelden.

                        Versuchs mal mit

                        sudo npm cache clean --force
                        

                        im Verzeichnis /opt/iobroker.

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

                          @homoran sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                          @thomas-brodmann sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                          Leider keine Veränderung.

                          hast du es denn überhaupt nach der Warnung gestartet?

                          Wenn ich den Befehl mit Enter bestätige, kommt nur das:

                          thommy@IoBroker:/opt/iobroker$ npm cache clean --force
                          npm WARN using --force I sure hope you know what you are doing.
                          thommy@IoBroker:/opt/iobroker$
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Thomas Brodmann last edited by

                            @thomas-brodmann

                            iobroker stop 
                            iobroker fix
                            iobroker update
                            iobroker upgrade
                            iobroker start
                            iobroker add socketio --host IoBroker
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Brodmann
                              Thomas Brodmann @Thomas Braun last edited by

                              @thomas-braun sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                              sudo npm cache clean --force

                              Der Benutzer hat nicht die Berechtigung für root.

                              thommy@IoBroker:/opt/iobroker$ sudo npm cache clean --force
                              [sudo] Passwort für thommy:
                              Leider darf der Benutzer thommy »/usr/bin/npm cache clean --force« als root auf IoBroker nicht ausführen.
                              thommy@IoBroker:/opt/iobroker$
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Thomas Brodmann last edited by Thomas Braun

                                @thomas-brodmann
                                Dann pack den thommy in die Gruppe sudo rein. Das dann halt notgedrungen nochmal als root.
                                Danach nie mehr als root anmelden.
                                thommy einmal abmelden und wieder anmelden. Fertig.
                                Detaillierter im 'Kleinen Linux-Werkzeugkasten' nachzulesen. Siehe Signatur.

                                Thomas Brodmann Homoran 2 Replies Last reply Reply Quote 0
                                • Thomas Brodmann
                                  Thomas Brodmann @Thomas Braun last edited by

                                  @thomas-braun sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                                  @thomas-brodmann
                                  Dann pack den thommy in die Gruppe sudo rein. Das dann halt notgedrungen nochmal als root.
                                  Danach nie mehr als root anmelden.
                                  thommy einmal abmelden und wieder anmelden. Fertig.
                                  Detaillierter im 'Kleinen Linux-Werkzeugkasten' nachzulesen. Siehe Signatur.

                                  Habe alles gemacht. (anscheinend auch viel Mist als root 😬 )

                                  Aber immer noch keine Veränderung.

                                  thommy@IoBroker:~$ sudo npm cache clean --force
                                  [sudo] Passwort für thommy:
                                  npm WARN using --force I sure hope you know what you are doing.
                                  
                                  
                                  thommy@IoBroker:~$ iobroker stop
                                  thommy@IoBroker:~$ iobroker fix
                                  library: loaded
                                  Library version=2021-08-05
                                  
                                  ==========================================================================
                                  
                                      Welcome to the ioBroker installation fixer!
                                      Script version: 2021-04-07
                                  
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/3)
                                  ==========================================================================
                                  
                                  OK:1 https://dl.yarnpkg.com/debian stable InRelease
                                  OK:3 https://deb.debian.org/debian buster InRelease
                                  OK:4 https://deb.debian.org/debian buster-updates InRelease
                                  OK:5 https://deb.nodesource.com/node_12.x buster InRelease
                                  Holen:6 https://deb.debian.org/debian-security buster/updates InRelease [65,4 kB]
                                  OK:7 https://deb.debian.org/debian buster-backports InRelease
                                  OK:2 http://armbian.16z.eu/apt buster InRelease
                                  Es wurden 65,4 kB in 3 s geholt (21,2 kB/s).
                                  Paketlisten werden gelesen... Fertig
                                  Installed gcc-c++
                                  
                                  ==========================================================================
                                      Checking ioBroker user and directory permissions (2/3)
                                  ==========================================================================
                                  
                                  Created /etc/sudoers.d/iobroker
                                  Fixing directory permissions...
                                  
                                  ==========================================================================
                                      Checking autostart (3/3)
                                  ==========================================================================
                                  
                                  Enabling autostart...
                                  Autostart enabled!
                                  
                                  ==========================================================================
                                  
                                      Your installation was fixed successfully
                                      Run iobroker start to start ioBroker again!
                                  
                                  ==========================================================================
                                  
                                  thommy@IoBroker:~$ iobroker update
                                  Used repository: default
                                  hash unchanged, use cached sources
                                  update done
                                  Adapter    "admin"         : 5.1.25   , installed 5.1.25
                                  Adapter    "backitup"      : 2.1.17   , installed 2.1.17
                                  Adapter    "discovery"     : 2.7.0    , installed 2.7.0
                                  Controller "js-controller" : 3.3.18   , installed 3.3.18
                                  thommy@IoBroker:~$ iobroker upgrade
                                  All adapters are up to date
                                  thommy@IoBroker:~$ iobroker start
                                  thommy@IoBroker:~$ iobroker add socketio --host IoBroker
                                  NPM version: 6.14.15
                                  npm install iobroker.socketio@3.1.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                  npm ERR! code EACCES
                                  npm ERR! syscall mkdir
                                  npm ERR! path /home/iobroker/.npm
                                  npm ERR! errno -13
                                  npm ERR!
                                  npm ERR! Your cache folder contains root-owned files, due to a bug in
                                  npm ERR! previous versions of npm which has since been addressed.
                                  npm ERR!
                                  npm ERR! To permanently fix this problem, please run:
                                  npm ERR!   sudo chown -R 1001:1001 "/home/iobroker/.npm"
                                  host.IoBroker Cannot install iobroker.socketio@3.1.4: 243
                                  thommy@IoBroker:~$
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                                    @thomas-braun was hältst du von den Anweisungen in dem Screenshot?
                                    https://forum.iobroker.net/assets/uploads/files/1636039841103-error-25.png

                                    EDIT:

                                    jetzt gibbet das ja auch als code 😉

                                    npm ERR! To permanently fix this problem, please run:
                                    npm ERR!   sudo chown -R 1001:1001 "/home/iobroker/.npm"
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Homoran last edited by

                                      @homoran Ja, natürlich. Hatte den Screenshot nicht ganz gesehen.

                                      @Thomas-Brodmann

                                      sudo chown -R 1001:1001 /home/iobroker/.npm
                                      

                                      sollte das auch wieder gerade rupfen.

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

                                        @thomas-braun sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                                        sudo chown -R 1001:1001 /home/iobroker/.npm

                                        thommy@IoBroker:/opt/iobroker$ sudo chown -R 1001:1001 /home/iobroker/.npm
                                        chown: Zugriff auf '/home/iobroker/.npm' nicht möglich: Datei oder Verzeichnis nicht gefunden
                                        thommy@IoBroker:/opt/iobroker$ cd /home/iobroker/
                                        thommy@IoBroker:/home/iobroker$ ls
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Thomas Brodmann last edited by

                                          @thomas-brodmann

                                          ls -la /home/iobroker
                                          
                                          Thomas Brodmann 1 Reply Last reply Reply Quote 0
                                          • Thomas Brodmann
                                            Thomas Brodmann @Thomas Braun last edited by

                                            @thomas-braun sagte in Nach Neuinstallation ERROR: Process exited with code 25:

                                            ls -la /home/iobroker

                                            thommy@IoBroker:/home/iobroker$ ls -la /home/iobroker
                                            insgesamt 8
                                            drwxr-xr-x 2 root root 4096 Nov  4 15:05 .
                                            drwxr-xr-x 5 root root 4096 Nov  4 17:25 ..
                                            thommy@IoBroker:/home/iobroker$
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            552
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            42
                                            3167
                                            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