Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

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

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

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

        Hallo,

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

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

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

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

          @Ritter

          bist du in der Konsole?

          Screenshot (159).png

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

            also cmd eingegeben und als administrator ausführen

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

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

              also cmd eingegeben und als administrator ausführen

              Ja, iob vorher stoppen!

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

                hab ich über Dienste

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

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

                  hab ich über Dienste

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

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

                    Windows Powershell?

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

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

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

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

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

                      @Ritter

                      Was kommt bei:

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

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

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

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

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

                        Ist unter Windows installiert. nodejs 10.16.0

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

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

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

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

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

                          Ist unter Windows installiert. nodejs 10.16.0

                          Nein , da kann es nicht gehen.

                          Installiert,
                          Wann:
                          Wo:
                          Wie:

                          Backup vorhanden:

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

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

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

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

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

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

                              @Ritter

                              Edit:

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

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

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

                                Ich habe den kompletten Ordner gesichert mit backitup

                                sigi234 1 Reply Last reply Reply Quote 0
                                • lobomau
                                  lobomau last edited by

                                  Nachdem das Update beim Pi3 geklappt hatte, wurde ich mutiger und habe den nächsten slave ausprobiert, einen Pi1. Geht das überhaupt? Ist jetzt leider alles durcheinander. Wahrscheinlich liegt der Fehler schon beim Versuch nodejs auf 10.x zu bringen.
                                  node -v sagt 6.x
                                  nodejs -v sagt 8.x.
                                  Leider geht die Deinstallation von node nicht, weil es angeblich gar nicht installiert ist.
                                  Die folgenden Fehler kommen nach der Installation vom js-controller (der scheinbar nicht geklappt hat)

                                  pi@raspberrypi:~ $ sudo iobroker status
                                  module.js:471
                                      throw err;
                                      ^
                                  
                                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob      roker.js'
                                      at Function.Module._resolveFilename (module.js:469:15)
                                      at Function.Module._load (module.js:417:25)
                                      at Module.runMain (module.js:604:10)
                                      at run (bootstrap_node.js:383:7)
                                      at startup (bootstrap_node.js:149:9)
                                      at bootstrap_node.js:496:3
                                  pi@raspberrypi:~ $ cd /opt/iobroker
                                  pi@raspberrypi:/opt/iobroker $ node -v
                                  v6.12.0
                                  pi@raspberrypi:/opt/iobroker $ nodejs -v
                                  v8.11.1
                                  pi@raspberrypi:/opt/iobroker $ sudo iobroker stop
                                  pi@raspberrypi:/opt/iobroker $ sudo curl -sL https://iobroker.net/fix.sh | bash       -
                                  ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                  pi@raspberrypi:/opt/iobroker $ sudo npm install ioBroker/ioBroker.js-controller
                                  npm ERR! code 128
                                  npm ERR! Command failed: git clone --mirror -q git://github.com/ioBroker/ioBroke      r.js-controller.git /root/.npm/_cacache/tmp/git-clone-784397c1/.git
                                  npm ERR! fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-c      lone-784397c1/.git' nicht erstellen.
                                  npm ERR!
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2019-10-02T20_33_07_148Z-debug.log
                                  pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install ioBroker.js-contr      oller
                                  npm ERR! code E404
                                  npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller -       Not found
                                  npm ERR! 404
                                  npm ERR! 404  'ioBroker.js-controller@latest' is not in the npm registry.
                                  npm ERR! 404 Your package name is not valid, because
                                  npm ERR! 404  1. name can no longer contain capital letters
                                  npm ERR! 404
                                  npm ERR! 404 Note that you can also install from a
                                  npm ERR! 404 tarball, folder, http url, or git url.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2019-10-02T20_37_25_872Z-debug.log
                                  pi@raspberrypi:/opt/iobroker $
                                  
                                  
                                  sigi234 apollon77 2 Replies Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @Ritter last edited by

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

                                    Ich habe den kompletten Ordner gesichert mit backitup

                                    Dann probiere den Windows-Installer mit Migration.

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

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

                                      Nachdem das Update beim Pi3 geklappt hatte, wurde ich mutiger und habe den nächsten slave ausprobiert

                                      Der Pi3 ist der Master?

                                      lobomau 1 Reply Last reply Reply Quote 0
                                      • lobomau
                                        lobomau @sigi234 last edited by

                                        @sigi234 nein, auch ein slave. Master hätte ich als letztes probiert.

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

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

                                          Master hätte ich als letztes probiert.

                                          Richtig so.

                                          E404
                                          Hast du eine Internetverbindung?

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

                                            @sigi234 Wo gibts den mit Migration, der verlinkte installiert doch nur iobroker ein zweitesmal oder?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            392
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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