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 Brodmann
      Thomas Brodmann @Homoran last edited by

      @homoran sagte in Error 25:

      @thomas-brodmann sagte in Error 25:

      bis vor kurzem ging alles.

      und was hattest du vor kurzem gemacht, das alles geändert hat?
      Ich habe über den Browser IP-Adresse:8081 versucht mich anzumelden, doch die Website konnte nicht geladen werden.

      @thomas-brodmann sagte in Error 25:

      Konnte aber nicht mehr über den Browser auf den iobroker zugreifen.

      iob stop
      iob fix
      iob start

      wie genau?

      @thomas-brodmann sagte in Error 25:

      Also das System neu aufgesetzt und der gleiche Fehler ist wieder das.

      sofort von Beginn an?
      Ja
      schon Backup eingespielt?
      Schon versucht, ging aber nicht.

      bei exakt welcher Aktion und mit exakt welchen Meldungen?

      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
       ─────────────────────────────────────────────────────
       DietPi v8.5.1 : 14:04 - Mi 15.06.2022
       ─────────────────────────────────────────────────────
       - Device model : PINE A64 (aarch64)
       - CPU temp : 45 °C / 113 °F : Optimal temperature
       - LAN IP : 192.168.178.60 (eth0)
       - MOTD : Check out the DietPi v8.5 release notes:
                https://dietpi.com/docs/releases/v8_5/
       ─────────────────────────────────────────────────────
      
       DietPi Team     : https://github.com/MichaIng/DietPi#the-dietpi-project-team
       Image by        : DietPi Core Team (pre-image: Armbian)
       Patreon Legends : Camry2731, Chris Gelatt
       Website         : https://dietpi.com/ | https://twitter.com/DietPi_
       Contribute      : https://dietpi.com/contribute.html
       Web Hosting by  : https://myvirtualserver.com
      
       dietpi-launcher : All the DietPi programs in one place
       dietpi-config   : Feature rich configuration tool for your device
       dietpi-software : Select optimised software for installation
       htop            : Resource monitor
       cpu             : Shows CPU information and stats
      
      thommy@DietPi:~$ vode -v
      -bash: vode: Kommando nicht gefunden.
      thommy@DietPi:~$ node -v
      v14.19.3
      thommy@DietPi:~$ nodejs -v
      -bash: nodejs: Kommando nicht gefunden.
      thommy@DietPi:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
      [sudo] Passwort für thommy:
      thommy@DietPi:~$ nodejs -v
      v14.19.3
      thommy@DietPi:~$ node -v
      v14.19.3
      thommy@DietPi:~$ npm -v
      6.14.17
      thommy@DietPi:~$ curl -sLf https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2022-06-03
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2022-06-03
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      OK:1 https://deb.debian.org/debian bullseye InRelease
      OK:2 https://deb.debian.org/debian bullseye-updates InRelease
      OK:3 https://deb.debian.org/debian-security bullseye-security InRelease
      OK:5 https://deb.nodesource.com/node_14.x bullseye InRelease
      OK:6 https://deb.debian.org/debian bullseye-backports InRelease
      OK:4 http://armbian.systemonachip.net/apt bullseye InRelease
      Paketlisten werden gelesen… Fertig
      Changing npm registry to https://registry.npmjs.org
      
      
         ╭─────────────────────────────────────────────────────────────────
         │                                                                │
         │      New major version of npm available! 6.14.17 → 8.12.1      │
         │   Changelog: https://github.com/npm/cli/releases/tag/v8.12.1   │
         │               Run npm install -g npm to update!                │
         │                                                                │
         ╰─────────────────────────────────────────────────────────────────
      
      Installed gcc-c++
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../../nan/nan.h:60,
                       from ../src/main.cpp:3:
      /home/thommy/.cache/node-gyp/14.19.3/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
        793 |       (node::addon_register_func) (regfunc),                          \
            |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/thommy/.cache/node-gyp/14.19.3/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
        827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
            |   ^~~~~~~~~~~~~
      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
         42 | NODE_MODULE(diskusage, Init)
            | ^~~~~~~~~~~
      In file included from ../../nan/nan.h:60,
                       from ../src/unix_dgram.cc:5:
      /home/thommy/.cache/node-gyp/14.19.3/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
        793 |       (node::addon_register_func) (regfunc),                          \
            |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/thommy/.cache/node-gyp/14.19.3/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
        827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
            |   ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
        404 | NODE_MODULE(unix_dgram, Initialize)
            | ^~~~~~~~~~~
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Usage: iobroker \{start\|stop\|restart\}
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://192.168.178.60:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      thommy@DietPi:~$
      thommy@DietPi:~$ mc
      
      thommy@DietPi:~$ ps -A | grep iobroker
         4124 ?        00:05:11 iobroker.js-con
      thommy@DietPi:~$ iobroker stop
      iobroker controller daemon is not running
      thommy@DietPi:~$ iobroker fix
      library: loaded
      Library version=2022-06-03
      ioBroker or some processes are still running:
       io.admin.0
       io.backitup.0
       io.discovery.0
      Please stop them first and try again!
      thommy@DietPi:~$ iobroker stop
      iobroker controller daemon is not running
      thommy@DietPi:~$ iobroker fix
      library: loaded
      Library version=2022-06-03
      ioBroker or some processes are still running:
       io.admin.0
       io.backitup.0
       io.discovery.0
      Please stop them first and try again!
      thommy@DietPi:~$ iobroker start
      Starting iobroker controller daemon...
      iobroker controller daemon started. PID: 4801
      thommy@DietPi:~$ sudo reboot
      

      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

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

        @thomas-brodmann sagte in Error 25:

        Ich habe über den Browser IP-Adresse:8081 versucht mich anzumelden, doch die Website konnte nicht geladen werden.

        ich wollte wissen was vorher war!
        und dann hast du über die Konsole iobroker status abgefragt?

        @thomas-brodmann sagte in Error 25:

        bei exakt welcher Aktion und mit exakt welchen Meldungen?

        ich sehe da keinen Error 25

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

          @homoran sagte in Error 25:

          @thomas-brodmann sagte in Error 25:

          Ich habe über den Browser IP-Adresse:8081 versucht mich anzumelden, doch die Website konnte nicht geladen werden.

          ich wollte wissen was vorher war!
          und dann hast du über die Konsole iobroker status abgefragt?
          Ja habe ich, aber kein Adapter wurde gestartet.

          @thomas-brodmann sagte in Error 25:

          bei exakt welcher Aktion und mit exakt welchen Meldungen?

          ich sehe da keinen Error 25
          Die Meldung bekomme ich, wenn ich einen Adapter über der Browser installieren möchte.

          ERROR: Process exited with code 25
          
          $ 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
          
          ERROR: Process exited with code 25
          
          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            934
                                            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