Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test js-controller v2.0.x (GitHub)

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

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

Scheduled Pinned Locked Moved Tester
js-controller
1.0k Posts 48 Posters 323.2k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • apollon77A apollon77

    @darkiop Danke. Mach langsam. Ich erstmal Kino ;-)

    D Offline
    D Offline
    darkiop
    Most Active
    wrote on last edited by
    #448

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

    Danke. Mach langsam. Ich erstmal Kino

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

    Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

    1 Reply Last reply
    0
    • D Offline
      D Offline
      darkiop
      Most Active
      wrote on last edited by
      #449

      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
      

      Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

      1 Reply Last reply
      0
      • R Online
        R Online
        Ritter
        wrote on last edited by
        #450

        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

        sigi234S 1 Reply Last reply
        0
        • R Ritter

          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

          sigi234S Online
          sigi234S Online
          sigi234
          Forum Testing Most Active
          wrote on last edited by sigi234
          #451

          @Ritter

          bist du in der Konsole?

          Screenshot (159).png

          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Immer Daten sichern!

          1 Reply Last reply
          0
          • R Online
            R Online
            Ritter
            wrote on last edited by
            #452

            also cmd eingegeben und als administrator ausführen

            sigi234S 1 Reply Last reply
            0
            • R Ritter

              also cmd eingegeben und als administrator ausführen

              sigi234S Online
              sigi234S Online
              sigi234
              Forum Testing Most Active
              wrote on last edited by
              #453

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

              also cmd eingegeben und als administrator ausführen

              Ja, iob vorher stoppen!

              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Immer Daten sichern!

              1 Reply Last reply
              0
              • R Online
                R Online
                Ritter
                wrote on last edited by
                #454

                hab ich über Dienste

                sigi234S 1 Reply Last reply
                0
                • R Ritter

                  hab ich über Dienste

                  sigi234S Online
                  sigi234S Online
                  sigi234
                  Forum Testing Most Active
                  wrote on last edited by
                  #455

                  @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

                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Immer Daten sichern!

                  1 Reply Last reply
                  0
                  • R Online
                    R Online
                    Ritter
                    wrote on last edited by
                    #456

                    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>

                    sigi234S 1 Reply Last reply
                    0
                    • R Ritter

                      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>

                      sigi234S Online
                      sigi234S Online
                      sigi234
                      Forum Testing Most Active
                      wrote on last edited by sigi234
                      #457

                      @Ritter

                      Was kommt bei:

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

                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Immer Daten sichern!

                      1 Reply Last reply
                      0
                      • R Online
                        R Online
                        Ritter
                        wrote on last edited by
                        #458

                        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

                        sigi234S 1 Reply Last reply
                        0
                        • R Ritter

                          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

                          sigi234S Online
                          sigi234S Online
                          sigi234
                          Forum Testing Most Active
                          wrote on last edited by sigi234
                          #459

                          @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:

                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Immer Daten sichern!

                          1 Reply Last reply
                          0
                          • R Online
                            R Online
                            Ritter
                            wrote on last edited by
                            #460

                            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.

                            sigi234S 1 Reply Last reply
                            0
                            • R Ritter

                              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.

                              sigi234S Online
                              sigi234S Online
                              sigi234
                              Forum Testing Most Active
                              wrote on last edited by sigi234
                              #461

                              @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!

                              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Immer Daten sichern!

                              1 Reply Last reply
                              0
                              • R Online
                                R Online
                                Ritter
                                wrote on last edited by
                                #462

                                Ich habe den kompletten Ordner gesichert mit backitup

                                sigi234S 1 Reply Last reply
                                0
                                • lobomauL Offline
                                  lobomauL Offline
                                  lobomau
                                  wrote on last edited by
                                  #463

                                  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 $
                                  
                                  

                                  Host: NUC8i3 mit Proxmox:

                                  • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                                  • Slave: Pi4
                                  sigi234S apollon77A 2 Replies Last reply
                                  0
                                  • R Ritter

                                    Ich habe den kompletten Ordner gesichert mit backitup

                                    sigi234S Online
                                    sigi234S Online
                                    sigi234
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #464

                                    @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.

                                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                    Immer Daten sichern!

                                    R 1 Reply Last reply
                                    0
                                    • lobomauL lobomau

                                      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 $
                                      
                                      
                                      sigi234S Online
                                      sigi234S Online
                                      sigi234
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #465

                                      @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?

                                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Immer Daten sichern!

                                      lobomauL 1 Reply Last reply
                                      0
                                      • sigi234S sigi234

                                        @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?

                                        lobomauL Offline
                                        lobomauL Offline
                                        lobomau
                                        wrote on last edited by
                                        #466

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

                                        Host: NUC8i3 mit Proxmox:

                                        • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                                        • Slave: Pi4
                                        sigi234S 1 Reply Last reply
                                        0
                                        • lobomauL lobomau

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

                                          sigi234S Online
                                          sigi234S Online
                                          sigi234
                                          Forum Testing Most Active
                                          wrote on last edited by sigi234
                                          #467

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

                                          Master hätte ich als letztes probiert.

                                          Richtig so.

                                          E404
                                          Hast du eine Internetverbindung?

                                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Immer Daten sichern!

                                          lobomauL 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          606

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe