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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Untersuchung: code 25 fehlerlösung

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

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

      cat /opt/iobroker/package-lock.json | grep iobroker.node-red

      Nein,

      root@iobroker:/opt/iobroker# cat /opt/iobroker/package-lock.json | grep iobroker.node-red                           
              "iobroker.node-red": "4.0.0",                                                                               
          "node_modules/iobroker.node-red": {                                                                             
            "resolved": "https://registry.npmjs.org/iobroker.node-red/-/iobroker.node-red-4.0.0.tgz",                     
          "iobroker.node-red": {                                                                                          
            "resolved": "https://registry.npmjs.org/iobroker.node-red/-/iobroker.node-red-4.0.0.tgz",                     
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @NWH last edited by

        @nwh

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

          @thomas-braun alles ohne Problem durchgelaufen.

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

            @nwh

            Okay. Und wie sieht jetzt der

            cd /opt/iobroker
            npm ls
            

            aus?

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

              @thomas-braun
              sieht gut aus

              iobroker.inst@2.0.3 /opt/iobroker                                                                                   
              ├── colors@1.4.0                                                                                                    
              ├── fs-extra@7.0.1                                                                                                  
              ├── iobroker.admin@6.2.22                                                                                           
              ├── iobroker.backitup@2.4.12                                                                                        
              ├── iobroker.bwt@0.0.4                                                                                              
              ├── iobroker.cloud@4.2.2                                                                                            
              ├── iobroker.coronavirus-statistics@0.8.7                                                                           
              ├── iobroker.daswetter@3.1.3                                                                                        
              ├── iobroker.deconz@2.0.5                                                                                           
              ├── iobroker.denon@1.13.4                                                                                           
              ├── iobroker.discovery@3.0.5                                                                                        
              ├── iobroker.echarts@1.0.12                                                                                         
              ├── iobroker.enigma2@1.3.3 (git+ssh://git@github.com/Matten-Matten/ioBroker.enigma2.git#17f9d0c2d8a337e46a5e16cbabb9
              b305d32fd233)                                                                                                       
              ├── iobroker.flot@1.11.0                                                                                            
              ├── iobroker.fullybrowser@2.1.2                                                                                     
              ├── iobroker.harmony@1.2.2                                                                                          
              ├── iobroker.heos@1.10.0                                                                                            
              ├── iobroker.history@2.2.0                                                                                          
              ├── iobroker.hm-rega@3.0.40                                                                                         
              ├── iobroker.hm-rpc@1.15.12                                                                                         
              ├── iobroker.hoover@0.0.1 (git+ssh://git@github.com/TA2k/ioBroker.hoover.git#d8483c0a1d07a4747f35439baceaa9be981bd83
              c)                                                                                                                  
              ├── iobroker.hue-extended@2.0.0                                                                                     
              ├── iobroker.hue@3.7.1                                                                                              
              ├── iobroker.icons-material-png@0.1.0                                                                               
              ├── iobroker.icons-mfd-png@1.1.0                                                                                    
              ├── iobroker.icons-mfd-svg@1.1.0                                                                                    
              ├── 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.lgtv@1.1.10                                                                                            
                                                                          ├── iobroker.mbus@2.4.0                                                                                             
                                                                          ├── iobroker.mihome-vacuum@3.4.2                                                                                    
                                                                          ├── iobroker.modbus@5.0.5                                                                                           
                                                                          ├── iobroker.mqtt@4.0.7                                                                                             
                                                                          ├── iobroker.netatmo@2.0.5                                                                                          
                                                                          ├── iobroker.node-red@4.0.0                                                                                         
                                                                          ├── iobroker.pushover@3.0.3                                                                                         
                                                                          ├── iobroker.pvforecast@2.3.0                                                                                       
                                                                          ├── iobroker.rtspStream@0.0.2                                                                                       
                  ├── iobroker.seko@0.0.1 (git+ssh://git@github.com/TA2k/ioBroker.seko.git#b3c7090c4907fa76d1b2c63d5250b80889445f53)  
                                                                          ├── iobroker.shelly@6.0.0                                                                                           
                                                                          ├── iobroker.simple-api@2.7.0                                                                                       
                                                                          ├── iobroker.smartmeter@3.3.4                                                                                       
                                                                          ├── iobroker.socketio@4.2.0                                                                                         
                                                                          ├── iobroker.sourceanalytix@0.4.12                                                                                  
                                                                          ├── iobroker.tuya@3.6.15                                                                                            
                                                                          ├── iobroker.unifi@0.5.10                                                                                           
                                                                          ├── iobroker.virtualpowermeter@1.4.6                                                                                
                                                                          ├── iobroker.vis-colorpicker@1.2.0                                                                                  
                                                                          ├── iobroker.vis-hqwidgets@1.3.0                                                                                    
                                                                          ├── iobroker.vis-icontwo@0.89.0                                                                                     
                                                                          ├── iobroker.vis-inventwo@3.3.1             
              ├── iobroker.vis-jqui-mfd@1.0.12                                                                                    
                                                                    ├── iobroker.vis-material-webfont@0.0.3                                                                             
                                                                    ├── iobroker.vis-material@0.1.3                                                                                     
                                                                    ├── iobroker.vis-materialdesign@0.4.2                                                                               
                                                                    ├── iobroker.vis-players@0.1.6                                                                                      
                                                                    ├── iobroker.vis-timeandweather@1.2.2                                                                               
                                                                    ├── iobroker.vis-weather@2.5.5                                                                                      
                                                                    ├── iobroker.vis@1.4.15                                                                                             
                                                                    ├── iobroker.weatherunderground@3.4.2                                                                               
                                                                    ├── iobroker.web@4.3.0                                                                                              
                                                                    ├── iobroker.zigbee@1.7.5                                                                                           
                                                                    ├── iobroker@2.0.3                                                                                                  
                                                                    ├── semver@5.7.1                                                                                                    
                                                                    └── yargs@7.1.1                                                                                                     
                                                                                                                                                                                        
                                                                                                                          
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active last edited by

                @nwh

                Gut, schaut jetzt sauber aus.

                Warum die package.json und package-lock.json beim node-red nicht aktualisiert werden weiß ich jetzt aber immer noch nicht.

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

                  @thomas-braun Was soll ich sagen, ausser mal Danke für die Hilfe.
                  Wenn ich noch was für die Aufklärung beitragen kann, lass es mich wissen.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sneak-L8 last edited by

                    Ich würde mich hier leider auch einreihen.

                    Beim Update von backitup von 2.4.10 auf 2.4.12 kommt bei mir auch der code 25...

                    npm ls meldet beim SQL (ich glaube, den hab ich zuletzt aktualisiert - ohne Fehler):

                    iobroker.sql@2.1.8 invalid: "2.1.7" from the root project
                    

                    npm update hab ich gemacht, npm upgrade all möchte ich noch nicht, da ich mich erst noch um die States vom netatmo-Adapter kümmern muss, um die History zu erhalten.

                    Was kann ich am besten tun?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Sneak-L8 last edited by

                      @sneak-l8

                      Mit npm direkt hantiert man am besten ohnehin nicht herum.

                      cat /opt/iobroker/package-lock.json | grep iobroker.sql
                      cat /opt/iobroker/package.json | grep iobroker.sql
                      iobroker update
                      

                      Da dürfte dann 2.1.7 drin stehen, vermute ich.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sneak-L8 @Thomas Braun last edited by

                        @thomas-braun

                        pi@raspberrypi:~ $ cat /opt/iobroker/package-lock.json | grep iobroker.sql
                                "iobroker.sql": "2.1.7",
                            "node_modules/iobroker.sql": {
                              "resolved": "https://registry.npmjs.org/iobroker.sql/-/iobroker.sql-2.1.7.tgz",
                            "iobroker.sql": {
                              "resolved": "https://registry.npmjs.org/iobroker.sql/-/iobroker.sql-2.1.7.tgz",
                        pi@raspberrypi:~ $ cat /opt/iobroker/package.json | grep iobroker.sql
                        {"name":"iobroker.inst","version":"3.0.0","private":true,"description":"Automate your Life","engines":{"node":">=10.0.0"},"dependencies":{"iobroker.admin":"6.2.22","iobroker.backitup":"2.4.10","iobroker.discovery":"3.0.5","iobroker.email":"1.1.3","iobroker.feiertage":"1.1.0","iobroker.flot":"1.11.0","iobroker.history":"2.2.0","iobroker.icons-addictive-flavour-png":"0.1.0","iobroker.info":"1.9.19","iobroker.javascript":"6.0.3","iobroker.js-controller":"stable","iobroker.kecontact":"github:iobroker-community-adapters/ioBroker.kecontact","iobroker.mobile":"1.0.1","iobroker.modbus":"5.0.5","iobroker.musiccast":"0.1.5","iobroker.netatmo":"1.7.1","iobroker.ping":"1.5.3","iobroker.pioneer_sc_vsx":"github:Sneak-L8/ioBroker.pioneer_sc_vsx#37cb50cf74d3e7117ffcd31557b8977edfd2b19d","iobroker.rpi2":"1.3.2","iobroker.simple-api":"2.7.0","iobroker.sma-em":"github:iobroker-community-adapters/ioBroker.sma-em#55ef1a101f7f3920a6b1a5b2b2ab0501aea2be5c","iobroker.sma-speedwire":"github:Apollon77/iobroker.sma-speedwire#3dce8e5d3fb9112502ba697a0f41ec0ab0aa90f4","iobroker.socketio":"4.2.0","iobroker.sonos":"2.2.3","iobroker.sql":"2.1.7","iobroker.tr-064":"4.2.16","iobroker.vis":"1.4.15","iobroker.vis-icontwo":"0.89.0","iobroker.vis-inventwo":"3.3.1","iobroker.vw-connect":"0.0.51","iobroker.web":"4.3.0","iobroker.whatsapp-cmb":"0.2.2","iobroker.ws":"1.3.0","iobroker.yamaha":"0.5.3"}}
                        pi@raspberrypi:~ $ iobroker update
                        Used repository: stable
                        Adapter    "admin"        : 6.2.22   , installed 6.2.22
                        Adapter    "backitup"     : 2.4.12   , installed 2.4.10 [Updatable]
                        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                        Adapter    "email"        : 1.1.3    , installed 1.1.3
                        Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                        Adapter    "flot"         : 1.11.0   , installed 1.11.0
                        Adapter    "history"      : 2.2.0    , installed 2.2.0
                        Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                        Adapter    "info"         : 1.9.19   , installed 1.9.19
                        Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                        Controller "js-controller": 4.0.23   , installed 4.0.23
                        Adapter    "kecontact"    : 1.4.1    , installed 1.4.1
                        Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                        Adapter    "modbus"       : 5.0.5    , installed 5.0.5
                        Adapter    "musiccast"    : 0.1.5    , installed 0.1.5
                        Adapter    "netatmo"      : 2.0.5    , installed 1.7.1  [Updatable]
                        Adapter    "ping"         : 1.5.3    , installed 1.5.3
                        Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                        Adapter    "sonos"        : 2.2.3    , installed 2.2.3
                        Adapter    "sql"          : 2.1.8    , installed 2.1.8
                        Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                        Adapter    "vis"          : 1.4.15   , installed 1.4.15
                        Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0
                        Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                        Adapter    "vw-connect"   : 0.0.51   , installed 0.0.51
                        Adapter    "web"          : 4.3.0    , installed 4.3.0
                        Adapter    "whatsapp-cmb" : 0.2.2    , installed 0.2.2
                        Adapter    "ws"           : 1.3.0    , installed 1.3.0
                        Adapter    "yamaha"       : 0.5.3    , installed 0.5.3
                        

                        Korrekt

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Sneak-L8 last edited by

                          @sneak-l8

                          for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
                          
                          iobroker upgrade sql@2.1.8
                          
                          1 Reply Last reply Reply Quote 0
                          • S
                            Sneak-L8 last edited by

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

                            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

                            Hatte ich schon gemacht, ohne Ergebnis. Es werden ein paar Fehler geworfen:

                            rm: cannot remove '/opt/iobroker/node_modules/.sqlite3-8qPhwEH9/build-tmp-napi-v6/Release/obj/gen/sqlite-autoconf-3390200/tea/configure.ac': Permission denied
                            

                            aber das dürften icht relevant sein.

                            iobroker upgrade sql@2.1.8

                            ergibt leider:

                            Would you like to reinstall version 2.1.8 of sql now? [(y)es, (n)o]: y
                            Update sql from @2.1.8 to @2.1.8
                            host.raspberrypi Adapter "system.adapter.sql.0" is stopped.
                            NPM version: 8.11.0
                            Installing iobroker.sql@2.1.8... (System call)
                            host.raspberrypi Cannot install iobroker.sql@2.1.8: 217
                            

                            Die 217 kam auch bei backitup.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Sneak-L8 last edited by

                              @sneak-l8 sagte in Untersuchung: code 25 fehlerlösung:

                              aber das dürften icht relevant sein.

                              Das ist sogar SEHR relevant, das zeigt mir nämlich, dass da mal mit den falschen Rechten/Usern herumgefahren worden ist.

                              iobroker stop
                              iobroker fix
                              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
                              iobroker upgrade sql@2.1.8
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Sneak-L8 @Thomas Braun last edited by

                                @thomas-braun
                                Den fix rufe ich immer wieder auf und bin eigentlich immer nur als User "pi" unterwegs. sudo mache ich nur wo angegegen.

                                Ergebnis ist das gleiche (nachdme ich den ioBroekr wieder gestartet hatte):

                                pi@raspberrypi:/opt/iobroker/node_modules $ iobroker upgrade sql@2.1.8
                                No connection to databases possible ...
                                pi@raspberrypi:/opt/iobroker/node_modules $ iob start
                                pi@raspberrypi:/opt/iobroker/node_modules $ iobroker upgrade sql@2.1.8
                                Would you like to reinstall version 2.1.8 of sql now? [(y)es, (n)o]: y
                                Update sql from @2.1.8 to @2.1.8
                                NPM version: 8.11.0
                                Installing iobroker.sql@2.1.8... (System call)
                                host.raspberrypi Cannot install iobroker.sql@2.1.8: 217
                                

                                Beim "for..." nur die o.g. sqlite-Meldungen.

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Sneak-L8 last edited by Thomas Braun

                                  @sneak-l8

                                  Dann die Version 'Extra Stark':

                                  for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do sudo rm -rf ${i%%/}; done
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sneak-L8 @Thomas Braun last edited by

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

                                    for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do sudo rm -rf ${i%%/}; done

                                    Super, damit ist er jetzt durchgelaufen (kein Output) und der upgrade von sql war erfolgreich.
                                    Jetzt hat auch das Updates von Backitup (direkt in der GUI) funktioniert.

                                    Danke!!

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jupzup last edited by

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

                                      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/topic/56543/nach-nodejs-update-kein-adapter-mehr-updatebar/23?_=1658914381795

                                      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.

                                      Dem kann ich zustimmen bzw. hat bei mir nichts wirklich dauerhaft den Fehler behoben bis ich letztlich das komplette node_modules Verzeichnis gelöscht und neu aufbauen lies anhand der Anleitung von mickym

                                      Besten Dank dafür aber natürlich auch an alle anderen Beteiligten !!

                                      hoepps2802 0 1 Reply Last reply Reply Quote 0
                                      • hoepps2802 0
                                        hoepps2802 0 @jupzup last edited by

                                        @jupzup ist die Anleitung im Form zu finden ?
                                        habe das gleiche Problem und bekomme es durch löschen der Temp Ordner nicht hin.

                                        Gruß
                                        Matthias

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @hoepps2802 0 last edited by

                                          @hoepps2802-0 Dann poste mal genau deine Logs ... hast Du dann vllt ein anderes problem?

                                          hoepps2802 0 1 Reply Last reply Reply Quote 0
                                          • hoepps2802 0
                                            hoepps2802 0 @apollon77 last edited by

                                            @apollon77 das kann ich nachher mal machen, muss dafür aber erst wieder versuchen node red auf 4.0.0 upzudaten
                                            bis jetzt hab ich einfach nur immer den Befehl
                                            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                                            ausgeführt - alle anderen Adapter gingen dann wieder aber sobald ich Node Red versuche bricht die Installation ab und die anderen gehen auch nicht mehr zu upddaten

                                            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

                                            823
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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