Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta-Test js-controller 2.2.x GitHub

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Beta-Test js-controller 2.2.x GitHub

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

      @apollon77 Das Log oben war vom Master. Hier der Slave. Das Log ist auch vollständig - Fehler um 0 Uhr und um 7 Uhr wurde von mir manuell neu gestartet. Der Slave konnte dann bis heut Morgen den Master nicht erreichen.

      Ich habe leider direkt den Container neu gestartet, hätte vorher ggf. ps -ef prüfen sollen. Ich vermute mal der js-controller hatte sich verabschiedet nach dem Versuch das Log zu rotieren.

      ┌2020-01-19 00:00:20.228  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:20.227  - error: smartmeter.0 (4382) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:20.239  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:20.301  - error: smartmeter.0 (4382) uncaught exception: ENOENT: no such file or directory, unlink '/opt/iobroker/log/iobroker.2020-01-17.log'                                                                                          │
      │2020-01-19 00:00:20.302  - error: smartmeter.0 (4382) Error: ENOENT: no such file or directory, unlink '/opt/iobroker/log/iobroker.2020-01-17.log'                                                                                                       │
      │    at Object.unlinkSync (fs.js:956:3)                                                                                                                                                                                                                   │
      │    at WriteStream.<anonymous> (/opt/iobroker/node_modules/winston-daily-rotate-file/daily-rotate-file.js:128:24)                                                                                                                                        │
      │    at WriteStream.emit (events.js:203:15)                                                                                                                                                                                                               │
      │    at WriteStream.EventEmitter.emit (domain.js:448:20)                                                                                                                                                                                                  │
      │    at finishMaybe (_stream_writable.js:646:14)                                                                                                                                                                                                          │
      │    at stream._final (_stream_writable.js:624:5)                                                                                                                                                                                                         │
      │    at WriteStream._final (internal/fs/streams.js:268:3)                                                                                                                                                                                                 │
      │    at callFinal (_stream_writable.js:617:10)                                                                                                                                                                                                            │
      │    at process._tickCallback (internal/process/next_tick.js:63:19)                                                                                                                                                                                       │
      │2020-01-19 00:00:25.258  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:25.265  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:30.261  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:30.267  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:35.263  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:35.271  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:40.267  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:40.276  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:45.269  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:45.279  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:50.272  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:50.285  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:00:55.275  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:00:55.287  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:00.277  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:00.289  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:05.279  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:05.292  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:10.281  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:10.294  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:15.284  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:15.297  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:20.286  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:20.299  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:25.289  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:25.301  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:30.291  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:30.304  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:35.293  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:35.307  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:40.295  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:40.309  - error: smartmeter.1 (4397) connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                             │
      │2020-01-19 00:01:45.297  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9001                                                                                                                                                               │
      │2020-01-19 00:01:45.299  - error: host.iobroker-hwr Cannot find view "system" for search "instance" : Error: Connection is closed.                                                                                                                       │
      │2020-01-19 00:01:45.303  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)                                                                                                                                │
      │2020-01-19 00:01:45.304  - info: host.iobroker-hwr Restart adapter system.adapter.smartmeter.0 because enabled  
      
      │2020-01-19 00:02:29.975  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:02:30.521  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:02:32.199  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:02:32.206  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:02:32.207  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:02:32.209  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:03:02.220  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:03:02.228  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:03:02.779  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:03:04.453  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:03:04.460  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:03:04.461  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:03:04.463  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:03:34.473  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:03:34.481  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:03:35.059  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:03:36.698  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:03:36.705  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:03:36.706  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:03:36.707  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:04:06.718  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:04:06.726  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:04:07.278  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:04:08.952  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:04:08.959  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:04:08.960  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:04:08.962  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:04:38.973  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:04:38.981  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:04:39.553  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:04:41.202  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:04:41.209  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:04:41.210  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:04:41.212  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:05:11.223  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:05:11.230  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:05:11.784  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:05:13.453  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:05:13.461  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:05:13.462  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:05:13.463  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                      │
      │2020-01-19 00:05:43.475  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                         │
      │2020-01-19 00:05:43.483  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                     │
      │2020-01-19 00:05:44.039  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                     │
      │2020-01-19 00:05:45.706  - info: host.iobroker-hwr iobroker.js-controller version 2.2.7 js-controller starting                                                                                                                                           │
      │2020-01-19 00:05:45.713  - info: host.iobroker-hwr Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker                                                                                                                                                     │
      │2020-01-19 00:05:45.714  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.18.0                                                                                                                                                                │
      │2020-01-19 00:05:45.715  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27  
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Also ich sehe im Log das er an sich versucht den Restart auszuführen ... jetzt ist nur die Frage ob/wie der im Container tut. Wäre ggf mal ein Issue bei buanet wert das man das mal anschaut

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

          @darkiop sagte in Beta-Test js-controller 2.2.x GitHub:

          Aber ich hab zwei andere Dinge gesehen die ich noch fixe ... eins davon könnte der Grund sein, Mal schauen.

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

            @darkiop tu mir bitte mal einen Gefallen: Schau bitte mal ob das .gz logfile auf dem Master wo es gecrasht ist ok ist. Also keine log Blöcke doppelt oder generell kaputt und so.

            Scheinbar ist das Rotieren quasi doppelt gelaufen und da ganze so das die checks die dafür drin sind nicht schnell genug waren.

            D 1 Reply Last reply Reply Quote 0
            • D
              darkiop Most Active @apollon77 last edited by

              @apollon77 mache ich, geht allerdings erst gegen Mittag

              1 Reply Last reply Reply Quote 0
              • D
                darkiop Most Active last edited by darkiop

                Ging doch schneller wie gedacht, also beide Logs vom 18.01. und 19.01. schauen OK aus. Schicke sie dir gerne wenn du sie brauchst.

                Edit: K.a. ob relevant, aber in der iobroker-audit.json fehlt der Eintrag für den 18.01.:

                25119fad-e692-491b-aebb-918bccf32fb8-grafik.png

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

                  @darkiop Danke,wollte nur wilssen ob durch "doppeltes packen" oder "ein Prozess löscht während anderer noch Dinge tut" das logfile kaputt geht, aber scheinbar passt das.

                  Das das eine im audit fehlt ist strange - würde ich jetzt mal dem Crash oder so zuschreiben.

                  2.2.8 kommt bald ... hoffe die Leute von der logrotate lib kommen mal mit dem Fix in die puschen

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

                    @apollon77 Ich werde diese Testrunde leider auslassen müssen.
                    Leider war ich so dämlich und habe den Proxmox auf V6.1 geupdatet. Seitdem laufen alle CT extrem instabil. Ich bin froh wenn das System so stabil läuft das mir meine Holde nicht den Kopf abreißt.
                    Also muss ich zunächst mal alles neu aufsetezn und hoffen das das dann weg ist.
                    Erst ab dann werde ich mich wieder an Tests wagen können fürchte ich.

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

                      Hi All,

                      aus gegebenem Anlass (eine Sub-Dependency Library hat es geschafft Ihre Nodejs kompatibilität nicht sauber zu halten und somit kann der controller 2.2.8 mit nodejs 8 ggf crashen) habe ich hier eine 2.2.9.

                      Installieren mittels: npm install ioBroker/ioBroker.js-controller#2.2.x

                      Neben dem Downgradde dieser Library habe ich noch ein paar Fixes reingenommen die sich seitdem angesammelt haben.
                      Changelog:

                      2.2.9 (2020-02-12) Release Dina

                      • (Apollon77) fix pot. crash for edge cases
                      • (Apollon77) allow to deactivate logfile zipping by iobroker.json (for non-windows systems)
                      • (Apollon77) make sure sigKill state only handles number values (fixes #638)
                      • (bluefox) add better checks for file CLI commands
                      • (Apollon77) make sure directly is created before writing meta data and send redis error correctly, prevent controller crash (fixes #644)
                      • (foxriver76) optimize package manager handling (fixes #631)
                      • (Apollon77) make sure deleting running instances does not crash js-controller (fixes #658)
                      • (Apollon77) Downgrade semver to stay compatible with nodejs 8

                      Wer Zeit hat den bitte ich die Version mal zu installieren und zu checken. Schaut auch gern das Cangelog durch ob Ihr ggf Dinge testen könnt (zb "löschen einer gerade laufenden Instanz") oder beschreiben des "sigkill" States eines Adapter mit einem leeren String 🙂
                      Ansonsten das wichtigste natürlich das alles weiterhin tut.

                      Bitte last VOR der Installation mal den installation fixer laufen das der strict Mode aktiviert ist und wir prüfen können das der Downgrade der Library den gewünschten Erfolg hat.

                      Wer nach der Installation eine 2.3.0 oder 3.0.0 hat bitte unbedingt nochmal richtig updaten. Der Befehl ist anders als letztens!!!

                      Danke!!

                      hobbyquaker created this issue in ioBroker/ioBroker.js-controller

                      closed fix spaces in object id #2

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

                        @apollon77 said in Beta-Test js-controller 2.2.x GitHub:

                        ggf Dinge testen könnt (zb "löschen einer gerade laufenden Instanz")

                        Mit einer frischen Installation getestet. Discovery- und Info-Adapter haben sich problemlos löschen lassen! Instanzen waren danach auch beide weg!

                        Auch das löschen der laufenden Instanzen funktioniert.

                        Ich teste mal weiter ...

                        EDIT: Restore lief zum ersten mal wieder ohne Fehlermeldungen (Einige Pakete konnten nicht installiert werden bitte manuell installieren) durch.

                        Alle meine Instanzen sind grün und funktionieren! Bisher alles Top!

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

                          @apollon77 Hi, 5 Hosts und den Master auf 2.2.9 gebracht ( Produktivsystem ü23000 Objekte), bis jetzt alles ruhig, mir kommt es vor, dass manche Trigger schneller reagieren.. nur so ein Gefühl.. rein vom Bauch.. Raspis und VMs nicht! neu gestartet, nur den iobroker process...

                          Also die Dina ist bis jetzt keine Diva! 🙂

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

                            @ilovegym sagte in Beta-Test js-controller 2.2.x GitHub:

                            Also die Dina ist bis jetzt keine Diva!

                            😉 Das war Sie als sie noch 2.2.<8 war ... haben Sie gut umerzogen

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            801
                            Online

                            31.7k
                            Users

                            79.8k
                            Topics

                            1.3m
                            Posts

                            beta github js-controller
                            18
                            169
                            15428
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo