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.
    • Thomas Braun
      Thomas Braun Most Active @liv-in-sky last edited by

      @liv-in-sky

      Versuch mal so:

      for i in $(find -type d -iname "node_modules/.*-*"); do echo ${i%%/}; done
      
      apollon77 liv-in-sky 2 Replies Last reply Reply Quote 1
      • apollon77
        apollon77 @Thomas Braun last edited by

        @thomas-braun bin gespannt ... wenn das tut müssen wir den neuen Post updaten

        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @apollon77 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 1
          • Negalein
            Negalein Global Moderator last edited by

            @liv-in-sky

            habs euch hier zusammengefügt! 🙂

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Negalein last edited by

              @negalein

              danke - war gerade voll verwirrt 🙂

              1 Reply Last reply Reply Quote 1
              • liv-in-sky
                liv-in-sky @Thomas Braun last edited by

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

                @liv-in-sky

                Versuch mal so:

                for i in $(find -type d -iname "node_modules/.*-*"); do echo ${i%%/}; done
                

                kommt dann:

                for i in $(find -type d -iname "node_modules/.*-*"); do echo ${i%%/}; done
                find: warning: ‘-iname’ matches against basenames only, but the given pattern contains a directory separator (‘/’), thus the expression will evaluate to false all the time.  Did you mean ‘-iwholename’?
                
                
                1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active @apollon77 last edited by

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

                  naja am Ende dürfen die zu löschenden nur direkt in einem node_modules liegen ... keine ebene tiefer. Vllt damit was zu bauen?

                  ne es kann auch sein die abhängikeit von der abhängikeit auch zu löschen ist...
                  hatte es auch schon ..

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @arteck last edited by

                    @arteck ja ich auch

                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky last edited by

                      @Thomas-Braun

                      das geht:

                      for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done
                      

                      muss im node_modul ordner so aufgerufen werden

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @liv-in-sky last edited by

                        @liv-in-sky

                        Und wo ist jetzt der Unterschied? Das ist doch genau der ursprüngliche Befehl von mir.

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky last edited by

                          hier noch mal der ganze output - wie gesagt 2te zeile und zeile 35 müßten gefiltert werden - erkennt man sehr gut

                          for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done
                          ./csvtojson/.ts-node
                          ./.bson-a4WfR2fa
                          ./.node-red-Kvc6EPdV
                          ./meross-cloud/node_modules/.ms-EMl4tJPM
                          ./meross-cloud/node_modules/.safe-buffer-lBhM5oG0
                          ./meross-cloud/node_modules/.mqtt-8zgQhKQg
                          ./meross-cloud/node_modules/.string_decoder-FpFLDLtN
                          ./meross-cloud/node_modules/.readable-stream-TlXxHOtL
                          ./meross-cloud/node_modules/.ws-txwUVoby
                          ./meross-cloud/node_modules/.debug-CaRvIbnq
                          ./.node-red-node-email-1lk8B7Gi
                          ./iobroker.mqtt/node_modules/.safe-buffer-1L9ittQY
                          ./iobroker.mqtt/node_modules/.debug-Fk5FqXGC
                          ./iobroker.mqtt/node_modules/.readable-stream-nz1Xpi3N
                          ./iobroker.mqtt/node_modules/.ms-0d57qAAX
                          ./iobroker.mqtt/node_modules/.mqtt-n2S36XkG
                          ./iobroker.mqtt/node_modules/.string_decoder-lIpqv6es
                          ./.iobroker.node-red-lv0iVi6J
                          ./.mongodb-connection-string-url-iEu3f9Lf
                          ./.mongodb-9LMcV19S
                          ./@babel/.runtime-cSN2FFol
                          ./.uglify-js-UrZ3Klfa
                          ./.socks-Ly3eN6mV
                          ./.got-DFICjTYm
                          ./.node-red-node-feedparser-BvY866YR
                          ./.i18next-VFNyugyK
                          ./@node-red/.runtime-1jQRdxlO
                          ./@node-red/.editor-api-Xk7v1FU7
                          ./@node-red/.nodes-oC2yqxJN
                          ./@node-red/.registry-ccnbcuRd
                          ./@node-red/.editor-client-FpqhSpDH
                          ./@node-red/.util-sbKUIGKV
                          ./.mqtt-uuzoX3iL
                          ./puppeteer/.local-chromium
                          ./.node-red-admin-97cICUzY
                          ./.hpagent-PUXuWBzq
                          
                          

                          lösung wäre dann:

                          for i in $(find -type d -iname ".*-*" ! -iname ".ts-node" ! -iname ".local-chromium"); do echo ${i%%/}; done
                          
                          

                          nur mit dem rm statt dem echo

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Thomas Braun last edited by liv-in-sky

                            @thomas-braun

                            der pfad !!

                            "node_modules" im befehl

                            for i in $(find -type d -iname "node_modules/.*-*"); do echo ${i%%/}; done
                            for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done 
                            
                            
                            1 Reply Last reply Reply Quote 1
                            • Thomas Braun
                              Thomas Braun Most Active @liv-in-sky last edited by

                              @liv-in-sky

                              Bitte vollständige Ein- und Ausgabezeilen. Bei dem Befehl ist es wichtig zu sehen wo du im Pfad stehst.

                              liv-in-sky 2 Replies Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Thomas Braun last edited by

                                @thomas-braun

                                 /opt/iobroker/node_modules
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @liv-in-sky last edited by

                                  @liv-in-sky

                                  VOLLSTÄNDIGE EIN- UND AUSGABEZEILE.
                                  Nicht nacherzählen, ZEIGEN.

                                  1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Thomas Braun last edited by

                                    @thomas-braun

                                    befehl einfach so machen ??

                                    cd /opt/iobroker/node_modules && for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @liv-in-sky last edited by Thomas Braun

                                      @liv-in-sky

                                      Einfach das vollständige LogIn prompt mitkopieren. Das reicht schon.

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Thomas Braun last edited by

                                        @thomas-braun

                                        e@iobroker59:/opt/iobroker/node_modules$ for i in $(find -type d -iname "node_modules/.*-*"); do echo ${i%%/}; done
                                        find: warning: ‘-iname’ matches against basenames only, but the given pattern contains a directory separator (‘/’), thus the expression will evaluate to false all the time.  Did you mean ‘-iwholename’?
                                        e@iobroker59:/opt/iobroker/node_modules$
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky last edited by

                                          siehe puppeteer fehler - was ein zufall 🙂

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

                                          1 Reply Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky last edited by

                                            @apollon77

                                            sind schon 2 user mit dem puppeteer problem daher würde ich eine änderung deiner beschreibung - zumindest vorübergehend dahin ändern

                                            zuerst ausführen:

                                            cd /opt/iobroker/node_modules && for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done 
                                            

                                            dann ausgabedurchsehen, ob das gefundene diese "wirren" namen am ende hat hat z.b.: "./.node-red-admin-97cICUzY"

                                            dann den befehl mit rm ändern mit den ausnahmen (bei mir: ! -iname ".ts-node" ! -iname ".local-chromium" )

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

                                            weiß nicht, ob dir das gefällt - umständlich - aber sicherer um spätere fehlersuche zu vermeiden - wird wahrsheinlich eh nicht bei allzu vielen usern sein - puppeteer user und evtl noch user mit zusätzlichen npm modulen

                                            oder ihr habt bessere idee

                                            Thomas Braun J 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

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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