Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussionsthread Probleme mit externer Bibliothek

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Diskussionsthread Probleme mit externer Bibliothek

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by apollon77

      Wie in der Ankündigung https://forum.iobroker.net/topic/51250/mögliche-probleme-durch-defekte-bibliothek beschrieben wurde eine auch von ioBroker verwendete externe Bibliothek zerstört.

      Fragen und Diskussionen dazu bitte hier.

      Test um rauszufinden ob man betroffen ist

      An der Kommandozeile ins ioBroker Verzeichnis wechseln (cd /opt/iobroker). Dort dann npm ls colors ausführen.

      Wenn man hier eine "colors" version größer als 1.4.0 angezeigt bekommt ist man pot betroffen. Wenn alles 1.4.0 oder kleiner ist dann ist alles ok.

      Anleitung zum Selbst-Fixen

      Falls ein colors in Version 1.4.1, 1.4.2 oder höher gelistet wird dann seht Ihr im dargestellten Baum vom "npl ls" Kommando welches Paket es mitgebracht hat. Aktuell sind der js-controller und der javascript Adapter bekannt.

      Eine Neuinstallation dieser betroffenene Pakete hilft:

      • iobroker beenden
      • cd /opt/iobroker
      • npm i iobroker.js-controller@version ("version" mit der Version Eures controllers ersetzen!)
      • npm i iobroker.javascript@version (nur falls "javascript bei euch betroffen ist, auch hier Version ersetzen)

      Danach mit npm ls nochmal verifizieren das alles ok ist.

      sigi234 1 Reply Last reply Reply Quote 2
      • sigi234
        sigi234 Forum Testing Most Active @Homoran last edited by

        @homoran sagte in Diskussionsthread Probleme mit externer Bibliothek:

        npm ls colors

        Ok so?

        C:\Program Files\iobroker\Home>npm ls colors
        iobroker.inst@2.0.3 C:\Program Files\iobroker\Home
        +-- colors@1.4.0
        +-- iobroker@2.0.3
        | `-- colors@1.4.0  deduped
        +-- iobroker.javascript@5.2.18
        | `-- virtual-tsc@0.6.1
        |   `-- colors@1.4.0  deduped
        +-- iobroker.js-controller@3.3.22
        | +-- prompt@1.2.0
        | | +-- colors@1.4.0  deduped
        | | `-- winston@2.4.5
        | |   `-- colors@1.0.3
        | `-- winston@3.3.3
        |   `-- logform@2.3.0
        |     `-- colors@1.4.0  deduped
        +-- iobroker.telegram@1.10.0
        | `-- socksv5@0.0.6
        |   `-- ipv6@3.1.1
        |     `-- cliff@0.1.10
        |       +-- colors@1.0.3
        |       `-- winston@0.8.3
        |         `-- colors@0.6.2
        `-- iobroker.vis-icontwo@0.85.0
          `-- npm@8.3.0
            `-- cli-table3@0.6.0
              `-- colors@1.4.0
        
        apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
        • apollon77
          apollon77 @sigi234 last edited by

          @sigi234 Mit der Ausgabe ist alles ok ... alles 1.4.0 oder kleiner ... Ich denke auch DU hast am System seit gestern 20 Uhr nix mehr geändert update technisch 🙂

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

            @sigi234 sagte in Diskussionsthread Probleme mit externer Bibliothek:

            -- iobroker.vis-icontwo@0.85.0                                                                                                                                                                              
              `-- npm@8.3.0
            

            Schaut für mich aber komisch aus. Warum sollte npm nochmal unter vis-icontwo hängen?
            Aber mit dem akuten Problem hat das nix zu tun, war mir nur gerade auf gefallen.

            sigi234 apollon77 2 Replies Last reply Reply Quote 0
            • Nashra
              Nashra Most Active Forum Testing last edited by

              @homoran sagte in Diskussionsthread Probleme mit externer Bibliothek:

              npm ls colors

              iobroker.inst@3.0.0 /opt/iobroker
              +-- iobroker.javascript@5.2.18
              | `-- virtual-tsc@0.6.1
              |   `-- colors@1.4.0 
              +-- iobroker.js-controller@3.3.22
              | +-- prompt@1.2.0
              | | +-- colors@1.4.0  deduped
              | | `-- winston@2.4.5
              | |   `-- colors@1.0.3 
              | `-- winston@3.3.3
              |   `-- logform@2.3.0
              |     `-- colors@1.4.0  deduped
              +-- iobroker.telegram@1.10.0
              | `-- socksv5@0.0.6
              |   `-- ipv6@3.1.1
              |     `-- cliff@0.1.10
              |       +-- colors@1.0.3 
              |       `-- winston@0.8.3
              |         `-- colors@0.6.2 
              `-- iobroker.vis-icontwo@0.85.0
                `-- npm@8.3.0
                  `-- cli-table3@0.6.0
                    `-- colors@1.4.0 
              
              jack@ioBroker:/opt/iobroker$
              

              Soweit OK, danke für den Hinweis

              1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Thomas Braun last edited by

                @thomas-braun sagte in Diskussionsthread Probleme mit externer Bibliothek:

                Schaut für mich aber komisch aus. Warum sollte npm nochmal unter vis-icontwo hängen?

                Hat @Nashra auch?

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

                  @thomas-braun sagte in Diskussionsthread Probleme mit externer Bibliothek:

                  iobroker.vis-icontwo

                  Offtopic, aber: Weils der Adapter-Dev so gemacht hat ... issue anlegen! Das macht in meiner welt keinen sinn https://github.com/Apollon77/ioBroker.vis-icontwo/blob/master/package.json

                  crunchip 1 Reply Last reply Reply Quote 1
                  • F
                    Fefi last edited by

                    iobroker.inst@3.0.0 /opt/iobroker
                    ├─┬ iobroker.javascript@5.2.13
                    │ └─┬ virtual-tsc@0.6.1
                    │   └── colors@1.4.1
                    └─┬ iobroker.js-controller@3.3.22
                      ├─┬ prompt@1.2.0
                      │ ├── colors@1.4.1  deduped
                      │ └─┬ winston@2.4.5
                      │   └── colors@1.0.3
                      └─┬ winston@3.3.3
                        └─┬ logform@2.3.0
                          └── colors@1.4.1  deduped
                    

                    Ich bin wohl betroffen, hab gestern gegen 17 Uhr iobroker installiert.
                    Muss ich was beachten oder gibt's da Sicherheittechnische Bedenken?

                    apollon77 2 Replies Last reply Reply Quote 0
                    • apollon77
                      apollon77 @Fefi last edited by apollon77

                      @fefi Ja du bist betroffen. Wenn Du erstmal nicgts merkst ist alles ok ... Es ist auch nichts "sicherheitstechnisches", sondern "nur" eine Endlosschleife ... also wenn was nicht geht merkst Du es direkt. Wir posten hier wnen wir ne "Fix" lösung haben - wird das updaten nocn Dingen sein.

                      Du solltest bis dahin ggf kein "iob multihost enable" machen via CLI und die anderen befehle die oben genannt sind

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

                        Ich habe leider nur ein Bild tut mir leid. Habe gestern den JS Controller von 3.3.21 (glaube ich) auf JS 3.3.22 aktualisiert.
                        Ich glaube ich bin verschon geblieben 🙂

                        8f2f14e2-ca18-4aaa-bd6a-2888314ad0c2-grafik.png

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

                          @fefi Hi, magst du mal mit mir versuchen zu fixen? :-)) (Und ja bist versuchkanienchen, also mach ein iob backup vorher, wobei ich denke das das Risiko nicht sooo gross ist.

                          • Beende mal iobroker
                          • cd /opt/iobroker
                          • npm i iobroker@js-controller@3.3.22
                          • npm i iobroker.javascript@5.2.13

                          Die Befehle installieren einfach die Pakete nochmal neu die du schon hast ... wenn meine Annahmen richtig sind sollte sich dadurch das Problem beheben.

                          Und dann mal ein neues npm ls colors

                          F 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Basti97 last edited by

                            @basti97 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                            Ich glaube ich bin verschon geblieben

                            ja! Die beschädigte Version ist größer/höher als 1.4.0, die du hast

                            Basti97 1 Reply Last reply Reply Quote 0
                            • Basti97
                              Basti97 Most Active @Homoran last edited by

                              @homoran super nochmal Glück gehabt. Wollte heute mein letzten Slave aktualisieren. Aber nun lasse ich es erst mal.

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

                                @apollon77

                                iobroker@iobroker:/opt/iobroker $ npm i iobroker@js-controller@3.3.22
                                npm ERR! code EINVALIDTAGNAME
                                npm ERR! Invalid tag name "js-controller@3.3.22": Tags may not have any characters that encodeURIComponent encodes.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-01-10T12_40_27_199Z-debug.log
                                

                                Liegt das Problem bei mir?

                                Glasfaser apollon77 2 Replies Last reply Reply Quote 1
                                • Glasfaser
                                  Glasfaser @Fefi last edited by

                                  @fefi sagte in Diskussionsthread Probleme mit externer Bibliothek:

                                  Liegt das Problem bei mir?

                                  Nein , Handy Tippfehler . gegen @

                                  npm i iobroker.js-controller@3.3.22
                                  
                                  1 Reply Last reply Reply Quote 1
                                  • F
                                    Fefi last edited by

                                    iobroker@iobroker:/opt/iobroker $ npm ls colors                  iobroker.inst@3.0.0 /opt/iobroker
                                    └─┬ iobroker.js-controller@3.3.22
                                      ├─┬ prompt@1.2.1
                                      │ ├── colors@1.4.0
                                      │ └─┬ winston@2.4.5
                                      │   └── colors@1.0.3
                                      └─┬ winston@3.3.4
                                        └─┬ logform@2.3.2
                                          └── colors@1.4.0
                                    

                                    Ich würde sagen Es geht.

                                    apollon77 1 Reply Last reply Reply Quote 1
                                    • apollon77
                                      apollon77 @Fefi last edited by

                                      @fefi Coool, dann bist du "errettet" :-)) ich füge es oben hinzu

                                      1 Reply Last reply Reply Quote 2
                                      • apollon77
                                        apollon77 @Fefi last edited by

                                        @fefi Fixed oben. Danke!

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @apollon77 last edited by

                                          @apollon77 sagte in Diskussionsthread Probleme mit externer Bibliothek:

                                          Offtopic, aber:

                                          hier dann auch? https://github.com/nisiode/ioBroker.iogo/blob/master/package.json

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • S
                                            Siggi0904 last edited by

                                            Ich habe die Version 1.3.3 von colors.

                                            Ich hatte es auf Golem gelesen, dass durch den Entwickler die Pakete Faker und Colors zerstört wurden. Scheinbar wollte er nur auf ein Problem hinweisen.
                                            Link: https://www.golem.de/news/open-source-entwickler-sabotiert-eigene-vielfach-genutzte-npm-pakete-2201-162299.html

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

                                            876
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            12
                                            43
                                            2451
                                            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