Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0.x jetzt für alle User im STABLE!

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 4.0.x jetzt für alle User im STABLE!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Nashra
      Nashra Most Active Forum Testing last edited by

      Vielen Dank an alle Beteiligten, install ohne Probleme 👍 👍 👍

      1 Reply Last reply Reply Quote 1
      • J
        jensven last edited by jensven

        Habe auch gerade nen Update von 3.3.22 auf 4.0.15 gemacht
        Es läuft alles auch soweit, bis auf die bekannten error Probleme von den objekten.

        Aber während des Updates gab es folgende Errors:

        pi@raspberrypi:~ $ iob upgrade self
        Update js-controller from @3.3.22 to @4.0.15
        NPM version: 6.14.16
        npm install iobroker.js-controller@4.0.15 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
        In file included from ../src/unix_dgram.cc:5:
        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                      ^
        In file included from ../../nan/nan.h:54,
                         from ../src/unix_dgram.cc:5:
        ../src/unix_dgram.cc: At global scope:
        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(unix_dgram, Initialize)
         ^~~~~~~~~~~
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
        Server States 127.0.0.1:58302 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
        Server States 127.0.0.1:58304 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: Unknown LUA script load
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: Unknown LUA script load
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: Unknown LUA script load
        Server Objects 127.0.0.1:45710 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
        Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for names pace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
        

        Sollte man da was machen? Hat das was mit den bekannten Problemen zu tun ?

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

          @jensven alles gut. Sind übliche Warnungen von einem Paket. Ignorieren

          E Meister Mopper 2 Replies Last reply Reply Quote 1
          • Fabio
            Fabio @apollon77 last edited by

            @apollon77 vielen Dank an euch. Update war erfolgreich keine Probleme. 👍😉👌

            1 Reply Last reply Reply Quote 1
            • E
              Einstein67 @apollon77 last edited by Einstein67

              @apollon77 Ich hab eine komplette Neuinstallation mit dem Script vom 13.2. durchgeführt (Debian11 und Node 16).

              JS-Controller, Admin, Backitup und Discovery wurden in der aktuellsten Version installiert.

              Backup (Grafana, InfluxDB und IOBroker) wieder hergestellt.

              Keine Probleme bei Installation und Restore, alles läuft perfekt. TOP!!

              Edit: Auch das Popup (jsonl Konvertierung) ist weg!

              1 Reply Last reply Reply Quote 1
              • Meister Mopper
                Meister Mopper @apollon77 last edited by

                @apollon77
                Nach dem upgrade und Neustart des ioBroker auf meinem master startete der admin-Adapter nicht mit.

                Mit iobroker start admin lief's wieder rund 👍

                apollon77 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky last edited by

                  Danke für's entwickeln - nach update läuft alles soweit - keine fehler

                  vis scheint schneller beim laden der views zu sein 🙂

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

                    Hallo,

                    bekomme nun folgende warn und error im log:

                    telegram.0
                    2022-02-26 11:10:34.726	error	getMe (reconnect #0) Error:Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org
                    
                    dwd.0
                    2022-02-26 11:10:33.508	error	Empty or invalid JSON: Cannot read JSON file: Error: getaddrinfo EAI_AGAIN www.dwd.de
                    
                    hm-rega.0
                    2022-02-26 11:10:29.731	warn	Script "!# programs.fn 1.3 !# Dieses Script gibt eine Liste der Programme als JSON Strin" ignored, because still pending.
                    
                    hm-rega.0
                    2022-02-26 11:10:29.689	warn	Script "!# polling.fn 1.3 !# !# Dieses Script gibt die Werte aller Systemvariablen als J" ignored, because still pending.
                    
                    telegram.1
                    2022-02-26 11:10:27.301	error	getMe (reconnect #0) Error:Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org
                    
                    javascript.0
                    2022-02-26 11:10:20.101	error	Request error: Error: getaddrinfo EAI_AGAIN www.bild.de
                    
                    javascript.0
                    2022-02-26 11:10:20.100	error	script.js.Scripte.Sonstige.RSS-Feed: {'errno':-3001,'code':'EAI_AGAIN','syscall':'getaddrinfo','hostname':'www.bild.de'}
                    host.VM-iobroker
                    2022-02-26 11:10:17.650	error	instance system.adapter.hm-rpc.1 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    
                    hm-rpc.1
                    2022-02-26 11:10:17.016	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    
                    hm-rpc.1
                    2022-02-26 11:10:17.013	error	Cannot call init: [xmlrpc_bin://192.168.243.12:8701, ""] Cannot call write after a stream was destroyed
                    
                    hm-rpc.1
                    2022-02-26 11:10:17.000	error	Exception-Code: ETIMEDOUT: read ETIMEDOUT
                    
                    hm-rpc.1
                    2022-02-26 11:10:16.999	error	Error: read ETIMEDOUT at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
                    
                    hm-rpc.1
                    2022-02-26 11:10:16.994	error	uncaught exception: read ETIMEDOUT
                    
                    telegram.0
                    2022-02-26 11:10:14.696	warn	polling_error: EFATAL, EFATAL: Error: read ETIMEDOUT
                    

                    Vielleicht habt ihr dafür eine Erklärung.

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

                      @bahnuhr ja. Dein System hat scheinbar gerade ein Problem mit DNS namensauflösungen. Also vor allem die EAGAIN sagen genau das. Check also mal Netzwerk und DNS. Vllt mal reboot? Sollte aber alles nix mit dem Controller zu tun haben.

                      Würde erst das fixen. Falls dann hm-Rpc weiter was sagt muss man da schauen.

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

                        @meister-mopper was stand im log? Falls du schauen willst.

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • R
                          rasrol last edited by rasrol

                          Läuft perfekt.
                          Ich musste zwar ein Neuinstallation per Script durchführen, aber seither keine Fehler.

                          Debian 11
                          Node.js:v14.19.0
                          NPM:6.14.16

                          Danke

                          1 Reply Last reply Reply Quote 1
                          • liv-in-sky
                            liv-in-sky @apollon77 last edited by liv-in-sky

                            @apollon77

                            hat das was mit controller 4 zu tun - versuch javascript update - ging vor js-c update auch nicht zum updaten - mit controller 4 kommt beim update des javasc. adapters diese meldung:

                            host.iobroker59
                            2022-02-26 11:11:00.509	error	iobroker (node:27388) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency(node:27388) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency(node:27388) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                            host.iobroker59
                            2022-02-26 11:11:00.505	error	iobroker (node:27388) Warning: Accessing non-existent property 'count' of module exports inside circular dependency(Use `node --trace-warnings ...` to show where the warning was created)
                            

                            siehe auch:https://forum.iobroker.net/post/768862

                            nehme an, ist anderes topic - nicht für hier?

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @liv-in-sky last edited by apollon77

                              @liv-in-sky ließ mal in der faq. Du hast ne alte mongodb lib wohl von nem node-red. Liegt eher an nodejs 14+ als am Controller.

                              Latzi 1 Reply Last reply Reply Quote 0
                              • andiko2
                                andiko2 last edited by

                                Habe heute die Updates gemacht und alles läuft soweit gut.

                                Plattform
                                linux
                                Betriebssystem
                                linux
                                Architektur
                                x64
                                CPUs
                                4
                                Geschwindigkeit
                                1692 MHz
                                Modell
                                Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                RAM
                                7.64 GB
                                System-Betriebszeit
                                7 T. 01:15:35
                                Node.js
                                v12.22.10 (Empfohlene Version v14.19.0)
                                time
                                1645873156427
                                timeOffset
                                -60
                                Anzahl der Adapter
                                399
                                NPM
                                6.14.16
                                Datenträgergröße
                                109.04 GB
                                freier Festplattenspeicher
                                58.43 GB
                                Betriebszeit
                                00:29:23
                                Aktive Instanzen
                                26
                                location
                                /opt/iobroker/
                                Hostname
                                ioBrokerPC
                                Einzigster Fehler mein Adapter Systeminfo geht nicht mehr. im Log steht volgendes:
                                host.ioBrokerPC
                                2022-02-26 12:25:34.470 error instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                systeminfo.0
                                2022-02-26 12:25:33.842 error Cannot read property 'getObjectList' of undefined
                                systeminfo.0
                                2022-02-26 12:25:33.841 error TypeError: Cannot read property 'getObjectList' of undefined at Function.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (events.js:314:20) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8223:26
                                systeminfo.0
                                2022-02-26 12:25:33.838 error unhandled promise rejection: Cannot read property 'getObjectList' of undefined
                                systeminfo.0
                                2022-02-26 12:25:33.838 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().

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

                                  @andiko2 Zu systeminfo: siehe Post #1 ... da stehts drin inkkl. wie du es fixen kannst bis es ein Update gibt

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

                                    @apollon77 was ist Post '#1? Bin nicht so der Forumkenner. Wenn möglich Link.

                                    apollon77 T 2 Replies Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @andiko2 last edited by

                                      @andiko2 Der erste Post in diesem Thread? Einfach gaaaaaaaaaaaaaaaaaaaanz nach oben Scrollen. Dort im Abschnitt "VOR der Installation"

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tobrog @andiko2 last edited by tobrog

                                        @andiko2 Einfach in der Datei /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js in Zeile 44 von"adapter.objects.getObjectList" zu "adapter.getObjectList" ändern.

                                        andiko2 1 Reply Last reply Reply Quote 1
                                        • T
                                          TDCroPower last edited by

                                          Update des js-controllers auf dem Docker Image von buanet ist durch, lediglich der rebuild vom BLE Adapter läuft bei 3 Versuchen nicht durch und im Log sieht man jetzt folgendes...

                                          host.helios64
                                          2022-02-26 12:48:17.793	info	Rebuild for adapter system.adapter.ble.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                                          host.helios64
                                          2022-02-26 12:48:17.792	info	instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                                          

                                          wenn ich den Befehl in der Konsole eingebe kommt folgendes...

                                          root@helios64:/opt/iobroker# npm install --production
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          
                                          removed 3 packages and updated 1 package in 34.934s
                                          
                                          137 packages are looking for funding
                                            run `npm fund` for details
                                          
                                          root@helios64:/opt/iobroker#
                                          

                                          was nun !?

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

                                            @tobrog said in js-controller 4.0.x jetzt für alle User im STABLE!:

                                            adapter.getObjectList

                                            Dankeschön. Genau diese Info hat geholfen.

                                            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

                                            856
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            83
                                            501
                                            107525
                                            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