Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @apollon77 last edited by Jan1

      @apollon77
      so hab noch mal die 0.9.0 drauf und den compact modus aktiviert, jetzt waren plötzlich viele Fehler im Log

      host.Beelink.compactgroup1	2019-09-23 08:56:08.158	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:56:08.157	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:56:08.097	error	(13338) ble.0 already running
      ble.0	2019-09-23 08:56:07.851	info	(COMPACT) monitored services: fe95
      ble.0	2019-09-23 08:56:07.851	info	(COMPACT) enabled plugins: mi-flora, _default
      ble.0	2019-09-23 08:56:07.850	info	(COMPACT) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2019-09-23 08:56:07.721	info	(COMPACT) starting. Version 0.9.0 in /opt/iobroker/node_modules/iobroker.ble, node: v10.16.3
      host.Beelink.compactgroup1	2019-09-23 08:56:07.407	info	instance system.adapter.ble.0 started with pid 13338
         2019-09-23 08:56:07.385	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:56:07.385	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      host.Beelink.compactgroup1	2019-09-23 08:55:37.362	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:55:37.361	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:55:37.295	error	(12663) ble.0 already running
      ble.0	2019-09-23 08:55:37.177	info	(COMPACT) terminating
      ble.0	2019-09-23 08:55:37.175	info	(COMPACT) terminating
      ble	2019-09-23 08:55:36.694	warn	(COMPACT) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
      ble	2019-09-23 08:55:36.693	error	(COMPACT) ble.0 already running
      ble.0	2019-09-23 08:55:36.676	info	(COMPACT) terminating
      ble.0	2019-09-23 08:55:36.675	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:55:36.675	info	(COMPACT) Got terminate signal 12663
      ble.0	2019-09-23 08:55:36.674	info	(COMPACT) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
      ble.0	2019-09-23 08:55:36.674	info	(COMPACT) terminating
      ble.0	2019-09-23 08:55:36.673	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:55:36.672	info	(COMPACT) Got terminate signal -1
      host.Beelink.compactgroup1	2019-09-23 08:55:36.667	info	instance system.adapter.ble.0 started with pid 12663
         2019-09-23 08:55:36.648	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:55:36.648	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      host.Beelink.compactgroup1	2019-09-23 08:55:06.630	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:55:06.629	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:55:06.569	error	(11988) ble.0 already running
      ble.0	2019-09-23 08:55:06.435	info	(COMPACT) monitored services: fe95
      ble.0	2019-09-23 08:55:06.435	info	(COMPACT) enabled plugins: mi-flora, _default
      ble.0	2019-09-23 08:55:06.434	info	(COMPACT) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2019-09-23 08:55:06.278	info	(COMPACT) starting. Version 0.9.0 in /opt/iobroker/node_modules/iobroker.ble, node: v10.16.3
      host.Beelink.compactgroup1	2019-09-23 08:55:05.904	info	instance system.adapter.ble.0 started with pid 11988
         2019-09-23 08:55:05.886	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:55:05.885	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      host.Beelink.compactgroup1	2019-09-23 08:54:35.866	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:54:35.865	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:54:35.798	error	(11309) ble.0 already running
      ble.0	2019-09-23 08:54:35.630	info	(COMPACT) terminating
      ble.0	2019-09-23 08:54:35.628	info	(COMPACT) terminating
      ble	2019-09-23 08:54:35.179	warn	(COMPACT) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
      ble	2019-09-23 08:54:35.179	error	(COMPACT) ble.0 already running
      ble.0	2019-09-23 08:54:35.128	info	(COMPACT) terminating
      ble.0	2019-09-23 08:54:35.128	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:54:35.128	info	(COMPACT) Got terminate signal 11309
      ble.0	2019-09-23 08:54:35.127	info	(COMPACT) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
      ble.0	2019-09-23 08:54:35.126	info	(COMPACT) terminating
      ble.0	2019-09-23 08:54:35.125	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:54:35.124	info	(COMPACT) Got terminate signal -1
      host.Beelink.compactgroup1	2019-09-23 08:54:35.095	info	instance system.adapter.ble.0 started with pid 11309
         2019-09-23 08:54:35.071	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:54:35.071	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      host.Beelink.compactgroup1	2019-09-23 08:54:05.056	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:54:05.056	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:54:04.991	error	(10634) ble.0 already running
      ble.0	2019-09-23 08:54:04.623	info	(COMPACT) monitored services: fe95
      ble.0	2019-09-23 08:54:04.623	info	(COMPACT) enabled plugins: mi-flora, _default
      ble.0	2019-09-23 08:54:04.622	info	(COMPACT) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2019-09-23 08:54:04.510	info	(COMPACT) starting. Version 0.9.0 in /opt/iobroker/node_modules/iobroker.ble, node: v10.16.3
      host.Beelink.compactgroup1	2019-09-23 08:54:04.130	info	instance system.adapter.ble.0 started with pid 10634
         2019-09-23 08:54:04.105	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:54:04.104	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      node-red.0	2019-09-23 08:54:03.727	warn	23 Sep 08:54:03 - [warn] Projekte inaktiviert: setze editorTheme.projects.enabled=true zum Aktivieren
      node-red.0	2019-09-23 08:54:03.727	warn	(10445) 23 Sep 08:54:03 - [info] Benutzerverzeichnis: /opt/iobroker/iobroker-data/node-red/
      node-red.0	2019-09-23 08:54:03.317	warn	(10445) 23 Sep 08:54:03 - [warn] rpi-gpio : Pi RPi.GPIO-Python-Bibliothek nicht gefunden
      node-red.0	2019-09-23 08:54:03.311	warn	(10445) 23 Sep 08:54:03 - [warn] rpi-gpio : Raspberry Pi-spezifische Nodes inaktiv
      node-red.0	2019-09-23 08:53:59.523	info	(10445) Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
      node-red.0	2019-09-23 08:53:58.974	info	(10445) starting. Version 1.9.0 in /opt/iobroker/node_modules/iobroker.node-red, node: v10.16.3
      host.Beelink	2019-09-23 08:53:57.433	info	instance system.adapter.node-red.0 started with pid 10445
      host.Beelink	2019-09-23 08:53:53.437	info	instance system.adapter.sonoff.0 started with pid 10418
      host.Beelink	2019-09-23 08:53:49.417	info	instance system.adapter.ble.0 is handled by compact group controller pid 8673
      iqontrol.0	2019-09-23 08:53:45.419	info	(COMPACT) state system.adapter.iqontrol.0.sigKill changed: 0 (ack = false)
      host.Beelink	2019-09-23 08:53:45.418	info	instance system.adapter.iqontrol.0 is handled by compact group controller pid 8673
      tr-064-community.0	2019-09-23 08:53:43.109	info	(10087) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.tr-064-community, node: v10.16.3
      host.Beelink	2019-09-23 08:53:41.430	info	instance system.adapter.tr-064-community.0 started with pid 10087
      host.Beelink	2019-09-23 08:53:37.456	info	instance system.adapter.zigbee.0 started with pid 10056
      wifilight.0	2019-09-23 08:53:35.007	info	(9890) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.wifilight, node: v10.16.3
      host.Beelink.compactgroup1	2019-09-23 08:53:34.094	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:53:34.093	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble	2019-09-23 08:53:34.028	error	(9878) ble.0 already running
      ble.0	2019-09-23 08:53:33.778	info	(COMPACT) terminating
      ble.0	2019-09-23 08:53:33.777	info	(COMPACT) terminating
      host.Beelink	2019-09-23 08:53:33.437	info	instance system.adapter.wifilight.0 started with pid 9890
      ble	2019-09-23 08:53:33.287	warn	(COMPACT) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
      ble	2019-09-23 08:53:33.287	error	(COMPACT) ble.0 already running
      ble.0	2019-09-23 08:53:33.271	info	(COMPACT) terminating
      ble.0	2019-09-23 08:53:33.271	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:53:33.270	info	(COMPACT) Got terminate signal 9878
      ble.0	2019-09-23 08:53:33.267	info	(COMPACT) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
      ble.0	2019-09-23 08:53:33.266	info	(COMPACT) terminating
      ble.0	2019-09-23 08:53:33.265	info	(COMPACT) stopping scan
      ble.0	2019-09-23 08:53:33.264	info	(COMPACT) Got terminate signal -1
      host.Beelink.compactgroup1	2019-09-23 08:53:33.260	info	instance system.adapter.ble.0 started with pid 9878
         2019-09-23 08:53:33.237	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:53:33.237	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      enigma2.0	2019-09-23 08:53:31.542	info	(9519) enigma2 Verbunden!
      host.Beelink	2019-09-23 08:53:29.414	info	instance system.adapter.alexa2.0 is handled by compact group controller pid 8673
      info.0	2019-09-23 08:53:25.426	info	(COMPACT) ack is not set!
      info.0	2019-09-23 08:53:25.425	info	(COMPACT) stateChange system.adapter.info.0.sigKill {"val":0,"ack":false,"ts":1569221605415,"q":0,"from":"system.host.Beelink","lc":1569221570394}
      host.Beelink	2019-09-23 08:53:25.415	info	instance system.adapter.info.0 is handled by compact group controller pid 8673
      host.Beelink	2019-09-23 08:53:21.416	info	instance system.adapter.fritzdect.0 is handled by compact group controller pid 8673
      host.Beelink	2019-09-23 08:53:17.431	info	instance system.adapter.google-sharedlocations.0 started with pid 9550
      enigma2.0	2019-09-23 08:53:16.301	info	(9519) starting Polling every 15000 ms
      enigma2.0	2019-09-23 08:53:16.270	info	(9519) starting. Version 1.2.3 in /opt/iobroker/node_modules/iobroker.enigma2, node: v10.16.3
      host.Beelink	2019-09-23 08:53:13.436	info	instance system.adapter.enigma2.0 started with pid 9519
      email.0	2019-09-23 08:53:10.755	info	(9360) starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.email, node: v10.16.3
      host.Beelink	2019-09-23 08:53:09.430	info	instance system.adapter.email.0 started with pid 9360
      host.Beelink	2019-09-23 08:53:05.416	info	instance system.adapter.javascript.0 is handled by compact group controller pid 8673
      vr200.0	2019-09-23 08:53:03.576	info	(9174) devices found: 1
      host.Beelink.compactgroup1	2019-09-23 08:53:03.219	info	Restart adapter system.adapter.ble.0 because enabled
      host.Beelink.compactgroup1	2019-09-23 08:53:03.218	error	instance system.adapter.ble.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
      ble.0	2019-09-23 08:53:03.174	info	(COMPACT) starting scan for services ["fe95"]
      ble	2019-09-23 08:53:03.153	error	(9328) ble.0 already running
      ble.0	2019-09-23 08:53:02.837	info	(COMPACT) monitored services: fe95
      ble.0	2019-09-23 08:53:02.835	info	(COMPACT) enabled plugins: mi-flora, _default
      vr200.0	2019-09-23 08:53:02.926	info	(9174) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.vr200, node: v10.16.3
      ble.0	2019-09-23 08:53:02.834	info	(COMPACT) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2019-09-23 08:53:02.728	info	(COMPACT) starting. Version 0.9.0 in /opt/iobroker/node_modules/iobroker.ble, node: v10.16.3
      host.Beelink.compactgroup1	2019-09-23 08:53:02.387	info	instance system.adapter.ble.0 started with pid 9328
         2019-09-23 08:53:02.362	error	ndefined
      host.Beelink.compactgroup1	2019-09-23 08:53:02.361	error	Cannot start ble.0 in compact mode. Fallback to normal start! : Cannot read property 'on' of undefined
      host.Beelink	2019-09-23 08:53:01.431	info	instance system.adapter.vr200.0 started with pid 9174
      alexa2.0	2019-09-23 08:53:00.806	info	(COMPACT) Alexa-Push-Connection established. Disable Polling
      iqontrol.0	2019-09-23 08:52:59.028	info	(COMPACT) Deleting unused Objects...
      
      

      War ne blöde Idee noch mal auf 0.9.0 zurück zu gehen, jetzt startet der BLE Adapter nicht mehr. Bin gerade am reparieren.
      Läuft wieder nach dem der Fixer drüber ist

      root@Beelink:/opt/iobroker# iobroker list instances
      + system.adapter.admin.0                 : admin                 -  enabled, compact enabled (group 1), port: 8081, bind: 0.0.0.0, run as: admin
       system.adapter.admin.1                 : admin                 - disabled, compact disabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.alexa2.0                : alexa2                -  enabled, compact enabled (group 1)
      + system.adapter.backitup.0              : backitup              -  enabled, compact enabled (group 1)
      + system.adapter.ble.0                   : ble                   -  enabled, compact enabled (group 1)
      + system.adapter.email.0                 : email                 -  enabled, compact disabled
      + system.adapter.enigma2.0               : enigma2               -  enabled, compact disabled
      + system.adapter.fritzdect.0             : fritzdect             -  enabled, compact enabled (group 1)
      + system.adapter.google-sharedlocations.0: google-sharedlocations -  enabled, compact disabled
      + system.adapter.harmony.0               : harmony               -  enabled, compact enabled (group 1)
      + system.adapter.history.0               : history               -  enabled, compact enabled (group 1)
       system.adapter.ical.0                  : ical                  -  enabled, compact disabled
      + system.adapter.info.0                  : info                  -  enabled, compact enabled (group 1)
      + system.adapter.iot.0                   : iot                   -  enabled, compact enabled (group 1)
      + system.adapter.iqontrol.0              : iqontrol              -  enabled, compact enabled (group 1)
      + system.adapter.javascript.0            : javascript            -  enabled, compact enabled (group 1)
      + system.adapter.milight-smart-light.0   : milight-smart-light   -  enabled, compact disabled
      + system.adapter.node-red.0              : node-red              -  enabled, compact disabled, port: 1880, bind: 0.0.0.0
       system.adapter.openweathermap.0        : openweathermap        -  enabled, compact disabled
      + system.adapter.scenes.0                : scenes                -  enabled, compact disabled
       system.adapter.simple-api.0            : simple-api            -  enabled, compact enabled (group 1), port: 8087, bind: 0.0.0.0, run as: admin
      + system.adapter.sonoff.0                : sonoff                -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
      + system.adapter.tankerkoenig.0          : tankerkoenig          -  enabled, compact enabled (group 1)
      + system.adapter.telegram.0              : telegram              -  enabled, compact enabled (group 1), port: 8443, bind: 0.0.0.0
      + system.adapter.tr-064-community.0      : tr-064-community      -  enabled, compact disabled
      + system.adapter.vr200.0                 : vr200                 -  enabled, compact disabled
      + system.adapter.web.0                   : web                   -  enabled, compact disabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.wifilight.0             : wifilight             -  enabled, compact disabled
      + system.adapter.zigbee.0                : zigbee                -  enabled, compact disabled, port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DD2-if00
      
      + instance is alive
      
      

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

        Ok, sehe schon 🙂 alles ok. Ich fixe noch was ... grrrr 🙂

        1 Reply Last reply Reply Quote 0
        • SBorg
          SBorg Forum Testing Most Active @apollon77 last edited by

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

          @SBorg den git clone Fehler hatte Arteck auch mal plötzlich. Ursache muss irgendwo bei npm liegen...

          Zumindest habe ich ihn jetzt permanent. Ohne "sudo -H..." lässt sich nichts mehr installieren. Die Fehlermeldung seitens npm scheint mir aber auch irreführend. Ich habe ja alle Rechte im tmp-Verzeichnis und spaßeshalber ein chmod 777 darauf bringt keinerlei Besserung. Ev. bringt ja ein neues npm-Release Besserung 😉

          AlCalzone 1 Reply Last reply Reply Quote 0
          • C
            CADYTA last edited by Stabilostick

            Auf Systemen, die mit dem neuen Windows Installer eingerichtet wurden, darf der js-controller nicht mir npm aktualisiert werden. Es wird eine neue Version des Windows Installers geben, die das Update des js-controllers mit wenigen Mausklicks ermöglicht. Wir updaten dazu hier im Thread.

            [Edit: Defekte Links entfernt. 24.09.19, stabilostick]

            1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @SBorg last edited by

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

              Ohne "sudo -H..." lässt sich nichts mehr installieren

              Mal den Fixer ausgeführt?

              1 Reply Last reply Reply Quote 0
              • SBorg
                SBorg Forum Testing Most Active last edited by

                @AlCalzone Mehrmals, dürfte aber nix bringen, da NPM meckert, dass er im /[User-Verzeichnis]/.npm/_cacache/tmp/git-clone... das Verzeichnis zum DL nicht anlegen kann. Mit NPM 6.4.1 ging es noch, erst mit dem Update auf 6.11.3 trat es bei mir auf. NPM selbst verriet ja noch, dass es bei älteren Versionen durchaus zu Fehlern in den Userrechten kam. Der vorgeschlagene Fix fruchtet aber auch nicht.
                Ist zumindest kein Problem vom Broker/JS-Controller.

                AlCalzone 2 Replies Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer @SBorg last edited by

                  @SBorg Ich sehe üblicherweise die Fehler, dass npm als non-root ausgeführt wird (wie es sein sollte), aber versucht in /root/.npm zu schreiben. Das kommt meiner Erfahrung nach daher, dass die Rechte im Zielordner falsch sind und npm daher auf das falsche Cache-Verzeichnis zugreifen will.

                  1 Reply Last reply Reply Quote 0
                  • E
                    e-i-k-e @apollon77 last edited by

                    Danke @apollon77.

                    Habe das komplette System auf 2.0.7 aktualisiert.
                    Leider werden die Adapter auch mit dieser Version erst grün, wenn ich die Slave neustarte.
                    Was mir allerdings gefällt, die Slave Geräte behalten Ihren letzten GPIO (RPI Adapter) Status. (glaube ich ;))

                    Anbei der log vom Slave. iobroker.2019-09-23.log
                    Neustart Master: 18:45 Uhr
                    Neustart Slave: 18:52 Uhr

                    Unabhängig davon werden mit im log vom Master folgenden warn angezeigt.

                    admin.2	2019-09-23 18:46:36.260	info	(1343) starting. Version 3.6.5 in /opt/iobroker/node_modules/iobroker.admin, node: v10.16.3
                    Error	2019-09-23 18:46:32.940	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.939	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.936	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.934	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.919	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.917	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.906	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.904	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.900	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.898	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    Error	2019-09-23 18:46:32.895	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    host.ioBroker-Rock	2019-09-23 18:46:32.380	info	instance system.adapter.admin.2 started with pid 1343
                    host.ioBroker-Rock	2019-09-23 18:46:32.330	warn	Multihost discovery server: service started on 0.0.0.0:50005
                    
                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @e-i-k-e last edited by

                      @e-i-k-e hast du hier mal das volle Master log? Kommen sie auch wenn du Admin neu startest?

                      E 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @SBorg last edited by

                        @SBorg Kannst du mal probieren, den Eigentümer im ioBroker-Ordner zu korrigieren?

                        sudo chown -R iobroker /opt/iobroker
                        

                        Das sollte der Fixer eigentlich machen, aber vielleicht stimmt da ja doch was nicht.

                        SBorg 1 Reply Last reply Reply Quote 0
                        • E
                          e-i-k-e @apollon77 last edited by e-i-k-e

                          @apollon77

                          Anbei das log vom Master.

                          iobroker.2019-09-23.log

                          Könntest du dir bitte auch die Uhrzeit ~1.15 Uhr anschauen. Ich habe seit einigen Tagen Probleme mit meinem ioBroker, dieser hängt sich mehrmals täglich auf. Ich wäre dir sehr dankbar.

                          Den Admin habe ich nicht neugestartet. Kann ich aber gerne testen.

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

                            Auf GitHub gibt es jetzt die 2.0.8 . Ich habe nochmal das Stoppen und Restarting angeschaut und überarbeitet.
                            Ich habe mal mit meinem Redis/Redis Testsystem getestet und einen Redis restart hat es gut weggesteckt

                            @e-i-k-e Kannst bitte das Slave Thema nochnal checken ... bin gespannt auf die Logs. Das "unknown Skript" kann ich mir eher nicht erklären. States und Objects sind "file" oder Objects in Redis?

                            sigi234 E 2 Replies Last reply Reply Quote 0
                            • apollon77
                              apollon77 @e-i-k-e last edited by

                              @e-i-k-e Was passiert denn 1:15? Bringt /var/log/syslog irgendwas zu dem Zeitpunkt? Sieht wie ein Reboot aus ... kann RAM kram sein, kann schlechte Stromversorgung sein oder sowas

                              E 1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active @apollon77 last edited by

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

                                Auf GitHub gibt es jetzt die 2.0.8

                                Läuft.😀

                                1 Reply Last reply Reply Quote 1
                                • E
                                  e-i-k-e @apollon77 last edited by

                                  @apollon77

                                  Das sieht sehr gut aus, alle Adapter der Slave sind grün👍
                                  Bei mir sind die Objects in Redis.

                                  Anbei das log vom:
                                  Master: iobroker.2019-09-24.log
                                  Slave: iobroker.2019-09-24.log

                                  Neustart Master: ~00:07Uhr
                                  Neustart Slave: ~00:14 Uhr

                                  apollon77 2 Replies Last reply Reply Quote 1
                                  • apollon77
                                    apollon77 @e-i-k-e last edited by

                                    @e-i-k-e perfekt. Checke es morgen. Jetzt Bett 😉 N8

                                    1 Reply Last reply Reply Quote 1
                                    • E
                                      e-i-k-e @apollon77 last edited by e-i-k-e

                                      @apollon77

                                      Eigentlich nichts geplantes. Der Absturz passiert auch zu anderen Uhrzeiten. 😕
                                      Anbei mal das syslog, ich selbst kann da nicht viel mit anfangen. syslog

                                      N8 und bis morgen. 😉

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @e-i-k-e last edited by

                                        @e-i-k-e sieht alles ok aus. Was war denn da 0:91 los wo wegen „_id of undefined“ die JavaScript Instanz gestorben ist. Passiert das öfter? Ist da ein Script kaputt? Irgendwie reproduzierbar?

                                        1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @e-i-k-e last edited by

                                          @e-i-k-e hast du syslog auch von davor? Das 0:17 s geübt für Zeit gewesen zu sein Die Dieuhr hatte beim restart. Würde dann aber auf 6:XX aktualisiert. Daher denke ichbdad der Crash eher da ist.

                                          Um 6:2x macht das System meistens Daily Aufgaben und so und dadurch kann last entstehen.

                                          Was ist für ein Netzteil dran (wird gerade off topic für diesen Thread) 😉

                                          E 1 Reply Last reply Reply Quote 0
                                          • SBorg
                                            SBorg Forum Testing Most Active @AlCalzone last edited by

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

                                            @SBorg Kannst du mal probieren, den Eigentümer im ioBroker-Ordner zu korrigieren?

                                            sudo chown -R iobroker /opt/iobroker
                                            

                                            Das sollte der Fixer eigentlich machen, aber vielleicht stimmt da ja doch was nicht.

                                            Hatte mal ls -lR|grep -v iobroker|awk {'print $3'} > result.txt ausgeführt, danach in der TXT Leerzeilen gelöscht = leere Datei, also keine Datei die nicht iobroker gehört. Aber man weiß ja nie, also noch mal chown ausgeführt, bleibt dabei:

                                            Als User ausgeführt:

                                            npm ERR! code EPERM
                                            npm ERR! syscall spawn
                                            npm ERR! errno EPERM
                                            npm ERR! Error: spawn EPERM
                                            npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                            npm ERR!     at exports.spawn (child_process.js:508:9)
                                            npm ERR!     at exports.execFile (child_process.js:218:15)
                                            npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                            npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                            npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                            npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                            npm ERR!     at <anonymous>
                                            npm ERR!  { Error: spawn EPERM
                                            npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                            npm ERR!     at exports.spawn (child_process.js:508:9)
                                            npm ERR!     at exports.execFile (child_process.js:218:15)
                                            npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                            npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                            npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                            npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                            npm ERR!     at <anonymous>
                                            npm ERR!   cause: { Error: spawn EPERM
                                            npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                            npm ERR!     at exports.spawn (child_process.js:508:9)
                                            npm ERR!     at exports.execFile (child_process.js:218:15)
                                            npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                            npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                            npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                            npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                            npm ERR!     at <anonymous> errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },
                                            npm ERR!   stack: 'Error: spawn EPERM\n    at ChildProcess.spawn (internal/child_process.js:313:11)\n    at exports.spawn (child_process.js:508:9)\n    at exports.execFile (child_process.js:218:15)\n    at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n    at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n    at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n    at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24\n    at <anonymous>',
                                            npm ERR!   errno: 'EPERM',
                                            npm ERR!   code: 'EPERM',
                                            npm ERR!   syscall: 'spawn',
                                            npm ERR!   parent: 'iobroker' }
                                            npm ERR!
                                            npm ERR! The operation was rejected by your operating system.
                                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                                            npm ERR!
                                            npm ERR! If you believe this might be a permissions issue, please double-check the
                                            npm ERR! permissions of the file and its containing directories, or try running
                                            npm ERR! the command again as root/Administrator.
                                            
                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR!     /home/xxx/.npm/_logs/2019-09-23T19_16_22_629Z-debug.log
                                            

                                            Nochmals npm neu installiert und alle Rechte unter /usr/local/lib/node-modules... kontrolliert, alles iO.

                                            Als root ausgeführt:
                                            siehe oben, "git clone..."-Error

                                            Nur die Version mit "sudo -H..." funktioniert. Im Moment bin ich mit meinem Latein erst mal am Ende, weiß echt nicht mehr was das NPM-Update da verhunzt hat. Wenn ich der Einzige bin/bleibe, was soll's? Es läuft sonst alles und über "Umweg" kriege ich es installiert.

                                            arteck AlCalzone 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            634
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            48
                                            1047
                                            252819
                                            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