Navigation

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

    ERROR: Process exited with code 25

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active @D3ltoroxp last edited by mickym

      @d3ltoroxp Na ja - deswegen - bin ich da immer ein Verfechter aufzuräumen - Du kannst aber nochmal folgendes Probieren, wenn der Adapter installiert ist.

      Geh in der /opt/iobroker Verzeichnis und gib npm prune ein.

      cd /opt/iobroker
      npm prune
      
      D3ltoroxp 1 Reply Last reply Reply Quote 0
      • D3ltoroxp
        D3ltoroxp @mickym last edited by D3ltoroxp

        @mickym Erledigt.

        smarthome@iobroker:/opt/iobroker$ npm prune
        [sudo] Passwort für smarthome:
        
        removed 3 packages in 5s
        
        122 packages are looking for funding
          run `npm fund` for details
        smarthome@iobroker:/opt/iobroker$
        
        

        So nun sollte alles wieder sauber sein und node red auf 4.0 ? Update erledigt ?

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

          @d3ltoroxp also richtig sauber ist es eigentlich nur wenn bei npm list nur iobroker Module stehen:

          Aber dazu müsstest Du ggf. auch noch Deine package.json editieren - und vielleicht gibts ja auch keine Probleme mehr.

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

            @d3ltoroxp sagte in ERROR: Process exited with code 25:

            So nun sollte alles wieder sauber sein

            Schau dir dein Setup an:

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            cd /opt/iobroker 
            npm ls
            
            D3ltoroxp 1 Reply Last reply Reply Quote 0
            • D3ltoroxp
              D3ltoroxp @Thomas Braun last edited by

              @thomas-braun

              smarthome@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
              ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
              smarthome@iobroker:~$
              
              

              Hier blieb es dann so stehen

              smarthome@iobroker:~$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              x86_64
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v16.15.1
              v16.15.1
              8.11.0
              4.0.23
              smarthome
              smarthome cdrom floppy sudo audio dip video plugdev netdev iobroker
              /home/smarthome
              
              
              smarthome@iobroker:/opt/iobroker$ npm ls
              iobroker.inst@2.0.3 /opt/iobroker
              ├── canvas@2.6.1
              ├── colors@1.4.0
              ├── fs-extra@7.0.1
              ├── iobroker.admin@6.2.17
              ├── iobroker.alexa2@3.19.7
              ├── iobroker.backitup@2.4.12
              ├── iobroker.calendar@1.2.0
              ├── iobroker.chromecast@3.0.3
              ├── iobroker.cloud@4.2.2
              ├── iobroker.contact@1.1.3
              ├── iobroker.daswetter@3.1.4
              ├── iobroker.device-reminder@1.2.9
              ├── iobroker.device-watcher@1.0.0
              ├── iobroker.devices@1.0.12
              ├── iobroker.discovery@3.0.5
              ├── iobroker.dwd@2.8.3
              ├── iobroker.fhem@1.6.3
              ├── iobroker.flot@1.11.0
              ├── iobroker.fritzdect@2.2.3
              ├── iobroker.fully-tablet-control@0.3.6-1 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#765ee8e1f0efcd737098394ec22df34c1c3fadec)
              ├── iobroker.fullybrowser@2.1.2
              ├── iobroker.harmony@1.2.2
              ├── iobroker.history@2.2.3
              ├── iobroker.hm-rega@3.0.43
              ├── iobroker.hm-rpc@1.15.15
              ├── iobroker.ical@1.13.2
              ├── iobroker.icons-open-icon-library-png@0.1.3
              ├── iobroker.influxdb@3.1.8
              ├── iobroker.info@1.9.19
              ├── iobroker.iot@1.11.9
              ├── iobroker.javascript@6.0.3
              ├── iobroker.js-controller@4.0.23
              ├── iobroker.labcom@0.0.3 (git+ssh://git@github.com/LemonShock/ioBroker.labcom.git#4a6a73bb61731c98540b1a0391196f6261e7eb14)
              ├── iobroker.logparser@1.1.0
              ├── iobroker.maxcul@1.3.1
              ├── iobroker.mihome-vacuum@3.6.0
              ├── iobroker.mobile@1.0.1
              ├── iobroker.net-tools@0.2.0
              ├── iobroker.node-red@4.0.0
              ├── iobroker.onvif@0.4.4
              ├── iobroker.ph803w@1.1.1
              ├── iobroker.ping@1.5.3
              ├── iobroker.pollenflug@1.0.6
              ├── iobroker.proxmox@1.3.5
              ├── iobroker.pushover@3.0.3
              ├── iobroker.sayit@1.12.6
              ├── iobroker.shelly@6.2.0
              ├── iobroker.shuttercontrol@1.4.14
              ├── iobroker.simple-api@2.7.1
              ├── iobroker.socketio@6.1.10
              ├── iobroker.sonoff@2.5.1
              ├── iobroker.sourceanalytix@0.4.14
              ├── iobroker.statistics@2.2.0
              ├── iobroker.tankerkoenig@2.1.1
              ├── iobroker.telegram@1.14.1
              ├── iobroker.tr-064@4.2.17
              ├── iobroker.trashschedule@2.0.3
              ├── iobroker.upnp@1.0.21
              ├── iobroker.vis-google-fonts@1.0.3
              ├── iobroker.vis-hqwidgets@1.3.0
              ├── iobroker.vis-jqui-mfd@1.0.12
              ├── iobroker.vis-material-webfont@0.0.3
              ├── iobroker.vis-materialdesign@0.5.9
              ├── iobroker.vis-timeandweather@1.2.2
              ├── iobroker.vis@1.4.15
              ├── iobroker.weatherunderground@3.4.2
              ├── iobroker.web@5.2.5
              ├── iobroker.worx@1.6.6
              ├── iobroker.ws@2.1.5
              ├── iobroker.zigbee@1.7.6
              ├── iobroker@2.0.3
              ├── semver@5.7.1
              └── yargs@7.1.0
              
              smarthome@iobroker:/opt/iobroker$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @D3ltoroxp last edited by

                @d3ltoroxp sagte in ERROR: Process exited with code 25:

                sudo apt update
                

                Patch die Kiste durch. Da dürfte einiges in der Pipeline hängen.

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

                  @thomas-braun läuft das weiter ? Um den Text zu kopieren habe ich strg + c gedrückt, danach springt er ja wieder auf

                  smarthome@iobroker:/opt/iobroker$
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @D3ltoroxp last edited by Thomas Braun

                    @d3ltoroxp
                    Mit STRG-C killst du laufende Prozesse in der Konsole.
                    Das apt update lief da bestimmt noch. Vollständig schaut das jedenfalls so aus:

                    echad@chet:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &>
                    /dev/null && sudo apt update && apt policy nodejs
                    aarch64
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v18.9.0
                    v18.9.0
                    8.19.1
                    4.0.23
                    echad
                    echad adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                    /opt/iobroker
                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                    Hit:2 http://deb.debian.org/debian bullseye InRelease
                    Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                    Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
                    Hit:5 http://packages.azlux.fr/debian bullseye InRelease
                    Hit:6 https://packages.grafana.com/oss/deb stable InRelease
                    Hit:7 https://repos.influxdata.com/debian bullseye InRelease
                    Hit:8 https://deb.nodesource.com/node_16.x bullseye InRelease
                    Hit:9 https://deb.nodesource.com/node_18.x bullseye InRelease
                    Hit:10 https://deb.volian.org/volian scar InRelease
                    Get:11 https://pkgs.tailscale.com/stable/debian bullseye InRelease
                    Hit:12 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                    Fetched 5,545 B in 3s (1,686 B/s)
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    All packages are up to date.
                    nodejs:
                      Installed: 18.9.0-deb-1nodesource1
                      Candidate: 18.9.0-deb-1nodesource1
                      Version table:
                     *** 18.9.0-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages
                            100 /var/lib/dpkg/status
                         16.17.0-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                         12.22.12~dfsg-1~deb11u1 500
                            500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                         12.22.5~dfsg-2~11u1 500
                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                    echad@chet:/opt/iobroker $
                    

                    Wenn Konsolenkommandos durchgelaufen sind spingt die Kommandozeile wieder in den LogIn Prompt. Seid doch nicht immer so ungeduldig mit den Kistchen. Dauert halt alles etwas.

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

                      @thomas-braun

                      Jetzt sieht es ähnlich aus.

                      smarthome@iobroker:~$ uname -m && type -P nodejs node npm && nodejs -v && node -                                                                                                                                                                                              v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null                                                                                                                                                                                               && sudo apt update && apt policy nodejs
                      x86_64
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v16.15.1
                      v16.15.1
                      8.11.0
                      4.0.23
                      smarthome
                      smarthome cdrom floppy sudo audio dip video plugdev netdev iobroker
                      /home/smarthome
                      [sudo] Passwort für smarthome:
                      OK:1 http://security.debian.org/debian-security buster/updates InRelease
                      OK:2 https://deb.nodesource.com/node_14.x buster InRelease
                      OK:3 http://ftp.de.debian.org/debian buster InRelease
                      OK:4 http://ftp.de.debian.org/debian buster-updates InRelease
                      OK:5 https://deb.nodesource.com/node_16.x buster InRelease
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Aktualisierung für 49 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                      nodejs:
                        Installiert:           16.15.1-deb-1nodesource1
                        Installationskandidat: 16.17.0-deb-1nodesource1
                        Versionstabelle:
                           16.17.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages
                       *** 16.15.1-deb-1nodesource1 100
                              100 /var/lib/dpkg/status
                           14.20.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main amd64 Packages
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://ftp.de.debian.org/debian buster/main amd64 Packages
                              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                      smarthome@iobroker:~$
                      
                      

                      Indem Fall alles wieder iO und die Kiste sauber. Jetzt müsste ich halt noch ein upgrade machen, damit er die gefundenen Updates auch ausführt.

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

                        @d3ltoroxp sagte in ERROR: Process exited with code 25:

                        Aktualisierung für 49 Pakete verfügbar.

                        Ich sag ja: Update-Pipeline voll.

                        iob stop
                        sudo apt update
                        sudo apt full-upgrade
                        sudo reboot
                        
                        1 Reply Last reply Reply Quote 1
                        • S
                          sit-in last edited by

                          Hallo Zusammen,

                          Ich habe auch den Fehler Code 25 beim Updaten oder auch bei Neuinstallation von Adaptern...

                          Meine derzeitige Versionen laut Übersicht --> Raspberrypi:
                          Node.js: v12.22.12(16.18.0)
                          NPM: 6.14.16(8.19.2)

                          Mein Problem ist: Ich bin völlig neu in der Materie des Raspberry Pis und ioBroker und das ganze sind für mich noch böhmische Dörfer (so auch die Konsole o.ä.)... Wenn ich hier im Forum lese, wird so viel geschrieben, was dann letztlich meist doch nicht zum Erfolg gebracht hat und dies verwirrt nur noch mehr.
                          Deshalb meine Frage: Gibt es eine genaue Anleitung, was ich tun muss, um den Fehler zu beheben und wieder Adapter updaten und neu installieren zu können?

                          Übrigens ist mir aufgefallen, dass ich zum Beispiel die Adapter "Admin" und "Smartthings" wohl updaten konnte, da "Code 0" angezeigt wurde, aber wenn ich in die Adapterübersicht oder in die Einstellungen des Adapters gehe, wird dort noch immer die alte Version angezeigt (zum Beispiel Smartthings 0.0.3 statt 0.0.4).

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

                            @sit-in sagte in ERROR: Process exited with code 25:

                            Wenn ich hier im Forum lese, wird so viel geschrieben, was dann letztlich meist doch nicht zum Erfolg gebracht hat und dies verwirrt nur noch mehr.

                            das verwirrt jetzt mich.

                            @sit-in sagte in ERROR: Process exited with code 25:

                            Gibt es eine genaue Anleitung, was ich tun muss, um den Fehler zu beheben und wieder Adapter updaten und neu installieren zu können?

                            Natürlich!
                            ist oben sogar extra angepinnt.

                            Screenshot_20221024-122401_Firefox.jpg

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @sit-in last edited by Thomas Braun

                              @sit-in

                              Der hier so oft beschriebene 'Fehler' taucht erst bei einem Wechsel auf npm 8 auf. Muss also bei dir was anderes sein.
                              Davon unabhängig würde ich aber dringend dazu raten dein nodejs 12 auf die empfohlene Version 16 zu heben. Anleitung dazu siehe meine Signatur.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sit-in @Thomas Braun last edited by

                                @homoran nunja nicht falsch verstehen 😛 Ich meine es so, dass bei einem problem etwas empfohlen wird, was man ausprobieren soll. Dann wird aber festgestellt, dass es das nicht ist. Wer anderes empfiehlt wieder etwas und so weiter... und irgendwann ist man durchs querlesen in verschiedenen Threads gerade als absoluter Newbie verwirrt...

                                @thomas-braun Okay... Was meinst Du wie ich weiter vorgehen sollte? Zunächst nach Deiner beschriebenen Anleitung ein Update ausführen und schauen, ob dann wieder alles geht? Oder zunächst versuchen das Problem so zu fixen und ggf. ein eigenes Thema zum Problem hier im Forum aufmachen?

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @sit-in last edited by Homoran

                                  @sit-in sagte in ERROR: Process exited with code 25:

                                  dass bei einem problem etwas empfohlen wird, was man ausprobieren soll. Dann wird aber festgestellt, dass es das nicht ist.

                                  Dann ist es nicht das selbe Problem!

                                  Daher ist es immer gefährlich wenn sich ein anderer User mit der Aussage "ich habe das selbe Problem" an einen Thread anhängt.

                                  Eine präzise Fehleranalyse ist daher im Vorfeld immer nötig um den richtigen Lösungsweg einschlagen zu können.

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

                                    @sit-in sagte in ERROR: Process exited with code 25:

                                    Zunächst nach Deiner beschriebenen Anleitung ein Update ausführen und schauen, ob dann wieder alles geht?

                                    Ja, ich würde zumindest die Basis mal aktuell halten. Und dann kann man weiterschauen.

                                    S 1 Reply Last reply Reply Quote 1
                                    • S
                                      sit-in @Thomas Braun last edited by

                                      @thomas-braun said in ERROR: Process exited with code 25:

                                      Ja, ich würde zumindest die Basis mal aktuell halten. Und dann kann man weiterschauen.

                                      Ich habe soeben das Update ausgeführt! Hab zwar ein bisschen gebraucht um zu verstehen was ich da mache und machen muss, aber es hat geklappt. 🙂

                                      Habe jetzt auf
                                      Node.js: v16.18.0
                                      NPM: 8.19.2
                                      geupdated... Und siehe da: Ich kann auch wieder Updates der Adapter machen sowie neue Adapter installieren 🙂

                                      Vielen Dank!

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @sit-in last edited by

                                        @sit-in

                                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                                        
                                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                        

                                        sagt nun?

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate
                                        FAQ Cloud / IOT
                                        HowTo: Node.js-Update
                                        HowTo: Backup/Restore
                                        Downloads
                                        BLOG

                                        862
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        error update
                                        11
                                        147
                                        32652
                                        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