Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2.0 ab sofort im Latest Repo

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2.0 ab sofort im Latest Repo

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

      Update auf JS-Controller 2.1.1 gemacht und läuft seit dem unauffällig.

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

        @apollon77 Hi, habe, wie immer, erst die Clients dann den Master geupdated, diesmal kam diese Meldung ( die bluetooth Fehler waren schon immer, das bitte ignorieren..) mit dem Client 'meterberry' - der war schon auf der 2.1.1 ...

        Laufen tut alles, auf allen Clients, keine weiteren Fehler mehr.

        ilovegym@iobroker /opt/iobroker $ iobroker upgrade self
        Update js-controller from @2.1.0 to @2.1.1
        NPM version: 6.13.0
        npm install iobroker.js-controller@2.1.1 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
         States 192.168.0.57:39286 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace system.: Data=["system.host.meterberry.logLevel","messagebox.system.host.meterberry","io.*.logging","io.system.adapter.*.alive","io.system.host.meterberry.logLevel"]
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
        ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
        In file included from ../src/BluetoothHciSocket.cpp:8:0:
        ../../nan/nan.h:1045:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
        ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
           Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                ^
        In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                         from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:25,
                         from ../src/BluetoothHciSocket.cpp:7:
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
           V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                    ^
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                    ^
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
        ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                     ^
        In file included from ../src/BluetoothHciSocket.cpp:8:0:
        ../../nan/nan.h:1045:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^
        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               devId = arg0->IntegerValue();
                                          ^
        In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                         from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                         from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:25,
                         from ../src/BluetoothHciSocket.cpp:7:
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here
           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                      ^
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               devId = arg0->IntegerValue();
                                          ^
        In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                         from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                         from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:25,
                         from ../src/BluetoothHciSocket.cpp:7:
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here
           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                      ^
        /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
        gyp ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
        gyp ERR! System Linux 4.15.0-70-generic
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/bluetooth-hci-socket
        gyp ERR! node -v v10.17.0
        gyp ERR! node-gyp -v v5.0.5
        gyp ERR! not ok 
        Starting node restart.js
        ilovegym@iobroker /opt/iobroker $ iobroker start
        ilovegym@iobroker /opt/iobroker $ 
        
        
        apollon77 2 Replies Last reply Reply Quote 0
        • apollon77
          apollon77 @Neuschwansteini last edited by

          @ilovegym Danke, checke ich, aber nicht kritisch wenn das beim upgrade kommt

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

            @ilovegym PS: Danach aber im normalen Log gab es keine solchen Meldungen?

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

              @apollon77

              Wie schon im Issue von javascript Adapter geschrieben scheint nun die Kompination von js-controler 2.1.1 und dem javascript-Adaper 4.3.4 das Instanz-Problem gelöst zu haben. Dankeschön euch beiden für die wieder super Arbeit!

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

                @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                @ilovegym PS: Danach aber im normalen Log gab es keine solchen Meldungen?

                nee, ab und zu kommt mal : some Hosts are offline ( sind sie aber nicht).. und der Sonoff Adapter zickt seitdem rum..

                host.iobroker	2019-11-22 17:30:09.407	error	Caught by controller[0]: at DestroyableTransform.onreadable (/opt/iobroker/node_modules/duplexify/index.js:134:10)
                host.iobroker	2019-11-22 17:30:09.406	error	Caught by controller[0]: at Connection.Duplexify._forward (/opt/iobroker/node_modules/duplexify/index.js:170:26)
                host.iobroker	2019-11-22 17:30:09.406	error	Caught by controller[0]: at Connection.Readable.push (/opt/iobroker/node_modules/readable-stream/lib/_stream_readable.js:245:10)
                host.iobroker	2019-11-22 17:30:09.406	error	Caught by controller[0]: at readableAddChunk (/opt/iobroker/node_modules/readable-stream/lib/_stream_readable.js:278:11)
                host.iobroker	2019-11-22 17:30:09.406	error	Caught by controller[0]: at addChunk (/opt/iobroker/node_modules/readable-stream/lib/_stream_readable.js:291:12)
                host.iobroker	2019-11-22 17:30:09.406	error	Caught by controller[0]: at Connection.emit (events.js:198:13)
                host.iobroker	2019-11-22 17:30:09.405	error	Caught by controller[0]: at Connection.emitPacket (/opt/iobroker/node_modules/mqtt-connection/connection.js:10:8)
                host.iobroker	2019-11-22 17:30:09.405	error	Caught by controller[0]: at Connection.emit (events.js:198:13)
                host.iobroker	2019-11-22 17:30:09.405	error	Caught by controller[0]: at Connection.client.on.packet (/opt/iobroker/node_modules/iobroker.sonoff/lib/server.js:1558:21)
                host.iobroker	2019-11-22 17:30:09.405	error	Caught by controller[0]: at receivedTopic (/opt/iobroker/node_modules/iobroker.sonoff/lib/server.js:1067:30)
                host.iobroker	2019-11-22 17:30:09.405	error	Caught by controller[0]: TypeError: Cannot read property 'topic' of undefined
                host.iobroker	2019-11-22 17:30:08.181	info	instance system.adapter.meteoalarm.0 started with pid 15225
                host.iobroker	2019-11-22 17:30:04.158	info	instance system.adapter.ical.0 started with pid 15210
                host.iobroker	2019-11-22 17:30:01.603	info	instance system.adapter.wifilight.0 started with pid 15191
                host.iobroker	2019-11-22 17:30:00.582	info	Restart adapter system.adapter.wifilight.0 because enabled
                host.iobroker	2019-11-22 17:30:00.582	error	instance system.adapter.wifilight.0 terminated with code 156 (156)
                host.iobroker	2019-11-22 17:30:00.023	info	instance system.adapter.openweathermap.0 started with pid 15179
                host.iobroker	2019-11-22 17:29:31.207	warn	some hosts are offline
                
                apollon77 1 Reply Last reply Reply Quote 0
                • E
                  Einstein67 last edited by

                  Hab die RESTORE Funktion mit aktivierten Compact-Mode getestet.

                  Funktioniert mit 2.1.1 nun problemlos bei allen Gruppen!!

                  Vielen Dank!

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

                    @ilovegym "some hosts are offline" ist nur die Meldung das es da Hosts im System gibt die offline sind ... mehr heisst das nicht. Irgendein Host ist da aber dann offline noch (also irgend ein Slave)

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

                      @Einstein67 Danke, extrem cool

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

                        @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                        @ilovegym "some hosts are offline" ist nur die Meldung das es da Hosts im System gibt die offline sind ... mehr heisst das nicht. Irgendein Host ist da aber dann offline noch (also irgend ein Slave)

                        ähm, nö.. 🙂 da ist nix offline.. vielleicht dem Herrn iobroker nicht schnell genug? Timeout?
                        hier alles grün:
                        1b73668c-22ad-46fb-b7ca-bdb33b83396e-grafik.png

                        hier die Pings:

                        ilovegym@iobroker ~ $ cd /opt/iobroker
                        ilovegym@iobroker /opt/iobroker $ ping zeroberry
                        PING zeroberry.fritz.box (192.168.178.31) 56(84) bytes of data.
                        64 bytes from zeroberry.fritz.box (192.168.178.31): icmp_seq=1 ttl=64 time=26.0 ms
                        64 bytes from zeroberry.fritz.box (192.168.178.31): icmp_seq=2 ttl=64 time=39.3 ms
                        64 bytes from zeroberry.fritz.box (192.168.178.31): icmp_seq=3 ttl=64 time=79.6 ms
                        ^C
                        --- zeroberry.fritz.box ping statistics ---
                        3 packets transmitted, 3 received, 0% packet loss, time 2002ms
                        rtt min/avg/max/mdev = 26.016/48.327/79.664/22.812 ms
                        ilovegym@iobroker /opt/iobroker $ ping meterberry
                        PING meterberry.fritz.box (192.168.0.57) 56(84) bytes of data.
                        64 bytes from meterberry.fritz.box (192.168.0.57): icmp_seq=1 ttl=64 time=0.563 ms
                        64 bytes from meterberry.fritz.box (192.168.0.57): icmp_seq=2 ttl=64 time=9.68 ms
                        ^C
                        --- meterberry.fritz.box ping statistics ---
                        2 packets transmitted, 2 received, 0% packet loss, time 1010ms
                        rtt min/avg/max/mdev = 0.563/5.123/9.683/4.560 ms
                        ilovegym@iobroker /opt/iobroker $ ping zweiberry
                        PING zweiberry.fritz.box (192.168.0.67) 56(84) bytes of data.
                        64 bytes from zweiberry.fritz.box (192.168.0.67): icmp_seq=1 ttl=64 time=0.668 ms
                        64 bytes from zweiberry.fritz.box (192.168.0.67): icmp_seq=2 ttl=64 time=0.813 ms
                        ^C
                        --- zweiberry.fritz.box ping statistics ---
                        2 packets transmitted, 2 received, 0% packet loss, time 1001ms
                        rtt min/avg/max/mdev = 0.668/0.740/0.813/0.077 ms
                        ilovegym@iobroker /opt/iobroker $ ping berrymotion
                        PING berrymotion.fritz.box (192.168.178.32) 56(84) bytes of data.
                        64 bytes from berrymotion.fritz.box (192.168.178.32): icmp_seq=1 ttl=64 time=6.37 ms
                        64 bytes from berrymotion.fritz.box (192.168.178.32): icmp_seq=2 ttl=64 time=4.14 ms
                        ^C
                        --- berrymotion.fritz.box ping statistics ---
                        2 packets transmitted, 2 received, 0% packet loss, time 1001ms
                        rtt min/avg/max/mdev = 4.142/5.259/6.376/1.117 ms
                        ilovegym@iobroker /opt/iobroker $ ping gymberry
                        PING gymberry.fritz.box (192.168.0.84) 56(84) bytes of data.
                        64 bytes from gymberry.fritz.box (192.168.0.84): icmp_seq=1 ttl=64 time=0.814 ms
                        64 bytes from gymberry.fritz.box (192.168.0.84): icmp_seq=2 ttl=64 time=0.752 ms
                        ^C
                        --- gymberry.fritz.box ping statistics ---
                        2 packets transmitted, 2 received, 0% packet loss, time 1001ms
                        rtt min/avg/max/mdev = 0.752/0.783/0.814/0.031 ms
                        ilovegym@iobroker /opt/iobroker $
                        
                        
                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @Neuschwansteini last edited by

                          @ilovegym Also ich habe nochmal geschaut. Der Admin fragt bei den controllern Infos ab und eine dieser Infos ist welche Version auf welchem Host installiert ist 🙂 Also genau das was in der Hosts Ansicht im Admin so angezeigt wird. Diese ABfrage über alle Hosts hat aktuell 5s zum Fertig werden ... wenn nicht alle Hosts so schnell geantwortet haben kommt die Meldung.

                          Beobachte es mal

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

                            @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                            @ilovegym Also ich habe nochmal geschaut. Der Admin fragt bei den controllern Infos ab und eine dieser Infos ist welche Version auf welchem Host installiert ist 🙂 Also genau das was in der Hosts Ansicht im Admin so angezeigt wird. Diese ABfrage über alle Hosts hat aktuell 5s zum Fertig werden ... wenn nicht alle Hosts so schnell geantwortet haben kommt die Meldung.

                            Beobachte es mal

                            Moin, hmm wenn ich wüsste, welcher Host das wäre.. ich hab n Raspi Zero, der ist per Wlan und n bisschen lahm..
                            hier der Auszug von heute, kommt immer noch..
                            Seit 10 sitz ich am Rechner.. das mag er wohl nicht 🙂

                            ilovegym@iobroker /opt/iobroker/log $ cat iobroker.2019-11-23.log | grep some
                            2019-11-23 02:11:09.312  - warn: host.iobroker some hosts are offline
                            2019-11-23 02:11:19.166  - warn: host.iobroker some hosts are offline
                            2019-11-23 02:13:24.964  - warn: host.iobroker some hosts are offline
                            2019-11-23 03:45:03.836  - warn: host.iobroker some hosts are offline
                            2019-11-23 04:42:12.865  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:05:57.985  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:06:33.360  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:06:56.107  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:20:42.512  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:20:52.313  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:29:49.736  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:30:15.023  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:31:01.581  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:38:29.141  - warn: host.iobroker some hosts are offline
                            2019-11-23 10:45:17.477  - warn: host.iobroker some hosts are offline
                            ilovegym@iobroker /opt/iobroker/log $ 
                            
                            
                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Neuschwansteini last edited by

                              @ilovegym hast du im Admin den „hosts Tab“ vllt da offen? Das würde die verstärkte Anzahl erklären.

                              Bzw schau mal ob die system.hosts.* zu deinen hosts passen und das bei den Objekten nicht irgend ein Alter drin ist.

                              Also effektiv ist’s erstmal nur ne Meldung.

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

                                @apollon77 ah, wenn sich die Zeiten für alle Hosts summieren, dann sind 5sek recht wenig.. ich glaub ich meinen Kanditaten, die Einträge sind zwar alle ok aber wenn ich auf den Zeroberry per console gehe, habe ich ein delay von ca. 1-2 sek... wenn der so auch an den iobroker antwortet, dann sind das mit den anderen 4 Hosts dann schnell mal mehr als 5sek..

                                Also da es nur ein Warn ist und keinen Einfluss auf das System und die Funktion hat, beobachte ich mal weiter, aber unternehm tun wir deshalb nix.

                                Vielen Dank

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

                                  So dann wollen wir mal - ich habe die ganze letzte Woche immer und immer wieder versucht mit dem Windows Installer die neu Version 2.1 auf den Rechner zu bekommen.

                                  Ich bin jedes mal gescheitert. Die Migration von meiner bestehenden und Lauffähigen Version funktioniert nie. Selbst der Versuch diese lauffähige Version per manuellem Update auf 2.1 hoch zu ziehen scheitert.

                                  Jetzt möchte ich das ganze heute nochmal strukturiert und sofern möglich mit allen LOG Einträgen angehen.

                                  Dazu folgende Fragen:

                                  Wenn ich den WinInstaller benutze und in der Vergangenheit diesen ebefalls benutzt habe (V1.5.14), wird mir die Neuinstallation immer wieder in den "damals" eingegebenen Pfad rein geschrieben. Ich kann keinen anderen Pfad auswählen - ist das immer so?

                                  Beispiel - 1. Installation von 1.5.14 unter - C:/ioBroker_test/ioB_Test/ Jetzt möchte ich aber die Version 2.1 in C:/iobroker installieren unter Zuhilfenahme der Daten aus C:/ioBroker_test/ioB_Test/iobroker-data.

                                  Die Migrationsüberprüfung sagt OK, Es besteht aber keine Möglichkeit das Zielverzeichnis anzupassen und so wird diese neue 2.1er Kopie als C:/ioBroker_test/iobroker/ angelegt - was ich aber so nicht haben möchte.

                                  Das nächste Problem, scheint die Migration zu sein. Ich gehe mal davon aus, das hier "einfach" der Ordner iobroker-data aus dem Quellverzeichnis in das neue Zielverzeichnis kopiert wird - ist das so?

                                  Wenn ja, findet das bei mir, aus welchen Gründen auch immer nichts statt - auch nach 3 Stunden warten nicht. Vielmehr hagelt es im LOG File jede Menge Fehlermeldungen. Ich kenne jetzt den genauen Prozess nicht, aber meine Vermutung ist, die das es eine Datei gibt, in der alle installierten Adapter aufgelistet sind.

                                  Die installierten Adapter kommen per copy aus dem Quellzeichnis. Da das bei mir aber nicht passiert, hagelt es die Fehlermeldungen im Rahmen der Adapter Überprüfungen / Aktualisierungen, weil die entsprechenden Ordner gar nicht in iobroker-data vorhanden sind. Sind meine Beobachtungen soweit korrekt?

                                  Soweit die Probleme wenn ich mit dem Installler arbeite.

                                  Nun zum Versuch die laufende Version manuell zu aktualisieren.

                                  Ich stoppe ioB, kontrolliere ob alle Node.js Instanzen beendet sind und gebe folgendes im DOS Fenster ein.

                                  C:\IoB _test\ioBroker>ioB_Test iobroker status
                                  *** Node.js not found. Please start the ioBroker commandline environment using the corresponding startmenu shortcut. Aborting...
                                  

                                  Ich kann mit diesem Hinweis nichts anfangen - was genau soll ich machen. Was ist die Komandozeilen Umgebung und welche Start Menü Verknüpfung soll ich eingeben?

                                  Warum wird Node.js nicht gefunden? Diese Instanz von ioBroker ist lauffähig und funktioniert einwandfrei, sobald man den Windows Dienst von ioB startet.

                                  Wie gesagt im Moment bekomme ich es nicht gebacken - weder mit Aktualisierung noch mit einer Migrierten Neuinstallation.

                                  Vielleicht kann mir ja jemand den einen oder anderen Hilfreichen Hinweis geben.

                                  Stabilostick 1 Reply Last reply Reply Quote 1
                                  • Stabilostick
                                    Stabilostick @JB_Sullivan last edited by Stabilostick

                                    @JB_Sullivan sagte in js-controller 2.0 ab sofort im Latest Repo:

                                    Wenn ich den WinInstaller benutze und in der Vergangenheit diesen ebefalls benutzt habe (V1.5.14), wird mir die Neuinstallation immer wieder in den "damals" eingegebenen Pfad rein geschrieben. Ich kann keinen anderen Pfad auswählen - ist das immer so?

                                    Bei der ersten Installation von ioBroker wird beim ersten Mal nach einem Stamm-Installationspfad für alle Instanzen gefagt. Dieser wird dann für alle Instanzen verwendet. Eine Änderung ist nicht möglich. Das steht auch im beschreibenden Text im Installer.

                                    Tipp: Ein neuer Stammpfad kann dann gewählt werden, nachdem alle ioBroker-Instanzen mit dem ioBroker Installer gelöscht wurden.

                                    Das nächste Problem, scheint die Migration zu sein. Ich gehe mal davon aus, das hier "einfach" der Ordner iobroker-data aus dem Quellverzeichnis in das neue Zielverzeichnis kopiert wird - ist das so?

                                    Das ist ein wichtiger Bestandteil. Zusätzlich werden noch einige kleine Änderungen durchgeführt. Wichtig ist, dass der Quell-ioBroker nicht auf die Dateien zugreift. Wenn die Quelle eine mit dem neuen Installer erstellte ioBroker-Instanz ist, bietet der Installer sogar die Möglichkeit, den entsprechenden Dienst automatisch zu beenden und zu deaktivieren. Bei alten Installationen muss das der Anwender selbst tun.

                                    hagelt es im LOG File jede Menge Fehlermeldungen

                                    Bitte hier bereitstellen.

                                    Die installierten Adapter kommen per copy aus dem Quellzeichnis.

                                    Nein. In den Datenbanken von ioBroker stehen Informationen zur Adapterkonfiguration. ioBroker selbst stellt beim ersten Start fest, dass eine Adapterinstanz-Konfiguration da ist und will den Adapter starten, merkt dann aber, dass die Programmdateien fehlen und installiert deshalb die gleiche Version per npm im Hintergrund nach. Dieser Prozess kann einige Zeit dauern. Deswegen sind alle Adapter bis auf admin, discovery und info erst einmal nach der Migration im Admin rot. Im Log kann man den Installationsvorgang beobachten. Vor allem VIS-Bibliotheken benötigen Zeit. Adapter, die z.B. manuell von GitHub mit js-controller <2.0 installiert wurden, bleiben nachdem das System mit der Nachinstallation fertig ist rot, weil sie per Hand manuell wieder (z.B. von Github oder normal) nachinstalliert werden müssen.

                                    Ich stoppe ioB, kontrolliere ob alle Node.js Instanzen beendet sind und gebe folgendes im DOS Fenster ein.
                                    C:\IoB _test\ioBroker>ioB_Test iobroker status
                                    *** Node.js not found. Please start the ioBroker commandline environment using the corresponding startmenu shortcut. Aborting...

                                    Ich kann mit diesem Hinweis nichts anfangen - was genau soll ich machen. Was ist die Komandozeilen Umgebung und welche Start Menü Verknüpfung soll ich eingeben?

                                    1. Öffne das Startmenü von Windows. Das mit dem Windows-Symbol.
                                    2. Dort siehst Du eine Liste von Ordnern und Programmen.
                                    3. Scrolle bis zum Ordner „ioBroker“
                                    4. Lies die einzelnen Einträge im Ordner.
                                    5. Da steht für jede Instanz was von Kommandozeile und Admin.
                                    6. Klicke bei der gewünschten Instanz auf den Link zur Kommandozeile.
                                    7. Bestätige Sicherheitsdialog.
                                    8. Kommandozeile da. Oben steht was von ioBroker und Hilfe.
                                    9. Jetzt Befehle eintippen.

                                    Vielleicht kann mir ja jemand den einen oder anderen Hilfreichen Hinweis geben.

                                    Gerne.

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

                                      Ich habe gerade eine neue Version (2.1.0.b) des Installers auf der Downloadseite veröffentlicht. Die Version steht im Begrüßungsbild zu Beginn der Installation.

                                      Es wird 2.1.0 stable statt 2.1.0 latest installiert. 😉

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

                                        Hallo Stabilostick - vielen Dank das du dir die Zeit genommen hast alles so detailliert aufzuschreiben.

                                        Das Ergebniss ist ja mal interessant....... weil ich bislang immer als Admin via cmd.exe die Eingabeaufforderung aufgerufen in dem sich öffnenden DOS Fenster die Befehle eingegeben habe.

                                        Das es unter dem WIN Start Menü ein iobroker Ordner mit entsprechenden Sitzungsspezifischen Eingabe Aufforderungen gibt, habe ich nicht gewusst - und natürlich bin ich auch nicht auf die Idee gekommen, dort nachzusehen.

                                        Also habe ich jetzt erstmal die bestehende iobroker Instanz händisch aktualisiert - und BINGO, keine Fehlermeldung mehr wie oben beschrieben. Die Aktualisierung ist offensichtlich einwandfrei durchgelaufen, denn es funktioniert wieder alles. Siehe LOG


                                        *** Welcome to ioBroker. ***


                                        *** Type 'iobroker help' for list of instructions. ***
                                        *** For more help see ***
                                        *** https://github.com/ioBroker/ioBroker.docs ***


                                        Your environment has been set up for using Node.js 10.16.3 (ia32) and npm.

                                        C:\IoB Testsysteme\ioBroker>iobroker status
                                        iobroker is not running

                                        Objects type: file
                                        States type: file

                                        C:\IoB Testsysteme\ioBroker>iobroker update
                                        Used repository: latest
                                        hash changed => force download of new sources
                                        update done
                                        Adapter "admin" : 3.7.1 , installed 3.7.1
                                        Adapter "alexa2" : 2.6.4 , installed 2.6.4
                                        Adapter "alpha2" : 1.0.0
                                        Adapter "amazon-dash" : 0.3.1
                                        Adapter "artnet" : 1.0.0
                                        Adapter "asterisk" : 1.0.6
                                        Adapter "asuswrt" : 1.0.1
                                        Adapter "b-control-em" : 0.2.1
                                        Adapter "backitup" : 1.3.0 , installed 1.2.2 [Updateable]
                                        Adapter "beckhoff" : 1.1.0
                                        Adapter "benq" : 0.2.0
                                        Adapter "ble" : 0.10.1
                                        Adapter "bmw" : 1.4.0
                                        Adapter "boblight" : 0.0.1
                                        Adapter "bosesoundtouch": 0.2.4
                                        Adapter "botvac" : 1.0.0
                                        Adapter "bring" : 1.6.6 , installed 1.6.6
                                        Adapter "broadlink2" : 2.0.2
                                        Adapter "bsblan" : 0.0.6
                                        Adapter "bshb" : 0.0.14
                                        Adapter "chromecast" : 2.3.1
                                        Adapter "cloud" : 2.8.0 , installed 2.8.0
                                        Adapter "comfoair" : 0.3.2
                                        Adapter "contactid" : 1.0.0
                                        Adapter "corrently" : 0.0.2
                                        Adapter "countdown" : 1.0.4
                                        Adapter "cul" : 1.0.0
                                        Adapter "daikin" : 1.0.5
                                        Adapter "daswetter" : 2.8.1 , installed 2.8.1
                                        Adapter "deconz" : 1.1.2 , installed 1.1.2
                                        Adapter "denon" : 1.7.1
                                        Adapter "devices" : 0.1.8
                                        Adapter "discovergy" : 0.4.9 , installed 0.4.9
                                        Adapter "discovery" : 2.0.0 , installed 2.0.0
                                        Adapter "doorbird" : 0.1.5
                                        Adapter "ds18b20" : 1.1.0
                                        Adapter "dwd" : 2.4.3 , installed 2.4.3
                                        Adapter "ebus" : 0.8.2
                                        Adapter "egigeozone" : 0.1.2
                                        Adapter "ekey" : 1.1.0
                                        Adapter "email" : 1.0.5 , installed 1.0.5
                                        Adapter "emby" : 1.0.0
                                        Adapter "energymanager" : 1.2.2
                                        Adapter "enet" : 1.0.1
                                        Adapter "epson_stylus_px830": 0.2.1
                                        Adapter "fakeroku" : 0.2.1
                                        Adapter "feiertage" : 1.0.11
                                        Adapter "fhem" : 1.3.0
                                        Adapter "find-my-iphone": 0.2.17
                                        Adapter "firetv" : 0.0.33
                                        Adapter "fitbit-api" : 0.1.1
                                        Adapter "flot" : 1.9.2 , installed 1.9.2
                                        Adapter "foobar2000" : 1.0.0
                                        Adapter "fritzbox" : 0.2.1 , installed 0.2.1
                                        Adapter "fritzdect" : 0.2.4 , installed 0.2.4
                                        Adapter "fronius" : 1.0.5
                                        Adapter "fullcalendar" : 0.2.4
                                        Adapter "fullybrowser" : 1.0.1 , installed 1.0.1
                                        Adapter "g-homa" : 0.5.1
                                        Adapter "geofency" : 0.3.2
                                        Adapter "gruenbeck" : 0.0.15
                                        Adapter "habpanel" : 0.3.4
                                        Adapter "haier" : 1.0.2
                                        Adapter "ham" : 1.1.2
                                        Adapter "ham-wemo" : 1.0.1
                                        Adapter "harmony" : 1.2.2
                                        Adapter "hass-mqtt" : 0.0.7
                                        Adapter "heatingcontrol": 0.3.4
                                        Adapter "heytech" : 0.1.9
                                        Adapter "hid" : 0.1.17
                                        Adapter "hilink" : 0.2.7
                                        Adapter "history" : 1.8.7 , installed 1.8.7
                                        Adapter "hm-rega" : 2.4.12
                                        Adapter "hm-rpc" : 1.11.1
                                        Adapter "hmip" : 0.0.11
                                        Adapter "hombot" : 0.1.3
                                        Adapter "homeconnect" : 0.0.26
                                        Adapter "homee" : 0.3.1
                                        Adapter "homepilot" : 1.0.3
                                        Adapter "hp-ilo" : 1.0.5
                                        Adapter "hs100" : 1.0.10
                                        Adapter "hue" : 2.4.3
                                        Adapter "hue-extended" : 1.1.6
                                        Adapter "hyperion" : 0.0.9
                                        Adapter "i2c" : 0.0.6
                                        Adapter "ical" : 1.7.0 , installed 1.7.0
                                        Adapter "icons-addictive-flavour-png": 0.1.0
                                        Adapter "icons-fatcow-hosting": 0.1.0
                                        Adapter "icons-icons8" : 0.0.1
                                        Adapter "icons-material-png": 0.1.0 , installed 0.1.0
                                        Adapter "icons-material-svg": 0.1.0 , installed 0.1.0
                                        Adapter "icons-mfd-png" : 1.0.2
                                        Adapter "icons-mfd-svg" : 1.0.2
                                        Adapter "icons-open-icon-library-png": 0.1.3
                                        Adapter "icons-ultimate-png": 1.0.1
                                        Adapter "influxdb" : 1.6.3
                                        Adapter "info" : 1.5.7 , installed 1.5.7
                                        Adapter "innogy-smarthome": 0.3.3 , installed 0.3.3
                                        Adapter "intesishome" : 0.1.2
                                        Adapter "iogo" : 0.4.17
                                        Adapter "iot" : 1.1.8 , installed 1.1.8
                                        Adapter "iqontrol" : 0.2.14
                                        Adapter "javascript" : 4.3.4 , installed 4.3.4
                                        Adapter "jeelink" : 0.1.3
                                        Controller "js-controller" : 2.1.1 , installed 1.5.14 [Updateable]
                                        Adapter "js2fs" : 0.1.5
                                        Adapter "kecontact" : 0.1.0
                                        Adapter "klf200" : 0.9.5
                                        Adapter "km200" : 2.0.3
                                        Adapter "knmi-weather" : 0.1.1
                                        Adapter "knx" : 1.0.36
                                        Adapter "kodi" : 1.0.0
                                        Adapter "kress" : 2.5.5
                                        Adapter "lametric" : 0.0.6
                                        Adapter "landroid" : 1.0.3
                                        Adapter "lcn" : 0.4.2
                                        Adapter "letrika_comgw" : 0.0.4
                                        Adapter "lgtv" : 1.1.0
                                        Adapter "lgtv-rs" : 0.0.4
                                        Adapter "lgtv11" : 1.0.5
                                        Adapter "lifx" : 0.1.0
                                        Adapter "lightify" : 0.2.16
                                        Adapter "link" : 0.4.9
                                        Adapter "linkeddevices" : 1.0.1
                                        Adapter "lovelace" : 0.2.3
                                        Adapter "loxone" : 1.0.0
                                        Adapter "luftdaten" : 0.0.9
                                        Adapter "lupusec" : 1.2.0
                                        Adapter "luxtronik1" : 0.1.0
                                        Adapter "material" : 0.12.1
                                        Adapter "maxcube" : 0.1.2
                                        Adapter "maxcul" : 1.1.2
                                        Adapter "mbus" : 2.0.0
                                        Adapter "mclighting" : 0.0.12
                                        Adapter "megad" : 1.2.1
                                        Adapter "megadd" : 0.2.0
                                        Adapter "megaesp" : 0.1.0
                                        Adapter "mercedesme" : 0.0.16
                                        Adapter "meross" : 1.0.0
                                        Adapter "meteoalarm" : 1.0.8
                                        Adapter "miele" : 0.1.5
                                        Adapter "mihome" : 1.2.8
                                        Adapter "mihome-airpurifier": 0.0.6
                                        Adapter "mihome-lamp" : 1.1.0
                                        Adapter "mihome-plug" : 0.2.0
                                        Adapter "mihome-vacuum" : 1.1.5 , installed 1.1.5
                                        Adapter "miio" : 0.0.13
                                        Adapter "mikrotik" : 1.0.4
                                        Adapter "milight" : 0.3.6
                                        Adapter "milight-smart-light": 0.2.7
                                        Adapter "mobile" : 0.5.0
                                        Adapter "modbus" : 3.0.0
                                        Adapter "moma" : 1.2.3
                                        Adapter "mpd" : 1.0.2
                                        Adapter "mqtt" : 2.1.1
                                        Adapter "mqtt-client" : 1.2.1
                                        Adapter "multicast" : 0.1.1
                                        Adapter "musiccast" : 0.1.2
                                        Adapter "mysensors" : 2.0.0
                                        Adapter "nanoleaf-lightpanels": 0.8.2
                                        Adapter "nello" : 2.0.8
                                        Adapter "netatmo" : 1.3.1
                                        Adapter "nibeuplink" : 0.3.0
                                        Adapter "nina" : 0.0.13
                                        Adapter "node-red" : 1.13.0
                                        Adapter "nuki" : 1.1.2
                                        Adapter "nuki-extended" : 2.0.3
                                        Adapter "nut" : 1.1.3
                                        Adapter "odl" : 1.0.1
                                        Adapter "oilfox" : 1.0.1
                                        Adapter "onkyo" : 2.0.3
                                        Adapter "onvif" : 0.0.2
                                        Adapter "openhab" : 1.1.0
                                        Adapter "opentherm" : 0.1.9
                                        Adapter "openweathermap": 0.1.0
                                        Adapter "opi" : 0.1.1
                                        Adapter "oppoplayer" : 0.2.1
                                        Adapter "owfs" : 0.6.1
                                        Adapter "owntracks" : 0.6.2
                                        Adapter "panasonic-viera": 1.0.2
                                        Adapter "parser" : 1.0.7
                                        Adapter "paw" : 0.3.2
                                        Adapter "phantomjs" : 1.0.1
                                        Adapter "pi-hole" : 1.2.2
                                        Adapter "piface" : 1.0.0
                                        Adapter "pimatic" : 0.1.5
                                        Adapter "ping" : 1.3.2 , installed 1.3.2
                                        Adapter "places" : 0.7.0
                                        Adapter "plex" : 0.8.4
                                        Adapter "plexconnect" : 0.0.7
                                        Adapter "pollenflug" : 1.0.4
                                        Adapter "primelab" : 1.0.2
                                        Adapter "proxmox" : 0.5.1
                                        Adapter "proxy" : 1.1.1 , installed 1.1.1
                                        Adapter "pushbullet" : 0.0.11
                                        Adapter "pushover" : 1.1.1
                                        Adapter "pushsafer" : 0.1.8
                                        Adapter "radar2" : 1.0.9
                                        Adapter "radiohead" : 1.0.2
                                        Adapter "rflink" : 2.0.0 , installed 2.0.0
                                        Adapter "rickshaw" : 1.0.0
                                        Adapter "ring" : 1.0.5
                                        Adapter "roadtraffic" : 0.0.2
                                        Adapter "roomba" : 1.0.7 , installed 1.0.7
                                        Adapter "rpi2" : 1.1.1
                                        Adapter "s7" : 1.1.4
                                        Adapter "samsung" : 0.2.9
                                        Adapter "sayit" : 1.8.2
                                        Adapter "sbfspot" : 2.3.4
                                        Adapter "scenes" : 1.1.0
                                        Adapter "schoolfree" : 0.3.1
                                        Adapter "shelly" : 3.1.1
                                        Adapter "shuttercontrol": 0.4.1
                                        Adapter "sia" : 1.0.3
                                        Adapter "siegenia" : 1.0.0
                                        Adapter "simple-api" : 2.3.2
                                        Adapter "sma-em" : 0.5.6
                                        Adapter "smappee" : 0.2.2
                                        Adapter "smartmeter" : 1.2.2
                                        Adapter "snips" : 1.5.0
                                        Adapter "snmp" : 0.5.0
                                        Adapter "socketio" : 2.1.2 , installed 2.1.2
                                        Adapter "solarlog" : 1.0.0
                                        Adapter "solarwetter" : 1.0.0
                                        Adapter "sonnen" : 1.3.0
                                        Adapter "sonoff" : 2.3.2 , installed 2.3.2
                                        Adapter "sonos" : 2.0.1
                                        Adapter "sonus" : 0.1.1
                                        Adapter "sony-bravia" : 1.0.1
                                        Adapter "sourceanalytix": 0.2.5 , installed 0.2.281
                                        Adapter "spotify-premium": 1.0.0 , installed 1.0.0
                                        Adapter "sql" : 1.9.5
                                        Adapter "squeezebox" : 1.0.0
                                        Adapter "squeezeboxrpc" : 0.8.18
                                        Adapter "starline" : 1.0.0
                                        Adapter "statistics" : 0.2.2
                                        Adapter "stiebel-isg" : 1.4.10
                                        Adapter "stockmarket" : 0.0.2
                                        Adapter "synology" : 0.0.4
                                        Adapter "systeminfo" : 0.3.1
                                        Adapter "tado" : 0.1.3
                                        Adapter "tankerkoenig" : 2.0.6 , installed 2.0.6
                                        Adapter "telegram" : 1.4.3 , installed 1.4.3
                                        Adapter "terminal" : 0.1.2
                                        Adapter "text2command" : 1.3.0
                                        Adapter "tileboard" : 0.1.1
                                        Adapter "tinker" : 0.1.4
                                        Adapter "tino" : 0.1.1
                                        Adapter "tinyrx4" : 0.1.4
                                        Adapter "tr-064" : 0.4.18 , installed 0.4.18
                                        Adapter "tradfri" : 2.4.7
                                        Adapter "tunnelbroker-endpoint-updater": 0.0.1
                                        Adapter "tuya" : 3.0.0
                                        Adapter "tvspielfilm" : 1.0.4
                                        Adapter "unifi" : 0.3.1
                                        Adapter "upnp" : 1.0.14
                                        Adapter "valloxmv" : 1.0.0
                                        Adapter "vcard" : 0.0.9
                                        Adapter "vedirect" : 0.1.0
                                        Adapter "viessmann" : 1.2.3
                                        Adapter "viessmannapi" : 1.3.2
                                        Adapter "virtualpowermeter": 1.0.1
                                        Adapter "vis" : 1.2.2 , installed 1.2.2
                                        Adapter "vis-bars" : 0.1.4
                                        Adapter "vis-canvas-gauges": 0.1.5 , installed 0.1.5
                                        Adapter "vis-colorpicker": 1.1.1
                                        Adapter "vis-fancyswitch": 1.1.0
                                        Adapter "vis-google-fonts": 0.1.0
                                        Adapter "vis-history" : 1.0.0 , installed 1.0.0
                                        Adapter "vis-hqwidgets" : 1.1.3 , installed 1.1.3
                                        Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12
                                        Adapter "vis-justgage" : 1.0.2 , installed 1.0.2
                                        Adapter "vis-keyboard" : 0.0.2
                                        Adapter "vis-lcars" : 1.0.4
                                        Adapter "vis-map" : 1.0.2
                                        Adapter "vis-material" : 0.1.3
                                        Adapter "vis-materialdesign": 0.2.4
                                        Adapter "vis-metro" : 1.1.2
                                        Adapter "vis-players" : 0.1.5
                                        Adapter "vis-plumb" : 1.0.2 , installed 1.0.2
                                        Adapter "vis-rgraph" : 0.0.2
                                        Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7
                                        Adapter "vis-weather" : 2.4.0 , installed 2.4.0
                                        Adapter "vr200" : 1.0.0
                                        Adapter "weatherunderground": 3.1.6
                                        Adapter "web" : 2.4.10 , installed 2.4.10
                                        Adapter "weishaupt-wem" : 0.0.6
                                        Adapter "wetty" : 0.1.1
                                        Adapter "wiffi-wz" : 2.1.4
                                        Adapter "wifilight" : 0.2.0
                                        Adapter "wlanthermo-nano": 0.1.1
                                        Adapter "wm-bus" : 0.3.1
                                        Adapter "wolf" : 0.9.2
                                        Adapter "worx" : 0.4.0
                                        Adapter "xbox" : 0.5.10
                                        Adapter "xs1" : 1.0.2
                                        Adapter "yahka" : 0.9.2
                                        Adapter "yamaha" : 0.3.19
                                        Adapter "yeelight-2" : 1.0.1
                                        Adapter "youtube" : 0.0.2
                                        Adapter "yr" : 2.0.3
                                        Adapter "zigbee" : 0.11.5
                                        Adapter "zoneminder" : 0.3.3
                                        Adapter "zont" : 0.5.3
                                        Adapter "zwave" : 1.7.0
                                        Adapter "zwave2" : 0.2.1

                                        C:\IoB Testsysteme\ioBroker>iobroker upgrade self
                                        Update js-controller from @1.5.14 to @2.1.1
                                        NPM version: 6.9.0
                                        npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "C:/IoB Testsysteme/ioBroker" (System call)
                                        gyp ERR! build error
                                        gyp ERR! stack Error: C:\Program Files\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
                                        gyp ERR! stack at ChildProcess.onExit (C:\IoB Testsysteme\ioBroker\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
                                        gyp ERR! stack at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Windows_NT 10.0.17763
                                        gyp ERR! command "C:\IoB Testsysteme\ioBroker\nodejs\node.exe" "C:\IoB Testsysteme\ioBroker\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
                                        gyp ERR! cwd C:\IoB Testsysteme\ioBroker\node_modules\iobroker.js-controller\node_modules\unix-dgram
                                        gyp ERR! node -v v10.16.3
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok
                                        (node:4652) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                        at handleError (C:\IoB Testsysteme\ioBroker\node_modules\iobroker.js-controller\node_modules\redis-parser\lib\parser.js:190:15)
                                        at parseType (C:\IoB Testsysteme\ioBroker\node_modules\iobroker.js-controller\node_modules\redis-parser\lib\parser.js:304:14)
                                        (node:4652) 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: 1)
                                        (node:4652) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                        (node:4652) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                        at handleError (C:\IoB Testsysteme\ioBroker\node_modules\iobroker.js-controller\node_modules\redis-parser\lib\parser.js:190:15)
                                        at parseType (C:\IoB Testsysteme\ioBroker\node_modules\iobroker.js-controller\node_modules\redis-parser\lib\parser.js:304:14)
                                        (node:4652) 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: 2)
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\iobroker.js-controller\node_modules\fsevents):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 (node_modules\iobroker.js-controller\node_modules\unix-dgram):
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 install: node-gyp rebuild
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                                        Host "iobroker(ioBroker)" (win32) updated
                                        Starting node restart.js

                                        C:\IoB Testsysteme\ioBroker>iobroker start
                                        2019-11-23 14:29:17,410 INFO - Starting the service with id 'iobroker(ioBroker)'

                                        C:\IoB Testsysteme\ioBroker>

                                        Allerdings gibt es auch einige Warn und Error Meldungen die ich nicht recht verstehe. Da es dabei aber um gyp geht, vermute ich mal das dass auch die Ursache dafür ist, das ich CANVAS für den iRobot Adapter nicht installiert bekomme. Wie ich das heilen kann, weiß ich aber nicht.

                                        Ich werde jetzt nochmal einen Versuch unternehmen und den automatischen Install Prozess via WindowsInstaller durchführen - ich melde mich dann nochmal.

                                        1 Reply Last reply Reply Quote 0
                                        • JB_Sullivan
                                          JB_Sullivan @Stabilostick last edited by

                                          @Stabilostick sagte in js-controller 2.0 ab sofort im Latest Repo:

                                          Ich habe gerade eine neue Version (2.1.0.b) des Installers auf der Downloadseite veröffentlicht. Die Version steht im Begrüßungsbild zu Beginn der Installation.

                                          Es wird 2.1.0 stable statt 2.1.0 latest installiert. 😉

                                          Wie lange dauert das üblicher Weise bis das zur Verfügung steht? Habe es eben versucht, aber da wir noch latest (im Dateinamen) herunter geladen .

                                          A 1 Reply Last reply Reply Quote 0
                                          • JB_Sullivan
                                            JB_Sullivan last edited by

                                            So, jetzt war es die passende Version. Aktuell läuft der Adapter Vergleich / Installationsprozess. Hier das LOG File von der ioB Installation - für den Fall das dass für dich von Interesse ist. Auch hier wird ein Fehler von MS Visual Studio angezeigt - das hängt glaube ich auch mit gyp bzw. CANVAS zusammen.


                                            Log started 11/23/2019 at 15:21:46
                                            Preferred installation mode : win32
                                            Trying to init installer in mode win32
                                            Mode win32 successfully initialized
                                            [15:21:47] Instance list: 'ioBroker Prod'
                                            [15:21:47] msiexec.exe version found: 5.0
                                            [15:21:47] Microsft .NET release: 528049
                                            [15:21:47] Git version found: 2.24.0.2
                                            [15:21:47] Bonjour version found: 3.0.0.10
                                            [15:21:47] OpenSSL version found: 1.0.2.17
                                            [15:21:47] VS_BuildTools_2017: vswhere.exe not found
                                            Executing certutil.exe -decode "C:\Users\SmartHome\AppData\Local\Temp\jq.txt" "C:\Users\SmartHome\AppData\Local\Temp\jq.exe"
                                            Script exit code: 0

                                            Script output:
                                            Eingabelänge = 3728172
                                            Ausgabelänge = 2711358
                                            CertUtil: -decode-Befehl wurde erfolgreich ausgeführt.

                                            Script stderr:

                                            iobroker.json
                                            Executing jq.exe type "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json" | find /v /c ""
                                            Script exit code: 0

                                            Script output:
                                            1

                                            Script stderr:

                                            Setting variable multihostService from jq.exe -r .multihostService.enabled "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            false

                                            Script stderr:

                                            Setting variable objectstype from jq.exe -r .objects.type "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            file

                                            Script stderr:

                                            Setting variable statestype from jq.exe -r .states.type "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            file

                                            Script stderr:

                                            objects.json
                                            Executing jq.exe type "C:\IoB Testsysteme\ioBroker\iobroker-data\objects.json" | find /v /c ""
                                            Script exit code: 0

                                            Script output:
                                            1

                                            Script stderr:

                                            states.json
                                            Executing jq.exe type "C:\IoB Testsysteme\ioBroker\iobroker-data\states.json" | find /v /c ""
                                            Script exit code: 0

                                            Script output:
                                            1

                                            Script stderr:

                                            Config
                                            Setting variable mighostname from jq.exe -r ".|with_entries(select(.key|contains("system.host.")))|.[].common.hostname | select(.==null|not)" "C:\IoB Testsysteme\ioBroker\iobroker-data\objects.json"
                                            Script exit code: 0

                                            Script output:
                                            iobroker(ioBroker)

                                            Script stderr:

                                            Setting variable port_admin from jq.exe -r ."system.adapter.admin.0".native.port "C:\IoB Testsysteme\ioBroker\iobroker-data\objects.json"
                                            Script exit code: 0

                                            Script output:
                                            8081

                                            Script stderr:

                                            Setting variable oldnode_version from jq.exe -r ".|with_entries(select(.key|contains("system.host.")))|.[].native.process.versions.node | select(.==null|not)" "C:\IoB Testsysteme\ioBroker\iobroker-data\objects.json"
                                            Script exit code: 0

                                            Script output:
                                            10.16.3

                                            Script stderr:

                                            Setting variable winsw_id from jq.exe -r ".|with_entries(select(.key|contains("system.host.")))|.[].native.process.env.WINSW_SERVICE_ID | select(.==null|not)" "C:\IoB Testsysteme\ioBroker\iobroker-data\objects.json"
                                            Script exit code: 0

                                            Script output:
                                            iobroker(ioBroker)

                                            Script stderr:

                                            Setting variable port_objects from jq.exe -r .objects.port "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            9001

                                            Script stderr:

                                            Setting variable port_states from jq.exe -r .states.port "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            9000

                                            Script stderr:

                                            Bereite die Installation vor
                                            Bereite die Installation vor
                                            Executing powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\IoB Testsysteme\SmartHome'"
                                            Script exit code: 0

                                            Script output:

                                            Script stderr:

                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup
                                            Entpacke Dateien
                                            Verbinden mit Remoteserver
                                            Connecting to remote server
                                            250 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            500 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            750 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            1000 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            1250 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            1251 KB heruntergeladen. Geschwindigkeit: 0 KB/s. Verbleibende Zeit: (warten)
                                            Das Verzeichnis existiert bereits: C:\IoB Testsysteme\SmartHome\setup
                                            Entpacke Dateien
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\python27.exe
                                            Das Verzeichnis existiert bereits: C:\IoB Testsysteme\SmartHome\setup
                                            Entpacke Dateien
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\nodepack.exe
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\nodejs
                                            Entpacke Dateien
                                            Entpacke C:\IoB Testsysteme\SmartHome\nodejs\node.exe
                                            Das Verzeichnis existiert bereits: C:\IoB Testsysteme\SmartHome\setup
                                            Entpacke Dateien
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\iob.exe
                                            Das Verzeichnis existiert bereits: C:\IoB Testsysteme\SmartHome\setup
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\daemon
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\nodejs
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\node_modules
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\node_modules\iobroker.js-controller
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\node_modules\iobroker.js-controller\conf
                                            Erstelle Verzeichnis C:\IoB Testsysteme\SmartHome\setup\patch\setup
                                            Entpacke Dateien
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\setup\subinacl.exe
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\iob.bat
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\iobroker.bat
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\serviceIoBroker.bat
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\daemon\iobroker.xml
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\nodejs\nodevars.bat
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\node_modules\iobroker.js-controller_service_iobroker.bat
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\node_modules\iobroker.js-controller\conf\iobroker-dist.json
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\setup\servicesec.cmd
                                            Entpacke C:\IoB Testsysteme\SmartHome\setup\patch\setup\setupfirst.cmd
                                            Microsoft VisualStudio BuildTools 2017 - Download und Installation von bis zu 1.4GB Daten
                                            Microsoft VisualStudio BuildTools 2017 - Download und Installation von bis zu 1.4GB Daten
                                            Executing cmd.exe /C vs_buildtools.exe --wait --norestart --quiet --cache --includeRecommended --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.NodeBuildTools
                                            Script exit code: 1

                                            Script output:
                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1028\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\2052\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1055\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1046\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1042\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1029\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1036\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\3082\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1040\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1031\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1045\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1033\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1041\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\HelpFile\1049\help.html...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\vs_setup_bootstrapper.exe...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.Diagnostics.Tracing.EventSource.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.RemoteControl.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Setup.Common.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Setup.Configuration.Interop.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Setup.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Setup.Download.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Setup.Engine.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Telemetry.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Microsoft.VisualStudio.Utilities.Internal.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\Newtonsoft.Json.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\zh-Hans\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\zh-Hant\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\es\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\pt-BR\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\cs\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\tr\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\de\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\fr\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\it\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\pl\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\ko\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\ja\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\ru\vs_setup_bootstrapper.resources.dll...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\vs_setup_bootstrapper.config...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\vs_setup_bootstrapper.exe.config...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\detection.json...

                                            Preparing: C:\Users\SMARTH~1\AppData\Local\Temp\f479c7d96fa5d24917cb34f5c9\vs_bootstrapper_d15\vs_setup_bootstrapper.json...

                                            Script stderr:
                                            Program ended with an error exit code

                                            Fehler beim Ausführen cmd.exe /C vs_buildtools.exe --wait --norestart --quiet --cache --includeRecommended --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.NodeBuildTools: Program ended with an error exit code
                                            [15:23:02] VS BuildTools 2017 already installed but wrong version? Doing nothing.
                                            Python 2.7.17
                                            Python 2.7.17
                                            Executing python27.exe -o... -y
                                            Script exit code: 0

                                            Script output:

                                            7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

                                            Extracting archive: C:\IoB Testsysteme\SmartHome\setup\python27.exe

                                            Path = C:\IoB Testsysteme\SmartHome\setup\python27.exe
                                            Type = 7z

                                            0%

                                            20% 131

                                            65% 131

                                            69% 298 - python27\Lib\Cookie.py

                                            69% 473 - python27\Lib\dummy_thread.py

                                            69% 664 - python27\Lib\encodings\utf_32_le.py

                                            69% 833 - python27\Lib\json\tests\test_recursion.py

                                            69% 1014 - python27\Lib\nntplib.py

                                            69% 1207 - python27\Lib\test\decimaltestdata\ddCopy.decTest

                                            69% 1402 - python27\Lib\test\string_tests.py

                                            69% 1603 - python27\Lib\test\test_iterlen.py

                                            69% 1802 - python27\Lib\test\test_wave.py

                                            69% 2002 - python27\tcl\tcl8.5\encoding\iso2022-jp.enc

                                            69% 2165 - python27\tcl\tcl8.5\msgs\vi.msg

                                            69% 2371 - python27\tcl\tcl8.5\tzdata\America\Santa_Isabel

                                            69% 2582 - python27\tcl\tcl8.5\tzdata\Etc\GMT-2

                                            69% 2794 - python27\tcl\tix8.4.3\bitmaps\drop.xbm

                                            69% 3002 - python27\tcl\tix8.4.3\Select.tcl

                                            69% 3163 - python27\tcl\tk8.5\text.tcl

                                            69% 3299 - python27\DLLs\bz2.pyd

                                            Everything is Ok

                                            Script stderr:

                                            Installiere Microsoft Visual C++ 2008 Redistributable
                                            Installiere Microsoft Visual C++ 2008 Redistributable
                                            Executing vcredist_x86.exe /q
                                            Script exit code: 0

                                            Script output:

                                            Script stderr:

                                            Node.js 10.17.0
                                            Node.js 10.17.0
                                            Executing nodepack.exe -o... -y
                                            Script exit code: 0

                                            Script output:

                                            7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

                                            Extracting archive: C:\IoB Testsysteme\SmartHome\setup\nodepack.exe

                                            Path = C:\IoB Testsysteme\SmartHome\setup\nodepack.exe
                                            Type = 7z

                                            0%

                                            0% 468 - nodejs\node_modules\npm\node_modules\mute-stream

                                            0% 727 - nodejs\node_modules\npm\node_modules\socks-proxy-agent\node_modules

                                            64% 910

                                            99% 1024 - nodejs\node_modules\npm\html\doc\cli\npm-dedupe.html

                                            99% 1225 - nodejs\node_modules\npm\lib\stars.js

                                            99% 1423 - nodejs\node_modules\npm\node_modules\ajv\lib\dot\definitions.def

                                            99% 1616 - nodejs\node_modules\npm\node_modules\bcrypt-pbkdf\CONTRIBUTING.md

                                            99% 1812 - nodejs\node_modules\npm\node_modules\co\History.md

                                            99% 2007 - nodejs\node_modules\npm\node_modules\decamelize\license

                                            99% 2188 - nodejs\node_modules\npm\node_modules\es-abstract\package.json

                                            99% 2375 - nodejs\node_modules\npm\node_mo . lib\internal\streams\destroy.js

                                            99% 2573 - nodejs\node_modules\npm\node_m . odules\get-stream\package.json

                                            99% 2774 - nodejs\node_modules\npm\node_mo . -ci\node_modules\ci-info\LICENSE

                                            99% 2963 - nodejs\node_modules\npm\node_mo . ONStream\test\destroy_missing.js

                                            99% 3164 - nodejs\node_modules\npm\node_modules\libnpx\locales\ko.json

                                            99% 3365 - nodejs\node_modules\npm\node_modules\move-concurrently\move.js

                                            99% 3557 - nodejs\node_modules\npm\node_mo . node_modules\resolve.travis.yml

                                            99% 3735 - nodejs\node_modules\npm\node_mo . npropertydescriptors.npmignore

                                            99% 3936 - nodejs\node_modules\npm\node . _modules\retry\test\common.js

                                            99% 4137 - nodejs\node_modules\npm\node_modules\read-package-tree\package.json

                                            99% 4338 - nodejs\node_modules\npm\node_modules\socks-proxy-agent\yarn.lock

                                            99% 4535 - nodejs\node_modules\npm\node_ . odules\ansi-regex\package.json

                                            99% 4734 - nodejs\node_modules\npm\node_mo . que-filename\coverage\index.html

                                            99% 4913 - nodejs\node_modules\npm\node_modules\y18n\package.json

                                            99% 5110 - nodejs\node_modules\npm\test\tap\debug-logs.js

                                            99% 5313 - nodejs\node_modules\npm\test\tap\uninstall-link-clean.js

                                            Everything is Ok

                                            Script stderr:

                                            Konfiguriere Node.js 10.17.0
                                            ioBroker Core Server
                                            ioBroker Core Server
                                            Executing iob.exe -o... -y
                                            Script exit code: 0

                                            Script output:

                                            7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

                                            Extracting archive: C:\IoB Testsysteme\SmartHome\setup\iob.exe

                                            Path = C:\IoB Testsysteme\SmartHome\setup\iob.exe
                                            Type = 7z

                                            0%

                                            0% 406 - env\npm-cache_cacache\content-v2\sha1\df\60

                                            0% 848 - env\npm-cache_cacache\content-v2\sha512\5f

                                            0% 1301 - env\npm-cache_cacache\content-v2\sha512\ca

                                            0% 1737 - env\npm-cache_cacache\index-v5\1b\ed

                                            0% 2145 - env\npm-cache_cacache\index-v5\51\57

                                            0% 2449 - env\npm-cache_cacache\index-v5\7b\25

                                            0% 2870 - env\npm-cache_cacache\index-v5\af\35

                                            0% 3342 - env\npm-cache_cacache\index-v5\ee\47

                                            0% 3771

                                            0% 4299 - node_modules\is-binary-path

                                            0% 4715

                                            0% 5106

                                            20% 5106

                                            28% 5106

                                            48% 5106

                                            64% 5106

                                            68% 5106

                                            75% 5106

                                            99% 5151 - env\npm-cache_cacache\content- . 7ffe05c77e64e7c86e4cd94bf0e1228a

                                            99% 5334 - env\npm-cache_cacache\content- . 168aadc40e57d97e81191ac8f4398b3e

                                            99% 5485 - env\npm-cache_cacache\content- . 547ee26a3d748e9bbb43c9ab3439221

                                            99% 5646 - env\npm-cache_cacache\content- . d4d1fed418ca01e804e3b0d5d8bfd5c

                                            99% 5788 - env\npm-cache_cacache\content- . 837537201445ceb5d8fa4aee0d490f6

                                            99% 5811 - env\npm-cache_cacache\content- . fca689d86be201b858cb770b2d7345d

                                            99% 5969 - env\npm-cache_cacache\content- . e1e93042149152264891e26ce76f8b2

                                            99% 6127 - env\npm-cache_cacache\content- . 1268816e92c18fe0668e38f97729032

                                            99% 6276 - env\npm-cache_cacache\index- . 328f8a971b3e1f2ffb06a00853fa19

                                            99% 6468 - env\npm-cache_cacache\index- . bb550d2ad726b8e9822f1ca03d43ca

                                            99% 6663 - env\npm-cache_cacache\index- . c2ede80d4c125b53e47d094e28ab0a

                                            99% 6853 - env\npm-cache_cacache\index- . ee4937216e574d0c9be964ae91d319

                                            99% 7041 - env\npm-cache_cacache\index- . 1c619f209ce9c788f08b63e968a880

                                            99% 7213 - env\npm-cache_cacache\index- . 7cb564b9f7bd0268d2bbebe3dc8bef

                                            99% 7373 - env\npm-cache_cacache\index- . 6230edf9bb8d009afcd390842d613a

                                            99% 7556 - env\npm-cache_cacache\index- . 83dada091a3da9c1ec1f5d49a51c9c

                                            99% 7728 - env\npm-cache_cacache\index- . 7b8afcd3d470b78c309e98003147f5

                                            99% 7924 - env\npm-cache_cacache\index- . 5fd61e208da290ea03b345e98054fa

                                            99% 8117 - env\npm\node_modules\node-gyp\node_modules\ajv\lib\dotjs\anyOf.js

                                            99% 8315 - env\npm\node_modules\node-gyp\n . les\extsprintf\lib\extsprintf.js

                                            99% 8486 - env\npm\node_modules\node-gyp\node_modules\isstream\package.json

                                            99% 8684 - env\npm\node_modules\node-gyp\node_modules\psl\index.js

                                            99% 8879 - env\npm\node_modules\node-gyp\node_modules\tweetnacl\CHANGELOG.md

                                            99% 9083 - node_modules.bin\sshpk-conv.ps1

                                            99% 9293 - node_modules\ajv\package.json

                                            99% 9513 - node_modules\async\during.js

                                            99% 9728 - node_modules\binary-extensions\index.d.ts

                                            99% 9911 - node_modules\cluster-key-slot\lib\index.js

                                            99% 10126 - node_modules\decache\decache.d.ts

                                            99% 10326 - node_modules\eckles\fixtures\pub-ec-p256.spki.pem

                                            99% 10537 - node_modules\expand-template\test.js

                                            99% 10745 - node_modules\form-data\README.md

                                            99% 10960 - node_modules\has-binary\README.md

                                            99% 11162 - node_modules\iobroker.admin\www\lib\css\fancytree\device.png

                                            99% 11320 - node_modules\iobroker.discovery\lib\adapters\rflink.js

                                            99% 11511 - node_modules\iobroker.info\docs\es\img\githubButtons.png

                                            99% 11700 - node_modules\iobroker.info\docs\ru\img\addNewIssue.png

                                            99% 11777 - node_modules\iobroker.info\widgets\info.html

                                            99% 11972 - node_modules\iobroker.js-con . .io\lib\transports\polling.js

                                            99% 12162 - node_modules\iobroker.js-contro . _modules\yargs\lib\validation.js

                                            99% 12350 - node_modules\is-nan\README.md

                                            99% 12527 - node_modules\jszip\lib\signature.js

                                            99% 12717 - node_modules\le-store-certbot\LICENSE

                                            99% 12933 - node_modules\lodash\fp\curryRightN.js

                                            99% 13148 - node_modules\lodash\fp\propOr.js

                                            99% 13346 - node_modules\lodash\isRegExp.js

                                            99% 13520 - node_modules\lodash\valueOf.js

                                            99% 13739 - node_modules\lodash_Hash.js

                                            99% 13959 - node_modules\mime-db\HISTORY.md

                                            99% 14168 - node_modules\moment\locale\nl.js

                                            99% 14370 - node_modules\moment\src\locale\gd.js

                                            99% 14580 - node_modules\node-forge\lib\form.js

                                            99% 14787 - node_modules\object-hash\test\writeToStream.js

                                            99% 14926 - node_modules\passport-local\lib\strategy.js

                                            99% 15123 - node_modules\prompt-checkbox\LICENSE

                                            99% 15326 - node_modules\qs\lib\index.js

                                            99% 15536 - node_modules\require-directory.travis.yml

                                            99% 15744 - node_modules\serialport\node_modules\debug\node.js

                                            99% 15949 - node_modules\source-map\dist\source-map.min.js

                                            99% 16157 - node_modules\tar-fs\test\fixtures\a\hello.txt

                                            99% 16325 - node_modules\unpipe\README.md

                                            99% 16536 - node_modules\window-size\utils.js

                                            99% 16728 - node_modules\yargs-parser\index.js

                                            Everything is Ok

                                            Script stderr:

                                            Setting ioBroker language
                                            Language de
                                            [15:23:33] Installer Sprachcode: de
                                            ioBroker Sprache gesetzt auf: de
                                            ioBroker Währung gesetzt auf: €
                                            Datenbankinstallation und Erstkonfiguration
                                            Datenbankinstallation und Erstkonfiguration
                                            Executing cmd.exe /C setup\setupfirst.cmd
                                            Script exit code: 0

                                            Script output:
                                            *** ioBroker bootstrap setup ***
                                            *** Version: 2.1.0.b
                                            *** Installdate: 23.11.2019 15:23:33.98

                                            ** Firewall rules
                                            ** There is no problem if the following commands generate errors.
                                            ** Now errors are relevant
                                            OK.

                                            OK.

                                            OK.

                                            OK.

                                            ** iobroker first init
                                            ** set admin port
                                            New port for "admin.0" is: 8081
                                            Instance settings for "admin.0" are changed.
                                            ** install service
                                            2019-11-23 15:24:30,353 INFO - Installing the service with id 'iobroker(SmartHome)'
                                            Errorlevel: 0

                                            Script stderr:

                                            Service Sicherheit
                                            Executing sc.exe config iobroker(SmartHome) obj= "NT SERVICE\iobroker(SmartHome)"
                                            Script exit code: 0

                                            Script output:
                                            [SC] ChangeServiceConfig ERFOLG

                                            Script stderr:

                                            Registrierung ioBroker Service
                                            Executing iobroker.exe test
                                            Script exit code: 0

                                            Script output:
                                            2019-11-23 15:24:31,529 INFO - Starting "C:\IoB Testsysteme\SmartHome\nodejs\node.exe" "C:\IoB Testsysteme\SmartHome\node_modules\iobroker.js-controller\controller.js"
                                            2019-11-23 15:24:31,546 INFO - Started process 6012
                                            2019-11-23 15:24:32,577 INFO - Stopping iobroker(SmartHome)
                                            2019-11-23 15:24:32,577 INFO - Stopping process 6012
                                            2019-11-23 15:24:32,577 INFO - Send SIGINT 6012
                                            2019-11-23 15:24:34,838 INFO - SIGINT to 6012 successful
                                            2019-11-23 15:24:34,870 INFO - Finished iobroker(SmartHome)

                                            Script stderr:

                                            Dateisystem Sicherheit
                                            Dateisystem Sicherheit
                                            Executing cmd.exe /C servicesec.cmd
                                            Script exit code: 0

                                            Script output:
                                            [SC] ChangeServiceConfig ERFOLG
                                            i o b r o k e r ( S m a r t H o m e ) : n e w a c e f o r n t s e r v i c e \ i o b r o k e r ( s m a r t h o m e )

                                            i o b r o k e r ( S m a r t H o m e ) : 1 c h a n g e ( s )

                                            Script stderr:

                                            Starten des Dienstes
                                            Executing iobroker.exe start
                                            Script exit code: 0

                                            Script output:
                                            2019-11-23 15:24:41,466 INFO - Starting the service with id 'iobroker(SmartHome)'

                                            Script stderr:

                                            Warte auf Webadmin
                                            Löschen temporärer Dateien
                                            Löschen temporärer Dateien
                                            Löschen temporärer Dateien
                                            Stopping ioBroker service
                                            Executing iobroker.exe stop
                                            Script exit code: 0

                                            Script output:
                                            2019-11-23 15:24:43,854 INFO - Stopping the service with id 'iobroker(SmartHome)'

                                            Script stderr:

                                            Waiting for service to exit
                                            Deleting iobroker-data
                                            Copying new iobroker-data
                                            Setting variable iobrokerjson_new from jq.exe .states.port=9000 "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            {
                                            "system": {
                                            "memoryLimitMB": 0,
                                            "hostname": "iobroker(ioBroker)",
                                            "statisticsInterval": 15000,
                                            "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated"
                                            },
                                            "multihostService": {
                                            "enabled": false,
                                            "secure": true
                                            },
                                            "network": {
                                            "IPv4": true,
                                            "IPv6": true,
                                            "bindAddress": null
                                            },
                                            "objects": {
                                            "type": "file",
                                            "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                            "host": "127.0.0.1",
                                            "port": 9001,
                                            "user": "",
                                            "pass": "",
                                            "noFileCache": false,
                                            "connectTimeout": 2000,
                                            "backup": {
                                            "disabled": false,
                                            "files": 24,
                                            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                            "hours": 48,
                                            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                            "period": 120,
                                            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                            "path": "",
                                            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                            },
                                            "options": {
                                            "auth_pass": null,
                                            "retry_max_delay": 5000
                                            }
                                            },
                                            "states": {
                                            "type": "file",
                                            "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                            "host": "127.0.0.1",
                                            "port": 9000,
                                            "maxQueue": 1000,
                                            "options": {
                                            "auth_pass": null,
                                            "retry_max_delay": 5000
                                            },
                                            "backup": {
                                            "disabled": false,
                                            "files": 24,
                                            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                            "hours": 48,
                                            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                            "period": 120,
                                            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                            "path": "",
                                            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                            }
                                            },
                                            "log": {
                                            "level": "info",
                                            "maxDays": 7,
                                            "noStdout": true,
                                            "transport": {
                                            "file1": {
                                            "type": "file",
                                            "enabled": true,
                                            "filename": "log/iobroker",
                                            "fileext": ".log",
                                            "maxsize": null,
                                            "maxFiles": null
                                            },
                                            "syslog1": {
                                            "type": "syslog",
                                            "enabled": false,
                                            "host": "localhost",
                                            "host_comment": "The host running syslogd, defaults to localhost.",
                                            "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                            "protocol": "udp4",
                                            "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                            "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                            "facility_comment": "Syslog facility to use (Default: local0).",
                                            "localhost": "iobroker",
                                            "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                            "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                            "app_name_comment": "The name of the application (Default: process.title).",
                                            "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                            }
                                            }
                                            },
                                            "dataDirComment": "Always relative to iobroker.js-controller/",
                                            "dataDir": "../../iobroker-data/"
                                            }

                                            Script stderr:

                                            Setting variable iobrokerjson_new from jq.exe .objects.port=9001 "C:\IoB Testsysteme\ioBroker\iobroker-data\iobroker.json"
                                            Script exit code: 0

                                            Script output:
                                            {
                                            "system": {
                                            "memoryLimitMB": 0,
                                            "hostname": "iobroker(ioBroker)",
                                            "statisticsInterval": 15000,
                                            "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated"
                                            },
                                            "multihostService": {
                                            "enabled": false,
                                            "secure": true
                                            },
                                            "network": {
                                            "IPv4": true,
                                            "IPv6": true,
                                            "bindAddress": null
                                            },
                                            "objects": {
                                            "type": "file",
                                            "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                            "host": "127.0.0.1",
                                            "port": 9001,
                                            "user": "",
                                            "pass": "",
                                            "noFileCache": false,
                                            "connectTimeout": 2000,
                                            "backup": {
                                            "disabled": false,
                                            "files": 24,
                                            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                            "hours": 48,
                                            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                            "period": 120,
                                            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                            "path": "",
                                            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                            },
                                            "options": {
                                            "auth_pass": null,
                                            "retry_max_delay": 5000
                                            }
                                            },
                                            "states": {
                                            "type": "file",
                                            "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                            "host": "127.0.0.1",
                                            "port": 9000,
                                            "maxQueue": 1000,
                                            "options": {
                                            "auth_pass": null,
                                            "retry_max_delay": 5000
                                            },
                                            "backup": {
                                            "disabled": false,
                                            "files": 24,
                                            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                            "hours": 48,
                                            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                            "period": 120,
                                            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                            "path": "",
                                            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                            }
                                            },
                                            "log": {
                                            "level": "info",
                                            "maxDays": 7,
                                            "noStdout": true,
                                            "transport": {
                                            "file1": {
                                            "type": "file",
                                            "enabled": true,
                                            "filename": "log/iobroker",
                                            "fileext": ".log",
                                            "maxsize": null,
                                            "maxFiles": null
                                            },
                                            "syslog1": {
                                            "type": "syslog",
                                            "enabled": false,
                                            "host": "localhost",
                                            "host_comment": "The host running syslogd, defaults to localhost.",
                                            "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                            "protocol": "udp4",
                                            "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                            "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                            "facility_comment": "Syslog facility to use (Default: local0).",
                                            "localhost": "iobroker",
                                            "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                            "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                            "app_name_comment": "The name of the application (Default: process.title).",
                                            "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                            }
                                            }
                                            },
                                            "dataDirComment": "Always relative to iobroker.js-controller/",
                                            "dataDir": "../../iobroker-data/"
                                            }

                                            Script stderr:

                                            Change settings
                                            Executing cmd.exe /c migrate.cmd
                                            Script exit code: 0

                                            Script output:

                                            Script stderr:

                                            Starten des Dienstes
                                            Executing iobroker.exe start
                                            Script exit code: 0

                                            Script output:
                                            2019-11-23 15:26:49,596 INFO - Starting the service with id 'iobroker(SmartHome)'

                                            Script stderr:

                                            Warte auf Webadmin
                                            Löschen temporärer Dateien
                                            Löschen temporärer Dateien
                                            Löschen temporärer Dateien
                                            Installation beendet
                                            Log finished 11/23/2019 at 15:26:54
                                            Launching http://localhost:8081

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            983
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            89
                                            1052
                                            270789
                                            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