Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Auch Probleme nach Node 16.20 Update

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Auch Probleme nach Node 16.20 Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Trashman1981 last edited by

      Re: Mein erster Adapter: Für EZcontrol XS1

      Hallo mcm57,

      ich habe auch nach dem Node Update auf 16 (verbunden mit einer kompletten Neuinstallation meines Iobrokers auf Raspi) das folgende Problem.

      Der Adapter startet, lädt kurz die 12 Aktoren und stoppt dann wieder. Hier das log:

      host.raspberrypi
      2023-09-27 11:14:00.840 info Do not restart adapter system.adapter.xs1.0 because desired by instance
      host.raspberrypi
      2023-09-27 11:14:00.839 info instance system.adapter.xs1.0 terminated by request of the instance itself and will not be restarted, before user restarts it.

      xs1.0
      2023-09-27 11:14:00.276 info Terminated (ADAPTER_REQUESTED_TERMINATION): xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81

      xs1.0
      2023-09-27 11:13:59.633 info Finished state creation. Added totally 0 actuators or sensors

      xs1.0
      2023-09-27 11:13:59.633 info Update Error: Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}

      xs1.0
      2023-09-27 11:13:59.631 warn Error message from XS1:Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}

      xs1.0
      2023-09-27 11:13:59.422 warn Error message from XS1:Error: getaddrinfo ENOTFOUND 192.168.188.50,242at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) {errno: -3008,code: 'ENOTFOUND',syscall: 'getaddrinfo',hostname: '192.168.188.50,242'}

      xs1.0
      2023-09-27 11:13:59.376 warn Adapter will exit in latest 1 sec with code xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81!

      xs1.0
      2023-09-27 11:13:59.374 info CopyList = {}

      xs1.0
      2023-09-27 11:13:59.372 info config XS1 Addresse: http://192.168.188.50,242:80

      xs1.0
      2023-09-27 11:13:59.370 info xs1 starting main...

      xs1.0
      2023-09-27 11:13:59.368 info Adapter disconnected and stopped with dostop(xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81) and callback(false)

      xs1.0
      2023-09-27 11:13:59.367 error xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7433:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81

      Hat mit Node 12 noch alles funktioniert.

      adapter: XS1@1.1.0
      js-controller: 16.20.2
      NPM: 8.19.14

      Kannst Du mir hier weiterhelfen?

      MfG

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

        @trashman1981 sagte in Auch Probleme nach Node 16.20 Update:

        ich habe auch nach dem Node Update auf 16 (verbunden mit einer kompletten Neuinstallation meines Iobrokers auf Raspi)

        bevor ich den ganzen Text lese, eine Neuinstallation bringt von vornherein v18 automatisch mit, daher die Frage, wie dann v16 aufs System kommt

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

          @trashman1981

          Erstmal prüfen ob/wie nodejs senkrecht installiert wurde.
          Kannst du auch mit dem Skript aus meiner Signatur machen.
          Oder

          iob diag
          

          anschauen.

          1 Reply Last reply Reply Quote 0
          • T
            Trashman1981 last edited by

            Habe auf 18.18 gewechselt. Gleicher Fehler

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

              @trashman1981 sagte in Auch Probleme nach Node 16.20 Update:

              Habe auf 18.18 gewechselt. Gleicher Fehler

              https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

              wo ist die Ausgabe von iob diag vorher?
              und die Ausgabe von iob diag danach?

              1 Reply Last reply Reply Quote 0
              • T
                Trashman1981 last edited by

                Habe erst auf 18.18 gewechselt und dann iob laufen lassen.
                Bei iob (nutze ich zum ersten Mal) kam aber viel Text aber nichts, was irgendwie falsch aussah. Worauf müssten ich achten?

                crunchip Ro75 2 Replies Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Trashman1981 last edited by

                  @trashman1981 sagte in Auch Probleme nach Node 16.20 Update:

                  Worauf müssten ich achten?

                  du erst mal gar nicht, einfach zeigen
                  frage mich allerdings noch immer

                  @trashman1981 sagte in Auch Probleme nach Node 16.20 Update:

                  nach dem Node Update auf 16 (verbunden mit einer kompletten Neuinstallation meines Iobrokers

                  1 Reply Last reply Reply Quote 0
                  • Ro75
                    Ro75 @Trashman1981 last edited by

                    @trashman1981 deswegen hier posten, damit Hilfe auch kommen kann.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Trashman1981 last edited by

                      Copy text starting here:

                      ======================= SUMMARY =======================
                                           v.2023-06-20
                      
                      
                         Static hostname: raspberrypi
                               Icon name: computer
                              Machine ID: e92f2d8df54949499e286d108a5309ad
                                 Boot ID: 87a8e81479b04ddea680ea3b3bf7d275
                        Operating System: Debian GNU/Linux 11 (bullseye)
                                  Kernel: Linux 6.1.21-v8+
                            Architecture: arm64
                      
                      Installation:           native
                      Kernel:                 aarch64
                      Userland:               arm64
                      Timezone:               Europe/Berlin (CEST, +0200)
                      User-ID:                1000
                      X-Server:               false
                      Boot Target:            multi-user.target
                      
                      Pending OS-Updates:     0
                      Pending iob updates:    0
                      
                      Nodejs-Installation:    /usr/bin/nodejs         v18.18.0
                                              /usr/bin/node           v18.18.0
                                              /usr/bin/npm            9.8.1
                                              /usr/bin/npx            9.8.1
                      
                      Recommended versions are nodejs 18.x.y and npm 9.x.y
                      Your nodejs installation is correct
                      
                      MEMORY:
                                     total        used        free      shared  buff/cache   available
                      Mem:            3.8G        457M        2.7G        1.0M        654M        3.3G
                      Swap:            99M          0B         99M
                      Total:          3.9G        457M        2.8G
                      
                      Active iob-Instances:   6
                      Active repo(s): stable
                      
                      ioBroker Core:          js-controller           5.0.12
                                              admin                   6.10.1
                      
                      ioBroker Status:        iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Status admin and web instance:
                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      Objects:                3135
                      States:                 2777
                      
                      Size of iob-Database:
                      
                      10M     /opt/iobroker/iobroker-data/objects.jsonl
                      5.9M    /opt/iobroker/iobroker-data/states.jsonl
                      
                      
                      
                      =================== END OF SUMMARY ====================
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Trashman1981 last edited by

                        @trashman1981

                        Das sieht so auf den ersten Blick gut aus.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Trashman1981 last edited by

                          Ist halt komisch, das XS1 startet, die Aktoren lädt und nach ca 1sec (wie im log angekündigt) einfach stoppt

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

                            @trashman1981

                            XS1 ist ein sehr alter adapter. Er düfte prinzipiell Probleme haben:

                            https://github.com/iobroker-community-adapters/ioBroker.xs1/issues/1

                            Falls das Problem in ca 1 Woche noch von niemand nagegangen wurde, bitt emich nochmals explizit pingen. ICh schau dann mal kurz ob ich was machen kann.

                            radebold created this issue in iobroker-community-adapters/ioBroker.xs1

                            closed Adapter stops the whole time #1

                            1 Reply Last reply Reply Quote 0
                            • T
                              Trashman1981 last edited by

                              Danke, @mcm57 .
                              Ich über mich mal in Geduld und Demut und hoffe, dass sich jemand diesem Problem annehmen wird...

                              Gruss

                              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

                              826
                              Online

                              31.7k
                              Users

                              79.7k
                              Topics

                              1.3m
                              Posts

                              6
                              13
                              459
                              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