Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta-Test js-controller 2.2.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

    Beta-Test js-controller 2.2.x GitHub

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

      @crunchip

      Versuche es mal mit sudo:

      sudo -H -u iobroker npm install iobroker.js-controller
      
      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @darkiop last edited by crunchip

        @darkiop habe noch nie ein sudo verwendet🤔
        aber es tut sich was👍

        > iobroker.js-controller@2.1.1 preinstall /opt/iobroker/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.11.3
        
        > iobroker.js-controller@2.1.1 install /opt/iobroker/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        41 file(s) successfully synchronized with ioBroker storage.
        Please DO NOT copy files manually into ioBroker storage directories!
        
        The following notifications happened during sync:
        - Added 40 Files in Directory "daswetter.admin"
        - Ignoring Directory "icons-material-svg" because officially not created as meta object. Plea                       se remove directory!
        - Ignoring Directory "icons-material-svg.admin" because officially not created as meta object                       . Please remove directory!
        - Ignoring Directory "icons-mfd-svg" because officially not created as meta object. Please re                       move directory!
        - Ignoring Directory "icons-mfd-svg.admin" because officially not created as meta object. Ple                       ase remove directory!
        - Ignoring Directory "iobroker.admin.admin" because officially not created as meta object. Pl                       ease remove directory!
        - Ignoring Directory "iobroker.discovery.admin" because officially not created as meta object                       . Please remove directory!
        - Ignoring Directory "multicast.admin" because officially not created as meta object. Please                        remove directory!
        - Ignoring Directory "sayit.0" because officially not created as meta object. Please remove d                       irectory!
        - Added 1 Files in Directory "vis.0"
        
        npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must instal                       l peer dependencies yourself.
        npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must in                       stall peer dependencies yourself.
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted                        {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/os                       x-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor                       @1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        
        + iobroker.js-controller@2.1.1
        updated 8 packages in 71.234s
        
        

        was mir aber nichts nützt, immer noch 2.1.1

        Homer.J. 1 Reply Last reply Reply Quote 0
        • Homer.J.
          Homer.J. @crunchip last edited by

          @crunchip wollte bei mir auch nicht, so ging es.

          cd /opt/iobroker
          iobroker stop
          iobroker update
          npm install ioBroker/ioBroker.js-controller

          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Homer.J. last edited by

            @Homer-J auch das funktioniert nicht

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

              @crunchip wird immer besser

              root@IoBroker:~# sudo -H -u iobroker npm install iobroker.js-controller
              Error: EACCES: permission denied, scandir '/root'
              TypeError: Cannot read property 'get' of undefined
                  at errorMessage (/usr/lib/node_modules/npm/lib/utils/error-message.js:38:39)
                  at errorHandler (/usr/lib/node_modules/npm/lib/utils/error-handler.js:201:13)
                  at /usr/lib/node_modules/npm/bin/npm-cli.js:78:20
                  at cb (/usr/lib/node_modules/npm/lib/npm.js:225:22)
                  at /usr/lib/node_modules/npm/lib/npm.js:263:24
                  at /usr/lib/node_modules/npm/lib/config/core.js:81:7
                  at Array.forEach (<anonymous>)
                  at /usr/lib/node_modules/npm/lib/config/core.js:80:13
                  at f (/usr/lib/node_modules/npm/node_modules/once/once.js:25:25)
                  at /usr/lib/node_modules/npm/lib/config/core.js:110:20
              TypeError: Cannot read property 'loaded' of undefined
                  at exit (/usr/lib/node_modules/npm/lib/utils/error-handler.js:97:27)
                  at process.errorHandler (/usr/lib/node_modules/npm/lib/utils/error-handler.js:216:3)
                  at process.emit (events.js:198:13)
                  at emitPromiseRejectionWarnings (internal/process/promises.js:140:18)
                  at process._tickCallback (internal/process/next_tick.js:69:34)
              /usr/lib/node_modules/npm/lib/utils/error-handler.js:97
                var doExit = npm.config.loaded ? npm.config.get('_exit') : true
                                        ^
              
              TypeError: Cannot read property 'loaded' of undefined
                  at exit (/usr/lib/node_modules/npm/lib/utils/error-handler.js:97:27)
                  at process.errorHandler (/usr/lib/node_modules/npm/lib/utils/error-handler.js:216:3)
                  at process.emit (events.js:198:13)
                  at process._fatalException (internal/bootstrap/node.js:497:27)
              
              
              Neuschwansteini 1 Reply Last reply Reply Quote 0
              • Neuschwansteini
                Neuschwansteini @crunchip last edited by

                @crunchip du bist im falschen Verzeichnis, führ das mal in /opt/iobroker aus... 🙂

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Neuschwansteini last edited by

                  @ilovegym ja, ich war schon im richtigen Verzeichnis, hatte aber putty geschlossen, da es ja stehn bleibt und nicht weiterläuft, siehe ⬇ ,

                  @crunchip sagte in Beta-Test js-controller 2.2.x GitHub:

                  ich bekomm´s immer noch nicht gebacken, den Js-controller zu installieren

                  root@IoBroker:~# cd /opt/iobroker
                  root@IoBroker:/opt/iobroker# iobroker stop
                  root@IoBroker:/opt/iobroker# npm install ioBroker/ioBroker.js-controller
                  [..................] / rollbackFailedOptional: verb npm-session cfd65c7e37e779d
                  
                  
                  

                  hatte nach erneutem öffnen von Putty, vergessen ins Verzeichnis zu wechseln. So der so, es geht weder mit/ohne sudo auch ein iobroker upload hilft nicht

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

                    @crunchip
                    Befehl mit sudo gibt mir die 2.1.1, habs mal mit direkteingabe 2.2.4 probiert---No matching found und der übliche Befehl
                    npm install ioBroker/ioBroker.js-controller
                    bleibt stehn, siehe
                    @apollon77 hast du eine Idee?

                    root@IoBroker:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller
                    
                    > iobroker.js-controller@2.1.1 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.11.3
                    
                    > iobroker.js-controller@2.1.1 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                    
                    The following notifications happened during sync:
                    - Ignoring Directory "icons-material-svg" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "icons-material-svg.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "icons-mfd-svg" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "icons-mfd-svg.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "iobroker.admin.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "iobroker.discovery.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "multicast.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "sayit.0" because officially not created as meta object. Please remove directory!
                    
                    npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
                    npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    
                    + iobroker.js-controller@2.1.1
                    updated 1 package in 70.729s
                    root@IoBroker:/opt/iobroker# npm install iobroker.js-controller@2.2.4
                    npm ERR! code ETARGET
                    npm ERR! notarget No matching version found for iobroker.js-controller@2.2.4.
                    npm ERR! notarget In most cases you or one of your dependencies are requesting
                    npm ERR! notarget a package version that doesn't exist.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2019-12-30T15_58_00_588Z-debug.log
                    root@IoBroker:/opt/iobroker# npm install ioBroker/ioBroker.js-controller
                    [..................] / rollbackFailedOptional: verb npm-session f2424b93be34e960
                    
                    
                    Homer.J. 1 Reply Last reply Reply Quote 0
                    • Homer.J.
                      Homer.J. @crunchip last edited by Homer.J.

                      @crunchip hab es eben nochmal bei mir durchlaufen lassen, kurz warten und es läuft.

                      cd /opt/iobroker
                      iobroker stop
                      apt update
                      apt upgrade
                      npm install ioBroker/ioBroker.js-controller

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

                        @apollon77 Ich wollte eben mit bei ein paar Objekten aufräumen für welche Daten noch in die Maria DB über sql.0 geschrieben werden. Das Abstellen funktioniert aktuell aber nicht - habe es auch mit einen neuem Objekt (Typ Zahl) nachgestellt (SQL Historie aktiviert und versucht wieder zu deaktivieren) - du hattest zun Beginn des Tests von 2.2.x gesagt hier könnte etwas im argen liegen.

                        Gruß

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

                          @darkiop ok. Checke

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

                            @apollon77 Noch zur Info:

                            warn: sql.0 (1282) Cannot get index of "javascript.0.Test-Number": id not found
                            

                            Das war der Test DP, in der Datenbank gibt es ihn nicht mehr - im Admin wird er aber noch als aktiv angezeigt und sobald man in die Einstellungen für den DP geht kommt das Log.

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

                              @darkiop hm ... naja dann wird das der Grund sein sql spezifisch. Hat dann nix mit dem Controller zu tun. Leg dazu bitte mal sql issue an.

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

                                @apollon77

                                https://github.com/ioBroker/ioBroker.sql/issues/92

                                Ich geh später nochmal auf 2.1 zurück und teste es da nochmal. Bin mir nicht sicher, aber ich meine vor 2-3 Wochen einen DP deaktiviert zu haben.

                                darkiop created this issue in ioBroker/ioBroker.sql

                                closed Beim deaktivieren vom SQL Logging: Cannot get index of ... #92

                                1 Reply Last reply Reply Quote 1
                                • simatec
                                  simatec Developer Most Active @Einstein67 last edited by

                                  @Einstein67 sagte in Beta-Test js-controller 2.2.x GitHub:

                                  @apollon77

                                  Die Logs sehen nicht so schlecht aus. Allerdings ist, im Vergleich zu den Logs von vor 2 Tagen, nun auch eine Fehlermeldung vorhanden: "ERROR: No packet manager found"

                                  Web-GUI - Entfernen einer Instanz

                                  $ ./iobroker del info.0
                                  Delete adapter "info.0"
                                  host.iob10b Counted 1 instances of info.0
                                  host.iob10b Counted 1 devices of info.0
                                  host.iob10b Counted 58 channels of info.0
                                  ERROR: No packet manager found
                                  host.iob10b Counted 294 states of info.0
                                  host.iob10b Counted 14 states of system.adapter.info.0
                                  host.iob10b Deleting 368 object(s).
                                  host.iob10b: Only 200 objects left to be deleted.
                                  process exited with code 0
                                  

                                  Web-GUI - Adapter löschen

                                  $ ./iobroker del info
                                  Delete adapter "info"
                                  host.iob10b Counted 1 instances of info
                                  host.iob10b Counted 1 adapter for info
                                  ERROR: No packet manager found
                                  host.iob10b Deleting 2 object(s).
                                  npm uninstall iobroker.info --silent --save --prefix "/opt/iobroker" (System call)
                                  process exited with code 0
                                  

                                  Danach öffnet sich in beiden Fällen die AdapterKonfiguration ....

                                  Was mir noch aufgefallen ist: Das entfernen von Adaptern/Instanzen funktioniert mittels Konsole auch nur dann, wenn ioBroker vorher gestoppt wurde!

                                  Konsole - ioBroker läuft. Instanz wird nicht gelöscht (nach starten ist nach einiger Zeit der Adapter auch wieder da)

                                  iobroker@iob10b:~$ iobroker del info
                                  Delete adapter "info"
                                  host.iob10b Counted 1 instances of info
                                  host.iob10b Counted 1 adapter for info
                                  host.iob10b Counted 1 devices of info
                                  host.iob10b Counted 58 channels of info
                                  host.iob10b Counted 294 states of info
                                  host.iob10b Counted 14 states of system.adapter.info
                                  host.iob10b Deleting 369 object(s).
                                  No packet manager found
                                  host.iob10b: Only 200 objects left to be deleted.
                                  npm uninstall iobroker.info --silent --save --prefix "/opt/iobroker" (System call)
                                  

                                  Konsole - ioBroker gestoppt und trotz der Fehlermeldung am Ende, wird die Instanz und der Adapter entfernt.

                                  iobroker@iob10b:~$ iobroker stop
                                  iobroker@iob10b:~$ iobroker del info
                                  Delete adapter "info"
                                  host.iob10b Counted 1 instances of info
                                  host.iob10b Counted 1 adapter for info
                                  host.iob10b Counted 1 devices of info
                                  host.iob10b Counted 58 channels of info
                                  host.iob10b Counted 294 states of info
                                  host.iob10b Counted 14 states of system.adapter.info
                                  No packet manager found
                                  host.iob10b Deleting 369 object(s).
                                  host.iob10b: Only 200 objects left to be deleted.
                                  npm uninstall iobroker.info --silent --save --prefix "/opt/iobroker" (System call)
                                   Cannot write files: /opt/iobroker/iobroker-data/files/info.admin/_data.json: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/files/info.admin/_data.json'
                                  

                                  Kann ich ebenfalls so bestätigen ...

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

                                    So, ich denke ich hab das Problem mit dem Adapter löschen gefunden. Eine Sache ist noch offen die ich mit Bluefox klären muss - es ist noch was mit den History/Custom-Einstellungen im Argen.

                                    Eine 2.2.5 vllt morgen oder Neujahr dann :-))

                                    Neuschwansteini 1 Reply Last reply Reply Quote 1
                                    • twonky
                                      twonky last edited by

                                      Die Reconnect Probleme im Multihost ist mit der Version 2.2.4 behoben.

                                      Ich habe master auf 2.1.1 und slave auf 2.2.4. Wenn der master neustartet verbinden sie die slaves nun wieder korrekt.

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • twonky
                                        twonky last edited by

                                        Mir ist noch ein Problem aufgefallen:

                                        Ich habe 2 Systeme im Multihost, master auf 2.1.1 gelassen und slave von 2.1.1 auf 2.2.4 aktualisiert. Nach dem Update hat es mir die https Zertifikate überschrieben. Normalerweise habe ich da ein Pfad zum Dateisystem vom master stehen, aber nach dem Update standen dort generierte Zertifikate vom slave drin. Ist das so gewünscht oder soll ich ein github issue anlegen?

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

                                          @twonky cool. Danke. Ich verstehe immer noch Nicht warum die re-subscribes nicht tun aber naja. Jetzt wird im Zweifel nochmal subscribed. Danke!!

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

                                            @twonky was hast du genau wie angegeben? Der „setup First“ Prozess hat seit der 2.0/1 einen Mechanismus drin das das Zertifikat geprüft wird und wenn es nicht mehr gültig ist oder zu schwach oder zu lang gültig ist dann werden neue Zertifikate erzeugt.

                                            Wie sieht denn dein System.cerrificates Objekt aus? Poste bitte mal.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            795
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            beta github js-controller
                                            18
                                            169
                                            15480
                                            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