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

                            @thomas-brodmann sagte in Error 25:

                            iobroker add sonoff --host DietPi

                            Versuch mal

                            sudo -H -u iobroker iobroker add sonoff --host DietPi
                            
                            Thomas Brodmann 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Thomas Brodmann last edited by

                              @thomas-brodmann so sieht ein gelaufener fix aus

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

                                @thomas-brodmann

                                sudo ls -la /home/
                                
                                Thomas Brodmann 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Thomas Brodmann last edited by Homoran

                                  @thomas-brodmann sagte in Error 25:

                                  The unit file, source configuration file or drop-ins of iobroker.service changed on disk. Run 'systemctl daemon-reload' to reload units

                                  was ist denn da bei dir los?

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

                                    @thomas-braun

                                    thommy@DietPi:/opt/iobroker$ sudo -H -u 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$
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Brodmann
                                      Thomas Brodmann @Thomas Braun last edited by

                                      @thomas-braun

                                      thommy@DietPi:/opt/iobroker$ sudo ls -la /home/
                                      insgesamt 16
                                      drwxr-xr-x  4 root   root   4096 15. Jun 13:36 .
                                      drwxr-xr-x 18 root   root   4096 29. Mai 14:11 ..
                                      drwxr-xr-x  2 dietpi dietpi 4096 19. Okt 2021  dietpi
                                      drwxr-xr-x  9 thommy thommy 4096 15. Jun 19:58 thommy
                                      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 Braun

                                        @thomas-brodmann

                                        Siehste...
                                        Kein /home für iobroker

                                        sudo mkdir /home/iobroker 
                                        sudo chown iobroker:iobroker /home/iobroker
                                        sudo chmod 755 /home/iobroker
                                        
                                        Homoran Thomas Brodmann 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                                          @thomas-braun bist du sicher dass da nicht noch mehr krumm ist?

                                          Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Homoran last edited by

                                            @homoran sagte in Error 25:

                                            ist du sicher dass da nicht noch mehr krumm ist?

                                            Nein.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            716
                                            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