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.
    • K
      kassmann @msiemers last edited by kassmann

      Hallo, ich habe ebenfalls den Fehler „ERROR: Process exited with Code 25“

      Leider habe ich keine hilfreiche Fehlermeldung erhalten.

      $ iobroker upgrade cloud@4.2.2
      Update cloud from @4.2.1 to @4.2.2
      NPM version: 8.15.0
      Installing iobroker.cloud@4.2.2... (System call)
      host.raspberrypi Cannot install iobroker.cloud@4.2.2: 217
      ERROR: Process exited with code 25

      Mein System
      Raspberry Pi 4
      Node.js v.16.17.0
      NPM v8.15.0

      Aktuell läuft das System noch stabil, lässt sich aber nicht mehr aktualisieren, egal welchen Adapter ich versuche.

      Schon mal vielen Dank für euere Unterstützung.

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

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

        Auf der Kommandozeile:

        iobroker upgrade cloud@4.2.2 --debug
        
        K 1 Reply Last reply Reply Quote 0
        • K
          kassmann @Thomas Braun last edited by

          @thomas-braun Beiliegend das Ergebnis für: iobroker upgrade cloud@4.2.2 --debug

          Would you like to upgrade cloud from @4.2.1 to @4.2.2 now? [(y)es, (n)o]: y
          Update cloud from @4.2.1 to @4.2.2
          NPM version: 8.15.0
          Installing iobroker.cloud@4.2.2... (System call)
          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/acorn
          npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/iobroker/.npm/_logs/2022-09-12T13_27_49_816Z-debug-0.log
          host.raspberrypi Cannot install iobroker.cloud@4.2.2: 217

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

            @kassmann

            https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

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

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

              https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

              Na, das hat doch schon mal geholfen. 😁 Super, vielen Dank.
              Das Update liegt jetzt durch und endete mit Code 0. Es kam nur eine andere Fehlermeldung: "npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size"
              Kann ich die ignorieren, da Code 0?

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

                @kassmann

                WARN ist i.d.R. harmlos. Da scheint eine veraltete Version von axios referenziert zu werden.

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

                  @thomas-braun Axios sagt mir jetzt nichts aber ich kann es ignorieren. Danke nochmal ...

                  1 Reply Last reply Reply Quote 0
                  • D3ltoroxp
                    D3ltoroxp last edited by

                    Ich mache gerade noch an meinem NodeRed herum.

                    Ich habe mal folgendes gemacht.

                    smarthome@iobroker:~$ iobroker upgrade node-red@4.0.0 --debug
                    
                    This upgrade of "node-red" will introduce the following changes:
                    ==========================================================================
                    -> 4.0.0:
                    IMPORTANT: Node.js 14.x now needed at least
                    Upgrade to node-red 3.0.2, enable runtime-state features and switch editor to monaco-editor
                    Correctly escape backslashes when writing setting file on Windows
                    ==========================================================================
                    
                    BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                    Would you like to upgrade node-red from @3.3.1 to @4.0.0 now? [(y)es, (n)o]: y
                    Update node-red from @3.3.1 to @4.0.0
                    NPM version: 8.11.0
                    Installing iobroker.node-red@4.0.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/chownr
                    npm ERR! dest /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.chownr-sN27MFJQ
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/chownr' -> '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.chownr-sN27MFJQ'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-09-20T15_29_35_164Z-debug-0.log
                    host.iobroker Cannot install iobroker.node-red@4.0.0: 217
                    smarthome@iobroker:~$
                    
                    

                    Ist das so richtig, nun muss ich

                    /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.chownr-sN27MFJQ
                    

                    das löschen ? Aber was hat das mit node red zu tun ?

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

                      @d3ltoroxp lösch einfach das chownr Verzeichnis.

                      1 Reply Last reply Reply Quote 0
                      • D3ltoroxp
                        D3ltoroxp last edited by

                        Kann ich allgemein alles löschen was so mit Punkt dort drin steht ?

                        ad461295-c10b-46b3-9ffc-d0d1bdbee6c5-grafik.png

                        Denke das kommt als nächstes.

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

                          @d3ltoroxp Ja - dafür hat @Thomas-Braun einen Befehl gebastelt - ich bin ja sogar Anhänger alles neu (sprich das node_modules Verzeichnis) zu machen. Aber so sind die Eingriffe erst mal minimalinvasiv 😉

                          siehe hier in der Überschrift ist eine Anleitung:

                          https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8/2

                          0608dbef-a34f-48c3-8a82-b8462e112b6e-image.png

                          Wenn in Deinem chownr Verzeichnis was drin steht - das eben auch löschen.

                          D3ltoroxp 1 Reply Last reply Reply Quote 1
                          • D3ltoroxp
                            D3ltoroxp @mickym last edited by D3ltoroxp

                            @mickym Super Danke.
                            Das hat schon mal einiges gelöscht.
                            Jetzt hab ich noch mal versucht node red 4.0 zu installieren, auf einmal habe ich hier wieder jede Menge solcher Ordner, ist das normal ?

                            db736396-4f2c-4f7c-afd6-0518a60591fe-grafik.png

                            Davor war dort gar nichts.

                            EDIT.

                            Nach einem weiteren Bereinigen und erneutem Versuch ist nun node red installiert.

                            Die Meldungen kann ich ignorieren oder muss ich nun noch was machen ?

                            
                            Installing iobroker.node-red@4.0.0... (System call)
                            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                            
                            changed 109 packages in 18s
                            
                            122 packages are looking for funding
                              run `npm fund` for details
                            Update "system.adapter.node-red.0"
                            upload [14] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/bcrypt.min.js bcrypt.min.js application/javascript
                            upload [13] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/de/translations.json i18n/de/translations.json application/json
                            upload [12] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/en/translations.json i18n/en/translations.json application/json
                            upload [11] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/es/translations.json i18n/es/translations.json application/json
                            upload [10] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                            upload [9] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/it/translations.json i18n/it/translations.json application/json
                            upload [8] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                            upload [7] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                            upload [6] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                            upload [5] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                            upload [4] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                            upload [3] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index.html index.html text/html
                            upload [2] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index_m.html index_m.html text/html
                            upload [1] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/node-red.png node-red.png image/png
                            upload [0] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/words.js words.js application/javascript
                            smarthome@iobroker:~$
                            
                            
                            Qix- created this issue in visionmedia/debug

                            closed ReDos Vulnerability Regression Visibility Notice #797

                            mickym 1 Reply Last reply Reply Quote 0
                            • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            753
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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