Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0 jetzt im BETA/LATEST!

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 4.0 jetzt im BETA/LATEST!

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

      @gelberlemmy naja ich bin ehrlich ... nur Fehler ist ein bissl einseitig weil jeglicher Kontext fehlt. Am besten wäre das log direkt ab dem Controller Start vollständig anzusehen.

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

        @apollon77 okay, wie besprochen kommt das LOG per Mail. Danke

        1 Reply Last reply Reply Quote 0
        • E
          e-i-k-e @apollon77 last edited by

          @apollon77

          Danke. Mit 3.3.22 lief es, nach eine update auf 4.0.15 (inkl. iobroker fix) startet iobroker auf dem Slave nicht und ich erhalte folgendes im log.

          host.raspberrypi-display2
          2022-02-22 22:29:31.337	info	iobroker Starting node restart.js
          host.raspberrypi-display2
          2022-02-22 22:29:29.205	info	instance system.adapter.javascript.4 started with pid 26229
          host.raspberrypi-display2
          2022-02-22 22:29:29.139	info	iobroker _restart
          host.raspberrypi-display2
          2022-02-22 22:29:29.130	info	stopInstance system.adapter.rpi2.2 (force=false, process=false)
          host.raspberrypi-display2
          2022-02-22 22:29:29.129	info	stopInstance system.adapter.javascript.4 (force=false, process=false)
          host.raspberrypi-display2
          2022-02-22 22:29:29.123	error	TypeError: Cannot read property '_id' of null at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3422:42 at Array.map (<anonymous>) at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3414:39) at processTicksAndRejections (internal/process/task_queues.js:95:5)
          host.raspberrypi-display2
          2022-02-22 22:29:29.121	error	uncaught exception: Cannot read property '_id' of null
          host.raspberrypi-display2
          2022-02-22 22:29:28.433	info	starting 2 instances
          host.raspberrypi-display2
          2022-02-22 22:29:28.326	info	86 instances found
          host.raspberrypi-display2
          2022-02-22 22:29:21.213	info	All instances are stopped.
          host.raspberrypi-display2
          2022-02-22 22:29:21.212	info	instance system.adapter.javascript.4 terminated with code null ()
          host.raspberrypi-display2
          2022-02-22 22:29:21.210	warn	instance system.adapter.javascript.4 terminated due to SIGTERM
          host.raspberrypi-display2
          2022-02-22 22:29:20.756	info	iobroker exit null
          host.raspberrypi-display2
          2022-02-22 22:29:20.738	info	received SIGTERM
          host.raspberrypi-display2
          2022-02-22 22:29:20.192	info	iobroker Starting node restart.js
          host.raspberrypi-display2
          2022-02-22 22:29:18.247	info	instance system.adapter.javascript.4 started with pid 26179
          host.raspberrypi-display2
          2022-02-22 22:29:18.043	info	iobroker _restart
          
          foxriver76 1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @e-i-k-e last edited by

            @e-i-k-e Objekte in redis? Multihost?

            E 1 Reply Last reply Reply Quote 0
            • E
              e-i-k-e @foxriver76 last edited by

              @foxriver76
              Ja redis/redis und ist auch ein Multihost System.
              Wobei nur dieser Slave die probleme macht, die anderen 5 laufen wie gewohnt.

              foxriver76 1 Reply Last reply Reply Quote 0
              • foxriver76
                foxriver76 Developer @e-i-k-e last edited by

                @e-i-k-e zeig mal redis-cli get meta.objects.features.useSets

                E 1 Reply Last reply Reply Quote 0
                • E
                  e-i-k-e @foxriver76 last edited by

                  @foxriver76
                  "1"

                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @e-i-k-e last edited by foxriver76

                    @e-i-k-e redis-cli set meta.objects.features.useSets '0'

                    Dann sollte es gehen, da der eine Host kleiner 4 war und die anderen 4 und Sets anscheinend aktiv sind diese out of sync gegangen. Der war evtl schon mal kurz 4 und dadurch sind die Sets aktiviert worden und dann wieder 3.

                    foxriver76 1 Reply Last reply Reply Quote 1
                    • foxriver76
                      foxriver76 Developer @foxriver76 last edited by

                      wenn sets in multihost genutzt werden sollen, alle hosts stoppen iob object activateSets dann starten und nie wieder einen der hosts kleiner 4 machen bzw vorher sets deaktivieren.

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

                        @gelberlemmy Also das gesendete Log Zeigt solche "DB closed" fehler als der Controller beendet wurde und damit wären es adapter issues. ABer auch da ist es 20:03 Uhr wo das passiert ... dein Log hier ist 20:30 ... das ist in dem Log aus der Mail aber nicht drin ...

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

                          @apollon77 okay, ich dachte ich habe alles wichtige mitgesendet. Ich schicke Dir einmal das ganze Log. Danke für Deine Mühe

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

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

                            @gelberlemmy Also das gesendete Log Zeigt solche "DB closed" fehler als der Controller beendet wurde und damit wären es adapter issues. ABer auch da ist es 20:03 Uhr wo das passiert ... dein Log hier ist 20:30 ... das ist in dem Log aus der Mail aber nicht drin ...

                            Moin Apollon, so habe Dir das ganze Log von gestern gesendet. Habe dies direkt über ssh herunter geladen.

                            Gruß André

                            apollon77 1 Reply Last reply Reply Quote 0
                            • E
                              e-i-k-e last edited by Negalein

                              Erhalte soeben nach einem Neustart von ioBroker folgendes.

                              Error in GUI!
                              Please open the browser console (F12), copy error text from there and create the issue on github
                              Without this information it is not possible to analyse the error.
                              It should looks like
                              error
                              If in the second line you will see at :3000/static/js/main.chunk.js:36903 and not the normal file name,
                              please try to reproduce an error with opened browser console. In this case the special "map" files will be loaded and the developers can see the real name of functions and files.
                              Loading chunk 14 failed. (error: https://192.168.3.100:8081/static/js/14.b28d85a4.chunk.js)
                              ChunkLoadError: Loading chunk 14 failed.function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}(error: https://192.168.3.100:8081/static/js/14.b28d85a4.chunk.js)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Function.u.e (https://192.168.3.100:8081/:1:3973)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at https://192.168.3.100:8081/static/js/main.22a9d49c.chunk.js:2:1113786function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at V (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5666268)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Zi (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5656452)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at jl (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5643113)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Sl (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5643041)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Cl (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5642904)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at zl (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5639870)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5589364function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at t.unstable_runWithPriority (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5672574)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Ga (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5589141)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Ka (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5589309)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Za (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5589244)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at pl (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5637247)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Object.enqueueSetState (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5593262)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at o.m.setState (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5664084)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at https://192.168.3.100:8081/static/js/main.22a9d49c.chunk.js:2:1126466function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at u (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5676516)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Generator._invoke (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5676304)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at Generator.throw (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:5676945)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at r (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:35792)function(e,t){return Object(ze.jsxs)("div",{children:[e,Object(ze.jsx)("br",{})]},t)}    at l (https://192.168.3.100:8081/static/js/6.501acaca.chunk.js:2:36031)
                              
                              :8081/static/js/14.b28d85a4.chunk.js:1          Failed to load resource: net::ERR_CONNECTION_REFUSED
                              :8081/img/no-image.png:1          Failed to load resource: net::ERR_CONNECTION_REFUSED
                              browserError.png:1          Failed to load resource: net::ERR_CONNECTION_REFUSED
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649045191&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649047813&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              168instrument.ts:125 notConnectedError
                              (anonymous) @ instrument.ts:125
                              :8081/#tab-intro:1 Uncaught (in promise) timeout
                              800instrument.ts:125 notConnectedError
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:11.805Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649051805&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:12.831Z] Start reconnect 3
                              instrument.ts:125 [2022-02-23T20:44:12.831Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:12.831Z] Reconnect is already running 3
                              instrument.ts:125 [2022-02-23T20:44:16.807Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649056825&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:17.850Z] Start reconnect 4
                              instrument.ts:125 [2022-02-23T20:44:17.851Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:17.851Z] Reconnect is already running 4
                              instrument.ts:125 [2022-02-23T20:44:22.817Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649062840&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:23.875Z] Start reconnect 5
                              instrument.ts:125 [2022-02-23T20:44:23.875Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:23.875Z] Reconnect is already running 5
                              instrument.ts:125 [2022-02-23T20:44:29.803Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649069820&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:30.850Z] Start reconnect 5
                              instrument.ts:125 [2022-02-23T20:44:30.850Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:30.850Z] Reconnect is already running 5
                              instrument.ts:125 [2022-02-23T20:44:36.803Z] Try to connect
                              instrument.ts:125 [2022-02-23T20:44:40.804Z] No READY flag received in 3 seconds. Re-init
                              (anonymous) @ instrument.ts:125
                              socket.io.js:344 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649076827&name=admin' failed: WebSocket is closed before the connection is established.
                              SocketClient.close @ socket.io.js:344
                              instrument.ts:125 [2022-02-23T20:44:40.821Z] Start reconnect 5
                              instrument.ts:125 [2022-02-23T20:44:40.821Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              2instrument.ts:125 [2022-02-23T20:44:40.821Z] Reconnect is already running 5
                              instrument.ts:125 [2022-02-23T20:44:46.804Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649086826&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:47.882Z] Start reconnect 5
                              instrument.ts:125 [2022-02-23T20:44:47.882Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:47.882Z] Reconnect is already running 5
                              instrument.ts:125 [2022-02-23T20:44:53.805Z] Try to connect
                              socket.io.js:94 WebSocket connection to 'wss://192.168.3.100:8081/?sid=1645649093828&name=admin' failed: 
                              SocketClient.connect @ socket.io.js:94
                              instrument.ts:125 [2022-02-23T20:44:54.863Z] Start reconnect 5
                              instrument.ts:125 [2022-02-23T20:44:54.863Z] ws connection error: CLOSE_ABNORMAL
                              (anonymous) @ instrument.ts:125
                              instrument.ts:125 [2022-02-23T20:44:54.863Z] Reconnect is already running 5
                              instrument.ts:125 [2022-02-23T20:45:00.805Z] Try to connect
                              sentry.iobroker.net/api/58/envelope/?sentry_key=43643152dab3481db69950ba866ee9d6&sentry_version=7:1          Failed to load resource: the server responded with a status of 400 ()
                              
                              wendy2702 apollon77 2 Replies Last reply Reply Quote 0
                              • wendy2702
                                wendy2702 @e-i-k-e last edited by

                                @e-i-k-e Habe ich auch hin und wieder. Ist bei mir nach reload der Seite dann immer erledigt

                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  e-i-k-e @wendy2702 last edited by

                                  @wendy2702
                                  Ist bei mir auch so.

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @e-i-k-e last edited by

                                    @e-i-k-e Hat mit controller nix zu tun ... da sist wohl eher admin bzw das Javascriipt von Admin vs ein Admin restart

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

                                      @gelberlemmy Ja log ist eindeutig. Auch um 20:30:42 wurde der Controller beendet. Frage ist nur warum ... wenn du es nicht warst dann schau mal ob in /var/log/syslog was dazu steht um diese Zeit, vllt ja RAM knapp?

                                      Und im Rahmen dieses "alles beenden" hat das SHelly wieder zu lange gebraucht. Also hier bei den Adaptern die solche DB closed werfen schauen ob es neuere Versionen gibt und die ggf probieren - sonst Issues anlegen

                                      lobomau gelberlemmy Diginix 3 Replies Last reply Reply Quote 1
                                      • lobomau
                                        lobomau @apollon77 last edited by

                                        @apollon77 ich habe gestern mein System geupdatet von 3.3.22 auf 4.0.15. Ich habe keine Probleme, scheint sogar etwas resourcenschonender zu sein.
                                        Ein Problem habe ich: ein slave ist ein Pi1 und hier bekomme nich so einfach node 12 installiert. Noch scheint es ja zu funktionieren. Aber wie lange noch oder kann das jetzt schon zu Problemen führen?

                                        Hier sieht man wie beim slave Pi3 die CPU-Temperatur zurückgegangen ist durch das Update des js-controllers von 58°C auf 55°C (jeweils tiefste Temperatur)

                                        d143d6c0-80e0-4f0a-901f-761bee5d2e48-image.png
                                        Hosts:
                                        e7cc9bd2-0e58-4c66-a191-241f23e99c9e-image.png

                                        Thomas Braun lobomau 2 Replies Last reply Reply Quote 1
                                        • arteck
                                          arteck Developer Most Active last edited by arteck

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

                                          Ein Problem habe ich: ein slave ist ein Pi1 und hier bekomme nich so einfach node 12 installiert.

                                          was hast du da laufen ? 3 aktive instanzen ??

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

                                            @lobomau

                                            Beim P1 kannst du die unofficial Builds versuchen. Steht in meinem HowTo zu nodeJS als Sonderfall dabei. (Siehe meine Signatur)

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

                                            Support us

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

                                            383
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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