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 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
                  • Thomas Braun
                    Thomas Braun Most Active @Thomas Brodmann last edited by Thomas Braun

                    @thomas-brodmann
                    Stimmt, da ist nix drin.

                    sudo ls -la /root
                    
                    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:

                      sudo ls -la /root

                      thommy@IoBroker:/home/iobroker$ sudo ls -la /root
                      [sudo] Passwort für thommy:
                      insgesamt 88
                      drwx------ 11 root root 4096 Nov  4 17:42 .
                      drwxr-xr-x 21 root root 4096 Jan 18  2021 ..
                      -rw-------  1 root root 6588 Nov  4 17:44 .bash_history
                      -rw-r--r--  1 root root 3720 Nov  4 17:47 .bashrc
                      drwxr-xr-x  8 root root 4096 Okt 16 22:20 .cache
                      drwxr-xr-x  9 root root 4096 Jan 23  2021 .config
                      drwxr-xr-x  2 root root 4096 Jan 18  2021 Desktop
                      drwx------  3 root root 4096 Jan 20  2020 .gnupg
                      -rw-r--r--  1 root root  140 Jan 18  2021 .gtk-bookmarks
                      drwxr-xr-x  2 root root 4096 Okt 16 22:20 .iobroker
                      drwx------  3 root root 4096 Jan 23  2021 .local
                      -rw-------  1 root root   36 Nov  4 16:56 .node_repl_history
                      drwxr-xr-x  4 root root 4096 Nov  4 17:22 .npm
                      -rw-------  1 root root   36 Nov  4 14:21 .npmrc
                      -rw-r--r--  1 root root  148 Aug 17  2015 .profile
                      -rw-r--r--  1 root root   66 Jan 23  2021 .selected_editor
                      drwxr-xr-x  2 root root 4096 Jan 20  2020 .ssh
                      -rw-r--r--  1 root root 2828 Nov  4 17:42 terminfo.txt
                      drwxr-xr-x  2 root root 4096 Nov  4 13:43 .vnc
                      -rw-r--r--  1 root root  294 Jan 18  2021 .wget-hsts
                      -rw-------  1 root root  102 Nov  4 13:43 .Xauthority
                      thommy@IoBroker:/home/iobroker$
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Thomas Braun last edited by

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

                        Stimmt, da ist nix drin.

                        hat der clean rausgespült, oder liegt woanders

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

                          @homoran
                          Ja, liegt wohl im /root:

                          drwxr-xr-x  4 root root 4096 Nov  4 17:22 .npm
                          -rw-------  1 root root   36 Nov  4 14:21 .npmrc
                          

                          @Thomas-Brodmann
                          Und da läuft auch ein Desktop mit. Macht man eben falls nicht!
                          Desktop AUSKNIPSEN!

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

                            @thomas-braun
                            ganz schön vermurkst das Ganze!

                            ich würde es plattmachen und komplett neu (und vorr allem richtig) aufsetzen

                            Thomas Brodmann Thomas Braun 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-braun
                              ganz schön vermurkst das Ganze!

                              ich würde es plattmachen und komplett neu (und vorr allem richtig) aufsetzen

                              Ich habe befürchtet, dass du das sagst.

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

                                @thomas-brodmann wenn @Thomas-Braun heute noch keine Herausforderung hatte - das wäre sie 😂

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

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

                                  ich würde es plattmachen und komplett neu (und vorr allem richtig) aufsetzen

                                  Ich bin da unentschieden...
                                  Ja, mit root wurde da ganz schon viel Unfug getrieben, das könnte man aber durch Unterlassen von root-logins wieder gerade biegen.
                                  Ich weiß nur nicht, ob und wie der npm-cache da wieder gerade gezogen werden kann. Der sollte eigentlich ja in home/iobroker liegen.

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

                                    @thomas-braun

                                    Vielen Dank für eure Bemühungen, aber ich werde das System ganz neu aufsetzen.

                                    Und Danke für die Lehrstunde. 😁

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

                                      @thomas-brodmann

                                      Dann setz das System von vorneherein OHNE Desktop und OHNE root auf. Das dürfte auch beim DietPi ohneweiteres möglich sein, vermutlich ist das eh die Voreinstellung.

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

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

                                        @thomas-brodmann

                                        Dann setz das System von vorneherein OHNE Desktop und OHNE root auf. Das dürfte auch beim DietPi ohneweiteres möglich sein, vermutlich ist das eh die Voreinstellung.

                                        Der Desktop ist nicht auf dem System, aber das mit dem root ist so eingestellt.
                                        Aber das kann man ja ändern.

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

                                          @thomas-brodmann
                                          Kein Desktop?
                                          Dann sollten aber auch keine Dateien/Verzeichnisse wie z.B.

                                          drwxr-xr-x  2 root root 4096 Nov  4 13:43 .vnc
                                          -rw-------  1 root root  102 Nov  4 13:43 .Xauthority
                                          

                                          mit aktuellem Datum vorhanden sein... 😉

                                          Auch alles Desktop-Dateien:

                                          drwxr-xr-x  2 root root 4096 Jan 18  2021 Desktop
                                          -rw-r--r--  1 root root  140 Jan 18  2021 .gtk-bookmarks
                                          
                                          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:

                                            @thomas-brodmann
                                            Kein Desktop?
                                            Dann sollten aber auch keine Dateien/Verzeichnisse wie z.B.

                                            drwxr-xr-x  2 root root 4096 Nov  4 13:43 .vnc
                                            -rw-------  1 root root  102 Nov  4 13:43 .Xauthority
                                            

                                            mit aktuellem Datum vorhanden sein... 😉

                                            Auch alles Desktop-Dateien:

                                            drwxr-xr-x  2 root root 4096 Jan 18  2021 Desktop
                                            -rw-r--r--  1 root root  140 Jan 18  2021 .gtk-bookmarks
                                            

                                            Den Desktop hatte ich installiert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            584
                                            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