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.
    • 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
                                    • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            631
                                            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