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.
    • 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
                                          • sigi234
                                            sigi234 Forum Testing Most Active @Ritter last edited by sigi234

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

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

                                            wenn du das Setup ausführst kannst du auswählen!

                                            sigi234 R 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            420
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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