Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.2 jetzt im Latest!

NEWS

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

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

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

js-controller 3.2 jetzt im Latest!

js-controller 3.2 jetzt im Latest!

Scheduled Pinned Locked Moved ioBroker Allgemein
575 Posts 70 Posters 144.9k Views 57 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DiginixD Diginix

    @apollon77
    Nun verhält sich DWD unauffällig. Vllt war es nur der erste Start mit neuem JS-C.?

    2021-01-22 11:14:27.226 - info: dwd.0 (614954) starting. Version 2.7.2 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.20.1, js-controller: 3.2.8
    2021-01-22 11:14:29.664 - info: dwd.0 (614954) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    2021-01-22 11:15:03.610 - info: dwd.0 (615085) starting. Version 2.7.2 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.20.1, js-controller: 3.2.8
    2021-01-22 11:15:23.530 - info: dwd.0 (615085) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    

    Letsencypt ist in der web Instanz so konfiguriert. Kein auto renewal.

    937a114f-8e71-41bb-aba4-539f14783899-image.png

    Wo trigger ich die Ernerung in iob?
    Bisher habe ich es immer in der Kommandozeile nach 2,9 Monaten gemacht.

    apollon77A Online
    apollon77A Online
    apollon77
    wrote on last edited by
    #170

    @diginix Ich denke das pOrblem ist jetzt das folgende: Neue Lib, neue Speicherorte ... er hat also kein Zertifikat, damit nicht erreichbar. Musst es quasi einmal machen lassen damit er eins hat ... dann geht vllt wieder so? (Ja ich rate weilich LE nicht nutze)

    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
    DiginixD 1 Reply Last reply
    0
    • apollon77A apollon77

      @diginix Ich denke das pOrblem ist jetzt das folgende: Neue Lib, neue Speicherorte ... er hat also kein Zertifikat, damit nicht erreichbar. Musst es quasi einmal machen lassen damit er eins hat ... dann geht vllt wieder so? (Ja ich rate weilich LE nicht nutze)

      DiginixD Offline
      DiginixD Offline
      Diginix
      wrote on last edited by Diginix
      #171

      @apollon77 Per Domain und SSL komme ich aber mit validem Zertifikat auf MaterialUI.
      Also gar kein Cert stimmt auch nicht. Das unter /opt/iobroker/iobroker-data/letsencrypt/ wird also weiterhin vom web Adapter korrekt ausgeliefert.

      Wo ist denn der neue Speicherort?

      In der Admin Instanz, wo auch die Domain und LE Konto festgelegt wird, hat sich der Pfad auch nicht geändert:
      9cd4de50-82f0-45c0-838e-1e9ecff889de-image.png

      Der grün markierte Link hilft leider auch nicht wirklich.

      Welcher Entwickler hat denn LE selbst in Verwendung und könnte sachdienliche Hinweise geben bzw. beim Abgleich meines Dateisystems helfen?

      ..:: So long! Tom ::..

      NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

      apollon77A 1 Reply Last reply
      0
      • DiginixD Diginix

        @apollon77 Per Domain und SSL komme ich aber mit validem Zertifikat auf MaterialUI.
        Also gar kein Cert stimmt auch nicht. Das unter /opt/iobroker/iobroker-data/letsencrypt/ wird also weiterhin vom web Adapter korrekt ausgeliefert.

        Wo ist denn der neue Speicherort?

        In der Admin Instanz, wo auch die Domain und LE Konto festgelegt wird, hat sich der Pfad auch nicht geändert:
        9cd4de50-82f0-45c0-838e-1e9ecff889de-image.png

        Der grün markierte Link hilft leider auch nicht wirklich.

        Welcher Entwickler hat denn LE selbst in Verwendung und könnte sachdienliche Hinweise geben bzw. beim Abgleich meines Dateisystems helfen?

        apollon77A Online
        apollon77A Online
        apollon77
        wrote on last edited by apollon77
        #172

        @diginix Ich glaube das neue legt in node_modules/iobroker.js-controller ein .greenlockrc Verzeichnis an ... (Achtung absolutes Halbwissen)

        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
        DiginixD 1 Reply Last reply
        0
        • apollon77A apollon77

          @diginix Ich glaube das neue legt in node_modules/iobroker.js-controller ein .greenlockrc Verzeichnis an ... (Achtung absolutes Halbwissen)

          DiginixD Offline
          DiginixD Offline
          Diginix
          wrote on last edited by Diginix
          #173

          @apollon77
          .greenlockrc ist eine Datei an der von dir genannten Stelle und enthält den alten von mir korrekt mit Cert bedienten Pfad:

          {"configDir":"/opt/iobroker/iobroker-data/letsencrypt"}
          

          Ich kann später gern mal den letsencrypt Ordner wegnehmen und versuchen ihn über iob Boardmittel neu erzeugen zu lassen.
          Das Problem betrifft auch nicht nur MaterialUI sondern wahrs. alles was mit dem web Adapter ausgeliefert wird. Bei mir auch habpanel und jarvis. Alle Frontend URLs mit lokaler IP liefern:

          ERR_SSL_VERSION_OR_CIPHER_MISMATCH
          

          Mit https://FQDN läuft es. Das ist schon mal gut und wichtig. Aber im Heimnetz natürlich langsamer als der direkte Zugriff. Welcher mit JS-C 3.1 funktionierte. Bei mir gab es auch bisher keine letsencrypt Probleme mit der alten Ver.

          ..:: So long! Tom ::..

          NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

          apollon77A 1 Reply Last reply
          0
          • DiginixD Diginix

            @apollon77
            .greenlockrc ist eine Datei an der von dir genannten Stelle und enthält den alten von mir korrekt mit Cert bedienten Pfad:

            {"configDir":"/opt/iobroker/iobroker-data/letsencrypt"}
            

            Ich kann später gern mal den letsencrypt Ordner wegnehmen und versuchen ihn über iob Boardmittel neu erzeugen zu lassen.
            Das Problem betrifft auch nicht nur MaterialUI sondern wahrs. alles was mit dem web Adapter ausgeliefert wird. Bei mir auch habpanel und jarvis. Alle Frontend URLs mit lokaler IP liefern:

            ERR_SSL_VERSION_OR_CIPHER_MISMATCH
            

            Mit https://FQDN läuft es. Das ist schon mal gut und wichtig. Aber im Heimnetz natürlich langsamer als der direkte Zugriff. Welcher mit JS-C 3.1 funktionierte. Bei mir gab es auch bisher keine letsencrypt Probleme mit der alten Ver.

            apollon77A Online
            apollon77A Online
            apollon77
            wrote on last edited by
            #174

            @diginix Interessant ... im zweifel muss man da mal ein issue bei greenlock anlegen

            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
            J 1 Reply Last reply
            0
            • apollon77A apollon77

              @diginix Interessant ... im zweifel muss man da mal ein issue bei greenlock anlegen

              J Offline
              J Offline
              Josh
              wrote on last edited by
              #175

              Sehe ich das richtig, dass das Warning

              ... has no existing object, this might lead to an error in future versions

              welches von mehreren Adapter (Proxmox, Tankerkönig, ...) ausgeworfen wird, nur durch den Entwickler zu beheben sind?

              Master: Intel NUC10i5-32GB-1TB_SSD - Proxmox 8.3 - LXC Debian 11
              Slave1: RPi3B - ZigBee CC2652P - 10x DS18B20
              Slave2: RPi3B - ZigBee CC2538+CC2592
              node.js 20.18.1 / NPM 10.8.2 / js-controller 7.0.3

              Thomas BraunT 1 Reply Last reply
              0
              • J Josh

                Sehe ich das richtig, dass das Warning

                ... has no existing object, this might lead to an error in future versions

                welches von mehreren Adapter (Proxmox, Tankerkönig, ...) ausgeworfen wird, nur durch den Entwickler zu beheben sind?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #176

                @josh
                Ja. Issue beim entsprechenden Adapter eröffnen.

                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 Reply Last reply
                0
                • DiginixD Offline
                  DiginixD Offline
                  Diginix
                  wrote on last edited by Diginix
                  #177

                  @apollon77
                  Ich stoppe/starte Adapterinstanzen zyklisch per Skript um z.B. meine Bluetooth Hardware temporär frei zu haben um damit kurzzeitig andere Dinge machen zu können.

                  Seit JS-C 3.2.8 erhalte ich dadurch Zombie Prozesse. Vorhin hatte ich diese "3 restart radar2" Prozessen 4 mal, also 12 Prozesse. Habe es erst durch die eskalierende CPU Last bemerkt.
                  Mit JS-C 3.1.x gab es das nie.

                  iobroker  718539  0.0  0.0  10156  3764 ?        S    23:15   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                  root      718540  0.0  0.1  12644  4984 ?        S    23:15   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                  iobroker  718541 99.6  3.2 743904 126812 ?       Rl   23:15  27:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                  iobroker  721986  4.9  1.4 635896 58900 ?        Sl   23:41   0:04 io.radar2.0
                  

                  Wie man sieht läuft die radar2 Instanz längst wieder mit höhere PID, die restart Prozesse werden aber nie mehr beendet.
                  Im Skript rufe ich auch nur "exec iobroker restart radar2.0" auf. Die "js-controller/iobroker.js restart radar2.0" Prozesse scheinen daraufhin vom System erzeugt zu werden.

                  ..:: So long! Tom ::..

                  NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                  apollon77A 3 Replies Last reply
                  0
                  • DiginixD Diginix

                    @apollon77
                    Ich stoppe/starte Adapterinstanzen zyklisch per Skript um z.B. meine Bluetooth Hardware temporär frei zu haben um damit kurzzeitig andere Dinge machen zu können.

                    Seit JS-C 3.2.8 erhalte ich dadurch Zombie Prozesse. Vorhin hatte ich diese "3 restart radar2" Prozessen 4 mal, also 12 Prozesse. Habe es erst durch die eskalierende CPU Last bemerkt.
                    Mit JS-C 3.1.x gab es das nie.

                    iobroker  718539  0.0  0.0  10156  3764 ?        S    23:15   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                    root      718540  0.0  0.1  12644  4984 ?        S    23:15   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                    iobroker  718541 99.6  3.2 743904 126812 ?       Rl   23:15  27:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                    iobroker  721986  4.9  1.4 635896 58900 ?        Sl   23:41   0:04 io.radar2.0
                    

                    Wie man sieht läuft die radar2 Instanz längst wieder mit höhere PID, die restart Prozesse werden aber nie mehr beendet.
                    Im Skript rufe ich auch nur "exec iobroker restart radar2.0" auf. Die "js-controller/iobroker.js restart radar2.0" Prozesse scheinen daraufhin vom System erzeugt zu werden.

                    apollon77A Online
                    apollon77A Online
                    apollon77
                    wrote on last edited by
                    #178

                    @diginix wenn du die restarts per Hand an der konsole machst bleiben auch welche hängen?

                    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 Reply Last reply
                    0
                    • DiginixD Diginix

                      @apollon77
                      Ich stoppe/starte Adapterinstanzen zyklisch per Skript um z.B. meine Bluetooth Hardware temporär frei zu haben um damit kurzzeitig andere Dinge machen zu können.

                      Seit JS-C 3.2.8 erhalte ich dadurch Zombie Prozesse. Vorhin hatte ich diese "3 restart radar2" Prozessen 4 mal, also 12 Prozesse. Habe es erst durch die eskalierende CPU Last bemerkt.
                      Mit JS-C 3.1.x gab es das nie.

                      iobroker  718539  0.0  0.0  10156  3764 ?        S    23:15   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                      root      718540  0.0  0.1  12644  4984 ?        S    23:15   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker  718541 99.6  3.2 743904 126812 ?       Rl   23:15  27:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker  721986  4.9  1.4 635896 58900 ?        Sl   23:41   0:04 io.radar2.0
                      

                      Wie man sieht läuft die radar2 Instanz längst wieder mit höhere PID, die restart Prozesse werden aber nie mehr beendet.
                      Im Skript rufe ich auch nur "exec iobroker restart radar2.0" auf. Die "js-controller/iobroker.js restart radar2.0" Prozesse scheinen daraufhin vom System erzeugt zu werden.

                      apollon77A Online
                      apollon77A Online
                      apollon77
                      wrote on last edited by
                      #179

                      @diginix Und 3.2.7 hatte das nicht?

                      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 Reply Last reply
                      0
                      • DiginixD Diginix

                        @apollon77
                        Ich stoppe/starte Adapterinstanzen zyklisch per Skript um z.B. meine Bluetooth Hardware temporär frei zu haben um damit kurzzeitig andere Dinge machen zu können.

                        Seit JS-C 3.2.8 erhalte ich dadurch Zombie Prozesse. Vorhin hatte ich diese "3 restart radar2" Prozessen 4 mal, also 12 Prozesse. Habe es erst durch die eskalierende CPU Last bemerkt.
                        Mit JS-C 3.1.x gab es das nie.

                        iobroker  718539  0.0  0.0  10156  3764 ?        S    23:15   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                        root      718540  0.0  0.1  12644  4984 ?        S    23:15   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                        iobroker  718541 99.6  3.2 743904 126812 ?       Rl   23:15  27:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                        iobroker  721986  4.9  1.4 635896 58900 ?        Sl   23:41   0:04 io.radar2.0
                        

                        Wie man sieht läuft die radar2 Instanz längst wieder mit höhere PID, die restart Prozesse werden aber nie mehr beendet.
                        Im Skript rufe ich auch nur "exec iobroker restart radar2.0" auf. Die "js-controller/iobroker.js restart radar2.0" Prozesse scheinen daraufhin vom System erzeugt zu werden.

                        apollon77A Online
                        apollon77A Online
                        apollon77
                        wrote on last edited by
                        #180

                        @diginix pps: kommst du irgendwie an die Ausgaben des cli Kommandos ran? Bzw steht was im logfile? Und ich verstehe korrekt das das Kommando seine Arbeit macht und adapter restarted aber das cli command selbst hängen bleibt. Korrekt?

                        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 Reply Last reply
                        0
                        • DiginixD Offline
                          DiginixD Offline
                          Diginix
                          wrote on last edited by Diginix
                          #181

                          @apollon77 3.2.7 hatte ich übersprungen.
                          Der Adapterinstanz (re)start funktioniert sowohl in der Kommandozeile, als auch mit dem exec im Skript, aber nicht immer sofort. Manchmal bleibt die Instanz einfach aus. Daher hatte ich das als Schleife. Wenn radar2.0.connected nicht nach 20 sec auf true ist, dann wird erneut ein "iobroker restart radar2.0" ausgeführt. Bis JS-C 3.1.x gab es da nicht ein einziges mal ein Problem. Eigentlich sollte ja ein zweiter restart maximal eine bereits laufende Instanz erst beenden und wieder starten. Aber selbst wenn die zu schnell hintereinander kämen, dann dürften keine Prozesse unbeendet liegen bleiben.
                          Wie ich an weitere Details dazu komme (CLI Ausgabe), habe ich keine Ahnung. Da bräuchte ich Zuarbeit.

                          Ich habe nun eben mal im Skript das Kommando von "restart" auf "iobroker start radar2.0" geändert, weil die Instanz ja vorher gestoppt wurde und somit eh nicht läuft.
                          Die Instanz wurde mit "start" auch gestartet, aber als Antwort kam dann

                          Cannot load "custom": Error: Connection is closed.
                          

                          Und das aber 61660 mal. Das Log ist dadurch explodiert.

                          Aber auch bei "start" statt "restart" blieben eben wieder die Prozesse liegen:

                          iobroker   19476  0.0  0.0  10156  3692 ?        S    10:00   0:00 /bin/bash /usr/bin/iobroker start radar2.0
                          root       19477  0.0  0.1  12640  4960 ?        S    10:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0
                          iobroker   19478 99.5  3.2 754936 128628 ?       Rl   10:00  19:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0
                          

                          Neben dem letsencrypt Problem gerade das für mich störendste an JS-C 3.2
                          Ich will noch nicht aufgeben, aber wenn ich es nicht stabil bekomme, muss vorerst leider ein rollback her.

                          ..:: So long! Tom ::..

                          NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                          apollon77A 1 Reply Last reply
                          0
                          • DiginixD Diginix

                            @apollon77 3.2.7 hatte ich übersprungen.
                            Der Adapterinstanz (re)start funktioniert sowohl in der Kommandozeile, als auch mit dem exec im Skript, aber nicht immer sofort. Manchmal bleibt die Instanz einfach aus. Daher hatte ich das als Schleife. Wenn radar2.0.connected nicht nach 20 sec auf true ist, dann wird erneut ein "iobroker restart radar2.0" ausgeführt. Bis JS-C 3.1.x gab es da nicht ein einziges mal ein Problem. Eigentlich sollte ja ein zweiter restart maximal eine bereits laufende Instanz erst beenden und wieder starten. Aber selbst wenn die zu schnell hintereinander kämen, dann dürften keine Prozesse unbeendet liegen bleiben.
                            Wie ich an weitere Details dazu komme (CLI Ausgabe), habe ich keine Ahnung. Da bräuchte ich Zuarbeit.

                            Ich habe nun eben mal im Skript das Kommando von "restart" auf "iobroker start radar2.0" geändert, weil die Instanz ja vorher gestoppt wurde und somit eh nicht läuft.
                            Die Instanz wurde mit "start" auch gestartet, aber als Antwort kam dann

                            Cannot load "custom": Error: Connection is closed.
                            

                            Und das aber 61660 mal. Das Log ist dadurch explodiert.

                            Aber auch bei "start" statt "restart" blieben eben wieder die Prozesse liegen:

                            iobroker   19476  0.0  0.0  10156  3692 ?        S    10:00   0:00 /bin/bash /usr/bin/iobroker start radar2.0
                            root       19477  0.0  0.1  12640  4960 ?        S    10:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0
                            iobroker   19478 99.5  3.2 754936 128628 ?       Rl   10:00  19:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0
                            

                            Neben dem letsencrypt Problem gerade das für mich störendste an JS-C 3.2
                            Ich will noch nicht aufgeben, aber wenn ich es nicht stabil bekomme, muss vorerst leider ein rollback her.

                            apollon77A Online
                            apollon77A Online
                            apollon77
                            wrote on last edited by apollon77
                            #182

                            @diginix Hasz Du bitte mal mehr vom log ... am besten log BEVOR dieser Connection closed Fehler das erste mal kommt. Und wieterhin, wie oben gefragt, würde mich echt mal mehr log interessieren, auch was der Controller bei deinen manuellen restart dingen da ausgibt ... alsio quasi die Info wann hat edein skript was getan und das zeitlich zu dem log dann zuzuordnen.

                            Ohne da jetzt in dein spezielles Problem tiefer rein zu gehen wiss ich nicht wie der fix ist. bzw kannst Du das skript mal posten was Du nutzt?

                            EDIT: Ok ich habe einen Code-Fall gefunden wo es passieren kann das er in eine endlos Schleife läuft ... Wir verstehen nur nicht wie er da hin kommen kann ...

                            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 Reply Last reply
                            0
                            • crunchipC Away
                              crunchipC Away
                              crunchip
                              Forum Testing Most Active
                              wrote on last edited by
                              #183

                              @apollon77 hab ne Verständnisfrage, bzw ein Problem. Habe gerade

                              • Js-C upgrade von 3.2.7 auf 3.2.8
                              • danach iobroker fix durchlaufen lassen
                                3e09defc-98cf-4c18-a354-b456916c8fe5-image.png
                                nun erhalte ich im Adapter linux-control folgendes
                              linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
                              linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:87:5)
                              linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.userCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:196:9)
                              linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.userCommandExecute (/opt/iobroker/node_modules/iobroker.linux-control/main.js:251:21)
                              linux-control.0	2021-01-23 11:37:26.716	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                              linux-control.0	2021-01-23 11:37:26.716	error	at runMicrotasks (<anonymous>)
                              linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26)
                              linux-control.0	2021-01-23 11:37:26.716	error	(22907) [userCommandExecute] iobroker (10.1.1.10:22, id: root-verzeichnis, description: ): response error: /root/.bashrc: Zeile 24: /root/.iobroker/iobroker_completions: Datei oder Verzeichnis nicht
                              linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
                              linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:82:5)
                              linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:485:21)
                              linux-control.0	2021-01-23 11:37:26.680	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                              linux-control.0	2021-01-23 11:37:26.680	error	at runMicrotasks (<anonymous>)
                              

                              umgestiegen von Proxmox auf Unraid

                              apollon77A 1 Reply Last reply
                              0
                              • apollon77A apollon77

                                Hallo ioBroker-Community,

                                mit etwas zeitlicher Verspätung, dafür aber um so besser, kommt heute der neue js-controller 3.2 (Releasename "Grace") ins Latest Repository (sollte im laufe des Abends bei allen auftauchen). Ein großer Dank geht an alle User die bereits in den Letzten Tagen diese Version im Beta test getestet und Probleme und Fehler zur Behebung gemeldet haben!

                                Node.js Versions-Anforderungen
                                Die unterstützten Node.js Versionen bleiben in diesem Update gleich: 10.x, 12.x und auch 14.x werden offiziell unterstützt. Aufgrund der übergreifenden Adapter-Kompatibilität bleibt die empfohlene Node.js Version für ioBroker aktuell weiterhin auf 12.x. Falls jemand wirklich mit Node.js 15.x experimentieren will, dann bitte AUSSCHLIESSLICH mit npm 6 !! (die npm Leute haben in npm 7 wieder Dinge geändert, die wir noch untersuchen)
                                Bitte beachtet weiterhin bei Node.js Updates die Anleitung im Forum unter https://forum.iobroker.net/post/266625

                                Informationen zur Version
                                Neben einigen Features haben wir unter der Haube weiter aufgeräumt und sehr viel modernisiert und vereinheitlicht.
                                Auch daran den Wildwuchs in der Umsetzung einiger Adapter etwas einzugrenzen wurde weiter gearbeitet, was ggf. zu neuen Log-meldungen für bestimmte Fälle führt. Bitte unterstützt hier wieder und legt bei den relevanten Adaptern im GitHub Issues an, damit diese Dinge gefixt werden können.

                                Besonders zu erwähnen ist die Grundlage für das neue Benachrichtigungssystem (kommt dann in einem Admin-Update) und die Reaktivierung von Let's Encrypt zur automatischen Zertifikatsaktualisierung.
                                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.

                                In Summe sind in diese Version über 650 commits eingeflossen. Dafür bedenke mich diesmal besonders bei foxriver76, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern für die aktive Mitarbeit an dieser Version!

                                Der js-controller 3.2 ist generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2 ist problemlos möglich. Nur die Node.js Version muss jetzt mindestens 10.x sein, wie oben bereits ausgeführt. Wer überlegt die Node.js Version anzuheben bitte weiter unten im Abschnitt "Was ist zu testen" lesen 🙂

                                Es gibt aktuell keine inkompatiblem Adapter, aber einige Empfehlungen weiter unten.


                                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. Die alte Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version installiert werden und sollte alles wieder herstellen.

                                Nötige Adapter-Aktualisierungen

                                Aktuell sind keine Inkompatibilitäten bekannt, damit allerdings Let's encrypt wieder funktioniert benötigt es einige Adapter in "Latest" Versionen von mindestens:

                                • ioBroker.lovelace 1.4.1 oder höher
                                • ioBroker.simple-api 2.5.2 oder höher
                                • ioBroker.socketio 3.1.3 oder höher
                                • ioBroker.telegram 1.7.0 oder höher
                                • ioBroker.web 3.2.2 oder höher
                                • ioBroker.admin 4.2.1 oder höher

                                Es werden aber, wie oben ausgeführt, einige Adapter ggf Warnungen ins Log schreiben. Falls das Problematisch ist ist aktuell die einzige Option das Loglevel der Instanz auf "Error" zu setzen.

                                Achtung: MASTER-Systeme Reihenfolgen beachten!

                                Bei einem Multi-Host-System, welches auf js-controller 2.2 oder 3.1 läuft ist es beim Update auf Version 3.2 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 auf die 3.2 müssen zwingend zuerst die Slaves und der Master als letztes aktualisiert werden. Beim Slave Updat emuss der alte master aber noch laufen. Die Slaves bleiben nach dem Update offline und können sich nicht zum Master verbinden und werden erst wieder funktionieren wenn auch der Master auf die 3.2 aktualisiert wurde!

                                Windows

                                Auf Systemen, die mit dem neuen Windows Installer eingerichtet wurden weiss ich gerade nicht wie der aktuelle Prozess ist, da der Windows installer nicht ganz aktuell ist. Bitte hier berichten dann kann ich ergänzen.

                                Für alle "alten manuellen" Installationen gilt

                                • ioBroker muss gestoppt sein.
                                • Vor dem Update bitte prüfen das keine Prozesse mehr laufen
                                • iobroker update
                                • iobroker upgrade self
                                • ioBroker starten

                                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
                                • iobroker update
                                • Wie üblich wird das Update dann per iobroker upgrade self ausgeführt.
                                • 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

                                Nach der Installation den ioBroker wieder starten (z.B. mittels iobroker start).

                                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!

                                Mit iobroker help wird eine Liste der möglichen Kommandozeilen-Kommandos angezeigt, die mit Version 2.0 um einige Befehle länger geworden ist. Es geht jetzt auch Kommandospezifisch Hilfe zu erhalten (iobroker upgrade --help)


                                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 Features
                                • Let's Encrypt sollte wieder tun. Minimum Adapterversionen dazu siehe weiter oben!
                                • Einige Adapter werden Warnungen ausgeben wenn State-Werte gesetzt werden VOR dem Anlegen von Objekten. Bitte bei den Adapter-Repos melden

                                Speziell die Entwickler sollten bitte die genannten Deprecations anschauen und beachten

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


                                BREAKING CHANGES

                                • None, Supported are nodejs 10.x, 12.x and 14.x (Node.js 15.x is also working WHEN USED WITH npm 6!! in the automated tests, but formally not supported)
                                • If you have enabled Multihost Discovery please disable and enable it again if you really need it persistant running. By re-enabling it you update the used passphrase with a better encryption mechanism.

                                Features

                                • (raintonr) Update Let's encrypt implementation; all relevent adapters (web and such) need updates to use it! NEEDS NODE.JS 12.x+! (see DOCS LINK TODO)
                                • (bluefox) Restart adapters that use Let's encrypt after certificates were updated
                                • (bluefox) Provide min/max for convert alias functions
                                • (foxriver76) handling major adapter upgrades more carefully (CLI on upgrade will show if it's a major upgrade and major upgrades will be skipped on upgrade all when executed by admin
                                • (AlCalzone) detect and allow short github URL format when (auto-)installing adapters (iobroker url User/repo#branchorcommit)
                                • (foxriber76) Add notification system (see DOCS LINK TODO)
                                • (foxriver76) enhance setup (and setup first) with redis to all port configuration
                                • (foxriver76) set connectionName for redis connections and simulator support (see DOCS LINK TODO)

                                Optimizations and Fixes

                                • (foxriver76) Detect adapter restart loops and stop restarting after 3 crashes (an adapter is considered "working" when no crash by an exception happens within 10 minutes)
                                • (foxriver76) Fix failed logins if username is uppercase, be reworking user logic and caching
                                • (bluefox) Set for def states the quality: QUALITY_SUBS_INITIAL
                                • (AlCalzone) fix npm uninstall loglevel argument
                                • (foxriver76) delete pids.txt when iobroker was stopped
                                • (bluefox) Add missing attributes by multihost if Redis is used for objects/states, Remove unused settings from iobroker-dist.json, Remove pass and user from connection settings. Use options.auth_pass
                                • (AlCalzone) Package-Manager: log which packages were (already) installed
                                • (foxriver76) replace redis "KEYS" command by "SCAN" to optimize redis access performance
                                • (foxriver76) optimize redis library usage to prevent errors on redis outages
                                • (bluefox) Catch errors by plugins load. At least log will work and could be checked for errors.
                                • (foxriver76) allow migration of instances to already existing host
                                • (foxriver76) also allow <adapter>.<instance-nr> for install/add cli command
                                • (AlCalzone) buffer streams that are piped to stdout to fix weird Windows logging cases
                                • (foxriver76/AlCalzone) Optimize upgrade/downgrade logic for adapters, ask for a downgrade only if lower version is to be installed
                                • (foxriver76) allow redis redis migration when changing host of redis - fix bug where process crashes when controller is running when migrating
                                • (bluefox) Catch errors for subscribe on alias without target
                                • (foxriver76) only perform auto scaling on alias if not null
                                • (foxriver76) if repository request fails also use cached sources on updating repository
                                • (foxriver76) prevent host deletion from same host - otherwise it will remove the system.host states but instances will still be on the removed host, because transfer happens to itself
                                • (foxriver76) use instanceObjects from system.adapter.* object instead from io-package.json
                                • (foxriver76) notify of errors on readFileCertificates to show permission problems etc.
                                • (foxriver76) multihost discovery now logs ignored messages on debug and also logs the senders address
                                • (foxriver76) sync up created objects on instance start and instance creation by using helper function in tools.js, e.g. .loglevel was missing on instance creation
                                • (bluefox) Package-Manager: Filter empty packets out to suppress error message
                                • (foxriver76) rename repository names for new installations and on updates to beta/stable
                                • (foxriver76) rewrite collectDiagInfo to Promises and fix minor issue with it
                                • (foxriver76) only scale aliases if target or source is represented by unit %
                                • (foxriver76) create meta.user on file sync cli, if not existing (see DOCS LINK TODO)
                                • (Apollon77) also create meta.user on setup first if not existing
                                • (foxriver76) fix enumInstances used by CLI commands
                                • (foxriver76) when missing rights to access log dir do not crash hard anymore, instead fallback to default directory
                                • (bluefox) Fix error if type of native data changed in the new version from basic type e.g. 'string' to 'object'.
                                • (AlCalzone) Remove hardcoded references to GitHub master branch because newer repositories use "main"
                                • (Apollon77) update _design objects also on js-controller upgrade/setup first
                                • (Apollon77) optimize deletion of files in ioBroker file storage
                                • (foxriver76) do not return an error if object does not exist on del*Object
                                • (Apollon77) optimize logs when instance is restarted
                                • (foxriver76) Preserve name field on instance object creation/update
                                • (foxriver76) optimize parameters and flags on CLI
                                • (foxriver76) Use yargs helper instead of building our own string output to allow showing --help for a specific command instead of the whole output and allow support for auto completion (iobroker _createCompletion >> ~/.bashrc)
                                • (foxriver76, Apollon77) also accept pre-release version in some semver checks for dependencies
                                • (foxriver76) replace outdated encryption mechanism of multihost
                                • (Apollon77, foxriver, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources

                                Developer relevant DEPRECATIONS/WARNINGS

                                • (foxriver76) we warn if object not exists when setting a state via adapter.setState. Adjust your code that a state value is NOT set before the object is successfully created. If this deep check is NOT wanted for performance reasons the adapter needs to be initialized with strictObjectChecks = false!! (see DOCS LINK TODO)
                                • (foxriver76) readFile should not validate meta object, we now throw on writeFile if id is no valid meta object
                                • (AlCalzone) update Forbidden ID Characters: use Unicode properties to define which characters are allowed instead of blacklisting. For ASCII the allowed characters are the same as before - for other languages mainly character class of Unicode are allowed! (see DOCS LINK TODO)
                                • (foxriver76) Throw on invalid setState objects; was logged as deprecated before
                                • (foxriver76) remove getMessage shim, no adapter uses it anymore; was logged as deprecated before

                                Developer relevant new Features

                                • (foxriver76) use aes-192-cbc as encryption - backward compatible with current encryption, nothing to do for adapter-developers (see DOCS LINK TODO)
                                • (bluefox) Add system view to filter for "folder" objects
                                • (bluefox) add set/clearTimeout and set/clearInterval to adapter methods and check on unload that they were all cleared and clear if needed with logging, so developers are reminded to clean up!
                                • (AlCalzone) Add ...Async version for getChannels - make sure to check before using or use correct js-controller version dependency!
                                • (Apollon77) modularize databases into own npm packages and basically support adding new types of databases; add deprecation infos and logging to "old legacy" files in lib/states and lib/objects to not be used anymore; requires mostly updates in testing (see DOCS LINK TODO)
                                • (foxriver76) allow to specify the instance for debug starts (iobroker debug adaptername.1)
                                • (foxriver76) Enhance extendObject to allow to preserve specified fields (e.g. common.name)

                                Developer relevant Optimizations and Fixes

                                • (foxriver76) implement maybeCallback and maybeCallbackWithError and use it in adapter.js
                                • (AlCalzone) use fs-extra instead of mkdirp
                                • (AlCalzone) read JSON files using fs-extra's readJSONSync
                                • (AlCalzone) fix callback definitions in adapter.js, We have signatures for (almost) everything in @types/iobroker and we should use them
                                • (AlCalzone) move from Promises to async/await in some places, use a single readyPromise instead of an array
                                • (bluefox) Added "http" and "stream" options for logs
                                • (foxriver76) migrated ci tests to github actions
                                • (foxriver76) resolve adapter main file as tools.js method
                                • (foxriver76) optimize extendObject with def value
                                • (AlCalzone) Handle existing, but undefined properties in validateSetStateObjectArgument
                                • (foxriver76) also escape + char on regex, it's not forbidden
                                • (bluefox) Set default state only for objects of type "state"
                                • (AlCalzone) include folders in the result of getAdapterObjects
                                • general dependency updates
                                • code style optimizations

                                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.

                                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.

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

                                Ingo

                                K Offline
                                K Offline
                                KHK
                                wrote on last edited by
                                #184

                                @apollon77
                                Mit dem Update auf einem RPi4 habe ich schon beim Start folgende Fehler:
                                4008aba9-09ab-49f8-b934-0a5c580c1e33-grafik.png
                                wenn ich iobroker fix mache kommt ähnliches :

                                c6152c92-e619-406b-810f-a7fa94e50fa5-grafik.png

                                Karl

                                apollon77A 1 Reply Last reply
                                0
                                • DiginixD Offline
                                  DiginixD Offline
                                  Diginix
                                  wrote on last edited by Diginix
                                  #185

                                  @apollon77 mein Host lief bisher mit loglevel warn. Ob es daran liegt, dass man nicht mehr sieht weiß ich nicht.
                                  Hier mal von 11:00 Uhr und 11:30 wieder so ein Fall wo die Instanz nicht gestartet wurde und jeweils zweimal die 3 Prozesse zum Restart der Instanz nicht beendert wurden. 11:45 Uhr hat es dann funktioniert. Aber die Zombies von den 2 Läufen davor blieben. Die CPU Last steigt mit jedem mal wo die 3 Prozesse bleiben um ca. 1-2.

                                  iobroker   28628  0.0  0.0  10156  2888 ?        S    11:00   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                                  root       28629  0.0  0.1  12640  4944 ?        S    11:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                  iobroker   28630 98.2  3.4 743112 134900 ?       Rl   11:00  45:34 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                  iobroker   32996  0.0  0.0  10156  2900 ?        S    11:30   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                                  root       32997  0.0  0.1  12636  4932 ?        S    11:30   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                  iobroker   32998 95.8  2.9 743352 118528 ?       Rl   11:30  15:42 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                  iobroker   35355 16.2  1.9 638660 77188 ?        Sl   11:46   0:03 io.radar2.0
                                  
                                  

                                  Und hier das Log:

                                  2021-01-23 11:00:06.485  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock radar2.0.alive: false / radar2.0.connected: false
                                  2021-01-23 11:00:14.150  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: unlocked #1
                                  2021-01-23 11:00:17.152  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Starting radar2
                                  2021-01-23 11:00:27.096  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Unable to increase LUA script timeout: Error: Connection is closed.
                                   Cannot load "custom": Error: Connection is closed.
                                   Cannot load "custom": Error: Connection is closed.
                                   [...]
                                  over 40000 mal die Zeile "Cannot load "custom": Error: Connection is closed."
                                   [...]
                                   Cannot load "custom": Error: Connection is closed.
                                   Cannot load "custom": Error: Connection is clos
                                  2021-01-23 11:30:48.377  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 radar2.0.connected: false
                                  2021-01-23 11:30:48.378  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 Starting radar2
                                  2021-01-23 11:30:55.122  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 The adapter "radar2.0" was started.
                                  2021-01-23 11:31:15.124  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 radar2.0.connected: true
                                  2021-01-23 11:31:58.030  - error: daswetter.0 (33006) force terminate
                                  2021-01-23 11:31:58.036  - warn: daswetter.0 (33006) Terminated (15): Without reason
                                  2021-01-23 11:32:04.439  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.440  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.441  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.443  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.445  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.446  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.447  - warn: daswetter.0 (33006) get state Error: DB closed
                                  2021-01-23 11:32:04.451  - error: daswetter.0 (33006) exception in await insertIntoList [Error: DB closed]
                                  2021-01-23 11:32:05.765  - error: daswetter.0 (33006) 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().
                                  2021-01-23 11:32:05.766  - error: daswetter.0 (33006) unhandled promise rejection: Cannot read property 'setState' of null
                                  2021-01-23 11:32:05.812  - error: daswetter.0 (33006) TypeError: Cannot read property 'setState' of null
                                      at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
                                      at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                  2021-01-23 11:32:05.813  - error: daswetter.0 (33006) Cannot read property 'setState' of null
                                  2021-01-23 11:32:06.187  - error: host.BT3-PRO instance system.adapter.daswetter.0 terminated with code 15 (15)
                                  2021-01-23 11:40:23.212  - warn: ical.0 (34385) get state Error: Connection is closed.
                                  2021-01-23 11:40:23.232  - warn: ical.0 (34385) get state Error: DB closed
                                  

                                  Die Konsolenausgaben bei "iobroker restart radar2.0" sind entweder: "The adapter "radar2.0" was started." oder gar keine.
                                  Im Fall von "...was started" läuft nicht zwingend die Instanz wieder. Deswegen prüfe ich den .connected state.
                                  Wenn gar keine Ausgabe kommt, ist es der zur Zeit der Fall mit "Cannot load "custom": Error: Connection is closed."

                                  Das Skript ist eigentlich ein Blockly, aber hier mal der Teil zum Stoppen und Starten der Instanz als Javascript:

                                  var command, restart_count, run_count, result, timeout_keyble, check_radar_running, timeout_radar_restart;
                                  
                                  // Smart Lock Control
                                  async function control_smart_lock(command) {
                                    run_count = (typeof run_count == 'number' ? run_count : 0) + 1;
                                    exec('iobroker stop radar2.0', async function (error, result, stderr) {
                                        // 5000 ms bis 2020-05-25
                                      timeout_keyble = setTimeout(async function () {
                                        console.log((['*** Smart Lock radar2 alive: ',getState("system.adapter.radar2.0.alive").val,' / connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                                        exec('keyble-sendcommand --address 00:11:22:33:44:55 --user_id 2 --user_key *** --command status', async function (error, result, stderr) {
                                            console.log(('*** Smart Lock: ' + String(result)));
                                          // war 20s und nach exec keyble, nicht innerhalb
                                          // bis 2020-05-25
                                          //
                                          // seit 2020-06-25 7s statt 2s damit bei unlock/lock
                                          // retry radar2 nicht erst zwischen gestartet wird
                                          timeout_radar_restart = setTimeout(async function () {
                                            await start_radar2(1);
                                          }, 3000);
                                        });
                                      }, 2000);
                                    });
                                  }
                                  
                                  // Beschreibe diese Funktion …
                                  async function start_radar2(restart_count) {
                                    console.log((['*** Smart Lock: #',restart_count,' Starting radar2'].join('')));
                                    exec('iobroker restart radar2.0', async function (error, result, stderr) {
                                        console.log((['*** Smart Lock: #',restart_count,' ',result].join('')));
                                      check_radar_running = setTimeout(async function () {
                                        console.log((['*** Smart Lock: #',restart_count,' radar2 connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                                        if (getState("system.adapter.radar2.0.connected").val != true && restart_count < 3) {
                                          restart_count = (typeof restart_count == 'number' ? restart_count : 0) + 1;
                                          await start_radar2(restart_count);
                                        } else if (getState("system.adapter.radar2.0.connected").val != true && restart_count >= 3) {
                                          console.log((['*** Smart Lock radar2 running: ',getState("system.adapter.radar2.0.connected").val,', kein ',restart_count + 1,'. Versuch'].join('')));
                                        }
                                      }, 20000);
                                    });
                                  }
                                  
                                  
                                  await control_smart_lock('status');
                                  

                                  ..:: So long! Tom ::..

                                  NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                  M apollon77A 2 Replies Last reply
                                  0
                                  • DiginixD Diginix

                                    @apollon77 mein Host lief bisher mit loglevel warn. Ob es daran liegt, dass man nicht mehr sieht weiß ich nicht.
                                    Hier mal von 11:00 Uhr und 11:30 wieder so ein Fall wo die Instanz nicht gestartet wurde und jeweils zweimal die 3 Prozesse zum Restart der Instanz nicht beendert wurden. 11:45 Uhr hat es dann funktioniert. Aber die Zombies von den 2 Läufen davor blieben. Die CPU Last steigt mit jedem mal wo die 3 Prozesse bleiben um ca. 1-2.

                                    iobroker   28628  0.0  0.0  10156  2888 ?        S    11:00   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                                    root       28629  0.0  0.1  12640  4944 ?        S    11:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                    iobroker   28630 98.2  3.4 743112 134900 ?       Rl   11:00  45:34 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                    iobroker   32996  0.0  0.0  10156  2900 ?        S    11:30   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                                    root       32997  0.0  0.1  12636  4932 ?        S    11:30   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                    iobroker   32998 95.8  2.9 743352 118528 ?       Rl   11:30  15:42 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                                    iobroker   35355 16.2  1.9 638660 77188 ?        Sl   11:46   0:03 io.radar2.0
                                    
                                    

                                    Und hier das Log:

                                    2021-01-23 11:00:06.485  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock radar2.0.alive: false / radar2.0.connected: false
                                    2021-01-23 11:00:14.150  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: unlocked #1
                                    2021-01-23 11:00:17.152  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Starting radar2
                                    2021-01-23 11:00:27.096  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Unable to increase LUA script timeout: Error: Connection is closed.
                                     Cannot load "custom": Error: Connection is closed.
                                     Cannot load "custom": Error: Connection is closed.
                                     [...]
                                    over 40000 mal die Zeile "Cannot load "custom": Error: Connection is closed."
                                     [...]
                                     Cannot load "custom": Error: Connection is closed.
                                     Cannot load "custom": Error: Connection is clos
                                    2021-01-23 11:30:48.377  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 radar2.0.connected: false
                                    2021-01-23 11:30:48.378  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 Starting radar2
                                    2021-01-23 11:30:55.122  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 The adapter "radar2.0" was started.
                                    2021-01-23 11:31:15.124  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 radar2.0.connected: true
                                    2021-01-23 11:31:58.030  - error: daswetter.0 (33006) force terminate
                                    2021-01-23 11:31:58.036  - warn: daswetter.0 (33006) Terminated (15): Without reason
                                    2021-01-23 11:32:04.439  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.440  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.441  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.443  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.445  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.446  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.447  - warn: daswetter.0 (33006) get state Error: DB closed
                                    2021-01-23 11:32:04.451  - error: daswetter.0 (33006) exception in await insertIntoList [Error: DB closed]
                                    2021-01-23 11:32:05.765  - error: daswetter.0 (33006) 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().
                                    2021-01-23 11:32:05.766  - error: daswetter.0 (33006) unhandled promise rejection: Cannot read property 'setState' of null
                                    2021-01-23 11:32:05.812  - error: daswetter.0 (33006) TypeError: Cannot read property 'setState' of null
                                        at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
                                        at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                    2021-01-23 11:32:05.813  - error: daswetter.0 (33006) Cannot read property 'setState' of null
                                    2021-01-23 11:32:06.187  - error: host.BT3-PRO instance system.adapter.daswetter.0 terminated with code 15 (15)
                                    2021-01-23 11:40:23.212  - warn: ical.0 (34385) get state Error: Connection is closed.
                                    2021-01-23 11:40:23.232  - warn: ical.0 (34385) get state Error: DB closed
                                    

                                    Die Konsolenausgaben bei "iobroker restart radar2.0" sind entweder: "The adapter "radar2.0" was started." oder gar keine.
                                    Im Fall von "...was started" läuft nicht zwingend die Instanz wieder. Deswegen prüfe ich den .connected state.
                                    Wenn gar keine Ausgabe kommt, ist es der zur Zeit der Fall mit "Cannot load "custom": Error: Connection is closed."

                                    Das Skript ist eigentlich ein Blockly, aber hier mal der Teil zum Stoppen und Starten der Instanz als Javascript:

                                    var command, restart_count, run_count, result, timeout_keyble, check_radar_running, timeout_radar_restart;
                                    
                                    // Smart Lock Control
                                    async function control_smart_lock(command) {
                                      run_count = (typeof run_count == 'number' ? run_count : 0) + 1;
                                      exec('iobroker stop radar2.0', async function (error, result, stderr) {
                                          // 5000 ms bis 2020-05-25
                                        timeout_keyble = setTimeout(async function () {
                                          console.log((['*** Smart Lock radar2 alive: ',getState("system.adapter.radar2.0.alive").val,' / connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                                          exec('keyble-sendcommand --address 00:11:22:33:44:55 --user_id 2 --user_key *** --command status', async function (error, result, stderr) {
                                              console.log(('*** Smart Lock: ' + String(result)));
                                            // war 20s und nach exec keyble, nicht innerhalb
                                            // bis 2020-05-25
                                            //
                                            // seit 2020-06-25 7s statt 2s damit bei unlock/lock
                                            // retry radar2 nicht erst zwischen gestartet wird
                                            timeout_radar_restart = setTimeout(async function () {
                                              await start_radar2(1);
                                            }, 3000);
                                          });
                                        }, 2000);
                                      });
                                    }
                                    
                                    // Beschreibe diese Funktion …
                                    async function start_radar2(restart_count) {
                                      console.log((['*** Smart Lock: #',restart_count,' Starting radar2'].join('')));
                                      exec('iobroker restart radar2.0', async function (error, result, stderr) {
                                          console.log((['*** Smart Lock: #',restart_count,' ',result].join('')));
                                        check_radar_running = setTimeout(async function () {
                                          console.log((['*** Smart Lock: #',restart_count,' radar2 connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                                          if (getState("system.adapter.radar2.0.connected").val != true && restart_count < 3) {
                                            restart_count = (typeof restart_count == 'number' ? restart_count : 0) + 1;
                                            await start_radar2(restart_count);
                                          } else if (getState("system.adapter.radar2.0.connected").val != true && restart_count >= 3) {
                                            console.log((['*** Smart Lock radar2 running: ',getState("system.adapter.radar2.0.connected").val,', kein ',restart_count + 1,'. Versuch'].join('')));
                                          }
                                        }, 20000);
                                      });
                                    }
                                    
                                    
                                    await control_smart_lock('status');
                                    

                                    M Offline
                                    M Offline
                                    MHeymann
                                    wrote on last edited by MHeymann
                                    #186

                                    Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.

                                    host.ioBroker	2021-01-23 12:08:46.875	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: }
                                    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: ]
                                    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: requireStack: [
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: {
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Require stack:
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: ^
                                    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: throw err;
                                    host.ioBroker	2021-01-23 12:08:46.872	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                    host.ioBroker	2021-01-23 12:08:16.724	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: }
                                    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: ]
                                    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: requireStack: [
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: {
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Require stack:
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: ^
                                    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: throw err;
                                    host.ioBroker	2021-01-23 12:08:16.721	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                    host.ioBroker	2021-01-23 12:07:46.602	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: }
                                    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: ]
                                    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: requireStack: [
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: {
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Require stack:
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: ^
                                    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: throw err;
                                    host.ioBroker	2021-01-23 12:07:46.599	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                    host.ioBroker	2021-01-23 12:07:16.473	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: }
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: ]
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: requireStack: [
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: {
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Require stack:
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: ^
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: throw err;
                                    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                    

                                    Keine Ahnung was da falsch gelaufen ist.

                                    Hat da jemand ne lösung für mich?

                                    LG Marko

                                    Thomas BraunT apollon77A 2 Replies Last reply
                                    0
                                    • M MHeymann

                                      Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.

                                      host.ioBroker	2021-01-23 12:08:46.875	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: }
                                      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: ]
                                      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: requireStack: [
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: {
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Require stack:
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: ^
                                      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: throw err;
                                      host.ioBroker	2021-01-23 12:08:46.872	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                      host.ioBroker	2021-01-23 12:08:16.724	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: }
                                      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: ]
                                      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: requireStack: [
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: {
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Require stack:
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: ^
                                      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: throw err;
                                      host.ioBroker	2021-01-23 12:08:16.721	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                      host.ioBroker	2021-01-23 12:07:46.602	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: }
                                      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: ]
                                      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: requireStack: [
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: {
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Require stack:
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: ^
                                      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: throw err;
                                      host.ioBroker	2021-01-23 12:07:46.599	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                      host.ioBroker	2021-01-23 12:07:16.473	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: }
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: ]
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: requireStack: [
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: {
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Require stack:
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: ^
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: throw err;
                                      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                                      

                                      Keine Ahnung was da falsch gelaufen ist.

                                      Hat da jemand ne lösung für mich?

                                      LG Marko

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #187

                                      @mheymann
                                      node-Installation sauber?

                                      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 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @mheymann
                                        node-Installation sauber?

                                        M Offline
                                        M Offline
                                        MHeymann
                                        wrote on last edited by
                                        #188

                                        @thomas-braun
                                        Keine Ahnung??? Wie Prüfe ich das? Vor dem Update war alles io.

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • M MHeymann

                                          @thomas-braun
                                          Keine Ahnung??? Wie Prüfe ich das? Vor dem Update war alles io.

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #189

                                          @mheymann
                                          Sicher das du im Beta-Zweig richtig bist?

                                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                          

                                          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 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          600

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe