Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0 jetzt im BETA/LATEST!

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 4.0 jetzt im BETA/LATEST!

    This topic has been deleted. Only users with topic management privileges can see it.
    • JB_Sullivan
      JB_Sullivan last edited by JB_Sullivan

      Muss man sich eigentlich in irgend einer Form um diese Meldung kümmern, z.B. durch den npm audit fix? Schließlich wird ja da auch auf 6 kritische Schwachstellen hingewiesen.

      found 169 vulnerabilities (18 low, 74 moderate, 71 high, 6 critical)
        run `npm audit fix` to fix them, or `npm audit` for details
      

      EDIT: 4.0.15 ist einwandfrei installiert worden.

      Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @JB_Sullivan last edited by

        @jb_sullivan Würde ich die Finger von lassen.
        Du kannst aber per

        npm audit
        

        schauen aus welchen Adaptern das stammt und dort dann ein Issue aufmachen, das die Dependencies hochgezogen werden.

        1 Reply Last reply Reply Quote 1
        • Marc Berg
          Marc Berg Most Active @AlCalzone last edited by Marc Berg

          gelöscht

          1 Reply Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active @AlCalzone last edited by

            @alcalzone sagte in js-controller 4.0 jetzt im BETA/LATEST!:

            @marc-berg Rätsel gelöst:
            Deine objects.json enthält 24550 Zeilen, unsere untere Grenze für automatisches Komprimieren liegt bei 25000.
            Nach weiteren 450 Änderungen an Objekten wird dann auch komprimiert, vermutlich wurden diese bei deiner Fake-Umstellung zufälligerweise erreicht.

            Falls du daran schrauben willst, wäre die Option sizeFactorMinimumSize die richtige - der Standardwert ist so gewählt, dass Installationen mit vielen Objekt-Änderungen nicht dauernd komprimieren, aber gleichzeitig die Datei nicht übertrieben groß wird.

            Ah ja, das ergibt dann natürlich Sinn. Ich ging davon aus, dass die Einheit für diesen Faktor kByte ist, von Zeilen steht da nix. (aber von kByte auch nicht... 🙂 )

            81923900-f112-4395-a3e3-8552faa23836-grafik.png

            Das probiere ich gleich mal aus, aber im Grunde reicht mir das Wissen, dass die Datei bei etwa 200MB nicht weiter wächst.

            Danke!

            Marc

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

              @jb_sullivan also wenn ihr wie es oben steht „iob fix“ ausführt dann sollte an sich die audit Meldung nie mehr kommen … nichts machen. Ignorieren

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @Marc Berg last edited by

                @marc-berg sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                Ich ging davon aus, dass die Einheit für diesen Faktor kByte ist, von Zeilen steht da nix

                Die Größe der jsonl-DB wird in Einträgen gezählt, wobei jeder als einzelne Zeile geschrieben wird. size ist die tatsächliche Anzahl der Einträge, uncompressed size ist ist die Anzahl der Einträge, die sich gerade in der Datei befinden.

                Marc Berg 1 Reply Last reply Reply Quote 1
                • Marc Berg
                  Marc Berg Most Active @AlCalzone last edited by Marc Berg

                  @alcalzone sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                  Die Größe der jsonl-DB wird in Einträgen gezählt, wobei jeder als einzelne Zeile geschrieben wird. size ist die tatsächliche Anzahl der Einträge, uncompressed size ist ist die Anzahl der Einträge, die sich gerade in der Datei befinden.

                  Beim Herumspielen in den Host Base Settings habe ich noch ein paar kleine Fehlerchen entdeckt:

                  • Ändert man etwas an den Parametern "Size factor", "minimum size" etc., wird der Button "Save & Close" nicht aktiv. Man muss erst eine andere Option hin- und her ändern (z.B. "ignore read errors"), damit man speichern kann.

                  00f35de6-27a7-4437-8ef1-d205805deaa6-grafik.png

                  • Man darf den "Auto-compress size factor" auf 1 ändern. Abgesehen davon, dass eine "1" hier keinen Sinn ergibt, startet danach ioBroker nicht mehr, bis man den Wert in der "iobroker.json" wieder auf >1 ändert.

                  396ff19a-a109-40d0-883a-2379e8c60e89-grafik.png

                  • Ändert man in der "Log"-Sektion den Parameter "Maximal size of one file", so wird dieser nach Speichern und erneut Öffnen nicht mehr angezeigt, wahrscheinlich, weil in der "iobroker.json" dann der Wert als String inkl. "MB" abgespeichert wird. Fraglich, ob die Änderung dann überhaupt zieht.

                  6fd309ac-ef01-4a34-a8fa-399c0bbdd7e2-grafik.png
                  d24fdaef-9db9-4d46-8510-04ba4235bcd0-grafik.png

                  AlCalzone 1 Reply Last reply Reply Quote 1
                  • AlCalzone
                    AlCalzone Developer @Marc Berg last edited by

                    @marc-berg Machst du bitte in Issue in https://github.com/ioBroker/ioBroker.admin auf, damit Bluefox das auch sieht?

                    Hier zur Vollständigkeit alle Checks der DB:

                    autoCompress
                    sizeFactor must be > 1
                    sizeFactorMinimumSize must be >= 0
                    intervalMs must be >= 10
                    intervalMinChanges must be >= 1

                    throttleFS
                    intervalMs must be >= 0
                    maxBufferedCommands must be >= 0

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      Marty56 @AlCalzone last edited by

                      Ich habe das Update auf 4.0.15 gemacht. iobroker startet ok.
                      Installationlog

                      Update js-controller from @4.0.14 to @4.0.15
                      [downloadPacket] stoppedList cannot be used if stopping of databases is requested
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 6.14.16
                      Installing iobroker.js-controller@4.0.15... (System call)
                      
                      > iobroker.js-controller@4.0.15 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                      > node lib/preinstallCheck.js
                      
                      NPM version: 6.14.16
                      
                      > iobroker.js-controller@4.0.15 install /opt/iobroker/node_modules/iobroker.js-controller
                      > node iobroker.js setup first
                      
                      Successfully migrated 7930 objects to Redis Sets
                      object _design/system updated
                      
                      The following notifications happened during sync: 
                      - Ignoring Directory "cloud.admin" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "firetv.admin" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "proxmox" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "proxmox.admin" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "sayit.0" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "sayit.admin" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory!
                      
                      {
                        "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----hier habe ich gekürzt---\r\n-----END RSA PRIVATE KEY-----\r\n",
                        "defaultPublic": "-----BEGIN CERTIFICATE-----\r\nMIIDfjC hier habe ich gekürzt w==\r\n-----END CERTIFICATE-----\r\n"
                      }
                      Update certificate defaultPrivate
                      The object "system.certificates" was updated successfully.
                      Update certificate defaultPublic
                      The object "system.certificates" was updated successfully.
                      + iobroker.js-controller@4.0.15
                      removed 6 packages and updated 13 packages in 118.671s
                      
                      143 packages are looking for funding
                        run `npm fund` for details
                      
                      

                      Was mich wundert ist, dass er redis migrieren will. Benutze ich doch gar nicht.
                      Außerdem verstehe ich die Zertifikate nicht. Das hat der beim letzten Update nicht gemacht.

                      Soll ich die Directories, die als nicht created markiert wurden, manuell löschen?

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

                        @marty56 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                        Was mich wundert ist, dass er redis migrieren will. Benutze ich doch gar nicht.

                        DU verstehst die Meldung falsch. Alles ok, ignorieren

                        Außerdem verstehe ich die Zertifikate nicht. Das hat der beim letzten Update nicht gemacht.

                        Sollte er auch haben. Bei einem controller Update werden die self-signed Certs aktualisiert.

                        Soll ich die Directories, die als nicht created markiert wurden, manuell löschen?

                        Siehe FAQ Post ... am Ende wenn die Adapter nicht mehr da sind, dann ja löschen. SOnst sollte es ein iob upload all beseitigen

                        1 Reply Last reply Reply Quote 1
                        • da_Woody
                          da_Woody last edited by

                          @apollon77 sauber durchgelaufen!

                          1 Reply Last reply Reply Quote 1
                          • Feuersturm
                            Feuersturm last edited by

                            @apollon77 auch hier keine Probleme mit der neuen Version

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

                              @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                              @sborg ich kapiers net … :-((

                              Ich sowieso nicht ^^
                              ... und die 15 lief eben kpl. ohne "Objects database error: connect ECONNREFUSED 127.0.0.1:9001" völlig problemlos durch 🙂

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

                                @sborg Was auch sehr interessant ist

                                1 Reply Last reply Reply Quote 0
                                • O
                                  oFbEQnpoLKKl6mbY5e13 last edited by oFbEQnpoLKKl6mbY5e13

                                  @apollon77

                                  Sieht gut aus, inkl. vorhergesagter und zu ignorierender Meldung:

                                  # iobroker upgrade self
                                  Update js-controller from @4.0.12 to @4.0.15
                                  [downloadPacket] stoppedList cannot be used if stopping of databases is requested
                                  Stopped Objects DB
                                  Stopped States DB
                                  NPM version: 6.14.16
                                  Installing iobroker.js-controller@4.0.15... (System call)
                                  
                                  > iobroker.js-controller@4.0.15 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.16
                                  
                                  > iobroker.js-controller@4.0.15 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                  Successfully migrated 23201 objects to Redis Sets
                                  object _design/system updated
                                  .
                                  .
                                  .
                                  Update certificate defaultPrivate
                                  The object "system.certificates" was updated successfully.
                                  Update certificate defaultPublic
                                  The object "system.certificates" was updated successfully.
                                  + iobroker.js-controller@4.0.15
                                  added 8 packages from 1 contributor and updated 13 packages in 101.755s
                                  
                                  161 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  # 
                                  
                                  1 Reply Last reply Reply Quote 1
                                  • Feuersturm
                                    Feuersturm @apollon77 last edited by

                                    @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                    Voraussichtlich heute Abend geht auch noch eine Admin Notification an alle raus die Beta haben und noch nicht den neuesten js-controller

                                    Meinst du unter "Info" diese Meldung?
                                    f9ac8746-f187-4af0-9c0c-1c1a4e4e7332-grafik.png

                                    Oder wo hätte was kommen sollen? Beta repository ist bei der Installation aktiv und aktuell ist dort js-controller 4.0.10 installiert

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

                                      @feuersturm ja an sich hätte was kommen sollen direkt als popup ... warte noch auf Info vpn Bluefoox - wenn ich pech habe geht das repo spezifische nicht mehr 😞

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

                                        @apollon77 Ein Popup kam bisher bei mir nicht an.

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

                                          @apollon77

                                          4.0.15 läuft. Keine Fehler oder Auffälligkeiten.

                                          Gruß Marco

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

                                            @feuersturm Hab ich befürchtet

                                            da_Woody 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

                                            625
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            747
                                            158165
                                            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