Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 5.0.x jetzt in der BETA

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

js-controller 5.0.x jetzt in der BETA

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
580 Beiträge 71 Kommentatoren 197.0k Aufrufe 67 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • FeuersturmF Online
    FeuersturmF Online
    Feuersturm
    schrieb am zuletzt editiert von Feuersturm
    #248

    @foxriver76 Ich hab gerade meinen Master erfolgreich über die Admin GUI auf 5.0.5 aktualisiert.
    Als ich jetzt im nächsten Schritt meinen Slave über die Admin GUI aktualisiseren wollte kam folgende Fehlermeldung:
    478a39c6-5444-4ea0-97fc-94a079ba0349-grafik.png

    Das Update scheint aber erfolgreich gewesen zu sein. Über die Konsole meldet sich ioBroker mit der Version 5.0.5 sowie auch in der Admin UI.

    fdada1fe-b365-4500-be3e-8f68dcc32f9c-grafik.png

    Das steht im Log vom Slave

    2023-06-18 16:52:15.022 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:15.134 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:20.037 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:20.140 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:25.045 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:25.147 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:30.050 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:30.153 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:35.058 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:35.158 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:40.071 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:40.163 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:45.080 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:45.170 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:50.087 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:50.180 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:52:55.092 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:52:55.187 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:53:00.102 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:53:00.194 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:53:05.116 - info: host.ioBrokerNew Objects database successfully reconnected
    2023-06-18 16:53:05.201 - info: host.ioBrokerNew Objects database successfully reconnected
    2023-06-18 16:53:13.922 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:53:14.033 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:53:18.929 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
    2023-06-18 16:53:19.046 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:53:23.935 - info: host.ioBrokerNew Objects database successfully reconnected
    2023-06-18 16:53:24.052 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
    2023-06-18 16:53:29.064 - info: host.ioBrokerNew Objects database successfully reconnected
    2023-06-18 16:58:12.225 - info: host.ioBrokerNew Controller will upgrade itself to version 5.0.5
    2023-06-18 16:58:16.320 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Stopping controller
    2023-06-18 16:58:16.437 - info: host.ioBrokerNew received SIGTERM
    2023-06-18 16:58:16.443 - info: host.ioBrokerNew stopInstance system.adapter.history.1 (force=false, process=false)
    2023-06-18 16:58:16.444 - info: host.ioBrokerNew stopInstance system.adapter.sql.0 (force=false, process=false)
    2023-06-18 16:58:16.445 - info: host.ioBrokerNew stopInstance system.adapter.discovery.0 (force=false, process=false)
    2023-06-18 16:58:16.492 - info: host.ioBrokerNew terminated
    2023-06-18 16:58:20.638 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Successfully stopped js-controller
    2023-06-18 16:58:20.655 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Server is running on http://localhost:8081
    2023-06-18 16:58:57.178 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE]
    changed 12 packages in 34s
    81 packages are looking for funding
    run `npm fund` for details
    2023-06-18 16:59:07.193 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Timeout expired, initializing shutdown
    2023-06-18 16:59:07.286 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Successfully started js-controller
    2023-06-18 16:59:09.687 - info: host.ioBrokerNew iobroker.js-controller version 5.0.5 js-controller starting
    2023-06-18 16:59:09.699 - info: host.ioBrokerNew Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
    2023-06-18 16:59:09.702 - info: host.ioBrokerNew hostname: ioBrokerNew, node: v18.16.0
    2023-06-18 16:59:09.704 - info: host.ioBrokerNew ip addresses: 192.168.178.78 fe80::d4a0:37ff:fe8e:f0c1
    2023-06-18 16:59:10.347 - info: host.ioBrokerNew connected to Objects and States
    2023-06-18 16:59:10.391 - info: host.ioBrokerNew added notifications configuration of host
    2023-06-18 16:59:11.478 - info: host.ioBrokerNew 61 instances found
    2023-06-18 16:59:11.603 - warn: host.ioBrokerNew does not start any instances on this host
    

    Edit: Github issue: https://github.com/ioBroker/ioBroker.admin/issues/1963

    foxriver76F 1 Antwort Letzte Antwort
    0
    • FeuersturmF Feuersturm

      @foxriver76 Ich hab gerade meinen Master erfolgreich über die Admin GUI auf 5.0.5 aktualisiert.
      Als ich jetzt im nächsten Schritt meinen Slave über die Admin GUI aktualisiseren wollte kam folgende Fehlermeldung:
      478a39c6-5444-4ea0-97fc-94a079ba0349-grafik.png

      Das Update scheint aber erfolgreich gewesen zu sein. Über die Konsole meldet sich ioBroker mit der Version 5.0.5 sowie auch in der Admin UI.

      fdada1fe-b365-4500-be3e-8f68dcc32f9c-grafik.png

      Das steht im Log vom Slave

      2023-06-18 16:52:15.022 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:15.134 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:20.037 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:20.140 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:25.045 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:25.147 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:30.050 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:30.153 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:35.058 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:35.158 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:40.071 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:40.163 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:45.080 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:45.170 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:50.087 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:50.180 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:52:55.092 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:52:55.187 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:53:00.102 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:53:00.194 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:53:05.116 - info: host.ioBrokerNew Objects database successfully reconnected
      2023-06-18 16:53:05.201 - info: host.ioBrokerNew Objects database successfully reconnected
      2023-06-18 16:53:13.922 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:53:14.033 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:53:18.929 - error: host.ioBrokerNew Objects database error: connect ECONNREFUSED 192.168.178.77:9001
      2023-06-18 16:53:19.046 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:53:23.935 - info: host.ioBrokerNew Objects database successfully reconnected
      2023-06-18 16:53:24.052 - error: host.ioBrokerNew States database error: connect ECONNREFUSED 192.168.178.77:9000
      2023-06-18 16:53:29.064 - info: host.ioBrokerNew Objects database successfully reconnected
      2023-06-18 16:58:12.225 - info: host.ioBrokerNew Controller will upgrade itself to version 5.0.5
      2023-06-18 16:58:16.320 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Stopping controller
      2023-06-18 16:58:16.437 - info: host.ioBrokerNew received SIGTERM
      2023-06-18 16:58:16.443 - info: host.ioBrokerNew stopInstance system.adapter.history.1 (force=false, process=false)
      2023-06-18 16:58:16.444 - info: host.ioBrokerNew stopInstance system.adapter.sql.0 (force=false, process=false)
      2023-06-18 16:58:16.445 - info: host.ioBrokerNew stopInstance system.adapter.discovery.0 (force=false, process=false)
      2023-06-18 16:58:16.492 - info: host.ioBrokerNew terminated
      2023-06-18 16:58:20.638 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Successfully stopped js-controller
      2023-06-18 16:58:20.655 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Server is running on http://localhost:8081
      2023-06-18 16:58:57.178 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE]
      changed 12 packages in 34s
      81 packages are looking for funding
      run `npm fund` for details
      2023-06-18 16:59:07.193 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Timeout expired, initializing shutdown
      2023-06-18 16:59:07.286 - info: host.ioBrokerNew [CONTROLLER_AUTO_UPGRADE] Successfully started js-controller
      2023-06-18 16:59:09.687 - info: host.ioBrokerNew iobroker.js-controller version 5.0.5 js-controller starting
      2023-06-18 16:59:09.699 - info: host.ioBrokerNew Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
      2023-06-18 16:59:09.702 - info: host.ioBrokerNew hostname: ioBrokerNew, node: v18.16.0
      2023-06-18 16:59:09.704 - info: host.ioBrokerNew ip addresses: 192.168.178.78 fe80::d4a0:37ff:fe8e:f0c1
      2023-06-18 16:59:10.347 - info: host.ioBrokerNew connected to Objects and States
      2023-06-18 16:59:10.391 - info: host.ioBrokerNew added notifications configuration of host
      2023-06-18 16:59:11.478 - info: host.ioBrokerNew 61 instances found
      2023-06-18 16:59:11.603 - warn: host.ioBrokerNew does not start any instances on this host
      

      Edit: Github issue: https://github.com/ioBroker/ioBroker.admin/issues/1963

      foxriver76F Offline
      foxriver76F Offline
      foxriver76
      Developer
      schrieb am zuletzt editiert von
      #249

      @feuersturm danke schaue ich mir mit BF an. Läuft der Admin von dem aus das gestartet wurde auf Master oder Slave? Hat das vorher schon auf Slave mal sauber funktioniert. Logfile selbst schaut sehr gut aus.

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      FeuersturmF 1 Antwort Letzte Antwort
      0
      • foxriver76F foxriver76

        @feuersturm danke schaue ich mir mit BF an. Läuft der Admin von dem aus das gestartet wurde auf Master oder Slave? Hat das vorher schon auf Slave mal sauber funktioniert. Logfile selbst schaut sehr gut aus.

        FeuersturmF Online
        FeuersturmF Online
        Feuersturm
        schrieb am zuletzt editiert von
        #250

        @foxriver76 der Admin läuft auf dem Master von dem das Update gestartet wurde. Den slave habe ich bisher immer über die Konsole aktualisiert und nicht über die gui.

        foxriver76F 1 Antwort Letzte Antwort
        0
        • FeuersturmF Feuersturm

          @foxriver76 der Admin läuft auf dem Master von dem das Update gestartet wurde. Den slave habe ich bisher immer über die Konsole aktualisiert und nicht über die gui.

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von
          #251

          @feuersturm danke für die Info. Ich vermute Admin fragt immer lokal an auch wenn auf anderem Host aktualisiert wird. Muss voraussichtlich in Admin gefixt werden. Schauen wir uns an. 👍🏼

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Antwort Letzte Antwort
          1
          • foxriver76F foxriver76

            @thomas-braun Cool, das schaut sehr gut aus.

            @crunchip ich schaue mir das nochmal an, eigentlich wollten wir verhindern, dass DB closed throwed, evtl. haben wir da aus Versehen was kaputt gemacht bei diversen Portierungsarbeiten

            crunchipC Abwesend
            crunchipC Abwesend
            crunchip
            Forum Testing Most Active
            schrieb am zuletzt editiert von crunchip
            #252

            @foxriver76 Update wieder per admin mit anschließendem Browser refresh
            sieht nun besser aus, aber bei mir hat der shelly nach wie vor Probleme, hatte ich schon mal ne zeitlang, werd ich wohl ggf issue wieder eröffnen

            2023-06-18 22:14:20.204 - info: host.IoBroker stopInstance system.adapter.countdown.0 send kill signal
            2023-06-18 22:14:20.205 - info: host.IoBroker stopInstance system.adapter.tibberconnect.0 send kill signal
            2023-06-18 22:14:20.205 - info: host.IoBroker stopInstance system.adapter.opendtu.0 send kill signal
            2023-06-18 22:14:20.420 - info: mytime.0 (1104559) terminating with timeout
            2023-06-18 22:14:20.423 - info: virtualpowermeter.0 (1105082) terminating
            2023-06-18 22:14:20.784 - warn: sonoff.0 (1103739) redis get sonoff.0.PC-Server.alive, error - Connection is closed.
            2023-06-18 22:14:20.793 - warn: sonoff.0 (1103739) get state error: Connection is closed.
            2023-06-18 22:14:20.794 - warn: sonoff.0 (1103739) redis get sonoff.0.PC-Server.alive, error - DB closed
            2023-06-18 22:14:20.757 - warn: shelly.0 (1103714) get state error: Connection is closed.
            2023-06-18 22:14:20.767 - error: shelly.0 (1103714) Unhandled promise rejection. 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().
            2023-06-18 22:14:20.769 - error: shelly.0 (1103714) unhandled promise rejection: DB closed
            2023-06-18 22:14:20.973 - error: shelly.0 (1103714) Error: DB closed
            at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
            at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
            at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
            at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7585:34)
            2023-06-18 22:14:20.974 - error: shelly.0 (1103714) DB closed
            2023-06-18 22:14:21.132 - warn: sonoff.0 (1103739) get state error: Connection is closed.
            2023-06-18 22:14:21.173 - warn: sonoff.0 (1103739) get state error: Connection is closed.
            2023-06-18 22:14:21.175 - warn: sonoff.0 (1103739) get state error: Connection is closed.
            2023-06-18 22:14:21.316 - info: host.IoBroker stopInstance system.adapter.admin.0 killing pid 1103011
            2023-06-18 22:14:21.349 - warn: opendtu.0 (1105739) Cannot get view: Connection is closed.
            2023-06-18 22:14:21.316 - info: host.IoBroker stopInstance system.adapter.javascript.0 killing pid 1103278
            2023-06-18 22:14:21.317 - info: host.IoBroker stopInstance system.adapter.telegram.0 killing pid 1727115
            .
            .
            2023-06-18 22:14:27.599 - warn: host.IoBroker instance system.adapter.net-tools.0 terminated due to SIGTERM
            2023-06-18 22:14:27.599 - info: host.IoBroker instance system.adapter.net-tools.0 terminated with code null ()
            2023-06-18 22:14:27.692 - warn: host.IoBroker instance system.adapter.nut.0 terminated due to SIGTERM
            2023-06-18 22:14:27.693 - info: host.IoBroker instance system.adapter.nut.0 terminated with code null ()
            2023-06-18 22:14:27.795 - 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:
            2023-06-18 22:14:27.796 - error: host.IoBroker Caught by controller[0]: Error: DB closed
            2023-06-18 22:14:27.797 - error: host.IoBroker Caught by controller[0]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
            2023-06-18 22:14:27.798 - error: host.IoBroker Caught by controller[0]: at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
            2023-06-18 22:14:27.798 - error: host.IoBroker Caught by controller[0]: at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
            2023-06-18 22:14:27.799 - error: host.IoBroker Caught by controller[0]: at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7585:34)
            2023-06-18 22:14:27.799 - warn: host.IoBroker instance system.adapter.shelly.0 terminated due to SIGTERM
            .
            .
            ansonsten
            2023-06-18 22:14:31.618 - info: host.IoBroker All instances are stopped.
            2023-06-18 22:14:31.652 - info: host.IoBroker terminated
            2023-06-18 22:14:36.282 - info: host.IoBroker [CONTROLLER_AUTO_UPGRADE] Successfully stopped js-controller
            2023-06-18 22:14:36.290 - info: host.IoBroker [CONTROLLER_AUTO_UPGRADE] Server is running on http://localhost:8081
            2023-06-18 22:15:30.526 - info: host.IoBroker [CONTROLLER_AUTO_UPGRADE]
            changed 12 packages in 53s
            226 packages are looking for funding
            run `npm fund` for details
            2023-06-18 22:15:31.506 - info: host.IoBroker [CONTROLLER_AUTO_UPGRADE] Final information delivered
            2023-06-18 22:15:39.805 - info: host.IoBroker [CONTROLLER_AUTO_UPGRADE] Successfully started js-controller
            2023-06-18 22:15:40.972 - info: host.IoBroker iobroker.js-controller version 5.0.5 js-controller starting
            2023-06-18 22:15:40.978 - info: host.IoBroker Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
            2023-06-18 22:15:40.979 - info: host.IoBroker hostname: IoBroker, node: v18.16.0
            2023-06-18 22:15:40.980 - info: host.IoBroker ip addresses: 10.1.1.10 fe80::d428:e1ff:fe76:b484
            2023-06-18 22:15:44.891 - info: host.IoBroker connected to Objects and States
            2023-06-18 22:15:45.021 - info: host.IoBroker added notifications configuration of host
            2023-06-18 22:15:46.309 - info: host.IoBroker Delete state "system.host.IoBroker.versions.nodeCurrent"
            2023-06-18 22:15:46.360 - info: host.IoBroker 139 instances found
            2023-06-18 22:15:46.490 - info: host.IoBroker starting 57 instances
            2023-06-18 22:15:46.764 - info: host.IoBroker Delete state "system.host.IoBroker.versions.nodeNewest"
            2023-06-18 22:15:46.772 - info: host.IoBroker Delete state "system.host.IoBroker.versions.nodeNewestNext"
            2023-06-18 22:15:46.778 - info: host.IoBroker Delete state "system.host.IoBroker.versions.npmCurrent"
            2023-06-18 22:15:46.852 - info: host.IoBroker instance system.adapter.admin.0 started with pid 3026764
            2023-06-18 22:15:46.861 - info: host.IoBroker Delete state "system.host.IoBroker.versions.npmNewest"
            2023-06-18 22:15:46.908 - info: host.IoBroker Delete state "system.host.IoBroker.versions.npmNewestNext"
            2023-06-18 22:15:46.914 - info: host.IoBroker Some obsolete host states deleted.
            2023-06-18 22:15:49.609 - info: admin.0 (3026764) starting. Version 6.5.8 in /opt/iobroker/node_modules/iobroker.admin, node: v18.16.0, js-controller: 5.0.5
            2023-06-18 22:15:49.659 - info: admin.0 (3026764) requesting all states
            2023-06-18 22:15:49.660 - info: admin.0 (3026764) requesting all objects
            2023-06-18 22:15:52.077 - info: host.IoBroker instance system.adapter.history.0 started with pid 3026791
            2023-06-18 22:15:52.838 - info: admin.0 (3026764) received all objects
            2023-06-18 22:15:53.252 - info: admin.0 (3026764) Request actual repository...
            2023-06-18 22:15:53.281 - info: admin.0 (3026764) socket.io server listening on port 8081
            2023-06-18 22:15:53.284 - info: admin.0 (3026764) http server listening on port 8081
            2023-06-18 22:15:53.285 - info: admin.0 (3026764) Use link "http://127.0.0.1:8081" to configure.
            

            umgestiegen von Proxmox auf Unraid

            1 Antwort Letzte Antwort
            0
            • D Offline
              D Offline
              Diamand2k22
              schrieb am zuletzt editiert von
              #253

              seit dem Update auf 5.0.5 schmiert mir immer der Zigbee Adapter ab.

              2023-06-19 10:01:37.722 - error: host.pi4b 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:
              2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
              2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
              2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/hub.ts:340:1)
              2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/exports.ts:76:1)
              2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
              2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at Zigbee.filterError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:142:18)
              2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:699:22
              2023-06-19 10:01:37.724 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              
              pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
              └─┬ iobroker.zigbee@1.8.11 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#5add9eafb4da35eedc5655ef3c0a8a919ec873b0)
                ├─┬ zigbee-herdsman-converters@15.22.0
                │ └─┬ zigbee-herdsman@0.15.0
                └─┬ zigbee-herdsman@0.14.117
              pi4b@pi4b:/opt/iobroker$
              
              mcm1957M D 2 Antworten Letzte Antwort
              0
              • D Diamand2k22

                seit dem Update auf 5.0.5 schmiert mir immer der Zigbee Adapter ab.

                2023-06-19 10:01:37.722 - error: host.pi4b 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:
                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/hub.ts:340:1)
                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/exports.ts:76:1)
                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
                2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at Zigbee.filterError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:142:18)
                2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:699:22
                2023-06-19 10:01:37.724 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                
                pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                └─┬ iobroker.zigbee@1.8.11 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#5add9eafb4da35eedc5655ef3c0a8a919ec873b0)
                  ├─┬ zigbee-herdsman-converters@15.22.0
                  │ └─┬ zigbee-herdsman@0.15.0
                  └─┬ zigbee-herdsman@0.14.117
                pi4b@pi4b:/opt/iobroker$
                
                mcm1957M Offline
                mcm1957M Offline
                mcm1957
                schrieb am zuletzt editiert von
                #254

                @apollon77

                Im Spoiler für Entwickler News im ersten Beitrag steht

                Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                Wurde nicht node 14 enfalls gekübelt.,oder rwechsel ich das was?

                Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                Support Repositoryverwaltung.

                Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                LESEN - gute Forenbeitrage

                Thomas BraunT GaspodeG apollon77A 3 Antworten Letzte Antwort
                0
                • mcm1957M mcm1957

                  @apollon77

                  Im Spoiler für Entwickler News im ersten Beitrag steht

                  Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                  Wurde nicht node 14 enfalls gekübelt.,oder rwechsel ich das was?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #255

                  @mcm57

                  Schon von nodejs.org selber. nodejs14 ist EOL.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  mcm1957M 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @mcm57

                    Schon von nodejs.org selber. nodejs14 ist EOL.

                    mcm1957M Offline
                    mcm1957M Offline
                    mcm1957
                    schrieb am zuletzt editiert von
                    #256

                    @thomas-braun
                    Ja ich weiss
                    Habs auch systematisch aus test rausgeworfen. Ist zu 99% fehler. Kann aber auch was verwechseln. EOL ist nicht zwingen not allowed :-)

                    Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                    Support Repositoryverwaltung.

                    Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                    LESEN - gute Forenbeitrage

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • mcm1957M mcm1957

                      @thomas-braun
                      Ja ich weiss
                      Habs auch systematisch aus test rausgeworfen. Ist zu 99% fehler. Kann aber auch was verwechseln. EOL ist nicht zwingen not allowed :-)

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #257

                      @mcm57 sagte in js-controller 5.0.x jetzt in der BETA:

                      EOL ist nicht zwingen not allowed

                      Na das verbietet sich von alleine.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • apollon77A apollon77

                        Hallo ioBroker-Community,

                        Heute möchte ich Euch den js-controller 5.0 auch als Beta zur Verfügung stellen. Dieser Post enthält alle wichtigen Infos. Bitte unbedingt lesen!!
                        Ich bedanke mich bei allen Usern die bisher die neue Version bereits als Alpha getestet und Feedback gegeben haben.

                        Node.js Versions-Anforderungen
                        In diesem Release entfällt Node.js 12.x welches seit April letztem Jahr nicht mehr gepflegt wird und Node.js 14.x welches seit April diesem Jahres EOL ist. Node.js 18.x ist dazugekommen. Die unterstützten Node.js Versionen sind: 16.4.0+ und 18.x und nach aktuellem Stand auf Node.js 20.x, wobei hier noch erfahrungen fehlen. Die empfohlene Node.js Version für ioBroker haben wir vor kurzem auf 18.x angehoben.
                        Bitte beachtet weiterhin bei Node.js Updates die Anleitung im Forum unter https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 !

                        Informationen zur Version
                        Es gibt EINIGE Adapter die aktualisiert werden müssen!! Bitte weiter unten lesen!

                        In dieser Version wurde die Umstellung des Quellcodes auf TypeScript sehr stark vorangetrieben (inzwischen bei 76%), wodurch am Ende die Stabilität weiter steigt weil viele Code-Fehler nicht mehr auftreten können. Natürlich sind neben Optimierungen und Fehlerbehebungen auch ein paar neue Features hinzugekommen. Auch wenn mit dieser Version keine neuen Prüfungen hinzukommen, die zu Log-Ausgaben bei Adaptern führen, meldet aktuelle Logausgaben bitte weiterhin bei den Adaptern.

                        Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

                        Für die aktive Mitarbeit an dieser Version des js-controller bedanke mich diesmal wieder besonders bei foxriver76, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern!

                        ACHTUNG backups inkompatibel bei Downgrades!!

                        Neben der Node.js Version gibt es eine wichtige Inkompatibilität: Backups die mit der 5.0 des js-controller erstellt wurden lassen sich nicht mit einem js-controller 4 oder kleiner wieder restoren!

                        Darüber hinaus ist der js-controller 5.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2/3.x ist problemlos möglich. Wir empfehlen allerings vor dem Update auf die 5.0 idealerweise ein Update auf die 4.0 und vorher auf 3.3.x durchzuführen, da ein Downgrade nach einem erfolgten Update nur auf eine 3.3.x möglich ist (siehe FAQ)! Nur die Node.js Version muss weiterhin mindestens 16.x sein, wie oben bereits ausgeführt. Wer überlegt die Node.js Version anzuheben bitte weiter unten im Abschnitt "Was ist zu testen" lesen 🙂

                        Aufgrund einiger internen Umstellungen brauchen wieder einige Adapter Updates. Diese sollten am besten VOR dem Update installiert werden!
                        Bitte dazu die Informationen weiter unten beachten!


                        Installation


                        VOR der Installation

                        Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt. Eine alte 4.0.x-Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version ("version" durch die gewünschte Versionsnummer ersetzen) installiert werden und sollte alles wieder herstellen (Letzter Stable Stand ist die 4.0.24)

                        Nötige Adapter-Aktualisierungen

                        Am besten dennoch VOR dem js-controller Update alle verfügbaren Adapter-Updates prüfen und alle Updates installieren, die im Changelog auf Optimierungen oder Anpassungen für den js-controller 4.0 oder höher hinweisen.

                        Diesmal sind doch einige Adapter auf der Liste die man updaten muss! Siehe Spoiler!

                        • admin -> v6.2.23+
                        • backitup v2.6.16+
                        • cloud v4.2.3+
                        • discovery v3.0.6+
                        • email v1.1.4+
                        • enigma2 (GitHub version fixed)
                        • fitbit-fitness - noch kein Fix
                        • history v2.2.4+
                        • hmrega v3.0.46+
                        • iquontrol v2.2.1+
                        • lgtv from https://github.com/foxriver76/ioBroker.lgtv nutzen bis Entwickler angepasst hat
                        • lovelace - > v2.2.0+
                        • mercury - released v0.1.6+
                        • mqtt: v4.1.1+
                        • nibeuplink v1.2.1+
                        • node-red v4.0.1+
                        • onvif 1.0.1+
                        • owntracks v1.0.5+
                        • pimatic v0.3.1+
                        • rest-api -> v1.0.5+
                        • ring - released in v3.2.7+
                        • sayit v1.13.0+
                        • simple-api v2.7.2+
                        • smart-visu GitHub
                        • socketio -> v6.2.0+
                        • sonos v2.3.1+
                        • synology v2.1.13+
                        • tado v???? (issue opened)
                        • telegram v1.15.1+
                        • terminal v1.0.0+
                        • tr-064 v4.2.18+
                        • tuya v3.7.0+
                        • unifi-protect v0.0.12+
                        • web v5.2.10+
                        • ws -> v2.2.0+
                        • vis-google-fonts v1.0.4+
                        • xterm v1.1.0+
                        • yahka - v1.0.0+
                        Achtung: MASTER-Systeme Reihenfolgen beachten!

                        Bei einem Multi-Host-System, welches auf js-controller 2.2, 3.x oder 4.0.x läuft, ist es beim Update auf Version 5.0 empfohlen, zuerst das Master-System zu aktualisieren. Der Master muss dann wieder gestartet werden. Die Slaves werden danach aktualisiert!

                        Bei Updates von Master/Slave-Systemen mit js-controller 1.5 oder früher Bitte die jeweiligen Update Threads der empfohlenen Zwischenversionen prüfen.

                        Windows
                        Generell muss das Update manuell via npm installiert werden.

                        Hierzu im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl iob upgrade self ausführen.

                        Linux

                        • ioBroker stoppen (iobroker stop)
                        • Prüfen das keine Prozesse (Adapter, Backups) mehr laufen (ps auxww|grep io und auch ps auxww|grep backup ). Es passiert manchmal das trotz dem Stoppen noch Zombies zurückbleiben
                        • cd /opt/iobroker
                        • Das Update erfolgt via iob upgrade self
                        • ioBroker starten (iobroker start)

                        Bei Fehlern:
                        Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x oder höher hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.
                        Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller versuchen. Bitte berichtet solche Fälle hier im Thread.

                        NACH der Installation

                        Wenn alles klappt merkt Ihr ausser der höheren Versionsnummer in der Host-Ansicht im Admin keinen Unterschied. Alles funktioniert weiterhin wie vorher. Alle Adapterinstanzen starten und funktionieren. Wenn das so ist hat alles geklappt.

                        Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!


                        Was hat sich geändert, was besonders ansehen/beachten?


                        Neben einiger weiterer Bugfixes gibt es folgende Änderungen und Fixes zu erwähnen:

                        • generell siehe Changelog, speziell auch für die Features
                        • generell bitte im CLI und auch sonst überall drüber schauen. Die Typescript Umstellungen haben sehr viel Code angefasst.
                        • Falls jemand sporadisch Alias Fehler im Log hatte bitte versuchen diese mit der neuen version wieder zu provoziere und rückmelden

                        Speziell die Entwickler sollten bitte die genannten Deprecations und neuen Features anschauen und beachten.

                        Wie bereits gesagt, viele Änderungen fanden hinter den Kulissen statt. Hier für Interessierte als Spoiler eine Zusammenfassung:

                        5.0. Release Jana

                        BREAKING CHANGES

                        • Support for Node.js 12 and 14 is dropped! Supported are Node.js 16.4.0+ and 18.x and hopefully 20.x
                        • Backups created with the new js-controller version cannot be restored on hosts with lower js-controller version!
                        • Update recommended npm version to 8
                        • Deprecate binary states, Adapters will change to use Files instead!

                        Features

                        • (foxriver76) Show npm error message on failing adapter installations and update also without debug parameter
                        • (foxriver76) Introduce iobroker setting (dnsResolution) to choose between verbatim and ipv4 first dns resolution order
                        • (foxriver76) Add support for windows for iob fix
                        • (bluefox) Added CLI option to restart/start/stop all instances of an adapter (e.g. iob stop admin now also works)
                        • (foxriver76) Allow to use iob host oldname command when new host already exists but has no instances
                        • (foxriver76) Added an admin notification if redis is misconfigured and info how to fix it
                        • (foxriver76) Enable upgrade of js-controller via Admin UI (Linux only)

                        Optimizations and Fixes

                        • (foxriver76) Speedup "getStates" calls with many IDs often used by visualizations: JSONL 17 times faster, Redis 23 times faster
                        • (foxriver76) significantly reduce backup size
                        • (foxriver76) Enhance CLI help for list command to show all possible types to list
                        • (foxriver76) Also stop instances before updating from GitHub
                        • (foxriver76) Conversion of big parts of the js-controller codebase to typeScript and address all found issues
                        • (Apollon77) Only log error on "enable/disable via .alive" if there is an error
                        • (foxriver76) Optimize adapter unload and stop handling for edge cases
                        • (AlCalzone) Carefully normalize jsonlOptions
                        • (bluefox) Do not show warning on a requested adapter stop/termination
                        • (bluefox) Make sure that the first log line is not missing in Admin
                        • (foxriver76) Fix wrong formatting of cli get binary state if no encoding is passed
                        • (foxriver76) Fix restoring backups from pre js-controller 4.x which were created without config.system
                        • (foxriver76) Preserve tier setting on adapter upload
                        • (foxriver76) update apt sources before installing os dependencies
                        • (foxriver76) Only skip erase on upload if opted out explicitly to always cleanup unneeded files
                        • (foxriver76) Try to fix strange alias errors, inform us if it happens again!
                        • (foxriver76) Remove windows bat files completely, installer will create them when needed
                        • (AlCalzone/Apollon77) Update jsonl db to prevent locking issues
                        • (foxriver76) Fixes iob file sync not working for jsonl
                        • (foxriver76) Do not crash if we cannot initialize db backup directory on start
                        • (foxriver76) Fixed issue with certificate validity on leap years
                        • (Apollon77/foxriver76) Make sure that all relevant files are removed when eraseOnUpload is used
                        • (foxriver76) fix wrong hostname after backup restore
                        • (bluefox) allow CLI vendor update without explicitly specifying vendor file (default file is used)
                        • (Apollon77, foxriver76, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources

                        Developer relevant DEPRECATIONS/WARNINGS

                        • Deprecate binary states, Migrate your adapters to use Files instead!
                        • If you need to access special js-controller common tools please use adapter-core instead of js-controller directly - see https://github.com/ioBroker/adapter-core#commontools
                        • Parameter that contain patterns (e.g. mqtt.*) are now checked for allowed characters and general correctness!

                        Developer relevant new Features

                        • (bluefox) Added options to subscribe to file changes: subscribeForeignFiles, unsubscribeForeignFiles, onAdapterFileChanged (event contains id, fileName, size and not the whole content of the file!)

                        • (foxriver76) Introduce on("install") handler for adapter which is automatically called when adapter process is started with --install

                        • (foxriver76) Introduce io-package flag common.nodeProcessParams to allow to pass adapter specific nodejs process parameters (disables compact mode for the adapter!)

                        • (foxriver76) Respect dns resolution (ipv4/ipv6 first) from config internally and provide relevant methods via adapter-core

                        • (foxriver76) Add JSON-Schema for iobroker.json

                        • (bluefox) Allowed export of password.js (to be used with adapter-core)

                        • (bluefox) Added _design/chart to the system designs

                        • (foxriver76) Automatically generated Code-Docs for Adapter class https://github.com/ioBroker/ioBroker.js-controller/tree/master/packages/controller/doc

                        • (foxriver76) Added (foreign)objectExists to adapter methods

                        • (bluefox) Extend getSuitableLicenses to look for other licenses

                        • (buefox/foxriver76) Added new category for notifications: blocked and respect js-controller common.blockedVersions to block versions from starting

                        • (bluefox) Added new system view "custom-full" to return the full objects for objects with a custom part and not only the custom details

                        • (foxriver76) Added support for getForeignObjects with an array of strings as pattern

                        • (AlCalzone) Preparations to allow js-controller Dev version to be used with dev-server

                        • (foxriver76) Validate max timeout value (max 32bit max number) on setTimeout/setInterval and throw on error to prevent issues

                        • (foxriver76) new io-package flag common.supportedMessages to replace messagebox and other messagebox-related properties

                        • (foxriver76) adapter.sendTo now accepts an optional timeout argument

                        • Developer relevant Optimizations and Fixes

                        • (foxriver76) Ensure setObjectNotExists returns id on success

                        • (foxriver76) Fix Typings for sendTo/sendToHost

                        • (Bluefox) Add User permission check to requireLog

                        • (foxriver76) added nonEdit property of objects to types and document functionality

                        • (foxriver76) introduced constants for state quality

                        • (foxriver76) subscribeStates now also accepts an array of ids

                        • general dependency updates

                        • code style optimizations and streamline code

                        Generell ist zu testen, ob alles noch so funktioniert wie vorher auch. Das ist das wichtigste!


                        Wie Fehler melden?


                        Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

                        Bitte checkt auch die "Known issues Liste" (zweiter Post).

                        Sobald ein Fehler auftritt der in einer Fehlermeldung oder einen Crash mit Fehlerdetails im Log oder auf Kommandozeile endet, dann dazu am besten direkt ein GitHub-Issue im js-controller Projekt öffnen und zusätzlich hier im Thread posten. Je detaillierter die Angaben im Issue sind (genaue Fehlermeldungen/Logs, Infos zur OS- und Node.js-Umgebung sowie genaue Schritte zur Reproduktion des Problems), umso schneller können wir Fehler einkreisen und beheben.

                        Bitte postet auch die Ausgabe von iob diag mit rein.

                        Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

                        Ingo

                        GaspodeG Offline
                        GaspodeG Offline
                        Gaspode
                        schrieb am zuletzt editiert von
                        #258

                        @thomas-braun said in js-controller 5.0.x jetzt in der BETA:

                        Na das verbietet sich von alleine.

                        In diesem Fall steht es außerdem sogar im ersten Beitrag:

                        @apollon77 said in js-controller 5.0.x jetzt in der BETA:

                        In diesem Release entfällt Node.js 12.x welches seit April letztem Jahr nicht mehr gepflegt wird und Node.js 14.x welches seit April diesem Jahres EOL ist.

                        1 Antwort Letzte Antwort
                        0
                        • mcm1957M mcm1957

                          @apollon77

                          Im Spoiler für Entwickler News im ersten Beitrag steht

                          Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                          Wurde nicht node 14 enfalls gekübelt.,oder rwechsel ich das was?

                          GaspodeG Offline
                          GaspodeG Offline
                          Gaspode
                          schrieb am zuletzt editiert von
                          #259

                          @mcm57 said in js-controller 5.0.x jetzt in der BETA:

                          Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                          Ja, das wurde wohl vergessen zu ändern.

                          1 Antwort Letzte Antwort
                          0
                          • D Diamand2k22

                            seit dem Update auf 5.0.5 schmiert mir immer der Zigbee Adapter ab.

                            2023-06-19 10:01:37.722 - error: host.pi4b 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:
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/hub.ts:340:1)
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/exports.ts:76:1)
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
                            2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at Zigbee.filterError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:142:18)
                            2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:699:22
                            2023-06-19 10:01:37.724 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                            └─┬ iobroker.zigbee@1.8.11 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#5add9eafb4da35eedc5655ef3c0a8a919ec873b0)
                              ├─┬ zigbee-herdsman-converters@15.22.0
                              │ └─┬ zigbee-herdsman@0.15.0
                              └─┬ zigbee-herdsman@0.14.117
                            pi4b@pi4b:/opt/iobroker$
                            
                            D Offline
                            D Offline
                            Diamand2k22
                            schrieb am zuletzt editiert von
                            #260

                            @diamand2k22 said in js-controller 5.0.x jetzt in der BETA:

                            seit dem Update auf 5.0.5 schmiert mir immer der Zigbee Adapter ab.

                            2023-06-19 10:01:37.722 - error: host.pi4b 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:
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/hub.ts:340:1)
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/exports.ts:76:1)
                            2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
                            2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at Zigbee.filterError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:142:18)
                            2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:699:22
                            2023-06-19 10:01:37.724 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                            └─┬ iobroker.zigbee@1.8.11 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#5add9eafb4da35eedc5655ef3c0a8a919ec873b0)
                              ├─┬ zigbee-herdsman-converters@15.22.0
                              │ └─┬ zigbee-herdsman@0.15.0
                              └─┬ zigbee-herdsman@0.14.117
                            pi4b@pi4b:/opt/iobroker$
                            

                            Zigbee läuft wieder, eine Deinstallation und Reinstallation hat das Problem gelöst.
                            für jemanden der das selbe Problem hat.

                            cd /opt/iobroker 
                            npm uninstall zigbee-herdsman-converters
                            npm uninstall zigbee-herdsman
                            

                            danach wieder Installieren entweder über Adapter oder github.

                            bin zeitgleich wieder auf due 5.0.3 zurück, da im Java Blockly die Trigger nicht mehr funktioniert haben.

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • mcm1957M mcm1957

                              @apollon77

                              Im Spoiler für Entwickler News im ersten Beitrag steht

                              Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                              Wurde nicht node 14 enfalls gekübelt.,oder rwechsel ich das was?

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #261

                              @mcm57 sagte in js-controller 5.0.x jetzt in der BETA:

                              Support for Node.js 12 is dropped! Supported are Node.js 14.18.0+, 16.4.0+ and 18.x

                              fixe ich

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              1 Antwort Letzte Antwort
                              0
                              • D Diamand2k22

                                @diamand2k22 said in js-controller 5.0.x jetzt in der BETA:

                                seit dem Update auf 5.0.5 schmiert mir immer der Zigbee Adapter ab.

                                2023-06-19 10:01:37.722 - error: host.pi4b 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:
                                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'Error')
                                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:122:56
                                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Hub.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/hub.ts:340:1)
                                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Object.configureScope (/opt/iobroker/node_modules/@iobroker/plugin-sentry/node_modules/@sentry/src/exports.ts:76:1)
                                2023-06-19 10:01:37.723 - error: host.pi4b Caught by controller[0]: at Zigbee.sendError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:118:32)
                                2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at Zigbee.filterError (/opt/iobroker/node_modules/iobroker.zigbee/main.js:142:18)
                                2023-06-19 10:01:37.724 - error: host.pi4b Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.zigbee/main.js:699:22
                                2023-06-19 10:01:37.724 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                
                                pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                                └─┬ iobroker.zigbee@1.8.11 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#5add9eafb4da35eedc5655ef3c0a8a919ec873b0)
                                  ├─┬ zigbee-herdsman-converters@15.22.0
                                  │ └─┬ zigbee-herdsman@0.15.0
                                  └─┬ zigbee-herdsman@0.14.117
                                pi4b@pi4b:/opt/iobroker$
                                

                                Zigbee läuft wieder, eine Deinstallation und Reinstallation hat das Problem gelöst.
                                für jemanden der das selbe Problem hat.

                                cd /opt/iobroker 
                                npm uninstall zigbee-herdsman-converters
                                npm uninstall zigbee-herdsman
                                

                                danach wieder Installieren entweder über Adapter oder github.

                                bin zeitgleich wieder auf due 5.0.3 zurück, da im Java Blockly die Trigger nicht mehr funktioniert haben.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #262

                                @diamand2k22 sagte in js-controller 5.0.x jetzt in der BETA:

                                cd /opt/iobroker

                                Falsches Verzeichnis.
                                Die herdsman-Module liegen unterhalb von iobroker.zigbee

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • ste_gleiS Offline
                                  ste_gleiS Offline
                                  ste_glei
                                  schrieb am zuletzt editiert von
                                  #263

                                  Update auf 5.0.5 hat problemlos geklappt.

                                  Einzig der bosch-ebike Adapter funktioniert nicht und wirft nur Fehler aus

                                  host.iobroker
                                  2023-06-19 12:51:36.695	info	Restart adapter system.adapter.bosch-ebike.0 because enabled
                                  host.iobroker
                                  2023-06-19 12:51:36.695	error	instance system.adapter.bosch-ebike.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  host.iobroker
                                  2023-06-19 12:51:36.695	error	Caught by controller[1]: at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
                                  host.iobroker
                                  2023-06-19 12:51:36.695	error	Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                  host.iobroker
                                  2023-06-19 12:51:36.695	error	Caught by controller[1]: at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:51)
                                  host.iobroker
                                  2023-06-19 12:51:36.695	error	Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'replace')
                                  host.iobroker
                                  2023-06-19 12:51:36.694	error	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:
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.993	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.992	info	terminating
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.975	error	Cannot read properties of undefined (reading 'replace')
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.974	error	TypeError: Cannot read properties of undefined (reading 'replace') at BoschEbike.loginFlow (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:149:51) at processTicksAndRejections (node:internal/process/task_queues:95:5) at BoschEbike.onReady (/opt/iobroker/node_modules/iobroker.bosch-ebike/main.js:79:7)
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.972	error	unhandled promise rejection: Cannot read properties of undefined (reading 'replace')
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:35.971	error	Unhandled promise rejection. 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().
                                  
                                  bosch-ebike.0
                                  2023-06-19 12:51:34.011	info	Login to eBike flow
                                  
                                  apollon77A 1 Antwort Letzte Antwort
                                  0
                                  • foxriver76F foxriver76

                                    Controller v5.0.5 wird zeitnah verfügbar sein:

                                    • Probleme mit falschem Loglevel bei Beenden von Adaptern behoben
                                    • UI Upgrade wird nur noch angeboten, wenn das Betriebssystem dies unterstützt (das heißt aktuell: nativ Linux oder offizielles ioBroker Docker Image)
                                    • UI Upgrade für offizielles Docker Image eingebaut
                                    • Probleme mit dem Aufruf von deleteState in manchen Konstellationen behoben, was zB verhindert hat Geräte in Zigbee zu löschen
                                    dontobiD Offline
                                    dontobiD Offline
                                    dontobi
                                    schrieb am zuletzt editiert von
                                    #264

                                    @foxriver76 Ich habe eben meine Installation aktualisiert. Leider klappt danach nichts mehr. Grund hierfür sind die UI Upgrade Changes. Ich nutze nämlich einen eigenen ioBroker Docker Container. Wäre es möglich da was dran zu ändern?

                                    Smart Home Zentrale: Raspberry Pi 4 4GB
                                    Meine Homepage: https://www.myHome.zone

                                    Thomas BraunT foxriver76F apollon77A 4 Antworten Letzte Antwort
                                    0
                                    • dontobiD dontobi

                                      @foxriver76 Ich habe eben meine Installation aktualisiert. Leider klappt danach nichts mehr. Grund hierfür sind die UI Upgrade Changes. Ich nutze nämlich einen eigenen ioBroker Docker Container. Wäre es möglich da was dran zu ändern?

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #265

                                      @dontobi sagte in js-controller 5.0.x jetzt in der BETA:

                                      Wäre es möglich da was dran zu ändern?

                                      Vermutlich müsstest du da was 'zu beißen' in Form von Logfiles abliefern.
                                      Soweit ich das hier verfolgt habe funktioniert es nämlich bei anderen im Docker.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      M dontobiD 2 Antworten Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @dontobi sagte in js-controller 5.0.x jetzt in der BETA:

                                        Wäre es möglich da was dran zu ändern?

                                        Vermutlich müsstest du da was 'zu beißen' in Form von Logfiles abliefern.
                                        Soweit ich das hier verfolgt habe funktioniert es nämlich bei anderen im Docker.

                                        M Offline
                                        M Offline
                                        Marty56
                                        schrieb am zuletzt editiert von Marty56
                                        #266

                                        Ich habe bemerkt, dass "sendToAsync" jetzt wieder Probleme macht.
                                        Folgende Funktion bricht mit Fehler ab.
                                        Die Errormeldung liefere ich nach.

                                        async function write_influxDB2(id,time,value,db) {
                                            var timestamp = new Date(new Date(time).toISOString()).getTime();
                                            try {
                                                await sendToAsync(db, 'storeState', [{ id: id, state: {ts: timestamp, val: value, ack: false}}]);
                                                log('Write DB:' + db + ' id:'+ id + " Value: " + value.toFixed(2) + " Time: " + time)
                                            } 
                                            catch (error) {
                                                log('InfluxDB Error trying to write ' + id ,error)
                                            } 
                                            return;
                                        }
                                        

                                        Update: Fehlermeldung. Ich kann damit nichts anfangen.

                                        Unknown severity level "[object Object]" by log of [InfluxDB Error trying to write 0_userdata.0.Energie.Auto.price_tibber]
                                        

                                        HW:NUC (16 GB Ram)
                                        OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                                        apollon77A 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @dontobi sagte in js-controller 5.0.x jetzt in der BETA:

                                          Wäre es möglich da was dran zu ändern?

                                          Vermutlich müsstest du da was 'zu beißen' in Form von Logfiles abliefern.
                                          Soweit ich das hier verfolgt habe funktioniert es nämlich bei anderen im Docker.

                                          dontobiD Offline
                                          dontobiD Offline
                                          dontobi
                                          schrieb am zuletzt editiert von
                                          #267

                                          @thomas-braun Wenn ich das eben richtig gesehen habe, wir die Version des Docker Containers abgefragt. Bei mir läuft dies ins leere und somit stürzt der Controller ab.

                                          Smart Home Zentrale: Raspberry Pi 4 4GB
                                          Meine Homepage: https://www.myHome.zone

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          242

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe