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 3.2.x auf 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 3.2.x auf GitHub

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

      @apollon77 said in Beta Test js-controller 3.2.x auf GitHub:

      all diese Fehler beim beenden der Adapter? ggf dort issues anlegen

      ja beim beenden,
      mach ich

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

        @apollon77 Ich hatte heute Nacht mit der 3.2.6-1 gesehen, dass der unifi Adapter auch errors mit Unhandled promise rejection. und instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION) wirft. Aufgefallen ist es dadurch, dass der unifi container unter proxmox Nachts gebackupt wird und daher für eine paar Minuten nicht erreichbar ist.

        Ich hab daraufhin mal ein Ticket beim Adapter angelegt https://github.com/iobroker-community-adapters/ioBroker.unifi/issues/252 oder hängt das etwas für den js-controller?

        Feuer-sturm created this issue in iobroker-community-adapters/ioBroker.unifi

        closed Unhandled promise rejection wenn Unifi Controller nicht erreichbar ist mit js-controller 3.2.x #252

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

          @apollon77 habe eben SA auf die Alpha15 upgedated. Die Massenfehlermeldungen sind nun weg 🙂 Top.

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

            @feuersturm Der Fehler hier liegt wohl aim Adapter weil der angegebene Host nicht erreichbar ist und der Fehler nicht sauber abgefangen wird

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

              Hallo alle miteinander,

              Ich bedanke mich recht herzlich bei allen von Euch für Eure Tests und Unetrstützung.

              3.2.7 ist jetzt im Latest und damit geht es erst einmal hier weiter --> https://forum.iobroker.net/topic/41029/js-controller-3-2-jetzt-im-latest

              Ingo

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

                @apollon77
                Installieren aus eigener URL geht nicht mehr mit 3.2.7 und 3.2.8 (mit 3.1.6 geht es)
                node 12.20.1 npm 6.14.10

                npm ERR! premature close
                npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-01-23T10_41_58_613Z-debug.log
                ERROR: host.raspberrypi Cannot install Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d: 1
                ERROR: process exited with code 25

                Inhalt vom Error log :
                0 info it worked if it ends with ok
                1 verbose cli [
                1 verbose cli '/usr/bin/node',
                1 verbose cli '/usr/bin/npm',
                1 verbose cli 'install',
                1 verbose cli 'Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d',
                1 verbose cli '--loglevel',
                1 verbose cli 'error',
                1 verbose cli '--prefix',
                1 verbose cli '/opt/iobroker'
                1 verbose cli ]
                2 info using npm@6.14.10
                3 info using node@v12.20.1
                4 verbose npm-session 3649abc973e44642
                5 silly install loadCurrentTree
                6 silly install readLocalPackageData
                7 verbose prepareGitDep github:Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d: installing devDeps and running prepare script.
                8 silly fetchPackageMetaData error for github:Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d premature close
                9 timing stage:rollbackFailedOptional Completed in 2ms
                10 timing stage:runTopLevelLifecycles Completed in 13533ms
                11 verbose stack Error: premature close
                11 verbose stack at PassThrough.onclose (/usr/lib/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
                11 verbose stack at PassThrough.emit (events.js:326:22)
                11 verbose stack at emitCloseNT (internal/streams/destroy.js:69:8)
                11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:83:21)
                12 verbose cwd /opt/iobroker
                13 verbose Linux 5.4.83-v7l+
                14 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d" "--loglevel" "error" "--prefix" "/opt/iobroker"
                15 verbose node v12.20.1
                16 verbose npm v6.14.10
                17 error premature close
                18 verbose exit [ 1, true ]

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

                  @gargano sagte in Beta Test js-controller 3.2.x auf GitHub:

                  Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d

                  Also "iobroker url Grizzelbee/ioBroker.resol#02688d5f04b27921be060f533d2fd02cbfd9892d" geht bei mit mit der 3.2.10

                  EIn "npm Fehler mit "premature CLose" heisst an sich das es Netzwerkprobleme gibt

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

                    @apollon77 Danke, dann werde ich das mal mit der 3.2.10 probieren. Ist ja grad mal eine Stunde alt👍

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

                      @gargano naja an dem Teil hat sich zuletzt was in 3.2.8 geändert gehabt glaube ich 😉

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

                        @apollon77 da schein noch irgendwas nicht zu funktionieren

                        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/ioBroker.js-controller.git /root/.npm/_cacache/tmp/git-clone-82ee4f0a/.git
                        npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-82ee4f0a/.git'
                        npm ERR!
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /root/.npm/_logs/2021-01-24T11_07_09_234Z-debug.log
                        
                        
                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Gargano last edited by

                          @gargano 10,-€ in die Kaffeekasse bei @apollon77 für's aufrufen mit "sudo" und nicht beachten der Anleitung im ersten Post...
                          🙂

                          Gargano 1 Reply Last reply Reply Quote 3
                          • Gargano
                            Gargano @Guest last edited by Gargano

                            @ilovegym hatte ich auch ohne sudo probiert ,
                            das ist ohne sudo :

                             npm install ioBroker/ioBroker.js-controller      Illegal option --
                            sudo: Usage:: command not found
                            
                            
                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @Gargano last edited by

                              @gargano was macht denn ein "iobroker fix" bei dir ?

                              Gargano 1 Reply Last reply Reply Quote 0
                              • Gargano
                                Gargano @Guest last edited by

                                @ilovegym Ist schon gelaufen

                                ? 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Gargano last edited by

                                  @gargano

                                  zeig mal wie Node installiert ist:

                                   which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                  
                                  Gargano 1 Reply Last reply Reply Quote 0
                                  • Gargano
                                    Gargano @Guest last edited by

                                    @ilovegym mit npm stimmt was nicht :

                                    pi@raspberrypi:/opt/iobroker $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    v12.20.1
                                    /usr/bin/node
                                    v12.20.1
                                    /usr/bin/npm
                                    Illegal option --
                                    sudo: Usage:: command not found
                                    
                                    
                                    ? 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @Gargano last edited by

                                      @gargano Ei, das sieht dringend danach aus, dass du das hier mal durchgehen solltest, da stimmt was NPM nicht und überhaupt...

                                      Gargano 1 Reply Last reply Reply Quote 0
                                      • Gargano
                                        Gargano @Guest last edited by

                                        @ilovegym sagte in Beta Test js-controller 3.2.x auf GitHub:

                                        und überhaupt...

                                        warum ich vom github installiere und nicht vom latest ?
                                        Die Antwort ist in einem Post weiter oben. Ich habe auf js-controller 3.2.8 upgedatet und da ging das Installieren eines Adapters via Github nicht mehr, mit 3.1.6 geht es. Apollon77 sagte dann , daß bei ihm mit 3.2.10 geht. 3.2.10 ist aber noch nicht im latest, deshalb von github installieren. Wie wir nun wissen geht das nicht wegen npm Problem.
                                        Dann werde ich mich mal ans Reparieren machen.

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

                                          @gargano 3.2.10 sollte seit gestern Nahchmittag schon im Latest sein. Vllt iobroker update machen?

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

                                            @ilovegym Das einzige was geholfen hat npm wieder zum Laufen zu bringen war

                                            sudo apt-get remove npm
                                            sudo apt-get install npm
                                            
                                            

                                            Danach war auch npm wieder da

                                            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                            /usr/bin/nodejs
                                            v12.20.1
                                            /usr/bin/node
                                            v12.20.1
                                            /usr/bin/npm
                                            6.14.10
                                            nodejs:
                                              Installed: 12.20.1-1nodesource1
                                              Candidate: 12.20.1-1nodesource1
                                              Version table:
                                             *** 12.20.1-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.23.1~dfsg-1~deb10u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            
                                            
                                            ? 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            685
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            25
                                            287
                                            33741
                                            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