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 4.0 jetzt im BETA/LATEST!

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    211

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

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

js-controller 4.0 jetzt im BETA/LATEST!

js-controller 4.0 jetzt im BETA/LATEST!

Scheduled Pinned Locked Moved ioBroker Allgemein
747 Posts 70 Posters 223.8k Views 60 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.
  • apollon77A apollon77

    @knopers1 Interessant. Ist deprecated seit der 3.0 ... hat scheinbar keiner vorher im Log gesehen. Für dich als Quick Fix: Suche die Code stelle /opt/iobroker/node_modules/@frankjoke/myadapter/myAdapter.js Zeile 252 und ändere adapter.objects.getObjectList in adapter.getObjectList.

    Anpassen muss es frankjoke ... sorry

    I added to incompatibility List in first post

    foxriver76F Offline
    foxriver76F Offline
    foxriver76
    Developer
    wrote on last edited by
    #272

    @apollon77 Keiner gesehen, naja gibt 3 Issues im Adapter 😆

    Videotutorials & mehr

    Hier könnt ihr mich unterstützen.

    D 1 Reply Last reply
    0
    • foxriver76F foxriver76

      @apollon77 Keiner gesehen, naja gibt 3 Issues im Adapter 😆

      D Offline
      D Offline
      dskrt
      wrote on last edited by Negalein
      #273

      habe folgende Fehlermeldung im Log nachdem ich die email für letsencrypt angegeben habe:

      2022-02-11 11:09:38.886  - error: host.ubuntu Caught by controller[0]: invalid maintainer contact info: jean@herz-klein.eu
      2022-02-11 11:09:38.887  - error: host.ubuntu instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2022-02-11 11:09:38.887  - info: host.ubuntu Restart adapter system.adapter.web.0 because enabled
      

      Jetzt komme ich natürlich nicht mehr in die Admin Oberfläche. Wie kann ich diese Parameter im Setup der Web.admin Oberfläche per terminal wieder herausnehmen ?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kueppert
        wrote on last edited by Kueppert
        #274

        Hi zusammen,
        hab heute, nachdem meine Festplatte abgeraucht ist, mal ioBroker auf ne neue Platte umgezogen (via Backup die VM neu restored) auf ein neues Proxmox.
        Hab daher auch direkt mal den HOST Update durchgeführt in der Proxmox-Shell (daher kann ich keinen Code kopieren nur nen Screen machen). Hab leider beim Update diverse Fehlermeldungen erhalten. ioBroker startet aber.
        Ich nutze JSONL schon einige Monate ohne Probleme für States und Objekte:

        26698c69-f3e9-4688-8504-26a37a159826-image.png

        Protokoll im ioB ist auch unauffällig. Alle Instanzen sind auch grün.
        Und anbei noch die Infos aus dem Info-Adapter:
        Plattform linux
        Betriebssystem linux
        Architektur x64
        CPUs 2
        Geschwindigkeit 1696 MHz
        Modell Common KVM processor
        RAM 4.84 GB
        System-Betriebszeit 12:54:36
        Node.js v14.19.0
        NPM 6.14.16
        Aktive Instanzen 43
        location /opt/iobroker/
        Hostname ioBroker2

        NACHTRAG: Gerade nach den Fehlermeldungen gesucht (steht ja auch im 1. POST). Scheinen auch bei mir die üblichen Fehlermeldungen zu sein 🙂

        UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

        1 Reply Last reply
        1
        • foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          wrote on last edited by
          #275

          4.0.8 zeitnah im Latest, mit den folgenden Änderungen:

          (AlCalzone) Prevent issues when backup interval is configured with invalid values
          (Apollon77) Correctly return null when a session is expired
          (bluefox) Add docker info to statistic values sent to server in a place where it was missing
          (foxriver76) Prevent edge case in setup first when sets were initialized earlier already but unused in the meantime
          (focriver76) allow instance deletion when executed from an other host
          

          Bitte das Instanz löschen mit der Version nochmal probieren.

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Reply Last reply
          1
          • apollon77A Offline
            apollon77A Offline
            apollon77
            wrote on last edited by
            #276

            Hi All,

            wir haben noch ein paar Dinge für eine 4.0.8 gefunden. DIe Version sollte im laufe des Tages bei allen auftauchen:

            4.0.8 (2022-02-11)

            • (AlCalzone) Prevent issues when backup interval is configured with invalid values
            • (Apollon77) Correctly return null when a session is expired
            • (bluefox) Add docker info to statistic values sent to server in a place where it was missing
            • (foxriver76) Prevent edge case in setup first when sets were initialized earlier already but unused in the meantime
            • (focriver76) allow instance deletion when executed from an other host

            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
            2
            • apollon77A Offline
              apollon77A Offline
              apollon77
              wrote on last edited by
              #277

              @dskrt iobroker set admin.0 --ssl false

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

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

                Sollte die oder 4.0.6 schon im latest sichtbar sein?

                Naja eher die 4.0.7 inzwischen 🙂 Aber ja ... sollte eins von beiden. Ggf iob update

                Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

                Wie auch unter 3.3.22 🙂

                Das bringt eher die Frage nach generell dem Restore einen slaves auf denke ich 🙂

                Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

                wendy2702W Online
                wendy2702W Online
                wendy2702
                wrote on last edited by
                #278

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

                Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

                Zur Info:

                habe einen PI3 als Slave.
                8GB Industrie SD Karte mit 64bit Bulleye lite per Raspi Imager bespielt.
                per einzeiler iob installiert
                Admin geht
                mit iob setup custom daraus einen Slave gemacht
                iob gestoppt und JS 4.0.7 update
                iob start und bisschen gewartet, dann wurden alle Adapter/Instanzen installiert und laufen.

                Adapter/Instanzen welche bei der Grundinstallation dabei sind wurden allerdings nicht deinstalliert. Das wäre vielleicht noch eine kleine Optimierung. Nicht das man wenn man nicht darauf achtet nachher mehrere BackitUp Instanzen hat die Zeitgleich Backups machen oder so.

                Bitte keine Fragen per PN, die gehören ins Forum!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                apollon77A 1 Reply Last reply
                0
                • wendy2702W wendy2702

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

                  Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

                  Zur Info:

                  habe einen PI3 als Slave.
                  8GB Industrie SD Karte mit 64bit Bulleye lite per Raspi Imager bespielt.
                  per einzeiler iob installiert
                  Admin geht
                  mit iob setup custom daraus einen Slave gemacht
                  iob gestoppt und JS 4.0.7 update
                  iob start und bisschen gewartet, dann wurden alle Adapter/Instanzen installiert und laufen.

                  Adapter/Instanzen welche bei der Grundinstallation dabei sind wurden allerdings nicht deinstalliert. Das wäre vielleicht noch eine kleine Optimierung. Nicht das man wenn man nicht darauf achtet nachher mehrere BackitUp Instanzen hat die Zeitgleich Backups machen oder so.

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  wrote on last edited by
                  #279

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

                  Adapter/Instanzen welche bei der Grundinstallation dabei sind wurden allerdings nicht deinstalliert. Das wäre vielleicht noch eine kleine Optimierung. Nicht das man wenn man nicht darauf achtet nachher mehrere BackitUp Instanzen hat die Zeitgleich Backups machen oder so.

                  Naja dann hättest Du auch zwei Instanzen ... würdest du also sehen. Nur vom "da liegenden Code" passiert nix. Aber ja. Müsste man mal überlegen wie man das erkennen könnte

                  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
                  • wendy2702W Online
                    wendy2702W Online
                    wendy2702
                    wrote on last edited by
                    #280

                    Ich weiß eben nicht ob es direkt immer auffällt.

                    Habe ich z.B. Im Admin auf einen Host gefiltert könnte man es vielleicht auch leicht übersehen.

                    War aber auch nur so als mögliche Anregung gedacht.

                    Bitte keine Fragen per PN, die gehören ins Forum!

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    1 Reply Last reply
                    0
                    • apollon77A apollon77

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

                      Adapter/Instanzen welche bei der Grundinstallation dabei sind wurden allerdings nicht deinstalliert. Das wäre vielleicht noch eine kleine Optimierung. Nicht das man wenn man nicht darauf achtet nachher mehrere BackitUp Instanzen hat die Zeitgleich Backups machen oder so.

                      Naja dann hättest Du auch zwei Instanzen ... würdest du also sehen. Nur vom "da liegenden Code" passiert nix. Aber ja. Müsste man mal überlegen wie man das erkennen könnte

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

                      @apollon77 4.0.8 will bei mir gerade nicht durchstarten:

                      2022-02-11 12:21:17.624 - erro: host.iobroker Your system has only 49 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:17.628 - erro: host.iobroker In future versions, the adapter might not be started!
                      2022-02-11 12:21:17.740 - warn: host.iobroker Your system has only 84 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:17.741 - warn: host.iobroker Your system has only 84 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:18.133 - warn: host.iobroker Your system has only 74 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:18.140 - warn: host.iobroker Your system has only 73 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:18.155 - warn: host.iobroker Your system has only 72 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:18.159 - warn: host.iobroker Your system has only 72 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      2022-02-11 12:21:18.212 - warn: host.iobroker Your system has only 71 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                      

                      Danach loopt er mit allen Instanzen. Die RAM Meldungen kommen aber nicht mehr. Also das war nur beim ersten Start von 4.0.8.
                      Selbst wenn ich iob stop mache und kein Prozess mehr läuft, startet 4.0.8 nicht durch und endet in irgend einem Loop der fast alle Instanzen gestartet bekommt, aber dann doch abschmiert und sich selbst wieder beendet.

                      iobroker@iobroker:/opt/iobroker/log$ iob list instances
                      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                      

                      Habe nun ein Downgrad auf 4.0.7 gemacht.

                      ..:: 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 4.0.8 will bei mir gerade nicht durchstarten:

                        2022-02-11 12:21:17.624 - erro: host.iobroker Your system has only 49 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:17.628 - erro: host.iobroker In future versions, the adapter might not be started!
                        2022-02-11 12:21:17.740 - warn: host.iobroker Your system has only 84 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:17.741 - warn: host.iobroker Your system has only 84 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:18.133 - warn: host.iobroker Your system has only 74 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:18.140 - warn: host.iobroker Your system has only 73 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:18.155 - warn: host.iobroker Your system has only 72 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:18.159 - warn: host.iobroker Your system has only 72 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        2022-02-11 12:21:18.212 - warn: host.iobroker Your system has only 71 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                        

                        Danach loopt er mit allen Instanzen. Die RAM Meldungen kommen aber nicht mehr. Also das war nur beim ersten Start von 4.0.8.
                        Selbst wenn ich iob stop mache und kein Prozess mehr läuft, startet 4.0.8 nicht durch und endet in irgend einem Loop der fast alle Instanzen gestartet bekommt, aber dann doch abschmiert und sich selbst wieder beendet.

                        iobroker@iobroker:/opt/iobroker/log$ iob list instances
                        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                        

                        Habe nun ein Downgrad auf 4.0.7 gemacht.

                        apollon77A Offline
                        apollon77A Offline
                        apollon77
                        wrote on last edited by
                        #282

                        @diginix Versuch mal reboot. Also die Log Meldungen sagen nur das dein RAM gerade knapp wird - sonst nix.

                        Das andere (mit dem "lock" der DB) ist der echte Grund das es nicht startet

                        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

                          @dskrt iobroker set admin.0 --ssl false

                          D Offline
                          D Offline
                          dskrt
                          wrote on last edited by
                          #283

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

                          iobroker set admin.0 --ssl false

                          Danke,habe aber dann diese Meldung

                          iobroker set admin.0 --ssl false
                          Adapter "admin.0" has no setting "ssl".
                          No parameters set.

                          apollon77A 1 Reply Last reply
                          0
                          • D dskrt

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

                            iobroker set admin.0 --ssl false

                            Danke,habe aber dann diese Meldung

                            iobroker set admin.0 --ssl false
                            Adapter "admin.0" has no setting "ssl".
                            No parameters set.

                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            wrote on last edited by
                            #284

                            @dskrt sorry type ... secure anstelle ssl

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

                              @diginix Versuch mal reboot. Also die Log Meldungen sagen nur das dein RAM gerade knapp wird - sonst nix.

                              Das andere (mit dem "lock" der DB) ist der echte Grund das es nicht startet

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

                              @apollon77 Hab den Post noch mal editiert. Downgrade auf 4.0.7 hat leider auch nicht geholfen.

                              iobroker@iobroker:/opt/iobroker/log$ iob list instances
                              Uncaught Rejection: Error: Connection is closed.
                                  at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                  at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                  at Object.onceWrapper (events.js:520:26)
                                  at Socket.emit (events.js:400:28)
                                  at TCP.<anonymous> (net.js:686:12)
                              Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                              

                              Es sind immer fast alle Instanzen grün, vllt noch 4-5 nicht gestartet und dann werden wieder alle rot.
                              Danach kann ich direkt iob stop in der CLI machen
                              Ich mach nochmal ein Update und danach ein reboot.

                              ..:: 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 2 Replies Last reply
                              0
                              • apollon77A apollon77

                                @dskrt sorry type ... secure anstelle ssl

                                D Offline
                                D Offline
                                dskrt
                                wrote on last edited by
                                #286

                                @apollon77 Super ! Vielen, vielen Dank

                                1 Reply Last reply
                                0
                                • DiginixD Diginix

                                  @apollon77 Hab den Post noch mal editiert. Downgrade auf 4.0.7 hat leider auch nicht geholfen.

                                  iobroker@iobroker:/opt/iobroker/log$ iob list instances
                                  Uncaught Rejection: Error: Connection is closed.
                                      at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                      at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                      at Object.onceWrapper (events.js:520:26)
                                      at Socket.emit (events.js:400:28)
                                      at TCP.<anonymous> (net.js:686:12)
                                  Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                  

                                  Es sind immer fast alle Instanzen grün, vllt noch 4-5 nicht gestartet und dann werden wieder alle rot.
                                  Danach kann ich direkt iob stop in der CLI machen
                                  Ich mach nochmal ein Update und danach ein reboot.

                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  wrote on last edited by
                                  #287

                                  @diginix Da muss @AlCalzone was zu sagen wo der lock herkommen könnte ... ich kapiers nicht schau nochmal das sichergestellt ist das keine iobroker prozesse mehr laufen

                                  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 Hab den Post noch mal editiert. Downgrade auf 4.0.7 hat leider auch nicht geholfen.

                                    iobroker@iobroker:/opt/iobroker/log$ iob list instances
                                    Uncaught Rejection: Error: Connection is closed.
                                        at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                        at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                        at Object.onceWrapper (events.js:520:26)
                                        at Socket.emit (events.js:400:28)
                                        at TCP.<anonymous> (net.js:686:12)
                                    Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                    

                                    Es sind immer fast alle Instanzen grün, vllt noch 4-5 nicht gestartet und dann werden wieder alle rot.
                                    Danach kann ich direkt iob stop in der CLI machen
                                    Ich mach nochmal ein Update und danach ein reboot.

                                    apollon77A Offline
                                    apollon77A Offline
                                    apollon77
                                    wrote on last edited by apollon77
                                    #288

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

                                    Es sind immer fast alle Instanzen grün, vllt noch 4-5 nicht gestartet und dann werden wieder alle rot.

                                    Ok, was sagt dann der iobroker log? (Zu dem Zeitpunkt wo alles rot wird)

                                    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 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      Es sind immer fast alle Instanzen grün, vllt noch 4-5 nicht gestartet und dann werden wieder alle rot.

                                      Ok, was sagt dann der iobroker log? (Zu dem Zeitpunkt wo alles rot wird)

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

                                      @apollon77 Muss ich in Ruhe nochmal filtern. Ist zu voll mit Fehlern von Adaptern die seit 4.x gemeldet werden.
                                      Reboot hat tatsächlich geholfen. 4.0.8 läuft nun mit allen Instanzen.
                                      Alte iob Prozesse gab es nie vor dem iob start.

                                      ..:: 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 Muss ich in Ruhe nochmal filtern. Ist zu voll mit Fehlern von Adaptern die seit 4.x gemeldet werden.
                                        Reboot hat tatsächlich geholfen. 4.0.8 läuft nun mit allen Instanzen.
                                        Alte iob Prozesse gab es nie vor dem iob start.

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #290

                                        @diginix Ok, wäre cool wenn du nochmal reinschauen kannst bei Zeit

                                        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 Ok, wäre cool wenn du nochmal reinschauen kannst bei Zeit

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

                                          @apollon77
                                          Das wird dir nicht helfen:

                                          2022-02-11 12:29:25.448 - info: simple-api.0 (350760) https server listening on port 8285
                                          2022-02-11 12:29:33.454 - info: text2command.0 (350816) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.text2command, node: v14.19.0, js-controller: 4.0.8
                                          2022-02-11 12:29:44.963 - error: web.0 (350832) [LE] {"code":"E_FAIL_DRY_CHALLENGE","context":"cert_renewal","subject":"***","altnames":["***"]}
                                          2022-02-11 12:29:57.275 - error: web.0 (350832) [LE] {"code":"E_FAIL_DRY_CHALLENGE","context":"cert_renewal","subject":"***","altnames":["***"]}
                                          2022-02-11 12:30:23.546 - warn: javascript.0 (349701) getState "system.adapter.modbus.0.connected" not found (3)
                                          2022-02-11 12:30:23.548 - warn: javascript.0 (349701)     at Object.<anonymous> (script.js.0.System.Checks_and_Restarts:449:67)
                                          2022-02-11 12:30:23.548 - warn: javascript.0 (349701)     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1082:38)
                                          2022-02-11 12:30:23.548 - warn: javascript.0 (349701)     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:530:29)
                                          2022-02-11 12:30:23.549 - warn: javascript.0 (349701)     at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5902:56)
                                          2022-02-11 12:30:23.549 - warn: javascript.0 (349701)     at processImmediate (internal/timers.js:464:21)
                                          2022-02-11 12:30:23.640 - warn: javascript.0 (349701) getState "system.adapter.shelly.0.connected" not found (3)
                                          2022-02-11 12:30:23.641 - warn: javascript.0 (349701)     at Object.<anonymous> (script.js.0.System.Checks_and_Restarts:376:67)
                                          2022-02-11 12:30:23.641 - warn: javascript.0 (349701)     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1082:38)
                                          2022-02-11 12:30:23.641 - warn: javascript.0 (349701)     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:530:29)
                                          2022-02-11 12:30:23.642 - warn: javascript.0 (349701)     at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5902:56)
                                          2022-02-11 12:30:23.642 - warn: javascript.0 (349701)     at processImmediate (internal/timers.js:464:21)
                                          2022-02-11 12:30:25.672 - warn: host.iobroker Your system has only 96 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                                          2022-02-11 12:30:25.678 - warn: host.iobroker Your system has only 96 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                                          2022-02-11 12:30:26.481 - warn: host.iobroker Your system has only 89 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                                          2022-02-11 12:30:26.520 - warn: host.iobroker Your system has only 88 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
                                          2022-02-11 12:30:34.119 - error: text2command.0 (350816) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.133 - error: simple-api.0 (350760) Objects database error: read ECONNRESET
                                          2022-02-11 12:30:34.134 - error: radar2.0 (350696) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.154 - error: parser.0 (350642) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.161 - error: lupusec.0 (350587) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.171 - error: info.0 (350074) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.177 - error: backitup.0 (350000) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.191 - error: shelly.0 (349917) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.193 - error: shelly.0 (349917) Objects database error: read ECONNRESET
                                          2022-02-11 12:30:34.205 - error: modbus.0 (349812) Objects database error: read ECONNRESET
                                          2022-02-11 12:30:34.213 - error: alexa2.0 (349750) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.222 - error: javascript.0 (349701) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.247 - error: mqtt.0 (349829) Objects database error: read ECONNRESET
                                          2022-02-11 12:30:34.264 - info: javascript.0 (349701) Stop script script.js.0.Devices.Bring
                                          2022-02-11 12:30:34.262 - info: backitup.0 (350000) cleaned everything up...
                                          2022-02-11 12:30:34.270 - info: simple-api.0 (350760) terminating https server on port 8285
                                          2022-02-11 12:30:34.277 - info: admin.0 (349653) terminating https server on port 8081
                                          2022-02-11 12:30:34.273 - error: mihome-vacuum.0 (349797) Socket Close
                                          2022-02-11 12:30:34.305 - error: ping.0 (349885) Objects database error: read ECONNRESET
                                          2022-02-11 12:30:34.197 - error: sonoff.0 (349940) States database error: read ECONNRESET
                                          2022-02-11 12:30:34.325 - warn: influxdb.0 (349733) Store data for 1025 points and 0 conflicts
                                          2022-02-11 12:30:34.346 - info: iot.1 (350554) Connection changed: disconnect
                                          2022-02-11 12:30:34.347 - info: iot.1 (350554) Connection lost
                                          

                                          Die JS getState Fehler hatte ich sonst auch. Das direkt danach die RAM Meldungen kommen ist schon komisch. In der CLI mit free -m war es meine ich auch nicht so knapp. Der Loglevel vom Controller ist allerdings auch warn. K.a. ob mit info mehr gekommen wäre. Da er nun nach Reboot vorerst unauffällig läuft und auch ein Adapter Update gerade schon problemlos klappte, würde ich es unter "blöder Zufall" abstempeln.

                                          ..:: 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
                                          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

                                          78

                                          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