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

      @msiemers Also ich hab das über Putty und WinSCP gemacht. Da ich auch noch einiges in anderen Verzeichnissen hatte.

      Setzte immer den Befehl ab.

      cd /opt/iobroker && npm prune
      

      Dann gehst du per WinSCP in das Verzeichnis und löscht was er haben möchte. So musst du dann halt Stück für Stück.

      M 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @msiemers last edited by

        @msiemers

        Einmal Zeigen !!

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

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

          Aber dann kann ich es auch gleich komplett von Hand machen indem ich per rm -r den genannten Versteckten Bereich lösche, oder sehe ich das falsch?

          Die Schleife spart dir das mehrfache ausführen oder das ausdenken von eigenen Wildcards. Mit 'Pfeil nach oben' holst du die Zeile wieder hervor.

          M 1 Reply Last reply Reply Quote 0
          • M
            msiemers @D3ltoroxp last edited by

            @d3ltoroxp ich habe nur einen Mac. Muss mal schauen welches Programm ich da nutzen könnte.

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

              @thomas-braun ok danke. Zwischendurch hatte ich auch schon einmal solche Meldung:

              /opt/iobroker/node_modules/iobroker.admin/node_modules# iobroker upgrade node-red --debug
              node:internal/modules/cjs/loader:959
                throw err;
                ^
              
              Error: Cannot find module '/opt/iobroker/lib/setup.js'
              Require stack:
              - /opt/iobroker/iobroker
                  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                  at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                  at Module.require (node:internal/modules/cjs/loader:1028:19)
                  at require (node:internal/modules/cjs/helpers:102:18)
                  at Object.<anonymous> (/opt/iobroker/iobroker:2:1)
                  at Module._compile (node:internal/modules/cjs/loader:1126:14)
                  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                  at Module.load (node:internal/modules/cjs/loader:1004:32)
                  at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                  at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                code: 'MODULE_NOT_FOUND',
                requireStack: [ '/opt/iobroker/iobroker' ]
              }
              
              K 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            425
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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