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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 4.0 jetzt im BETA/LATEST!

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                      • da_Woody
                                        da_Woody @apollon77 last edited by

                                        @apollon77 hatte gestern das popup, aber gleich 2x übereinander...

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • S
                                          saeft_2003 Most Active last edited by saeft_2003

                                          Ich hatte heute Nacht um 2:30 Uhr beim backup fahren mit backitup ein wenig chaos, ziemlich viele Adapter wurden neugestartet. Ich habe noch die 4.0.14 und alle Adapter haben die letzte stable.

                                          Mit dem js-controller 3.x.x hatte ich mit backitup nie Probleme, kann das mit dem 4.0.14 zusammenhängen?

                                          host.iobroker
                                          	2022-02-21 08:00:35.355	warn	"system.host.raspberrypi" is offline
                                          host.iobroker
                                          	2022-02-21 04:49:24.719	warn	"system.host.raspberrypi" is offline
                                          backitup.0
                                          	2022-02-21 02:34:33.558	error	umount: /opt/iobroker/backups: not mounted.
                                          linux-control.0
                                          	2022-02-21 02:33:11.479	warn	This object will not be created in future versions. Please report this to the developer.
                                          linux-control.0
                                          	2022-02-21 02:33:11.479	warn	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                                          linux-control.0
                                          	2022-02-21 02:33:11.437	warn	This object will not be created in future versions. Please report this to the developer.
                                          linux-control.0
                                          	2022-02-21 02:33:11.435	warn	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                                          backitup.0
                                          	2022-02-21 02:32:33.572	error	Error: Command failed: sudo mount -t cifs -o username=patrick,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.106/homes/Patrick/Drive/Backitup_iobroker /opt/iobroker/backupsmount error(16): Device or resource busyRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                          synology.0
                                          	2022-02-21 02:32:07.665	warn	This object will not be created in future versions. Please report this to the developer.
                                          synology.0
                                          	2022-02-21 02:32:07.664	warn	Object synology.0.SurveillanceStation.getSnapshotCamera is invalid: Default value has to be type "string" but received type "number"
                                          host.iobroker
                                          	2022-02-21 02:30:42.032	warn	instance system.adapter.backitup.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.032	warn	instance system.adapter.telegram.2 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.032	warn	instance system.adapter.telegram.1 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.032	warn	instance system.adapter.telegram.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.032	warn	instance system.adapter.telegram.3 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.031	warn	instance system.adapter.text2command.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.031	warn	instance system.adapter.mqtt.1 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.031	warn	instance system.adapter.zigbee.2 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:42.030	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.030	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.029	warn	Cannot get view: Connection is closed.
                                          host.iobroker
                                          	2022-02-21 02:30:42.024	warn	instance system.adapter.zigbee.1 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.994	warn	instance system.adapter.zigbee.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.961	warn	instance system.adapter.sonoff.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.932	warn	instance system.adapter.ping.2 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.853	warn	instance system.adapter.ping.1 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.816	warn	instance system.adapter.ping.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.777	warn	instance system.adapter.mqtt.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.747	warn	instance system.adapter.hm-rega.0 terminated due to SIGTERM
                                          host.iobroker
                                          	2022-02-21 02:30:41.713	warn	instance system.adapter.javascript.0 terminated due to SIGTERM
                                          backitup.0
                                          	2022-02-21 02:30:37.928	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.927	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.927	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.927	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.926	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.926	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.925	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.925	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.920	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.907	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.906	warn	get state error: Connection is closed.
                                          backitup.0
                                          	2022-02-21 02:30:37.906	warn	get state error: Connection is closed.
                                          shelly.0
                                          	2022-02-21 02:30:37.213	error	Error in function httpIoBrokerState for state SHRGBW2#A7E1AB#1.name and request{"url":"http://192.168.178.136/settings","timeout":5000,"headers":{"Authorization":"Basic cGF0cmljazptc3BrcDM5OQ=="}} for 192.168.178.136 (shellyrgbw2 / shellyrgbw2-A7E1AB / SHRGBW2#A7E1AB#1) (Error: Connection is closed.)
                                          backitup.0
                                          	2022-02-21 02:30:37.188	warn	get state error: DB closed
                                          backitup.0
                                          	2022-02-21 02:30:37.188	warn	get state error: DB closed
                                          backitup.0
                                          	2022-02-21 02:30:37.188	warn	get state error: DB closed
                                          backitup.0
                                          	2022-02-21 02:30:37.181	warn	get state error: Connection is closed.
                                          mihome-vacuum.0
                                          	2022-02-21 02:30:35.994	error	Socket Close
                                          influxdb.0
                                          	2022-02-21 02:30:30.033	error	Error: connect ECONNREFUSED 192.168.178.97:8086
                                          influxdb.0
                                          	2022-02-21 02:30:20.005	error	Error: connect ECONNREFUSED 192.168.178.97:8086
                                          
                                          apollon77 M 2 Replies Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @da_Woody last edited by

                                            @da_woody Na ok, doppelt hält besser ;-))

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            463
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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