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 last edited by

      Moin zusammen, ich habe das Update auch wie beschrieben durchgeführt. Leider habe ich jetzt das Problem, das ich keine Adapter mehr aktualisieren kann.
      Ich erhalte immer einen Fehler ERROR: Process exited with code 25

      So sieht es bei mir aus:

      root@smarthome:/home/iobroker/.npm/_logs# uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      x86_64
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.17.0
      v16.17.0
      8.15.0
      root
      /home/iobroker/.npm/_logs
      Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
      Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                
      Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease                                                            
      Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease                                
      Hit:5 https://deb.nodesource.com/node_16.x jammy InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      nodejs:
        Installed: 16.17.0-deb-1nodesource1
        Candidate: 16.17.0-deb-1nodesource1
        Version table:
       *** 16.17.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages
              100 /var/lib/dpkg/status
           12.22.9~dfsg-1ubuntu3 500
              500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
      

      Ich weiß root. Aber das geht aktuell gerade nicht anders. Kann mir jemand sagen was ich falsch mache oder was meinem ioBroker fehlt damit ich wieder Adapter aktualisieren kann?

      Thomas Braun 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 das geht aktuell gerade nicht anders.

        Warum? Auf Ubuntu sollte ein root Login nicht gehen, ein User Login geht immer. Ist eine Grundeigenschaft von Ubuntu.

        Zum Thrma: Lösch die Verzeichnisse.

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

          Hab mal rebooted, nun schaut es so aus.

          smarthome@iobroker:/opt/iobroker$ npm ls | grep -E 'github|ERR'
          ├── iobroker.device-watcher@0.0.6 (git+ssh://git@github.com/ciddi89/ioBroker.device-watcher.git#97c46db03ddc94d4e23b13ec6947ff2b9acc3077)
          ├── iobroker.fully-tablet-control@0.3.6-1 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#765ee8e1f0efcd737098394ec22df34c1c3fadec)
          ├── iobroker.labcom@0.0.3 (git+ssh://git@github.com/LemonShock/ioBroker.labcom.git#4a6a73bb61731c98540b1a0391196f6261e7eb14)
          npm ERR! code ELSPROBLEMS
          npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
          npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
          npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
          npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
          npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
          npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
          npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
          npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
          npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-08-20T08_47_39_107Z-debug-0.log
          
          

          Das wollte ich beheben und die Pfade löschen.

          smarthome@iobroker:/opt/iobroker$ cd /opt/iobroker && npm prune
          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-08-20T08_36_18_667Z-debug-0.log
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @D3ltoroxp last edited by

            @d3ltoroxp

            Mit prune werden keine Verzeichnisse gelöscht.

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

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

              @d3ltoroxp

              Mit prune werden keine Verzeichnisse gelöscht.

              Bereinigt meinte ich.

              Trotz allem stimmt hier aber was nicht. Soll ich einfach noch mal nach deiner Anleitung updaten ? Versteh nur nicht, warum es auf einmal wieder nicht klappt.

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

                @d3ltoroxp

                Aber die Verzeichnisse solltest du löschen.

                Hier also
                /opt/iobroker/node_modules/.acorn-zHERliMH

                Und node-red vielleicht nochmal neuinstallieren.

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

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

                  @d3ltoroxp

                  Aber die Verzeichnisse solltest du löschen.

                  Hier also
                  /opt/iobroker/node_modules/.acorn-zHERliMH

                  Und node-red vielleicht nochmal neuinstallieren.

                  und die auch ?

                  npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                  npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                  npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                  npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
                  npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
                  npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                  npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                  npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                  npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @D3ltoroxp last edited by

                    @d3ltoroxp

                    Die extraneous verschwinden nach einem 'prune'
                    Wenn der Rest sauber ist jedenfalls.

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

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

                      @d3ltoroxp

                      Aber die Verzeichnisse solltest du löschen.

                      Hier also
                      /opt/iobroker/node_modules/.acorn-zHERliMH

                      Und node-red vielleicht nochmal neuinstallieren.

                      Den habe ich gelöscht wenn ich jetzt den Befehl prune ausführe kommt die nächste Meldung.

                      smarthome@iobroker:/opt/iobroker$ cd /opt/iobroker && npm prune
                      npm ERR! code ENOTEMPTY
                      npm ERR! syscall rename
                      npm ERR! path /opt/iobroker/node_modules/argparse
                      npm ERR! dest /opt/iobroker/node_modules/.argparse-S5zfMSQi
                      npm ERR! errno -39
                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi'
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-08-20T09_01_40_847Z-debug-0.log
                      
                      

                      Soll ich die hier alle löschen ?

                      4e25e8f9-b05a-40f9-8481-5ef62c0311d2-grafik.png

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

                        @d3ltoroxp
                        Nein. Such die for-Schleife zum löschen.

                        Steht in meinem node-HowTo im zweiten Teil drin.

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

                          @thomas-braun Ok, die Ordner sind alle weg. Da stand ja auch das es andere Ordner gibt, die man dann manuell löschen soll, das wäre dann sowas hier ?

                          smarthome@iobroker:/opt/iobroker$ cd /opt/iobroker && npm prune
                          npm ERR! code ENOTEMPTY
                          npm ERR! syscall rename
                          npm ERR! path /opt/iobroker/node_modules/@babel/runtime
                          npm ERR! dest /opt/iobroker/node_modules/@babel/.runtime-cSN2FFol
                          npm ERR! errno -39
                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@babel/runtime' -> '/opt/iobroker/node_modules/@babel/.runtime-cSN2FFol'
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2022-08-20T09_15_03_575Z-debug-0.log
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @D3ltoroxp last edited by

                            @d3ltoroxp
                            Ja, ggf. auch noch Unterverzeichnisse beackern.

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

                              @thomas-braun
                              Sodele, das scheint schon mal geklappt zu haben.

                              Ist die Meldung so ok ?

                              smarthome@iobroker:/opt/iobroker$ cd /opt/iobroker && npm prune
                              npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
                              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)
                              npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
                              npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size
                              
                              added 104 packages, removed 105 packages, and changed 107 packages in 9s
                              
                              117 packages are looking for funding
                                run `npm fund` for details
                              
                              

                              Und das sieht nun so aus.

                              smarthome@iobroker:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                              ├── iobroker.device-watcher@0.0.6 (git+ssh://git@github.com/ciddi89/ioBroker.device-watcher.git#97c46db03ddc94d4e23b13ec6947ff2b9acc3077)
                              ├── iobroker.fully-tablet-control@0.3.6-1 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#765ee8e1f0efcd737098394ec22df34c1c3fadec)
                              ├── iobroker.labcom@0.0.3 (git+ssh://git@github.com/LemonShock/ioBroker.labcom.git#4a6a73bb61731c98540b1a0391196f6261e7eb14)
                              smarthome@iobroker:/opt/iobroker$
                              
                              

                              EDIT::

                              Scheint nun wieder zu klappen konnte die Adapter updaten. Nur bei NodeRed kommt wieder der gleiche Fehler.

                              Qix- created this issue in visionmedia/debug

                              closed ReDos Vulnerability Regression Visibility Notice #797

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

                                @d3ltoroxp

                                Ja, bei node-red klemmt was.

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

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

                                  @d3ltoroxp

                                  Ja, bei node-red klemmt was.

                                  Indem Fall müsste ich das löschen ? Aber dann ist auch alles weg, was ich darin installiert habe, die Pakete usw. Ich könnte noch meine Nodes speichern die ich erstellt habe.

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

                                    @d3ltoroxp

                                    Keine Ahnung von node-red und wie man da irgendwas sichert. Ich würde es aber nochmal ganz frisch installieren.

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

                                      @d3ltoroxp
                                      Zu Node-Red

                                      https://forum.iobroker.net/topic/24333/node-red-fullbackup/7?_=1660990232256

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

                                        @thomas-braun

                                        Welches Verzeichnis soll ich löschen?

                                        Beim Update eines Adapters kommt nur:

                                        $ iobroker upgrade sql@2.1.8 --debug
                                        
                                        Update sql from @2.1.7 to @2.1.8
                                        
                                        NPM version: 8.15.0
                                        
                                        Installing iobroker.sql@2.1.8... (System call)
                                        
                                        npm ERR! code ENOTEMPTY
                                        
                                        host.smarthome Cannot install iobroker.sql@2.1.8: 217
                                        
                                        ERROR: Process exited with code 25
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @msiemers last edited by

                                          @msiemers
                                          In einem Terminal ausgeführt? Oder im Admin?
                                          Mach es im Terminal.

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

                                            @thomas-braun

                                            Schon im Terminal.
                                            Ich habe nun immer wieder das Problem, das die versteckten Datei Probleme mache. Diese fangen ja mit einem Punkt an. Gibt es eine Möglichkeit die alle in der Installation zu löschen, oder darf man das nicht. Ich habe schon versucht einige händisch zu löschen aber leider ohne Erfolg. Das ist viel zu aufwändig. Gefühlt will er bei jedem Updates eines anderen Adapters auch andere versteckte Dateien gelöscht haben.

                                            Thomas Braun D3ltoroxp 2 Replies 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

                                            847
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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