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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    js-controller 4.0 jetzt im BETA/LATEST!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @apollon77 last edited by Thomas Braun

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

      (na, mag nochmal jemand Node.js upgraden oder so? ;-)) )

      Kein Problem. Node-Versionswechsel ist ja schnell gemacht.

      Wobei die letzten Wechsel der nodejs-Installation bei den von mir eingesetzten Adaptern schon sauber weggebügelt wurden. Da erwarte ich also keine Verbesserung.

      apollon77 1 Reply Last reply Reply Quote 1
      • Jabba_the_Hutt
        Jabba_the_Hutt last edited by

        @apollon77

        Welche node.js darfs denn sein? 😉

        apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
        • apollon77
          apollon77 @Jabba_the_Hutt last edited by

          @jabba_the_hutt Mir egal 🙂

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

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

            Dein backitup upgrade Problem sollte damit gelöst sein und die Module-spezifischen Rebuilds bei Node-JS updates sollten auch besser tun (na, mag nochmal jemand Node.js upgraden oder so? ;-)) )

            bin gespannt, ich werde testen und vllt auch mal auf v16 hochgehen😉

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

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

              Welche node.js darfs denn sein?

              Eins mit 'ner anderen ABI als dein jetziges. 😀

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

                @thomas-braun

                😄 v16 wollte ich eh schon lange ggg

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

                  @thomas-braun Am Ende eins was "bluetooth" kram drin hat (ble adapter) und/oder canvas ... die sind zickig und ja die werden nicht automatisch rebuild gehen (weil da fixes bei den libs fehlen) aber ich würde am Log sehen das unsere versuche alle richtig laufen 🙂

                  Jabba_the_Hutt Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Jabba_the_Hutt
                    Jabba_the_Hutt @apollon77 last edited by

                    @apollon77

                    ble adapter kann ich dann austesten ... log stell ich dann online.

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

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

                      weil da fixes bei den libs fehlen

                      Den für canvas hab ich aber drin. Du erinnerst dich?
                      Den ble installier ich gerade mal flugs.

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

                        @thomas-braun ja da bist du die Ausnahme. Der sollte dann direkt beim „ grossen“ rebuild mit gehen.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @apollon77 last edited by

                          @apollon77 Hier ist js-controller 4.0.10 absolut unauffaellig auf multihost:
                          lxc debian 10, node 14, npm 6
                          und 3x auf lxc debian 11, node 16, npm 8,
                          auf armv6 (raspi-zero) debian 10, node 14, npm 6,
                          auf armv7 debian 11, node 14, npm 6.

                          Es sind insgesamt 61 Adapter auf 6 Hosts aufgeteilt im Einsatz.
                          Datenbank redis/redis ( die schaufelt sich bei mir tot, aber das ist ein anderes topic..hab mal ausgemistet, nur noch ca. 60000 States..)

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

                            hab auch gerade gesehen, das die CPU erhöht ist
                            was hatte ich gestern Mittag gemacht

                            • testweise backitup eine Version zurück und wieder hoch
                              danach
                            • die gestrigen anstehenden Adapter update's (welche es alle waren, kann ich nicht mehr genau sagen)
                              Log ist unauffällig
                              js-controller noch 4.0.9

                            werde ioBroker mal neu starten und beobachten wie es sich dann verhält
                            5074dd62-0d92-415e-8ede-b930ff91156a-image.png 63f42558-501a-4caa-8e39-c0aae7f53ba6-image.png

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

                              @crunchip Jarvis mit 50% CPU? Krass ... ist das "stabil" so? Dann würde ich da mal anfangen weil es der höchste ausreisser ist - vor allem falls es da gestern ein Update gab?

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

                                @apollon77

                                nodejs von 16 auf 17 gehoben, rebuilds sehen so aus:

                                parcels:

                                2022-02-16 09:03:06.052  - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully
                                2022-02-16 09:03:06.088  - info: host.chet iobroker npm-rebuild:
                                2022-02-16 09:03:06.089  - info: host.chet iobroker npm-rebuild: Rebuilding native modules done
                                2022-02-16 09:03:07.102  - info: host.chet iobroker npm-rebuild: exit 0
                                2022-02-16 09:03:07.268  - info: host.chet instance system.adapter.parcel.0 started with pid 122219
                                2022-02-16 09:03:10.567  - info: parcel.0 (122219) starting. Version 0.0.2 (non-npm: TA2k/ioBroker.parcel#ad3587a3ea6d5d80cfe97e27ceff87767057a4a7) in /opt/iobroker/node_modules/iobroker.parcel, node: v17.5.0, js-controller: 4.0.10
                                

                                zigbee:
                                Musste gar nicht neugebaut werden, ist direkt gestartet:

                                2022-02-16 09:05:55.867  - info: host.chet "system.adapter.zigbee.0" enabled
                                2022-02-16 09:05:56.083  - info: host.chet instance system.adapter.zigbee.0 started with pid 122335
                                2022-02-16 09:05:59.651  - info: zigbee.0 (122335) starting. Version 1.6.15 in /opt/iobroker/node_modules/iobroker.zigbee, node: v17.5.0, js-controller: 4.0.10
                                2022-02-16 09:05:59.755  - info: zigbee.0 (122335) Starting Zigbee  npm ...
                                2022-02-16 09:06:00.236  - info: zigbee.0 (122335) Installed Version: iobroker.zigbee@1.6.15
                                2022-02-16 09:06:11.226  - info: zigbee.0 (122335) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20220103}}
                                2022-02-16 09:06:11.235  - info: zigbee.0 (122335) Unable to disable LED, unsupported function.
                                2022-02-16 09:06:11.248  - info: zigbee.0 (122335)   --> transmitPower : normal
                                2022-02-16 09:06:11.257  - info: zigbee.0 (122335) Currently no devices.
                                2022-02-16 09:06:11.258  - info: zigbee.0 (122335) Zigbee started
                                

                                ble:
                                Baut nicht.

                                2022-02-16 09:08:01.036  - info: host.chet "system.adapter.ble.0" enabled
                                2022-02-16 09:08:01.239  - info: host.chet instance system.adapter.ble.0 started with pid 122373
                                2022-02-16 09:08:02.703  - info: ble.0 (122373) starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v17.5.0, js-controller: 4.0.10
                                2022-02-16 09:08:02.772  - info: ble.0 (122373) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                2022-02-16 09:08:02.774  - info: ble.0 (122373) enabled plugins: _default
                                2022-02-16 09:08:02.776  - info: ble.0 (122373) monitored services:
                                2022-02-16 09:08:02.779  - info: ble.0 (122373) starting scanner process...
                                2022-02-16 09:08:03.217  - error: ble.0 (122373) Terminating because A dependency requires a rebuild.
                                2022-02-16 09:08:03.342  - info: host.chet instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                                2022-02-16 09:08:03.342  - info: host.chet Adapter system.adapter.ble.0 needs rebuild and will be restarted afterwards.
                                2022-02-16 09:08:03.343  - info: host.chet system.adapter.ble.0 will be rebuilt
                                2022-02-16 09:08:03.343  - warn: host.chet adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                                2022-02-16 09:08:03.344  - info: host.chet iobroker rebuild
                                2022-02-16 09:08:04.303  - info: host.chet iobroker npm-rebuild: Rebuilding native modules ...
                                2022-02-16 09:09:43.510  - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully
                                2022-02-16 09:09:43.546  - info: host.chet iobroker npm-rebuild:
                                2022-02-16 09:09:43.547  - info: host.chet iobroker npm-rebuild: Rebuilding native modules done
                                2022-02-16 09:09:44.562  - info: host.chet iobroker npm-rebuild: exit 0
                                2022-02-16 09:09:44.688  - info: host.chet instance system.adapter.ble.0 started with pid 123582
                                2022-02-16 09:09:46.203  - info: ble.0 (123582) starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v17.5.0, js-controller: 4.0.10
                                2022-02-16 09:09:46.274  - info: ble.0 (123582) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                2022-02-16 09:09:46.276  - info: ble.0 (123582) enabled plugins: _default
                                2022-02-16 09:09:46.279  - info: ble.0 (123582) monitored services:
                                2022-02-16 09:09:46.282  - info: ble.0 (123582) starting scanner process...
                                2022-02-16 09:09:46.702  - error: ble.0 (123582) Terminating because A dependency requires a rebuild.
                                2022-02-16 09:09:46.793  - info: host.chet instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                                2022-02-16 09:09:46.794  - info: host.chet Adapter system.adapter.ble.0 needs rebuild and will be restarted afterwards.
                                2022-02-16 09:09:46.795  - info: host.chet system.adapter.ble.0 will be rebuilt
                                2022-02-16 09:09:46.795  - warn: host.chet adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
                                2022-02-16 09:09:46.796  - info: host.chet iobroker rebuild
                                2022-02-16 09:09:47.804  - info: host.chet iobroker npm-rebuild: Rebuilding native modules ...
                                2022-02-16 09:11:27.627  - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully
                                2022-02-16 09:11:27.663  - info: host.chet iobroker npm-rebuild:
                                2022-02-16 09:11:27.665  - info: host.chet iobroker npm-rebuild: Rebuilding native modules done
                                2022-02-16 09:11:28.677  - info: host.chet iobroker npm-rebuild: exit 0
                                2022-02-16 09:11:28.824  - info: host.chet instance system.adapter.ble.0 started with pid 124791
                                2022-02-16 09:11:30.315  - info: ble.0 (124791) starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v17.5.0, js-controller: 4.0.10
                                2022-02-16 09:11:30.384  - info: ble.0 (124791) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                2022-02-16 09:11:30.386  - info: ble.0 (124791) enabled plugins: _default
                                2022-02-16 09:11:30.389  - info: ble.0 (124791) monitored services:
                                2022-02-16 09:11:30.392  - info: ble.0 (124791) starting scanner process...
                                2022-02-16 09:11:30.827  - error: ble.0 (124791) Terminating because A dependency requires a rebuild.
                                2022-02-16 09:11:30.947  - info: host.chet instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                                2022-02-16 09:11:30.948  - info: host.chet Adapter system.adapter.ble.0 needs rebuild and will be restarted afterwards.
                                2022-02-16 09:11:30.949  - info: host.chet system.adapter.ble.0 will be rebuilt
                                2022-02-16 09:11:30.949  - warn: host.chet adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
                                2022-02-16 09:11:30.950  - info: host.chet iobroker rebuild
                                2022-02-16 09:11:31.909  - info: host.chet iobroker npm-rebuild: Rebuilding native modules ...
                                2022-02-16 09:13:10.557  - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully
                                2022-02-16 09:13:10.598  - info: host.chet iobroker npm-rebuild:
                                2022-02-16 09:13:10.599  - info: host.chet iobroker npm-rebuild: Rebuilding native modules done
                                2022-02-16 09:13:11.613  - info: host.chet iobroker npm-rebuild: exit 0
                                2022-02-16 09:13:11.739  - info: host.chet instance system.adapter.ble.0 started with pid 125988
                                2022-02-16 09:13:13.276  - info: ble.0 (125988) starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v17.5.0, js-controller: 4.0.10
                                2022-02-16 09:13:13.355  - info: ble.0 (125988) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                2022-02-16 09:13:13.356  - info: ble.0 (125988) enabled plugins: _default
                                2022-02-16 09:13:13.359  - info: ble.0 (125988) monitored services:
                                2022-02-16 09:13:13.362  - info: ble.0 (125988) starting scanner process...
                                2022-02-16 09:13:13.793  - error: ble.0 (125988) Terminating because A dependency requires a rebuild.
                                2022-02-16 09:13:13.926  - info: host.chet instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                                2022-02-16 09:13:13.934  - info: host.chet Rebuild for adapter system.adapter.ble.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                                
                                1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @apollon77 last edited by

                                  @apollon77 ne jarvis war nicht dabei bei den update's.
                                  Nach dem iob Neustart hat sich das nun wieder normalisiert.
                                  Ich hatte das schonmal, das nach ein paar update's die Cpu so hoch ging und auch so geblieben ist, jedoch nicht weiter darauf geachtet, was dies verursachte.
                                  Kann es sein, das dies die Ursache sein kann, wenn man mehrere Adapter Update's hintereinander reinballert?

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

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

                                    Kann es sein, das dies die Ursache sein kann, wenn man mehrere Adapter Update's hintereinander reinballert?

                                    Wüsste nicht wie ... Adapter werden dabei Restartet, das wars aber an sich.

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

                                      @apollon77 Update von 4.0.9 auf 4.0.10 unauffällig.
                                      Was hat es mit dieser "redis" Zeile eigentlich auf sich auch wenn jsonl verwendet wird?

                                      Successfully migrated 18606 objects to Redis Sets

                                      foxriver76 apollon77 2 Replies Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer @Diginix last edited by

                                        @diginix Aktuell nichts. Der Client weiß nicht ob er mit JSONL/File oder echtem Redis Server sprich

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

                                          @diginix Die Datenbank arbeitet generisch - die weiss also nicht ob ein echter Redis auf der gegenseite ist oder nur der "iobroker DB Server" (der Redis simuliert). Und der Simulator tut einfach so als ob er die Sets Migration mitmacht ... Von daher ... ignorieren

                                          crunchip Thomas Braun 2 Replies Last reply Reply Quote 1
                                          • crunchip
                                            crunchip Forum Testing Most Active @apollon77 last edited by crunchip

                                            @apollon77 ist mir gerade eingefallen, der redis Server läuft noch in meiner VM, da ich aber vor langer Zeit auf jsonl umgestellt habe, wird dieser doch nicht mehr benötigt, oder?
                                            unter anderem bin ich soeben auf v4.0.10

                                            2022-02-16 10:00:38.466 - info: telegram.0 (23965) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                            2022-02-16 10:00:38.463 - info: telegram.1 (23984) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                            2022-02-16 10:00:38.468 - info: web.0 (26298) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                            2022-02-16 10:00:38.466 - info: text2command.0 (25980) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                            2022-02-16 10:00:39.190 - warn: sonoff.0 (24255) get state error: DB closed
                                            2022-02-16 10:00:39.296 - warn: sonoff.0 (24255) redis get sonoff.0.PC-Server.alive, error - Connection is closed.
                                            2022-02-16 10:00:39.324 - warn: sonoff.0 (24255) redis get sonoff.0.Kaffeeautomat.alive, error - Connection is closed.
                                            2022-02-16 10:00:39.347 - warn: sonoff.0 (24255) redis get sonoff.0.PC-Server.alive, error - Connection is closed.
                                            2022-02-16 10:00:39.511 - warn: sonoff.0 (24255) get state error: Connection is closed.
                                            2022-02-16 10:00:39.814 - warn: host.IoBroker instance system.adapter.milight-smart-light.0 terminated due to SIGTERM
                                            2022-02-16 10:00:40.460 - warn: host.IoBroker instance system.adapter.sayit.0 terminated due to SIGTERM
                                            2022-02-16 10:00:45.897 - warn: host.IoBroker instance system.adapter.admin.0 terminated due to SIGTERM
                                            2022-02-16 10:00:45.962 - warn: host.IoBroker instance system.adapter.email.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.139 - warn: host.IoBroker instance system.adapter.telegram.1 terminated due to SIGTERM
                                            2022-02-16 10:00:46.313 - warn: host.IoBroker instance system.adapter.sonoff.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.314 - warn: host.IoBroker instance system.adapter.zigbee.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.374 - warn: host.IoBroker instance system.adapter.nut.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.485 - warn: host.IoBroker instance system.adapter.ble.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.634 - warn: host.IoBroker instance system.adapter.echarts.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.635 - warn: host.IoBroker instance system.adapter.mihome.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.736 - warn: host.IoBroker instance system.adapter.telegram.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.803 - error: host.IoBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                                            2022-02-16 10:00:46.804 - error: host.IoBroker Caught by controller[0]: Error: DB closed
                                            2022-02-16 10:00:46.805 - error: host.IoBroker Caught by controller[0]: at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                            2022-02-16 10:00:46.805 - error: host.IoBroker Caught by controller[0]: at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                            2022-02-16 10:00:46.806 - error: host.IoBroker Caught by controller[0]: at Object.onceWrapper (events.js:520:26)
                                            2022-02-16 10:00:46.806 - error: host.IoBroker Caught by controller[0]: at Socket.emit (events.js:400:28)
                                            2022-02-16 10:00:46.807 - error: host.IoBroker Caught by controller[0]: at Socket.emit (domain.js:475:12)
                                            2022-02-16 10:00:46.807 - error: host.IoBroker Caught by controller[0]: at TCP. (net.js:686:12)
                                            2022-02-16 10:00:46.808 - warn: host.IoBroker instance system.adapter.shelly.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.977 - warn: host.IoBroker instance system.adapter.tr-064.0 terminated due to SIGTERM
                                            2022-02-16 10:00:46.978 - warn: host.IoBroker instance system.adapter.virtualpowermeter.0 terminated due to SIGTERM
                                            2022-02-16 10:00:47.077 - warn: host.IoBroker instance system.adapter.backitup.0 terminated due to SIGTERM
                                            2022-02-16 10:00:47.182 - warn: host.IoBroker instance system.adapter.broadlink2.0 terminated due to SIGTERM
                                            2022-02-16 10:00:47.332 - warn: host.IoBroker instance system.adapter.chromecast.0 terminated due to SIGTERM
                                            2022-02-16 10:00:47.334 - warn: host.IoBroker instance system.adapter.fully-tablet-control.0 terminated due to SIGTERM
                                            2022-02-16 10:00:47.405 - warn: host.IoBroker instance system.adapter.info.0 terminated due to SIGTERM
                                            2022-02-16 10:00:48.164 - warn: host.IoBroker instance system.adapter.iot.0 terminated due to SIGTERM
                                            
                                            apollon77 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

                                            899
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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