Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test js-controller v2.0.x (GitHub)

NEWS

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

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

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

Test js-controller v2.0.x (GitHub)

Geplant Angeheftet Gesperrt Verschoben Tester
js-controller
1.0k Beiträge 48 Kommentatoren 317.1k Aufrufe 35 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #316

    Hi All,

    Auf GitHub gibt es die 2.0.16 mit letzten Fixes die ich hier so gesehen hatte.
    @darkiop Installier bitte mal - bei Dir war im Log ein komischer Fehler der vllt mit eine Rolle spielen könnte (oder auch 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 Antwort Letzte Antwort
    0
    • D darkiop

      @apollon77 Wenn ich das wüsste :)

      Ich bin 17:52 nach Hause gekommen und konnte das Garagentor öffnen ... dann hat sich wohl kurz danach der js-controller Verabschiedet und mein Skript* welches regelmäßig prüft ob der iobroker Prozess im Container läuft hat ihn wieder gestartet.
      Leider liest sich da aus meinre Sicht nichts wirklich heraus. Aktuell läufts noch stabil, ich lass das jetzt auch mal bis Morgen nach der Arbeit und starte dann erst den Slave nochmal durch.

      Skript: https://github.com/darkiop/smarthome/blob/master/iobroker/check_iobroker.sh

      Auf dem Slave habe ich das hier im Log:

      863 2019-09-30 16:42:17.642  - ^[[32minfo^[[39m: host.iobroker-hwr iobroker _restart
      864 2019-09-30 16:48:11.446  - ^[[32minfo^[[39m: host.iobroker-hwr iobroker.js-controller version 2.0.14 js-controller starting
      865 2019-09-30 16:48:11.453  - ^[[32minfo^[[39m: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
      866 2019-09-30 16:48:11.454  - ^[[32minfo^[[39m: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
      867 2019-09-30 16:48:11.456  - ^[[32minfo^[[39m: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::dea6:32ff:fe17:78f5
      868 2019-09-30 16:48:11.708  - ^[[32minfo^[[39m: host.iobroker-hwr connected to Objects and States
      869 2019-09-30 16:48:11.748  - ^[[33mwarn^[[39m: host.iobroker-hwr Multihost discovery server: service started on 0.0.0.0:50005
      870 2019-09-30 16:48:13.063  - ^[[32minfo^[[39m: host.iobroker-hwr 86 instances found
      871 2019-09-30 16:48:13.080  - ^[[32minfo^[[39m: host.iobroker-hwr starting 2 instances
      872 2019-09-30 16:48:13.101  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.0 started with pid 1211
      873 2019-09-30 16:48:17.097  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.1 started with pid 1222
      874 2019-09-30 18:00:21.981  - ^[[33mwarn^[[39m: smartmeter.1 (1222) Cannot connect/reconnect to objects DB. Terminating
      875 2019-09-30 18:00:21.981  - ^[[33mwarn^[[39m: smartmeter.0 (1211) Cannot connect/reconnect to objects DB. Terminating
      876 2019-09-30 18:00:26.492  - ^[[33mwarn^[[39m: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
      877 2019-09-30 18:00:26.499  - ^[[32minfo^[[39m: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
      878 2019-09-30 18:00:26.500  - ^[[31merror^[[39m: host.iobroker-hwr result is not defined
      879 2019-09-30 18:00:28.263  - ^[[33mwarn^[[39m: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      880 2019-09-30 18:00:28.267  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.1 terminated with code 0 (NO_ERROR)
      881 2019-09-30 18:00:28.268  - ^[[32minfo^[[39m: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.1 because disabled or deleted
      882 2019-09-30 18:00:28.304  - ^[[33mwarn^[[39m: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      883 2019-09-30 18:00:28.305  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
      884 2019-09-30 18:00:28.305  - ^[[32minfo^[[39m: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.0 because disabled or deleted
      885 2019-09-30 18:00:41.501  - ^[[32minfo^[[39m: host.iobroker-hwr iobroker _restart
      886 2019-09-30 18:00:42.019  - ^[[32minfo^[[39m: host.iobroker-hwr iobroker Starting node restart.js
      887 2019-09-30 18:15:09.303  - ^[[32minfo^[[39m: host.iobroker-hwr iobroker.js-controller version 2.0.14 js-controller starting
      888 2019-09-30 18:15:09.311  - ^[[32minfo^[[39m: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
      889 2019-09-30 18:15:09.312  - ^[[32minfo^[[39m: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
      890 2019-09-30 18:15:09.313  - ^[[32minfo^[[39m: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::dea6:32ff:fe17:78f5
      891 2019-09-30 18:15:09.849  - ^[[32minfo^[[39m: host.iobroker-hwr connected to Objects and States
      892 2019-09-30 18:15:10.576  - ^[[33mwarn^[[39m: host.iobroker-hwr Multihost discovery server: service started on 0.0.0.0:50005
      893 2019-09-30 18:15:10.829  - ^[[32minfo^[[39m: host.iobroker-hwr Delete state "system.host.iobroker-hwr.compactModeEnabled"
      894 2019-09-30 18:15:11.579  - ^[[32minfo^[[39m: host.iobroker-hwr 86 instances found
      895 2019-09-30 18:15:11.596  - ^[[32minfo^[[39m: host.iobroker-hwr starting 3 instances
      896 2019-09-30 18:15:11.624  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.email.0 started with pid 1424
      897 2019-09-30 18:15:11.629  - ^[[32minfo^[[39m: host.iobroker-hwr Some obsolete host states deleted.
      898 2019-09-30 18:15:14.011  - ^[[32minfo^[[39m: email.0 (1424) starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.email, node: v10.16.3
      899 2019-09-30 18:15:15.614  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.0 started with pid 1439
      900 2019-09-30 18:15:19.605  - ^[[32minfo^[[39m: host.iobroker-hwr instance system.adapter.smartmeter.1 started with pid 1450
      901 2019-09-30 18:18:21.377  - ^[[33mwarn^[[39m: smartmeter.1 (1450) Cannot connect/reconnect to objects DB. Terminating
      902 2019-09-30 18:18:21.378  - ^[[33mwarn^[[39m: email.0 (1424) Cannot connect/reconnect to objects DB. Terminating
      903 2019-09-30 18:18:21.379  - ^[[33mwarn^[[39m: smartmeter.0 (1439) Cannot connect/reconnect to objects DB. Terminating
      904 2019-09-30 18:18:25.889  - ^[[33mwarn^[[39m: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
      905 2019-09-30 18:18:25.895  - ^[[32minfo^[[39m: host.iobroker-hwr stopInstance system.adapter.email.0
      906 2019-09-30 18:18:25.896  - ^[[31merror^[[39m: host.iobroker-hwr result is not defined
      

      Auf dem Master

      2019-09-30 17:52:59.863  - info: javascript.0 (479) script.js.PRODUKTIV.Garage.Garagentor: Tor auf
      2019-09-30 17:53:00.073  - info: javascript.0 (479) script.js.PRODUKTIV.Garage.Garagentor: Tor auf
      2019-09-30 17:53:00.162  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:53:00.165  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:53:41.288  - info: javascript.0 (479) script.js.PRODUKTIV.Beleuchtung.01_Bewegungsmelder_Flur: +++ Bewegung im Flur erkannt: Aktuelle Tageszeit: Abend | Skript wird ausgelöst bei: Abend,Abenddämmerung,Nacht,Morgendämmerung
      2019-09-30 17:54:00.210  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:54:00.219  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:55:00.080  - info: javascript.0 (479) script.js.PRODUKTIV.Anwesenheit.Anwesenheit_Unifi: +++ Thorsten ist anwesend +++
      2019-09-30 17:55:00.082  - info: javascript.0 (479) script.js.PRODUKTIV.Anwesenheit.Anwesenheit_Unifi: +++ Jenny ist abwesend +++
      2019-09-30 17:55:00.130  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:55:00.134  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:56:00.099  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:56:00.101  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:57:00.117  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:57:00.118  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:57:51.869  - info: javascript.0 (479) script.js.PRODUKTIV.Beleuchtung.01_Bewegungsmelder_Flur: +++ Bewegung im Flur erkannt: Aktuelle Tageszeit: Abend | Skript wird ausgelöst bei: Abend,Abenddämmerung,Nacht,Morgendämmerung
      2019-09-30 17:58:00.088  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:58:00.089  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 17:59:00.343  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 17:59:00.344  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 18:00:00.063  - info: host.iobroker-master instance system.adapter.tvspielfilm.0 started with pid 7495
      2019-09-30 18:00:00.227  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nichts zu schalten +++
      2019-09-30 18:00:00.227  - info: javascript.0 (479) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenuntergang
      2019-09-30 18:00:00.191  - info: host.iobroker-master instance system.adapter.yr.0 started with pid 7507
      2019-09-30 18:00:00.393  - info: host.iobroker-master instance system.adapter.ical.0 started with pid 7513
      2019-09-30 18:00:00.623  - info: host.iobroker-master instance system.adapter.ical.1 started with pid 7520
      2019-09-30 18:00:00.784  - info: host.iobroker-master instance system.adapter.ical.2 started with pid 7529
      2019-09-30 18:00:01.905  - info: host.iobroker-master instance system.adapter.ical.3 started with pid 7585
      2019-09-30 18:00:02.118  - info: host.iobroker-master instance system.adapter.ical.4 started with pid 7597
      2019-09-30 18:00:02.359  - info: host.iobroker-master instance system.adapter.ical.5 started with pid 7603
      2019-09-30 18:00:21.895  - warn: dwd.0 (7501) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.903  - warn: tvspielfilm.0 (7495) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.905  - warn: ical.0 (7513) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.906  - warn: ical.4 (7597) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.908  - warn: ical.2 (7529) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.903  - warn: ical.3 (7585) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.915  - warn: ical.1 (7520) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.914  - warn: yr.0 (7507) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:21.933  - warn: ical.5 (7603) Cannot connect/reconnect to objects DB. Terminating
      2019-09-30 18:00:23.491  - info: host.iobroker-master iobroker.js-controller version 2.0.14 js-controller starting
      2019-09-30 18:00:23.504  - info: host.iobroker-master Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
      2019-09-30 18:00:23.505  - info: host.iobroker-master hostname: iobroker-master, node: v8.16.1
      2019-09-30 18:00:23.508  - info: host.iobroker-master ip addresses: 192.168.1.82
      2019-09-30 18:00:26.487  - info: host.iobroker-master connected to Objects and States
      2019-09-30 18:00:26.944  - info: host.iobroker-master 86 instances found
      2019-09-30 18:00:27.048  - info: host.iobroker-master starting 42 instances
      2019-09-30 18:00:28.007  - info: host.iobroker-master instance system.adapter.admin.0 started with pid 8270
      2019-09-30 18:00:28.162  - warn: host.iobroker-master Multihost discovery server: service started on 0.0.0.0:50005
      2019-09-30 18:00:28.178  - warn: Error from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      2019-09-30 18:00:28.179  - warn: Error from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      2019-09-30 18:00:31.419  - info: host.iobroker-master instance system.adapter.web.0 started with pid 8282
      2019-09-30 18:00:37.214  - info: host.iobroker-master instance system.adapter.ping.0 started with pid 8294
      2019-09-30 18:00:37.284  - info: host.iobroker-master Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json"
      2019-09-30 18:00:39.452  - info: host.iobroker-master instance system.adapter.hue.0 started with pid 8308
      2019-09-30 18:00:42.462  - info: ping.0 (8294) starting. Version 1.3.2 in /opt/iobroker/node_modules/iobroker.ping, node: v8.16.1
      2019-09-30 18:00:43.415  - info: hue.0 (8308) starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.hue, node: v8.16.1
      2019-09-30 18:00:43.439  - info: host.iobroker-master instance system.adapter.tankerkoenig.0 started with pid 8323
      
      apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #317

      @darkiop EIne Frage: Hast du file/file oder redis oder was hast Du im Einsatz?

      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 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @darkiop EIne Frage: Hast du file/file oder redis oder was hast Du im Einsatz?

        D Online
        D Online
        darkiop
        Most Active
        schrieb am zuletzt editiert von darkiop
        #318

        @apollon77

        file/file - die Umstellung auf redis wollte ich schon länger mal angehen, aber jetzt erst mal das Testen mit dem neuen Controller :)
        Auch läuft der iobroker-master noch unter Node 8, da im latest des Docker-Containers eben diese noch die aktuellste ist.

        In den Syslogs von gestern 18:00 ist mir nichts aufgefallen.

        Heute Morgen, wir haben einen Bewegungsmelder im Flur, durch den immer schnell auffällt ob der ioBroker sauber läuft, blieb es dunkel. Um 23 Uhr ging das Licht im Flur noch an. Den Grund dafür hab ich auch direkt gefunden, die Variable Tageszeit (wird immer beim Wechsel einer Tageszeit aktualisiert) wurde nicht aktualisiert (d.h. das Skript lief wohl nicht zu diesem Zeitpunkt):

        2019-10-01 05:26:49.287  - info: javascript.0 (442) script.js.PRODUKTIV.Beleuchtung.01_Bewegungsmelder_Flur: +++ Bewegung im Flur erkannt: Aktuelle Tageszeit: Nachmittag | Skript wird ausgelöst bei: Abend,Abenddämmerung,Nacht,Morgendämmerung
        

        Des weiteren ist mir aufgefallen das um 2:33 alle Prozesse neu gestartet wurden

        ┬─[root@iobroker-master:/opt/iobroker]─[05:30:59]
        ╰─># ps -ef | grep ^io
        iobroker   321 32704  5 02:33 ?        00:09:12 io.sql.0
        iobroker   338 32704  0 02:33 ?        00:00:10 io.hm-rpc.1
        iobroker   358 32704  0 02:33 ?        00:00:34 io.hm-rpc.2
        iobroker   375 32704  0 02:33 ?        00:00:25 io.hm-rega.0
        iobroker   442 32704 10 02:34 ?        00:18:34 io.javascript.0
        iobroker   458 32704  5 02:34 ?        00:10:02 io.javascript.1
        iobroker   475 32704  0 02:34 ?        00:00:07 io.simple-api.0
        iobroker   580 32704  0 02:34 ?        00:01:21 io.stiebel-isg.0
        iobroker   597 32704  0 02:34 ?        00:00:10 io.backitup.0
        iobroker   616 32704  9 02:34 ?        00:16:16 io.unifi.0
        iobroker   632 32704  0 02:34 ?        00:00:07 io.fritzbox.0
        iobroker   667 32704  5 02:35 ?        00:10:08 io.javascript.2
        iobroker   691 32704  0 02:35 ?        00:00:45 io.synology.0
        iobroker   791 32704  0 02:35 ?        00:00:07 io.text2command.0
        iobroker   808 32704  1 02:35 ?        00:02:32 io.info.0
        iobroker   820 32704  0 02:35 ?        00:00:37 io.tr-064-community.0
        iobroker  1103 32704  4 02:35 ?        00:07:52 io.moma.0
        iobroker  1125 32704  1 02:35 ?        00:02:24 io.pi-hole.0
        iobroker  1393 32704  0 02:35 ?        00:00:16 io.hs100.0
        iobroker  1531 32704  0 02:36 ?        00:00:12 io.linkeddevices.0
        iobroker  1726 32704  0 02:36 ?        00:00:14 io.bring.0
        iobroker  1917 32704  2 02:36 ?        00:04:58 io.mercedesme.0
        iobroker  2148 32704  0 02:36 ?        00:00:07 io.countdown.0
        iobroker 30821 32704  0 05:04 ?        00:00:03 io.telegram.0
        iobroker 32704 32703 31 02:33 ?        00:56:08 iobroker.js-controller
        iobroker 32721 32704  0 02:33 ?        00:00:27 io.admin.0
        iobroker 32731 32704  0 02:33 ?        00:00:08 io.web.0
        iobroker 32745 32704  0 02:33 ?        00:00:39 io.ping.0
        iobroker 32755 32704  0 02:33 ?        00:00:56 io.hue.0
        iobroker 32765 32704  0 02:33 ?        00:00:11 io.tankerkoenig.0
        

        Im Log hab ich dann im zweiten Anlauf das hier entdeckt (zweiter Anlauf da dies nur eine 'warn' Meldung ist, hab auf error gegreppt ... :)). Die InMemDB Meldungung mit dem unbekannten Skript hab ich auch gestern schonmal gesehen.

        ┬─[root@iobroker-master:/opt/iobroker]─[06:20:19]
        ╰─># cat /opt/iobroker/log/iobroker.2019-10-01.log | grep "2019-10-01 02" | grep warn
        2019-10-01 02:33:29.177  - warn: host.iobroker-master Multihost discovery server: service started on 0.0.0.0:50005
        2019-10-01 02:33:29.234  - warn: Error from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
        2019-10-01 02:33:29.239  - warn: Error from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
        

        Auf dem iobroker-hwr sagt er mir das alles Läuft, aber kein Prozess ist aktiv. Interessanterweise sagt auch der ioBroker.Admin das iobroker-hwr aktiv ist (= Grüner Status unter Hosts).

        ┬─[darkiop@iobroker-hwr:~]─[05:33:53]
        ╰─>$ iobroker status
        iobroker is running on this host.
        
        At least one iobroker host is running.
        
        Objects type: file
        States  type: file
        ┬─[darkiop@iobroker-hwr:~]─[05:33:59]
        ╰─>$ ps -ef | grep ^io
        
        

        Vielleicht könnte man in einem Multihostbetrieb die Infos über alle eingebundenen Instanzen ausgeben?

        Hier mal noch ein paar error-Fragmanente von Heute Nacht:

        Um 0:02 meldete sich sql.0 auf dem iobroker-master:

        2019-10-01 00:02:00.083  - info: javascript.0 (2012) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nicht zu schalten +++
        2019-10-01 00:02:00.086  - info: javascript.0 (2012) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenaufgang
        2019-10-01 00:02:58.962  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:02:58.974  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:00.128  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:00.133  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:00.170  - info: javascript.0 (2012) script.js.PRODUKTIV.Beschattung.Automatik.01_Automatik: +++ Minuten vor Sonnenuntergang != VIS Parameter Minuten vor Sonnenuntergang | Es gibt noch nicht zu schalten +++
        2019-10-01 00:03:00.171  - info: javascript.0 (2012) script.js.PRODUKTIV.Beschattung.Automatik.04_Berechnung_Minuten_bis_zum_Schalten: Richtung Sonnenaufgang
        2019-10-01 00:03:00.182  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:01.337  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:06.968  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:09.970  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:12.627  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:12.665  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:12.738  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:15.025  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:15.765  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:15.776  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:15.799  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:16.023  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:21.742  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:21.745  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:21.751  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:22.127  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:23.739  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:23.747  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:23.750  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:34.752  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:34.789  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:34.795  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:41.892  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:42.629  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:42.757  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:43.080  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:43.085  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:49.095  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:49.724  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:49.729  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:49.736  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:52.135  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:57.880  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:57.901  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:58.474  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:58.876  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:58.888  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:58.895  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        2019-10-01 00:03:58.902  - error: sql.0 (1898) Error: Packets out of order. Got: 1 Expected: 0
        

        Um 2:05 das hier. Mit dem kann ich gerade gar nichts anfangen - aber um 2:05 läuft bei mir Synology Hyper Backup und sichert diverse Applikationen (DNS, HyperBackup, Oauth, ApplicationService, VPN). Hab das aber eben nochmal manuell angestoßen und keine Fehler bekommen.

        2019-10-01 02:05:00.429  - error: host.iobroker-master Caught by controller[1]: (node:2012) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'enabled' of undefined
        2019-10-01 02:05:00.430  - error: host.iobroker-master Caught by controller[2]: (node:2012) UnhandledPromiseRejectionWarning: 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(). (rejection id: 1393)
        2019-10-01 02:05:00.430  - error: host.iobroker-master Caught by controller[3]: (node:2012) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'enabled' of undefined
        2019-10-01 02:05:00.431  - error: host.iobroker-master Caught by controller[3]: (node:2012) UnhandledPromiseRejectionWarning: 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(). (rejection id: 1394)
        2019-10-01 02:05:00.431  - error: host.iobroker-master instance system.adapter.javascript.0 terminated with code 156 (156)
        

        Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

        1 Antwort Letzte Antwort
        0
        • D Online
          D Online
          darkiop
          Most Active
          schrieb am zuletzt editiert von
          #319

          @apollon77 Sorry, viel Text heute Morgen - hier noch die Aktualisierung auf 2.0.16:

          Alle Prozesse gestoppt, beide aktualisiert:

          ┬─[root@iobroker-master:/opt/iobroker]─[06:31:25]
          ╰─># sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
          
          > iobroker.js-controller@2.0.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
          > node lib/preinstallCheck.js
          
          NPM version: 6.4.1
          
          > iobroker.js-controller@2.0.16 install /opt/iobroker/node_modules/iobroker.js-controller
          > node iobroker.js setup first
          
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/iobroker.pushbullet/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.0 (node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/chokidar/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          
          + iobroker.js-controller@2.0.16
          added 1 package from 3 contributors, removed 1 package, updated 8 packages and audited 40363 packages in 147.811s
          found 87 vulnerabilities (32 low, 10 moderate, 45 high)
            run `npm audit fix` to fix them, or `npm audit` for details
          
          ┬─[darkiop@iobroker-hwr:/opt/iobroker]─[06:31:49]
          ╰─>$ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
          [sudo] Passwort für darkiop: 
          
          > iobroker.js-controller@2.0.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
          > node lib/preinstallCheck.js
          
          NPM version: 6.9.0
          
          > iobroker.js-controller@2.0.16 install /opt/iobroker/node_modules/iobroker.js-controller
          > node iobroker.js setup first
          
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.0 (node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          
          + iobroker.js-controller@2.0.16
          removed 1 package, updated 8 packages and audited 1867 packages in 62.052s
          found 12 vulnerabilities (9 low, 3 high)
            run `npm audit fix` to fix them, or `npm audit` for details
          

          Dann

          1. iobroker-master Container neu gestartet
          2. iobroker-hwr reboot

          Nach reboot auf iobroker-hwr:

          ┬─[darkiop@iobroker-hwr:~]─[06:40:21]
          ╰─>$ iobroker status
          iobroker is not running on this host.
          
          At least one iobroker host is running.
          
          Objects type: file
          States  type: file
          ┬─[darkiop@iobroker-hwr:~]─[06:40:26]
          ╰─>$ ps -ef | grep ^io
          
          ┬─[darkiop@iobroker-hwr:~]─[06:40:31]
          ╰─>$ tail -n 50 /opt/iobroker/log/iobroker.2019-10-01.log 
          2019-10-01 02:33:27.294  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
          2019-10-01 02:33:27.301  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
          2019-10-01 02:33:27.302  - error: host.iobroker-hwr result is not defined
          2019-10-01 02:33:29.315  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
          2019-10-01 02:33:29.319  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 terminated with code 0 (NO_ERROR)
          2019-10-01 02:33:29.320  - info: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.1 because disabled or deleted
          2019-10-01 02:33:29.360  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
          2019-10-01 02:33:29.361  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
          2019-10-01 02:33:29.362  - info: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.0 because disabled or deleted
          2019-10-01 02:33:42.303  - info: host.iobroker-hwr iobroker _restart
          2019-10-01 02:33:42.816  - info: host.iobroker-hwr iobroker Starting node restart.js
          2019-10-01 06:37:53.718  - info: host.iobroker-hwr iobroker.js-controller version 2.0.16 js-controller starting
          2019-10-01 06:37:53.726  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
          2019-10-01 06:37:53.726  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
          2019-10-01 06:37:53.728  - info: host.iobroker-hwr ip addresses: 
          2019-10-01 06:37:53.749  - error: host.iobroker-hwr uncaught exception: connect ENETUNREACH 192.168.1.82:9001 - Local (0.0.0.0:0)
          2019-10-01 06:37:53.750  - error: host.iobroker-hwr Error: connect ENETUNREACH 192.168.1.82:9001 - Local (0.0.0.0:0)
              at internalConnect (net.js:881:16)
              at defaultTriggerAsyncIdScope (internal/async_hooks.js:294:19)
              at defaultTriggerAsyncIdScope (net.js:971:9)
              at process._tickCallback (internal/process/next_tick.js:61:11)
          2019-10-01 06:37:53.752  - info: host.iobroker-hwr terminated. Could not reset alive status for instances
          2019-10-01 06:37:53.756  - info: host.iobroker-hwr iobroker _restart
          
          ┬─[darkiop@iobroker-hwr:~]─[06:41:17]
          ╰─>$ iobroker start
          Starting iobroker controller daemon...
          iobroker controller daemon started. PID: 1448
          

          Dann startet der iobroker-hwr sauber:

          2019-10-01 06:42:00.051  - info: host.iobroker-hwr iobroker.js-controller version 2.0.16 js-controller starting
          2019-10-01 06:42:00.059  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
          2019-10-01 06:42:00.059  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
          2019-10-01 06:42:00.061  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::dea6:32ff:fe17:78f5
          2019-10-01 06:42:00.585  - info: host.iobroker-hwr connected to Objects and States
          2019-10-01 06:42:00.628  - warn: host.iobroker-hwr Multihost discovery server: service started on 0.0.0.0:50005
          2019-10-01 06:42:01.523  - info: host.iobroker-hwr Delete state "system.host.iobroker-hwr.compactModeEnabled"
          2019-10-01 06:42:01.755  - info: host.iobroker-hwr 85 instances found
          2019-10-01 06:42:01.773  - info: host.iobroker-hwr starting 2 instances
          2019-10-01 06:42:01.793  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 started with pid 1474
          2019-10-01 06:42:02.063  - info: host.iobroker-hwr Some obsolete host states deleted.
          2019-10-01 06:42:05.790  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 started with pid 1489
          

          Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

          apollon77A 1 Antwort Letzte Antwort
          0
          • D Online
            D Online
            darkiop
            Most Active
            schrieb am zuletzt editiert von
            #320

            Starte ich nur den iobroker-master durch, schafft es der iobroker-hwr auch nicht mehr sich zu verbinden und alle io* Prozesse auf dem -hwr beenden sich.

            Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

            apollon77A 1 Antwort Letzte Antwort
            0
            • D darkiop

              @lobomau Prüf mal mit

              ps -ef | grep ^io
              

              Ob noch ein Prozess vom ioBroker läuft, und wenn ja kannst du diesen per

              kill -9 PROCESS-ID
              

              oder

              pgrep -f '^io.*' | xargs kill -9
              

              auf die sanfte Art beenden :)

              lobomauL Offline
              lobomauL Offline
              lobomau
              schrieb am zuletzt editiert von
              #321

              @darkiop sagte in [Aufruf] js-controller 2.0 Beta Test:

              @lobomau Prüf mal mit

              ps -ef | grep ^io
              

              Ob noch ein Prozess vom ioBroker läuft, und wenn ja kannst du diesen per

              kill -9 PROCESS-ID
              

              oder

              pgrep -f '^io.*' | xargs kill -9
              

              auf die sanfte Art beenden :)

              Es werden keine laufenden io Prozesse gefunden. Der host wird auch korrekt in rot dargestellt unter dem Master Admin. Nur die Antwort auf "sudo iobroker status" scheint falsch zu sein mit "iobroker is running". Aber vielleicht steckt da schon irgendwo das Problem, dass es dann nicht dem Upgrade klappt?

              Host: NUC8i3 mit Proxmox:

              • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
              • Slave: Pi4
              1 Antwort Letzte Antwort
              0
              • M Offline
                M Offline
                msauer
                schrieb am zuletzt editiert von msauer
                #322

                iobroker status geht ja jetzt, es kommt aber noch ein Fehler:

                root@MSNUC-IOB:~# iobroker status
                iobroker is running on this host.
                
                At least one iobroker host is running.
                
                Objects type: redis
                States  type: redis
                Unable to subscribe to evicted Keyspace events from Redis Server: Error: Connection is closed.
                root@MSNUC-IOB:~#
                
                
                

                UPDATE: Wenn ich ins /opt/iobroker wechsel, dann kommt die Fehlermeldung nicht

                root@MSNUC-IOB:~# cd /opt/iobroker/
                root@MSNUC-IOB:/opt/iobroker# iobroker status
                iobroker is running on this host.
                
                At least one iobroker host is running.
                
                Objects type: redis
                States  type: redis
                root@MSNUC-IOB:/opt/iobroker#
                
                
                

                Proxmox 3 Node HA-Cluster TRIGKEY Mini-PC N100 mit 32 GB RAM und 3x1TB shared SSDs. VM- iobroker ,Raspberrymatic. LXC - Adguard, , Traccar, iSpy, Fileserver (emby, MiniDLNA)...usw

                arteckA apollon77A 2 Antworten Letzte Antwort
                0
                • M msauer

                  iobroker status geht ja jetzt, es kommt aber noch ein Fehler:

                  root@MSNUC-IOB:~# iobroker status
                  iobroker is running on this host.
                  
                  At least one iobroker host is running.
                  
                  Objects type: redis
                  States  type: redis
                  Unable to subscribe to evicted Keyspace events from Redis Server: Error: Connection is closed.
                  root@MSNUC-IOB:~#
                  
                  
                  

                  UPDATE: Wenn ich ins /opt/iobroker wechsel, dann kommt die Fehlermeldung nicht

                  root@MSNUC-IOB:~# cd /opt/iobroker/
                  root@MSNUC-IOB:/opt/iobroker# iobroker status
                  iobroker is running on this host.
                  
                  At least one iobroker host is running.
                  
                  Objects type: redis
                  States  type: redis
                  root@MSNUC-IOB:/opt/iobroker#
                  
                  
                  
                  arteckA Offline
                  arteckA Offline
                  arteck
                  Developer Most Active
                  schrieb am zuletzt editiert von
                  #323

                  @msauer machmal

                  service redis-server status
                  

                  zigbee hab ich, zwave auch, nuc's genauso und HA auch

                  M 1 Antwort Letzte Antwort
                  0
                  • coyoteC Offline
                    coyoteC Offline
                    coyote
                    Most Active
                    schrieb am zuletzt editiert von
                    #324

                    Habe heute Zeit gefunden den neuen js-controller zu installieren, funktioniert auch soweit alles ohne Fehler.
                    Jetzt wollte ich noch auf redis/redis umstellen, dass will aber irgendwie nicht, bräuchte da mal Hilfe.
                    Hier der Konsole Mitschnitt:

                    
                    root@debian:/opt/iobroker# iobroker setup custom
                    Current configuration:
                    - Objects database:
                      - Type: file
                      - Host/Unix Socket: 0.0.0.0
                      - Port: 9001
                    - States database:
                      - Type: file
                      - Host/Unix Socket: 0.0.0.0
                      - Port: 9000
                    - Data Directory: ../../iobroker-data/
                    
                    Type of objects DB [(f)ile, (r)edis], default [file]: r
                    
                    When Objects and Files are stored in a Redis database please consider the following:
                    1. All data will be stored in RAM, make sure to have enough free RAM available!
                    2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss!
                    3. The Redis persistence files can get big, make sure not to use an SD card to store them.
                    
                    Host / Unix Socket of objects DB(redis), default[127.0.0.1]:
                    Port of objects DB(redis), default[6379]:
                    Type of states DB [(f)file, (r)edis], default [redis]: r
                    Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                    Port of states DB (redis), default[6379]:
                    Host name of this machine [debian]:
                    It appears that this host should be connected to an existing ioBroker System as Slave. Data Migration will be skipped. Is this correct? [Y/n]: n
                    
                    Important: Using Redis for the Objects database is only supported
                    with js-controller 2.0 or higher!
                    When your system consists of multiple hosts please make sure to have
                    js-controller 2.0 or higher installed on ALL hosts *before* continuing!
                    
                    
                    Important #2: If you already did the migration on an other host
                    please *do not* migrate again! This can destroy your system!
                    
                    
                    Important #3: The process will migrate all files that were officially
                    uploaded into the ioBroker system. If you have manually copied files into
                    iobroker-data/files/... into own directories then these files will NOT be
                    migrated! Make sure all files are in adapter directories inside the files
                    directory!
                    
                    
                    Do you want to migrate objects and states from "file/file" to "redis/redis" [y/N]: y
                    
                    Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                    
                    Connecting to previous DB "file"...
                    Creating backup ...
                    This can take some time ... please be patient!
                    host.debian 38585 states saved
                    host.debian 44464 objects saved
                    Backup created: /opt/iobroker/backups/2019_10_01-11_46_17_backupiobroker-migration.tar.gz
                    
                    Connecting to new DB "redis" ...
                    
                    /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:28
                            if (!options.states) throw 'Invalid arguments: states is missing';
                                                 ^
                    Invalid arguments: states is missing
                    root@debian:/opt/iobroker#
                    
                    
                    arteckA apollon77A 2 Antworten Letzte Antwort
                    0
                    • arteckA arteck

                      @msauer machmal

                      service redis-server status
                      
                      M Offline
                      M Offline
                      msauer
                      schrieb am zuletzt editiert von
                      #325

                      @arteck said in [Aufruf] js-controller 2.0 Beta Test:

                      @msauer machmal
                      service redis-server status

                      
                      root@MSNUC-IOB:/opt/iobroker# service redis-server status
                      ● redis-server.service - Advanced key-value store
                         Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                         Active: active (running) since Tue 2019-10-01 08:44:47 CEST; 3h 31min ago
                           Docs: http://redis.io/documentation,
                                 man:redis-server(1)
                        Process: 408 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
                       Main PID: 462 (redis-server)
                          Tasks: 4 (limit: 4701)
                         Memory: 232.3M
                         CGroup: /system.slice/redis-server.service
                                 └─462 /usr/bin/redis-server 127.0.0.1:6379
                      
                      Okt 01 08:44:46 MSNUC-IOB systemd[1]: Starting Advanced key-value store...
                      Okt 01 08:44:47 MSNUC-IOB systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
                      Okt 01 08:44:47 MSNUC-IOB systemd[1]: Started Advanced key-value store.
                      root@MSNUC-IOB:/opt/iobroker#
                      
                      

                      Proxmox 3 Node HA-Cluster TRIGKEY Mini-PC N100 mit 32 GB RAM und 3x1TB shared SSDs. VM- iobroker ,Raspberrymatic. LXC - Adguard, , Traccar, iSpy, Fileserver (emby, MiniDLNA)...usw

                      arteckA 1 Antwort Letzte Antwort
                      0
                      • M msauer

                        @arteck said in [Aufruf] js-controller 2.0 Beta Test:

                        @msauer machmal
                        service redis-server status

                        
                        root@MSNUC-IOB:/opt/iobroker# service redis-server status
                        ● redis-server.service - Advanced key-value store
                           Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                           Active: active (running) since Tue 2019-10-01 08:44:47 CEST; 3h 31min ago
                             Docs: http://redis.io/documentation,
                                   man:redis-server(1)
                          Process: 408 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
                         Main PID: 462 (redis-server)
                            Tasks: 4 (limit: 4701)
                           Memory: 232.3M
                           CGroup: /system.slice/redis-server.service
                                   └─462 /usr/bin/redis-server 127.0.0.1:6379
                        
                        Okt 01 08:44:46 MSNUC-IOB systemd[1]: Starting Advanced key-value store...
                        Okt 01 08:44:47 MSNUC-IOB systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
                        Okt 01 08:44:47 MSNUC-IOB systemd[1]: Started Advanced key-value store.
                        root@MSNUC-IOB:/opt/iobroker#
                        
                        
                        arteckA Offline
                        arteckA Offline
                        arteck
                        Developer Most Active
                        schrieb am zuletzt editiert von
                        #326

                        @msauer alles gut

                        zigbee hab ich, zwave auch, nuc's genauso und HA auch

                        1 Antwort Letzte Antwort
                        0
                        • coyoteC coyote

                          Habe heute Zeit gefunden den neuen js-controller zu installieren, funktioniert auch soweit alles ohne Fehler.
                          Jetzt wollte ich noch auf redis/redis umstellen, dass will aber irgendwie nicht, bräuchte da mal Hilfe.
                          Hier der Konsole Mitschnitt:

                          
                          root@debian:/opt/iobroker# iobroker setup custom
                          Current configuration:
                          - Objects database:
                            - Type: file
                            - Host/Unix Socket: 0.0.0.0
                            - Port: 9001
                          - States database:
                            - Type: file
                            - Host/Unix Socket: 0.0.0.0
                            - Port: 9000
                          - Data Directory: ../../iobroker-data/
                          
                          Type of objects DB [(f)ile, (r)edis], default [file]: r
                          
                          When Objects and Files are stored in a Redis database please consider the following:
                          1. All data will be stored in RAM, make sure to have enough free RAM available!
                          2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss!
                          3. The Redis persistence files can get big, make sure not to use an SD card to store them.
                          
                          Host / Unix Socket of objects DB(redis), default[127.0.0.1]:
                          Port of objects DB(redis), default[6379]:
                          Type of states DB [(f)file, (r)edis], default [redis]: r
                          Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                          Port of states DB (redis), default[6379]:
                          Host name of this machine [debian]:
                          It appears that this host should be connected to an existing ioBroker System as Slave. Data Migration will be skipped. Is this correct? [Y/n]: n
                          
                          Important: Using Redis for the Objects database is only supported
                          with js-controller 2.0 or higher!
                          When your system consists of multiple hosts please make sure to have
                          js-controller 2.0 or higher installed on ALL hosts *before* continuing!
                          
                          
                          Important #2: If you already did the migration on an other host
                          please *do not* migrate again! This can destroy your system!
                          
                          
                          Important #3: The process will migrate all files that were officially
                          uploaded into the ioBroker system. If you have manually copied files into
                          iobroker-data/files/... into own directories then these files will NOT be
                          migrated! Make sure all files are in adapter directories inside the files
                          directory!
                          
                          
                          Do you want to migrate objects and states from "file/file" to "redis/redis" [y/N]: y
                          
                          Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                          
                          Connecting to previous DB "file"...
                          Creating backup ...
                          This can take some time ... please be patient!
                          host.debian 38585 states saved
                          host.debian 44464 objects saved
                          Backup created: /opt/iobroker/backups/2019_10_01-11_46_17_backupiobroker-migration.tar.gz
                          
                          Connecting to new DB "redis" ...
                          
                          /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:28
                                  if (!options.states) throw 'Invalid arguments: states is missing';
                                                       ^
                          Invalid arguments: states is missing
                          root@debian:/opt/iobroker#
                          
                          
                          arteckA Offline
                          arteckA Offline
                          arteck
                          Developer Most Active
                          schrieb am zuletzt editiert von
                          #327

                          @coyote du weisst aber schon dass du dafür einen RedisServer brauchst.. ??

                          zigbee hab ich, zwave auch, nuc's genauso und HA auch

                          apollon77A coyoteC 2 Antworten Letzte Antwort
                          0
                          • coyoteC coyote

                            Habe heute Zeit gefunden den neuen js-controller zu installieren, funktioniert auch soweit alles ohne Fehler.
                            Jetzt wollte ich noch auf redis/redis umstellen, dass will aber irgendwie nicht, bräuchte da mal Hilfe.
                            Hier der Konsole Mitschnitt:

                            
                            root@debian:/opt/iobroker# iobroker setup custom
                            Current configuration:
                            - Objects database:
                              - Type: file
                              - Host/Unix Socket: 0.0.0.0
                              - Port: 9001
                            - States database:
                              - Type: file
                              - Host/Unix Socket: 0.0.0.0
                              - Port: 9000
                            - Data Directory: ../../iobroker-data/
                            
                            Type of objects DB [(f)ile, (r)edis], default [file]: r
                            
                            When Objects and Files are stored in a Redis database please consider the following:
                            1. All data will be stored in RAM, make sure to have enough free RAM available!
                            2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss!
                            3. The Redis persistence files can get big, make sure not to use an SD card to store them.
                            
                            Host / Unix Socket of objects DB(redis), default[127.0.0.1]:
                            Port of objects DB(redis), default[6379]:
                            Type of states DB [(f)file, (r)edis], default [redis]: r
                            Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                            Port of states DB (redis), default[6379]:
                            Host name of this machine [debian]:
                            It appears that this host should be connected to an existing ioBroker System as Slave. Data Migration will be skipped. Is this correct? [Y/n]: n
                            
                            Important: Using Redis for the Objects database is only supported
                            with js-controller 2.0 or higher!
                            When your system consists of multiple hosts please make sure to have
                            js-controller 2.0 or higher installed on ALL hosts *before* continuing!
                            
                            
                            Important #2: If you already did the migration on an other host
                            please *do not* migrate again! This can destroy your system!
                            
                            
                            Important #3: The process will migrate all files that were officially
                            uploaded into the ioBroker system. If you have manually copied files into
                            iobroker-data/files/... into own directories then these files will NOT be
                            migrated! Make sure all files are in adapter directories inside the files
                            directory!
                            
                            
                            Do you want to migrate objects and states from "file/file" to "redis/redis" [y/N]: y
                            
                            Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                            
                            Connecting to previous DB "file"...
                            Creating backup ...
                            This can take some time ... please be patient!
                            host.debian 38585 states saved
                            host.debian 44464 objects saved
                            Backup created: /opt/iobroker/backups/2019_10_01-11_46_17_backupiobroker-migration.tar.gz
                            
                            Connecting to new DB "redis" ...
                            
                            /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:28
                                    if (!options.states) throw 'Invalid arguments: states is missing';
                                                         ^
                            Invalid arguments: states is missing
                            root@debian:/opt/iobroker#
                            
                            
                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            schrieb am zuletzt editiert von
                            #328

                            @coyote My Fault ... Fix kommt in nächster Version

                            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 Antwort Letzte Antwort
                            0
                            • arteckA arteck

                              @coyote du weisst aber schon dass du dafür einen RedisServer brauchst.. ??

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #329

                              @arteck Ich hab im Code kaputt gemacht mit letzter Version :-(

                              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
                              arteckA 1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                @arteck Ich hab im Code kaputt gemacht mit letzter Version :-(

                                arteckA Offline
                                arteckA Offline
                                arteck
                                Developer Most Active
                                schrieb am zuletzt editiert von
                                #330

                                @apollon77 waaaaaaaaaaatttttttttt...

                                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                1 Antwort Letzte Antwort
                                0
                                • arteckA arteck

                                  @coyote du weisst aber schon dass du dafür einen RedisServer brauchst.. ??

                                  coyoteC Offline
                                  coyoteC Offline
                                  coyote
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #331

                                  @arteck na klar, der läuft auch.

                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Tue Oct  1 12:02:55 2019 from 192.168.66.55
                                  root@debian:~# systemctl status redis-server
                                  ● redis-server.service - Advanced key-value store
                                     Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor pre
                                     Active: active (running) since Tue 2019-10-01 12:02:46 CEST; 42min ago
                                       Docs: http://redis.io/documentation,
                                             man:redis-server(1)
                                    Process: 327 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exite
                                   Main PID: 380 (redis-server)
                                      Tasks: 4 (limit: 3482)
                                     Memory: 10.4M
                                     CGroup: /system.slice/redis-server.service
                                             └─380 /usr/bin/redis-server 127.0.0.1:6379
                                  
                                  Okt 01 12:02:45 debian systemd[1]: Starting Advanced key-value store...
                                  Okt 01 12:02:46 debian systemd[1]: redis-server.service: Can't open PID file /ru
                                  Okt 01 12:02:46 debian systemd[1]: Started Advanced key-value store.
                                  
                                  

                                  @apollon77 ah ok, dann bin ich ja beruhigt, dachte ich mache was falsch :smirk:

                                  arteckA 1 Antwort Letzte Antwort
                                  0
                                  • coyoteC coyote

                                    @arteck na klar, der läuft auch.

                                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                    permitted by applicable law.
                                    Last login: Tue Oct  1 12:02:55 2019 from 192.168.66.55
                                    root@debian:~# systemctl status redis-server
                                    ● redis-server.service - Advanced key-value store
                                       Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor pre
                                       Active: active (running) since Tue 2019-10-01 12:02:46 CEST; 42min ago
                                         Docs: http://redis.io/documentation,
                                               man:redis-server(1)
                                      Process: 327 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exite
                                     Main PID: 380 (redis-server)
                                        Tasks: 4 (limit: 3482)
                                       Memory: 10.4M
                                       CGroup: /system.slice/redis-server.service
                                               └─380 /usr/bin/redis-server 127.0.0.1:6379
                                    
                                    Okt 01 12:02:45 debian systemd[1]: Starting Advanced key-value store...
                                    Okt 01 12:02:46 debian systemd[1]: redis-server.service: Can't open PID file /ru
                                    Okt 01 12:02:46 debian systemd[1]: Started Advanced key-value store.
                                    
                                    

                                    @apollon77 ah ok, dann bin ich ja beruhigt, dachte ich mache was falsch :smirk:

                                    arteckA Offline
                                    arteckA Offline
                                    arteck
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #332

                                    @coyote ok.... :blush:

                                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                    1 Antwort Letzte Antwort
                                    0
                                    • D darkiop

                                      Starte ich nur den iobroker-master durch, schafft es der iobroker-hwr auch nicht mehr sich zu verbinden und alle io* Prozesse auf dem -hwr beenden sich.

                                      apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #333

                                      @darkiop Und immer noch diese EHOSTUNREACH?? Das kapier ich nicht weil das für mch was mit Netzwerk und DNS und so ist .. .nichts wo der js-controller auch nur irgendeine Auswirkung haben sollte

                                      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 Antwort Letzte Antwort
                                      0
                                      • M msauer

                                        iobroker status geht ja jetzt, es kommt aber noch ein Fehler:

                                        root@MSNUC-IOB:~# iobroker status
                                        iobroker is running on this host.
                                        
                                        At least one iobroker host is running.
                                        
                                        Objects type: redis
                                        States  type: redis
                                        Unable to subscribe to evicted Keyspace events from Redis Server: Error: Connection is closed.
                                        root@MSNUC-IOB:~#
                                        
                                        
                                        

                                        UPDATE: Wenn ich ins /opt/iobroker wechsel, dann kommt die Fehlermeldung nicht

                                        root@MSNUC-IOB:~# cd /opt/iobroker/
                                        root@MSNUC-IOB:/opt/iobroker# iobroker status
                                        iobroker is running on this host.
                                        
                                        At least one iobroker host is running.
                                        
                                        Objects type: redis
                                        States  type: redis
                                        root@MSNUC-IOB:/opt/iobroker#
                                        
                                        
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #334

                                        @msauer Den Fehler behebe ich, Der ist hier errelevant

                                        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 Antwort Letzte Antwort
                                        0
                                        • D darkiop

                                          @apollon77 Sorry, viel Text heute Morgen - hier noch die Aktualisierung auf 2.0.16:

                                          Alle Prozesse gestoppt, beide aktualisiert:

                                          ┬─[root@iobroker-master:/opt/iobroker]─[06:31:25]
                                          ╰─># sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                                          
                                          > iobroker.js-controller@2.0.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.4.1
                                          
                                          > iobroker.js-controller@2.0.16 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/iobroker.pushbullet/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.0 (node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/chokidar/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          
                                          + iobroker.js-controller@2.0.16
                                          added 1 package from 3 contributors, removed 1 package, updated 8 packages and audited 40363 packages in 147.811s
                                          found 87 vulnerabilities (32 low, 10 moderate, 45 high)
                                            run `npm audit fix` to fix them, or `npm audit` for details
                                          
                                          ┬─[darkiop@iobroker-hwr:/opt/iobroker]─[06:31:49]
                                          ╰─>$ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                                          [sudo] Passwort für darkiop: 
                                          
                                          > iobroker.js-controller@2.0.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.9.0
                                          
                                          > iobroker.js-controller@2.0.16 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.0 (node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          
                                          + iobroker.js-controller@2.0.16
                                          removed 1 package, updated 8 packages and audited 1867 packages in 62.052s
                                          found 12 vulnerabilities (9 low, 3 high)
                                            run `npm audit fix` to fix them, or `npm audit` for details
                                          

                                          Dann

                                          1. iobroker-master Container neu gestartet
                                          2. iobroker-hwr reboot

                                          Nach reboot auf iobroker-hwr:

                                          ┬─[darkiop@iobroker-hwr:~]─[06:40:21]
                                          ╰─>$ iobroker status
                                          iobroker is not running on this host.
                                          
                                          At least one iobroker host is running.
                                          
                                          Objects type: file
                                          States  type: file
                                          ┬─[darkiop@iobroker-hwr:~]─[06:40:26]
                                          ╰─>$ ps -ef | grep ^io
                                          
                                          ┬─[darkiop@iobroker-hwr:~]─[06:40:31]
                                          ╰─>$ tail -n 50 /opt/iobroker/log/iobroker.2019-10-01.log 
                                          2019-10-01 02:33:27.294  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
                                          2019-10-01 02:33:27.301  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
                                          2019-10-01 02:33:27.302  - error: host.iobroker-hwr result is not defined
                                          2019-10-01 02:33:29.315  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                                          2019-10-01 02:33:29.319  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 terminated with code 0 (NO_ERROR)
                                          2019-10-01 02:33:29.320  - info: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.1 because disabled or deleted
                                          2019-10-01 02:33:29.360  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                                          2019-10-01 02:33:29.361  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
                                          2019-10-01 02:33:29.362  - info: host.iobroker-hwr Do not restart adapter system.adapter.smartmeter.0 because disabled or deleted
                                          2019-10-01 02:33:42.303  - info: host.iobroker-hwr iobroker _restart
                                          2019-10-01 02:33:42.816  - info: host.iobroker-hwr iobroker Starting node restart.js
                                          2019-10-01 06:37:53.718  - info: host.iobroker-hwr iobroker.js-controller version 2.0.16 js-controller starting
                                          2019-10-01 06:37:53.726  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                                          2019-10-01 06:37:53.726  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
                                          2019-10-01 06:37:53.728  - info: host.iobroker-hwr ip addresses: 
                                          2019-10-01 06:37:53.749  - error: host.iobroker-hwr uncaught exception: connect ENETUNREACH 192.168.1.82:9001 - Local (0.0.0.0:0)
                                          2019-10-01 06:37:53.750  - error: host.iobroker-hwr Error: connect ENETUNREACH 192.168.1.82:9001 - Local (0.0.0.0:0)
                                              at internalConnect (net.js:881:16)
                                              at defaultTriggerAsyncIdScope (internal/async_hooks.js:294:19)
                                              at defaultTriggerAsyncIdScope (net.js:971:9)
                                              at process._tickCallback (internal/process/next_tick.js:61:11)
                                          2019-10-01 06:37:53.752  - info: host.iobroker-hwr terminated. Could not reset alive status for instances
                                          2019-10-01 06:37:53.756  - info: host.iobroker-hwr iobroker _restart
                                          
                                          ┬─[darkiop@iobroker-hwr:~]─[06:41:17]
                                          ╰─>$ iobroker start
                                          Starting iobroker controller daemon...
                                          iobroker controller daemon started. PID: 1448
                                          

                                          Dann startet der iobroker-hwr sauber:

                                          2019-10-01 06:42:00.051  - info: host.iobroker-hwr iobroker.js-controller version 2.0.16 js-controller starting
                                          2019-10-01 06:42:00.059  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                                          2019-10-01 06:42:00.059  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
                                          2019-10-01 06:42:00.061  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::dea6:32ff:fe17:78f5
                                          2019-10-01 06:42:00.585  - info: host.iobroker-hwr connected to Objects and States
                                          2019-10-01 06:42:00.628  - warn: host.iobroker-hwr Multihost discovery server: service started on 0.0.0.0:50005
                                          2019-10-01 06:42:01.523  - info: host.iobroker-hwr Delete state "system.host.iobroker-hwr.compactModeEnabled"
                                          2019-10-01 06:42:01.755  - info: host.iobroker-hwr 85 instances found
                                          2019-10-01 06:42:01.773  - info: host.iobroker-hwr starting 2 instances
                                          2019-10-01 06:42:01.793  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 started with pid 1474
                                          2019-10-01 06:42:02.063  - info: host.iobroker-hwr Some obsolete host states deleted.
                                          2019-10-01 06:42:05.790  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 started with pid 1489
                                          
                                          apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #335

                                          @darkiop Wie startest und stoppst du das denn so? iobroker start/stop auf dem Raspi? Wie im Docker? Details

                                          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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          837

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe