Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Untersuchung: code 25 fehlerlösung

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Untersuchung: code 25 fehlerlösung

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rewenode @Thomas Braun last edited by

      @thomas-braun Also ich muss dann erstmal passen.

      • frischen Docker-Contaimer aufgesetzt
      • node-red upgrade auf 3.3.1
      • ein paar nodes installiert (die ich auch im Produktivsystem habe)
      • Node-red upgrade auf 4.0.0
      • admin upgrade

      Keinerlei Fehler ;-(
      Keine Ahnung ab wann der sich einschleicht.

      NWH 1 Reply Last reply Reply Quote 0
      • NWH
        NWH @rewenode last edited by

        @thomas-braun
        Bei mir ist es auch so, dass ich keine Update mehr machen kann.
        Habe mit dem nur Schau-Befehl bei mir nachgeschaut, finde da allerdings auch keine Fehler.

        NPM 8.15.0
        Node 16.17.1
        Js- Controller 4.0.23

        root@iobroker:/opt/iobroker/node_modules# for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! 
        -iname ".local-chromium"); do echo ${i%}; done                                                                      
        /opt/iobroker/node_modules/@babel/.runtime-cSN2FFol                                                                 
        /opt/iobroker/node_modules/@types/.whatwg-url-st9gKEiR                                                              
        /opt/iobroker/node_modules/@types/.webidl-conversions-sTwlFPEN                                                      
        /opt/iobroker/node_modules/@node-red/.editor-api-Xk7v1FU7                                                           
        /opt/iobroker/node_modules/@node-red/.editor-client-FpqhSpDH                                                        
        /opt/iobroker/node_modules/@node-red/.nodes-oC2yqxJN                                                                
        /opt/iobroker/node_modules/@node-red/.registry-ccnbcuRd                                                             
        /opt/iobroker/node_modules/@node-red/.runtime-1jQRdxlO                                                              
        /opt/iobroker/node_modules/@node-red/.util-sbKUIGKV                                                                 
        /opt/iobroker/node_modules/memorystore/node_modules/.yallist-dQCRuaxJ                                               
        /opt/iobroker/node_modules/iobroker.web/node_modules/.accepts-OXiUlc3Q                                              
        /opt/iobroker/node_modules/iobroker.web/node_modules/.bytes-1xgHDNBN                                                
        /opt/iobroker/node_modules/iobroker.web/node_modules/.body-parser-UqURhhX1                                          
        /opt/iobroker/node_modules/iobroker.web/node_modules/.cookie-tK2ONQ1o                                               
        /opt/iobroker/node_modules/iobroker.web/node_modules/.depd-C51S9yJW                                                 
        /opt/iobroker/node_modules/iobroker.web/node_modules/.destroy-qlf2lv5l                                              
        /opt/iobroker/node_modules/iobroker.web/node_modules/.http-errors-Za9l7C18                                          
        /opt/iobroker/node_modules/iobroker.web/node_modules/.inherits-TuGh0LXN                                             
        /opt/iobroker/node_modules/iobroker.web/node_modules/.mime-types-PeP4UgEO                                           
        /opt/iobroker/node_modules/iobroker.web/node_modules/.mime-db-kRSHCEJi                                              
        /opt/iobroker/node_modules/iobroker.web/node_modules/.ms-eKzAxOLx                                                   
        /opt/iobroker/node_modules/iobroker.web/node_modules/.negotiator-cgjfl5da                                           
        /opt/iobroker/node_modules/iobroker.web/node_modules/.on-finished-xF1T4SnU  
        

        Was müsste ich jetzt tun...?
        Node Red läuft auch nicht da immer diesr Fehler kommt.

        warn	node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module 'jsonfile/utils' Require stack: - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/index.js - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/index.js - /opt/iobroker/node_modules/node-red/red.js 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/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js:3:23) 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 Module.require (node:internal/modules/cjs/loader:1028:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js', '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/index.js', '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/index.js', '/opt/iobroker/node_modules/node-red/red.js' ] }
        
        
        
        node-red.0
        2022-10-03 21:21:29.034	info	node-red exited with 1
        
        node-red.0
        2022-10-03 21:21:29.030	warn	node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module 'jsonfile/utils' Require stack: - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/index.js - /opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/index.js - /opt/iobroker/node_modules/node-red/red.js 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/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js:3:23) 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 Module.require (node:internal/modules/cjs/loader:1028:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/output-json.js', '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/json/index.js', '/opt/iobroker/node_modules/node-red/node_modules/fs-extra/lib/index.js', '/opt/iobroker/node_modules/node-red/red.js' ] }
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @NWH last edited by

          @nwh sagte in Untersuchung: code 25 fehlerlösung:

          Was müsste ich jetzt tun...?

          Dich als user und nicht als root einloggen.

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

            @thomas-braun ich mache das über die Konsole vom Docker auf der Synology.
            Wüsste gar nicht wie das anders ginge.

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

              @nwh

              Bei Docker bin ich eh raus. Keinen Bock auf den Kram.

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

                @thomas-braun na dann....

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

                  @nwh

                  Lösch die Verzeichnisse.

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

                    @thomas-braun tjo das kann ich nicht, da ich mich damit nicht auskenne. Leider.
                    Hilft es was wenn ich NodeRed lösche? in der IOB Oberfläche.

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

                      @nwh

                      Wir schauen jetzt erstmal etwas herum.

                      cd /opt/iobroker/
                      npm ls body-parser
                      
                      NWH 1 Reply Last reply Reply Quote 0
                      • NWH
                        NWH @Thomas Braun last edited by

                        @thomas-braun sagte in Untersuchung: code 25 fehlerlösung:

                        npm ls body-parser

                        root@iobroker:/opt/iobroker# npm ls body-parser                                                                     
                        sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse                     
                        iobroker.inst@2.0.3 /opt/iobroker                                                                                   
                        ├─┬ iobroker.admin@6.2.22                                                                                           
                        │ ├── body-parser@1.20.0                                                                                            
                        │ └─┬ express@4.18.1                                                                                                
                        │   └── body-parser@1.20.0 deduped                                                                                  
                        ├─┬ iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project                                                  
                        │ └─┬ node-red@3.0.2                                                                                                
                        │   ├─┬ @node-red/editor-api@3.0.2                                                                                  
                        │   │ └── body-parser@1.20.0 deduped                                                                                
                        │   └─┬ @node-red/nodes@3.0.2                                                                                       
                        │     └── body-parser@1.20.0 deduped                                                                                
                        └─┬ iobroker.web@4.3.0                                                                                              
                          └── body-parser@1.20.0 deduped                                                                                    
                                                                                                                                            
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @NWH last edited by

                          @nwh

                          npm ls destroy
                          
                          NWH 1 Reply Last reply Reply Quote 0
                          • NWH
                            NWH @Thomas Braun last edited by

                            @thomas-braun sagte in Untersuchung: code 25 fehlerlösung:

                            npm ls destroy

                            root@iobroker:/opt/iobroker# npm ls destroy                                                                         
                            sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse                     
                            iobroker.inst@2.0.3 /opt/iobroker                                                                                   
                            └─┬ iobroker.admin@6.2.22                                                                                           
                              ├─┬ body-parser@1.20.0                                                                                            
                              │ └── destroy@1.2.0                                                                                               
                              └─┬ express@4.18.1                                                                                                
                                └─┬ send@0.18.0                                                                                                 
                                  └── destroy@1.2.0 deduped   
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @NWH last edited by

                              @nwh

                              npm ls
                              

                              Erstmal nur das Ende der Ausgabe.

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

                                @thomas-braun 😰

                                                                                                                                                    
                                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: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2                                             
                                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!     /opt/iobroker/.npm/_logs/2022-10-03T19_56_02_335Z-debug-0.log                                          
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @NWH last edited by

                                  @nwh

                                  Und immer wieder node-red...

                                  npm prune
                                  iobroker update
                                  
                                  NWH 1 Reply Last reply Reply Quote 0
                                  • NWH
                                    NWH @Thomas Braun last edited by

                                    @thomas-braun Also ich bin der Meinung das ich alles gemacht habe. Aber es kommt noch immer der Fehler Code 25.

                                    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: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2                                             
                                    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!     /opt/iobroker/.npm/_logs/2022-10-03T20_10_50_302Z-debug-0.log                                          
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @NWH last edited by

                                      @nwh
                                      Was kommt auf die beiden Befehle denn zurück?

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

                                        @thomas-braun

                                        root@iobroker:/opt/iobroker# npm prune                                                                              
                                        sudo: Hostname iobroker kann nicht aufgelöst werden: Zu diesem Hostnamen gehört keine Adresse                     
                                        npm ERR! code ENOTEMPTY                                                                                             
                                        npm ERR! syscall rename                                                                                             
                                        npm ERR! path /opt/iobroker/node_modules/accepts                                                                    
                                        npm ERR! dest /opt/iobroker/node_modules/.accepts-rBwU1CL7                                                          
                                        npm ERR! errno -39                                                                                                  
                                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/accepts' -> '/opt/iobroker/node_modules/
                                        .accepts-rBwU1CL7'                                                                                                  
                                                                                                                                                            
                                        npm ERR! A complete log of this run can be found in:                                                                
                                        npm ERR!     /opt/iobroker/.npm/_logs/2022-10-03T20_13_04_854Z-debug-0.log                                          
                                        

                                        und bei Iobroker update

                                        Adapter    "netatmo"      : 2.0.5    , installed 1.7.1  [Updatable]                                                 
                                        Adapter    "node-red"     : 4.0.0    , installed 4.0.0                                                              
                                        Adapter    "pushover"     : 3.0.3    , installed 3.0.2  [Updatable]                                                 
                                        Adapter    "pvforecast"   : 2.3.0    , installed 2.3.0                                                              
                                        Adapter    "shelly"       : 6.0.0    , installed 6.0.0                                                              
                                        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0                                                              
                                        Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4                                                              
                                        Adapter    "socketio"     : 4.2.0    , installed 4.2.0                                                              
                                        Adapter    "tuya"         : 3.6.15   , installed 3.6.15                                                             
                                        Adapter    "unifi"        : 0.5.10   , installed 0.5.10                                                             
                                        Adapter    "virtualpowermeter": 1.4.6, installed 1.4.6                                                              
                                        Adapter    "vis"          : 1.4.15   , installed 1.4.15                                                             
                                        Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0                                                              
                                        Adapter    "vis-hqwidgets": 1.3.0    , installed 1.2.0  [Updatable]                                                 
                                        Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0                                                             
                                        Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1                                                              
                                        Adapter    "vis-jqui-mfd" : 1.0.12   , instal```
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active last edited by mickym

                                          Ich kanns immer wieder betonen - haut halt den alten Mist raus und macht das neu, wenn ihr keine Lust habt ewig zu suchen. Macht vorher eine Imagesicherung - dann kommt ihr wieder dahin zurück oder nennt das node_modules Verzeichnis um - und macht es neu:

                                          https://forum.iobroker.net/post/831638

                                          Diese Diskussionen sind doch unsinnig . Jemand der NodeRed nutzen will, wird das tun - egal ob das binär im node_modules Verzeichnis rumliegt. Das Hauptproblem ist npm mit seinen geänderten Formaten.

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

                                            @nwh

                                            iobroker update
                                            

                                            vollständig zeigen.

                                            NWH 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

                                            949
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            34
                                            255
                                            31182
                                            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