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.
    • D
      darkiop Most Active @apollon77 last edited by darkiop

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

      Und was ist im Log Nach dem "starting node restart.js"? an sich sollte der js-controller da sich restarten! Ganz automagisch ... also das tut er bei mir

      Nichts mehr, hab es eben noch mal provoziert. In der Folge ist kein iobroker Prozess mehr auf dem iobroker-hwr am laufen.

      63713222-6dc2-4b19-987e-c7760c318a5d-grafik.png

      Interessant ist auch das in diesem Zusammenhang immer der Fehler mit dem Unknown Skript geworfen wird:

      2019-10-02 19:04:10.089  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      2019-10-02 19:04:10.093  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
      2019-10-02 19:04:10.094  - info: host.iobroker-hwr All instances are stopped.
      2019-10-02 19:04:10.132  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @darkiop last edited by

        @darkiop das unknown Skript ist klar weil connection weg. Das kann ich mal noch optimieren aber egal. 😉

        Das Thema ist das der Controller sich neu starten will aber er es bei dir nicht tut. Das log sagt das er es versucht. Frage ist jetzt warum es nicht tut ... hm ... Das ist Strange. Sagt /var/log/syslog irgendwas?

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

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

          Das ist Strange. Sagt /var/log/syslog irgendwas?

          Nichts. Auch nicht in messages.

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

            @darkiop gestartet war der Slave manuell mir iobroker Start oder beim Boot?

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

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

              gestartet war der Slave manuell mir iobroker Start oder beim Boot?

              Das teste ich schnell, aktuell ist er manuell gestartet. Melde ich gleich wieder.

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

                @darkiop Danke. Mach langsam. Ich erstmal Kino 😉

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

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

                  Danke. Mach langsam. Ich erstmal Kino

                  Wir gleich Couch + Netflix - das durchbooten geht aber vorher noch 🙂

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

                    Macht keinen Unterschied - der erste Fehlerblock war der manuell gestartete ioBroker, der zweite durchs Starkskript beim booten:

                    2019-10-02 19:44:51.660  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
                    2019-10-02 19:44:51.666  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
                    2019-10-02 19:44:51.667  - info: host.iobroker-hwr stopInstance forced system.adapter.smartmeter.0 killing pid 2798
                    2019-10-02 19:44:51.668  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.1
                    2019-10-02 19:44:51.669  - info: host.iobroker-hwr stopInstance forced system.adapter.smartmeter.1 killing pid 2813
                    2019-10-02 19:44:51.672  - warn: smartmeter.0 (2798) ERROR CLOSING SERIALPORT
                    2019-10-02 19:44:51.674  - warn: smartmeter.1 (2813) ERROR CLOSING SERIALPORT
                    2019-10-02 19:44:53.159  - warn: smartmeter.1 (2813) Cannot connect/reconnect to objects DB. Terminating
                    2019-10-02 19:44:53.160  - warn: smartmeter.0 (2798) Cannot connect/reconnect to objects DB. Terminating
                    2019-10-02 19:45:04.162  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9000
                    2019-10-02 19:45:04.164  - error: host.iobroker-hwr Error: connect ECONNREFUSED 192.168.1.82:9000
                        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
                    2019-10-02 19:45:08.692  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
                    2019-10-02 19:45:08.694  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
                    2019-10-02 19:45:08.694  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.1
                    2019-10-02 19:45:11.070  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    2019-10-02 19:45:11.074  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 terminated with code 0 (NO_ERROR)
                    2019-10-02 19:45:11.075  - info: host.iobroker-hwr All instances are stopped.
                    2019-10-02 19:45:11.111  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    2019-10-02 19:45:11.112  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
                    2019-10-02 19:45:21.678  - info: host.iobroker-hwr iobroker _restart
                    2019-10-02 19:45:22.210  - info: host.iobroker-hwr iobroker Starting node restart.js
                    2019-10-02 19:46:49.416  - info: host.iobroker-hwr iobroker.js-controller version 2.0.19 js-controller starting
                    2019-10-02 19:46:49.427  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                    2019-10-02 19:46:49.429  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3
                    2019-10-02 19:46:49.431  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::dea6:32ff:fe17:78f5
                    2019-10-02 19:46:55.775  - info: host.iobroker-hwr connected to Objects and States
                    2019-10-02 19:46:57.118  - warn: host.iobroker-hwr Multihost discovery server: service started on 0.0.0.0:50005
                    2019-10-02 19:47:03.673  - info: host.iobroker-hwr 85 instances found
                    2019-10-02 19:47:03.691  - info: host.iobroker-hwr starting 2 instances
                    2019-10-02 19:47:03.716  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 started with pid 987
                    2019-10-02 19:47:07.708  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 started with pid 1010
                    2019-10-02 19:48:45.976  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
                    2019-10-02 19:48:45.982  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
                    2019-10-02 19:48:45.983  - info: host.iobroker-hwr stopInstance forced system.adapter.smartmeter.0 killing pid 987
                    2019-10-02 19:48:45.985  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.1
                    2019-10-02 19:48:45.985  - info: host.iobroker-hwr stopInstance forced system.adapter.smartmeter.1 killing pid 1010
                    2019-10-02 19:48:45.990  - warn: smartmeter.1 (1010) ERROR CLOSING SERIALPORT
                    2019-10-02 19:48:47.477  - warn: smartmeter.1 (1010) Cannot connect/reconnect to objects DB. Terminating
                    2019-10-02 19:48:47.478  - warn: smartmeter.0 (987) Cannot connect/reconnect to objects DB. Terminating
                    2019-10-02 19:48:58.479  - error: host.iobroker-hwr connect ECONNREFUSED 192.168.1.82:9000
                    2019-10-02 19:48:58.480  - error: host.iobroker-hwr Error: connect ECONNREFUSED 192.168.1.82:9000
                        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
                    2019-10-02 19:49:03.124  - warn: host.iobroker-hwr Slave controller detected disconnection. Stop all instances.
                    2019-10-02 19:49:03.126  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.0
                    2019-10-02 19:49:03.127  - info: host.iobroker-hwr stopInstance system.adapter.smartmeter.1
                    2019-10-02 19:49:04.261  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    2019-10-02 19:49:04.265  - info: host.iobroker-hwr instance system.adapter.smartmeter.1 terminated with code 0 (NO_ERROR)
                    2019-10-02 19:49:04.266  - info: host.iobroker-hwr All instances are stopped.
                    2019-10-02 19:49:04.299  - warn: host.iobroker-hwr Cannot get view: ReplyError: Error Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
                    2019-10-02 19:49:04.300  - info: host.iobroker-hwr instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
                    2019-10-02 19:49:04.300  - info: host.iobroker-hwr All instances are stopped.
                    2019-10-02 19:49:15.988  - info: host.iobroker-hwr iobroker _restart
                    2019-10-02 19:49:16.492  - info: host.iobroker-hwr iobroker Starting node restart.js
                    
                    1 Reply Last reply Reply Quote 0
                    • R
                      Ritter last edited by

                      Hallo,

                      Wenn ich den js-controller aktualisieren will unter Windows dann kommt folgender Fehler:

                      c:\iobroker>npm install ioBroker/ioBroker.js-controller
                      npm ERR! path git
                      npm ERR! code ENOENT
                      npm ERR! errno ENOENT
                      npm ERR! syscall spawn git
                      npm ERR! enoent Error while executing:
                      npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/ioBroker/ioBroker.js-controller.git
                      npm ERR! enoent
                      npm ERR! enoent
                      npm ERR! enoent spawn git ENOENT
                      npm ERR! enoent This is related to npm not being able to find a file.
                      npm ERR! enoent

                      npm ERR! A complete log of this run can be found in:
                      npm ERR! C:\Users\Christian\AppData\Roaming\npm-cache_logs\2019-10-02T19_30_02_522Z-debug.log

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

                        @Ritter

                        bist du in der Konsole?

                        Screenshot (159).png

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ritter last edited by

                          also cmd eingegeben und als administrator ausführen

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

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

                            also cmd eingegeben und als administrator ausführen

                            Ja, iob vorher stoppen!

                            1 Reply Last reply Reply Quote 0
                            • R
                              Ritter last edited by

                              hab ich über Dienste

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

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

                                hab ich über Dienste

                                Dazu bitte den ioBroker auf dem Server beenden und dann in einer Shell in das ioBroker Verzeichnis wechseln. Dann mittels npm install ioBroker/ioBroker.js-controller den Controller manuell aktualisieren

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Ritter last edited by

                                  Windows Powershell?

                                  Windows PowerShell
                                  Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

                                  Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6

                                  PS C:\Windows\system32> cd c:/iobroker
                                  PS C:\iobroker> npm install ioBroker/ioBroker.js-controller
                                  npm ERR! path git
                                  npm ERR! code ENOENT
                                  npm ERR! errno ENOENT
                                  npm ERR! syscall spawn git
                                  npm ERR! enoent Error while executing:
                                  npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/ioBroker/ioBroker.js-controller.git
                                  npm ERR! enoent
                                  npm ERR! enoent
                                  npm ERR! enoent spawn git ENOENT
                                  npm ERR! enoent This is related to npm not being able to find a file.
                                  npm ERR! enoent

                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR! C:\Users\Christian\AppData\Roaming\npm-cache_logs\2019-10-02T20_06_10_185Z-debug.log
                                  PS C:\iobroker>

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

                                    @Ritter

                                    Was kommt bei:

                                    ........../iobroker
                                    iobroker list instances
                                    node -v
                                    nodejs -v
                                    npm -v

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      Ritter last edited by

                                      PS C:\iobroker> node -v
                                      v10.16.0
                                      PS C:\iobroker> nodejs -v
                                      nodejs : Die Benennung "nodejs" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
                                      ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
                                      enthalten), und wiederholen Sie den Vorgang.
                                      In Zeile:1 Zeichen:1

                                      • nodejs -v
                                      •   + CategoryInfo          : ObjectNotFound: (nodejs:String) [], CommandNotFoundException
                                          + FullyQualifiedErrorId : CommandNotFoundException
                                        
                                        

                                      PS C:\iobroker> npm -v
                                      6.9.0
                                      PS C:\iobroker>

                                      Ist unter Windows installiert. nodejs 10.16.0

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

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

                                        PS C:\iobroker> node -v
                                        v10.16.0
                                        PS C:\iobroker> nodejs -v
                                        nodejs : Die Benennung "nodejs" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
                                        ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
                                        enthalten), und wiederholen Sie den Vorgang.
                                        In Zeile:1 Zeichen:1

                                        • nodejs -v
                                        •   + CategoryInfo          : ObjectNotFound: (nodejs:String) [], CommandNotFoundException
                                            + FullyQualifiedErrorId : CommandNotFoundException
                                          
                                          

                                        PS C:\iobroker> npm -v
                                        6.9.0
                                        PS C:\iobroker>

                                        Ist unter Windows installiert. nodejs 10.16.0

                                        Nein , da kann es nicht gehen.

                                        Installiert,
                                        Wann:
                                        Wo:
                                        Wie:

                                        Backup vorhanden:

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Ritter last edited by

                                          Wann kann ich nicht genau sagen, aber im Mai von einem Windows Rechner auf den anderen mittels Backup übertragen.
                                          Wo, auf einem Intel NUC i3

                                          Betriebssystem Windows
                                          Architektur x64
                                          CPUs 4
                                          Geschwindigkeit 2304 MHz
                                          Modell
                                          Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
                                          RAM 7.89 GB
                                          Festplatte Größe 118.67 GB
                                          Festplatte frei 43.12 GB
                                          Anzahl der Adapter 292
                                          Aktive Instanzen 42

                                          Wie, händisch wie auf der iobroker.net Seite beschrieben.

                                          Ich habe schon einmal über die Admin Seite mit "installieren von Git" auf 2.0 aktualisiert, dann aber Probleme mit vis gehabt und bin dann wieder über die Konsole auf 1.5.14 zurück.

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

                                            @Ritter

                                            Edit:

                                            https://forum.iobroker.net/topic/24647/aufruf-iobroker-für-windows-version-1-5-14

                                            Kopiere dir mal den iobroker Ordner auf eine Externe Festplatte oder Usb Stick.
                                            Wichtig: iobroker-Data Ordner!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            833
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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