Navigation

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

    Error 25

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

      @thomas-brodmann sagte in Error 25:

      ok! also nur noch scheibchenweise!

      ich wollte wissen was vorher war!

      und?

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

        @thomas-brodmann sagte in Error 25:

        iobroker add sonoff --host DietPi
        

        Installier mal über das Terminal. Das liefert u. U. mehr Informationen.

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

          @thomas-braun sagte in Error 25:

          iobroker add sonoff --host DietPi

          thommy@DietPi:/opt/iobroker$ iobroker add sonoff --host DietPi
          NPM version: 6.14.17
          Installing iobroker.sonoff@2.5.1... (System call)
          host.DietPi Cannot install iobroker.sonoff@2.5.1: 243
          thommy@DietPi:/opt/iobroker$
          
          
          Glasfaser 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active last edited by Thomas Braun

            @thomas-brodmann

            Error: Failed to npm install <package> (code 243)

            This is likely an “EACCES” error that affects macOS and Linux users in which npm cannot write to its cache directory due to a file permission issue.

            Wieder als root unterwegs gewesen?

            sudo -H -u iobroker npm cache clear --force
            

            Alternativ

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

              @thomas-braun sagte in Error 25:

              @thomas-brodmann

              Error: Failed to npm install <package> (code 243)

              This is likely an “EACCES” error that affects macOS and Linux users in which npm cannot write to its cache directory due to a file permission issue.

              Wieder als root unterwegs gewesen?
              Nein, aus seinen Fehlern soll man ja lernen. 😁

              sudo -H -u iobroker npm cache clear --force
              
              thommy@DietPi:/opt/iobroker$ sudo -H -u iobroker npm cache clear --force
              [sudo] Passwort für thommy:
              npm WARN using --force I sure hope you know what you are doing.
              thommy@DietPi:/opt/iobroker$
              
              

              Alternativ
              Hatte ich auch schon gemacht.

              iobroker stop 
              iobroker fix
              iobroker start
              
              Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Thomas Brodmann last edited by

                @thomas-brodmann

                Dann kipp das mal drüber:

                sudo chown -R iobroker:iobroker /home/iobroker/.npm
                
                Thomas Brodmann 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Thomas Brodmann last edited by

                  @thomas-brodmann sagte in Error 25:

                  Häng mal deine Antworten nicht dauernd in die Zitate! wer sucht denn da?

                  Hatte ich auch schon gemacht.

                  da hat aber iobroker vorher nie wirklich gestoppt.
                  möglicherweise ist da dietpi etwas verschnupft. Vielleicht hilft sudo systemctl stop iobroker

                  wie oder warum hast du node vorher per Hand installiert?

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

                    @thomas-braun sagte in Error 25:

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

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

                      @thomas-brodmann sagte in Error 25:

                      @thomas-braun sagte in Error 25:

                      iobroker add sonoff --host DietPi

                      thommy@DietPi:/opt/iobroker$ iobroker add sonoff --host DietPi
                      NPM version: 6.14.17
                      Installing iobroker.sonoff@2.5.1... (System call)
                      host.DietPi Cannot install iobroker.sonoff@2.5.1: 243
                      thommy@DietPi:/opt/iobroker$
                      
                      

                      Zeige mal die Ausgabe mit debug

                      iobroker add sonoff --host DietPi --debug
                      
                      Thomas Brodmann 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Thomas Brodmann last edited by

                        @thomas-brodmann

                        Häh?

                        ls -la /home/iobroker/
                        
                        Homoran Thomas Brodmann 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                          @thomas-braun ich hab ja schon oft gehört dass DietPi anders tickt.
                          kann das sein, dass der user gar nicht angelegt werden konnte?

                          @thomas-brodmann sagte in Error 25:

                          Created /etc/sudoers.d/iobroker

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

                            @glasfaser

                            thommy@DietPi:/opt/iobroker$ iobroker add sonoff --host DietPi --debug
                            NPM version: 6.14.17
                            Installing iobroker.sonoff@2.5.1... (System call)
                            npm ERR! code EACCES
                            npm ERR! syscall mkdir
                            npm ERR! path /home/iobroker
                            npm ERR! errno -13
                            npm ERR! Error: EACCES: permission denied, mkdir '/home/iobroker'
                            npm ERR!  [OperationalError: EACCES: permission denied, mkdir '/home/iobroker'] {
                            npm ERR!   cause: [Error: EACCES: permission denied, mkdir '/home/iobroker'] {
                            npm ERR!     errno: -13,
                            npm ERR!     code: 'EACCES',
                            npm ERR!     syscall: 'mkdir',
                            npm ERR!     path: '/home/iobroker'
                            npm ERR!   },
                            npm ERR!   isOperational: true,
                            npm ERR!   errno: -13,
                            npm ERR!   code: 'EACCES',
                            npm ERR!   syscall: 'mkdir',
                            npm ERR!   path: '/home/iobroker'
                            npm ERR! }
                            npm ERR!
                            npm ERR! The operation was rejected by your operating system.
                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                            npm ERR!
                            npm ERR! If you believe this might be a permissions issue, please double-check the
                            npm ERR! permissions of the file and its containing directories, or try running
                            npm ERR! the command again as root/Administrator.
                            host.DietPi Cannot install iobroker.sonoff@2.5.1: 243
                            thommy@DietPi:/opt/iobroker$
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Brodmann
                              Thomas Brodmann @Thomas Braun last edited by

                              @thomas-braun sagte in Error 25:

                              ls -la /home/iobroker/

                              thommy@DietPi:/opt/iobroker$ ls -la /home/iobroker/
                              ls: Zugriff auf '/home/iobroker/' nicht möglich: Datei oder Verzeichnis nicht gefunden
                              thommy@DietPi:/opt/iobroker$
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Thomas Brodmann last edited by

                                @thomas-brodmann

                                Warum hast du denn keinen user iobroker (inkl. entsprechendem home für diesen)?

                                cat /etc/passwd | sort
                                
                                Homoran Thomas Brodmann 2 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                                  @thomas-braun sagte in Error 25:

                                  Warum hast du denn keinen user iobroker

                                  nur kein Recht den zu sehen und zu betreten!

                                  der fix hat nie gegriffen weil iobroker nie gestoppt wurde

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

                                    @thomas-braun sagte in Error 25:

                                    cat /etc/passwd | sort

                                    thommy@DietPi:/opt/iobroker$ cat /etc/passwd | sort
                                    _apt:x:100:65534::/nonexistent:/usr/sbin/nologin
                                    backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
                                    bin:x:2:2:bin:/bin:/usr/sbin/nologin
                                    _chrony:x:106:113:Chrony daemon,,,:/var/lib/chrony:/usr/sbin/nologin
                                    daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
                                    dietpi:x:1000:1000::/home/dietpi:/bin/bash
                                    games:x:5:60:games:/usr/games:/usr/sbin/nologin
                                    gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
                                    iobroker:x:1002:1002::/home/iobroker:/usr/sbin/nologin
                                    irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
                                    list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
                                    lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
                                    mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
                                    man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
                                    messagebus:x:104:105::/nonexistent:/usr/sbin/nologin
                                    news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
                                    nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
                                    proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
                                    root:x:0:0:root:/root:/usr/bin/bash
                                    _rpc:x:107:65534::/run/rpcbind:/usr/sbin/nologin
                                    statd:x:108:65534::/var/lib/nfs:/usr/sbin/nologin
                                    sync:x:4:65534:sync:/bin:/bin/sync
                                    systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
                                    systemd-network:x:102:103:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
                                    systemd-resolve:x:103:104:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
                                    systemd-timesync:x:101:101:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
                                    sys:x:3:3:sys:/dev:/usr/sbin/nologin
                                    thommy:x:1001:1001:,,,:/home/thommy:/usr/bin/bash
                                    uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
                                    www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Brodmann
                                      Thomas Brodmann @Homoran last edited by

                                      @homoran

                                      Dann mache ich den stop jetzt mit:

                                      sudo systemctl stop iobroker
                                      

                                      Dann werde ich den Fix ausführen

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

                                        @thomas-brodmann

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

                                          @thomas-brodmann

                                          thommy@DietPi:/opt/iobroker$ sudo systemctl stop iobroker
                                          thommy@DietPi:/opt/iobroker$ iobroker fix
                                          library: loaded
                                          Library version=2022-06-15
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2022-06-03
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/3)
                                          ==========================================================================
                                          
                                          [sudo] Passwort für thommy:
                                          OK:1 https://deb.debian.org/debian bullseye InRelease
                                          OK:2 https://deb.nodesource.com/node_14.x bullseye InRelease
                                          OK:3 https://deb.debian.org/debian bullseye-updates InRelease
                                          OK:4 https://deb.debian.org/debian-security bullseye-security InRelease
                                          OK:5 https://deb.debian.org/debian bullseye-backports InRelease
                                          OK:6 http://mirrors.xtom.de/armbian bullseye InRelease
                                          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...
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          thommy@DietPi:/opt/iobroker$ sudo systemctl start iobroker
                                          Warning: The unit file, source configuration file or drop-ins of iobroker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
                                          thommy@DietPi:/opt/iobroker$ iobroker add sonoff --host DietPi
                                          NPM version: 6.14.17
                                          Installing iobroker.sonoff@2.5.1... (System call)
                                          host.DietPi Cannot install iobroker.sonoff@2.5.1: 243
                                          thommy@DietPi:/opt/iobroker$
                                          
                                          Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                                          • Thomas Brodmann
                                            Thomas Brodmann @Thomas Braun last edited by

                                            @thomas-braun sagte in Error 25:

                                            sudo -u iobroker ls -la /home/iobroker

                                            thommy@DietPi:/opt/iobroker$ sudo -u iobroker whoami
                                            iobroker
                                            thommy@DietPi:/opt/iobroker$ sudo -u iobroker ls -la /home/iobroker
                                            ls: Zugriff auf '/home/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden
                                            thommy@DietPi:/opt/iobroker$
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            977
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            error 25 error process exited with cod
                                            5
                                            66
                                            1909
                                            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