Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 5.0.x jetzt in der BETA

    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 5.0.x jetzt in der BETA

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

      @sigi234 Ist bei mir auch - nur eine VIEW die dieses iframe mit der URL enthält. Allerdings wird bei mir die URL "zusammen gebaut", da ich pullDown Menüs verwende. Das ist aber in div. anderen VIEW`s genauso aufgebaut und da passiert es nicht.

      56b564d1-2a0b-4ce1-b997-bbb05ead8477-image.png

      4f8d0ff5-6cb2-4b22-8fa1-a0a705591f3b-image.png

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

        @sigi234

        Möglicherweise habe ich den Fehler gefunden - Hast du in deinen Grafana Diagrammen auch oben rechts ein blaues "Time Info" Icon?

        Ich hatte das nur in diesen Diagrammen. Habe das jetzt mal entfernt und aktuell stürzt das View nicht mehr ab.

        0608e7a2-3e44-41fe-9a17-68a7c880cecc-image.png

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

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

          Hast du in deinen Grafana Diagrammen auch oben recht ein blaues "Time Info" Icon?

          Bei mir kommt der Fehler nicht von Grafana, sondern via bindings (denke ich)

          Screenshot (279).png

          Screenshot (280).png

          1 Reply Last reply Reply Quote 0
          • JB_Sullivan
            JB_Sullivan last edited by JB_Sullivan

            Mist - zu früh gefreut - trotz deaktivierter Time Icons ist der host Controller beim 10. oder 20. hin und her schalten zwischen den Diagrammen wieder abgestürzt.

            Fehlermeldung war die selbe. Ich sehe gerade das dieses mal noch ein Sack voll mehr Meldungen auch vom Web Adapter gekommen sind.

            
            web.0
            2023-09-07 09:50:03.752	warn	Timeout by termination of web-extensions!
            
            web.0
            2023-09-07 09:50:03.226	error	Error The pattern "http://10.122.60.87:3000/d/3oeu6gyVK/bmw-jahresfahrleistung?orgId=1&refresh=10s&from=now-12h&to=now&kiosk" is not a valid ID pattern
            
            web.0
            2023-09-07 09:50:03.226	error	ReplyError: Error The pattern "http://10.122.60.87:3000/d/3oeu6gyVK/bmw-jahresfahrleistung?orgId=1&refresh=10s&from=now-12h&to=now&kiosk" is not a valid ID pattern at parseError (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:179:12) at parseType (C:\ioBroker\GLT\node_modules\redis-parser\lib\parser.js:302:14)
            
            web.0
            2023-09-07 09:50:03.223	error	unhandled promise rejection: Error The pattern "http://10.122.60.87:3000/d/3oeu6gyVK/bmw-jahresfahrleistung?orgId=1&refresh=10s&from=now-12h&to=now&kiosk" is not a valid ID pattern
            
            web.0
            2023-09-07 09:50:03.221	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().
            host.GLT-Server
            2023-09-07 09:50:03.207	warn	States 127.0.0.1:50169 Error from InMemDB: Error: The pattern "http://10.122.60.87:3000/d/3oeu6gyVK/bmw-jahresfahrleistung?orgId=1&refresh=10s&from=now-12h&to=now&kiosk" is not a valid ID pattern at Object.pattern2RegEx (C:\ioBroker\GLT\node_modules\@iobroker\js-controller-common\src\lib\common\tools.ts:2497:15) at StatesInMemoryServer.handleSubscribe (C:\ioBroker\GLT\node_modules\@iobroker\db-base\src\lib\inMemFileDB.ts:324:59) at StatesInMemoryServer._subscribeForClient (C:\ioBroker\GLT\node_modules\@iobroker\db-states-file\src\lib\states\statesInMemFileDB.js:258:14) at RedisHandler.<anonymous> (C:\ioBroker\GLT\node_modules\@iobroker\db-states-jsonl\src\lib\states\statesInMemServerRedis.js:395:26) at RedisHandler.emit (node:events:514:28) at RedisHandler.emit (node:domain:489:12) at Immediate._onImmediate (C:\ioBroker\GLT\node_modules\@iobroker\db-base\src\lib\redisHandler.ts:209:37) at processImmediate (node:internal/timers:476:21)
            
            javascript.0
            2023-09-07 09:50:02.635	info	script.js.Aktiv.Grafana_Enyaq: http://10.122.60.87:3000/d/3oeu6gyVK/bmw-jahresfahrleistung?orgId=1&refresh=10s&from=now-12h&to=now&kiosk
            
            1 Reply Last reply Reply Quote 0
            • F
              frickeldave last edited by

              Hi, ich benutze iobroker ausschliesslich im docker container. Ich habe aktuell das Image 8.1.0 im Einsatz, was aber noch mit js-controller 4 daher kommt. Da ich auch vis-2 nutze, stehe cih nun vor dem Problem, dass ich nicht mehr vis-2 updaten kann, da js-controller 5 Vorasusetzung geworden ist. Gibt es schon einen docker container mit js-controller 5?

              haselchen 1 Reply Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @frickeldave last edited by haselchen

                @frickeldave

                Ähm, natürlich kannst Du im Terminal vom Container den JS Controller Updaten!?
                Einfach den Anweisungen hier folgen.

                https://forum.iobroker.net/topic/68290/js-controller-5-0-x-jetzt-für-alle-user-im-stable

                F 1 Reply Last reply Reply Quote 0
                • F
                  frickeldave @haselchen last edited by

                  @haselchen Nein geht eben nicht, wie in der Anleitung weil kein daemon Prozess da ist den iobroker erwartet. Also es geht bestimmt irgendwie, aber dafür ist erstmal ein bisschen Tüftelei notwendig. Wenn keiner hier schon einen Weg ausgetüftelt hat, würde ich eher warten, bis buanet ne neue Image Version zur Verfügung stellt.

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

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

                    Also es geht bestimmt irgendwie, aber dafür ist erstmal ein bisschen Tüftelei notwendig.

                    Ohne viel tüfteln (innerhalb des Containers):

                    m on
                    iob upgrade self
                    m off
                    

                    https://docs.buanet.de/iobroker-docker-image/docs/#use-maintenance-script

                    F 1 Reply Last reply Reply Quote 1
                    • S
                      sunny9999 last edited by

                      Hallo zusammen,
                      so update auf js-controller Version 5.0.12 vollzogen, alles soweit glatt....aber neben dem bereits bekannten Linux-Control Problem starten bei mir folgende Instanzen nicht :

                      email
                      folgende Fehler im Log :

                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	info	Rebuild for adapter system.adapter.email.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	instance system.adapter.email.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: Node.js v18.16.1
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: }
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.email/main.js' ]
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.email/main.js:13:15)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.email/main.js
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: Require stack:
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js'
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: ^
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.226	error	Caught by controller[0]: throw err;
                      host.IOBROKER-MASTER
                      2023-09-15 12:25:01.225	error	Caught by controller[0]: node:internal/modules/cjs/loader:1080
                      

                      sowie samsung_tizen

                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	info	Rebuild for adapter system.adapter.samsung_tizen.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	instance system.adapter.samsung_tizen.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: Node.js v18.16.1
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: }
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: ]
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.samsung_tizen/main.js'
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.samsung_tizen/lib/utils.js',
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: requireStack: [
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) {
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.samsung_tizen/lib/utils.js:46:25)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.samsung_tizen/main.js
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.samsung_tizen/lib/utils.js
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: Require stack:
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: ^
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.913	error	Caught by controller[0]: throw err;
                      host.IOBROKER-MASTER
                      2023-09-15 12:27:21.912	error	Caught by controller[0]: node:internal/modules/cjs/loader:1080
                      

                      Jemand ne Idee ?
                      Grüße
                      Sunny

                      DJMarc75 Omnedon 2 Replies Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @sunny9999 last edited by

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

                        dem bereits bekannten Linux-Control Problem

                        Welches Problem ist da bekannt ? Also bei mir läuft der Adapter.

                        1 Reply Last reply Reply Quote 0
                        • Omnedon
                          Omnedon @sunny9999 last edited by

                          @sunny9999
                          Bei mir das gleiche Problem mit dem samsung_tizen-Adapter.

                          1 Reply Last reply Reply Quote 0
                          • F
                            frickeldave @Marc Berg last edited by

                            @marc-berg Sehr cool, war tatsächlich so einfach. Vielen Dank.

                            mcm1957 1 Reply Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 @frickeldave last edited by

                              Da der js-controller5 nun im STABLE ist und - wenn ich es richtig sehe - hier kein offenes Thema mehr diskutiert wird, sollte man ev. diesen Thread schließen um Paralleldiskussionen (Adapter xy geht / geht nicht) zu vermeiden.

                              @Homoran was meinst du dazu?

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

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

                                @Homoran was meinst du dazu?

                                ja, mach ich.

                                aber nur weil er jetzt im stable ist, werden trotzdem noch bugs auftauchen, die im Beta-test nicht aufgefallen waren.
                                die müssten dann aber im stable thread besprochen werden!

                                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

                                842
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                71
                                580
                                125303
                                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