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.
    • liv-in-sky
      liv-in-sky @foxriver76 last edited by

      @foxriver76

      in diesen post (Fehler 25 bei Adapter-Install/Update mit npm8) wird dazu geraten (bei problemen) einen befehl auszuführen
      https://forum.iobroker.net/post/845727

      wenn man mal nur den find befehl ausführt

      find -type d -iname ".*-*"
      

      wird das angezeigt:

      ./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
      
      
      

      in der letzten zeile wird "./puppeteer/.local-chromium" gelöscht - kann das zu problemen führen ?

      @apollon77
      @Thomas-Braun

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

        @liv-in-sky sagte in Puppeteer: Screenshots PhantomJS Alternative:

        kann das zu problemen führen ?

        Vermutlich.
        Genau aus solchen Gründen wollte ich das eigentlich auch nicht rekursiv über den Verzeichnisbaum kippen.

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

          @thomas-braun

          verstehe das dilemma - habe auch noch einen gefunden

          ./csvtojson/.ts-node
          

          vielleicht solltest du erstmal suchen lassen - evtl kann man ein exclude einbauen -

          z.b

          find -type d -iname ".*-*" ! -iname ".ts-node"
          

          gibt es einen besseren thread dafür um das zu diskutieren ? gehört hier eigentlich nicht her

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

            @liv-in-sky sagte in Puppeteer: Screenshots PhantomJS Alternative:

            vielleicht solltest du erstmal suchen lassen

            Naja, auf meinem eigenen System habe ich diese Ordner nicht. Ist also schwierig 'false positives' zu finden.

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

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

              arteck 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            834
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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