Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2 jetzt für alle im Stable

    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

    js-controller 2 jetzt für alle im Stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      newbie2007 last edited by newbie2007

      Doch. Internet ist OK
      Ist ein RPI3.
      Fixer habe ich auch laufen lassen.

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @newbie2007 last edited by

        @newbie2007 Probiere mal

        cd /opt/iobroker
        npm cache verify
        

        und wenn das nicht hilft

        cd /opt/iobroker
        npm cache clean --force
        
        1 Reply Last reply Reply Quote 0
        • N
          newbie2007 last edited by

          @AlCalzone said in js-controller 2 jetzt für alle im Stable:

          cd /opt/iobroker npm cache verify

          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade self
          Host    "ioBroker-RasPi" is up to date.
          pi@ioBroker-RasPi:/opt/iobroker $ iobroker start
          pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
          pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker
          pi@ioBroker-RasPi:/opt/iobroker $ npm cache verify
          npm ERR! Usage: npm cache add <tarball file>
          npm ERR! npm cache add <folder>
          npm ERR! npm cache add <tarball url>
          npm ERR! npm cache add <git url>
          npm ERR! npm cache add <name>@<version>
          npm ERR! npm cache ls [<path>]
          npm ERR! npm cache clean [<pkg>[@<version>]]
          pi@ioBroker-RasPi:/opt/iobroker $
          
          
          AlCalzone 1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer @newbie2007 last edited by

            @newbie2007 Welche npm-Version hast du denn? npm -v

            1 Reply Last reply Reply Quote 0
            • N
              newbie2007 last edited by

              pi@ioBroker-RasPi:/opt/iobroker $ npm -v
              2.15.12
              pi@ioBroker-RasPi:/opt/iobroker $ node -v
              v10.16.3
              
              
              AlCalzone 1 Reply Last reply Reply Quote 0
              • N
                newbie2007 last edited by

                Nach zahlreichen Versuchen und nochmaligem Drüberlaufen des Fixers und eines Neustarts bin ich jetzt auf 2.2.8.
                Werde testen.
                Verstehe aber nicht, warum es jetzt auf einmal funktioniert, bzw. aktuell ist.
                Habe es vorher nicht anders gemacht...

                Gruß
                Uwe

                1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer @newbie2007 last edited by

                  @newbie2007 sagte in js-controller 2 jetzt für alle im Stable:

                  2.15.12

                  Holy shit - das ist ja Asbach Uralt! Wie wäre es mal mit nem Update?

                  sudo npm i -g npm
                  
                  1 Reply Last reply Reply Quote 0
                  • N
                    newbie2007 last edited by newbie2007

                    @AlCalzone said in js-controller 2 jetzt für alle im Stable:

                    sudo npm i -g npm

                    ja merkwürdig, vorher hatte ich auch die aktuelle.
                    Mach mal jetzt einen Update und melde mich.

                    pi@ioBroker-RasPi:/opt/iobroker $ npm -v
                    6.13.7
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • N
                      newbie2007 last edited by

                      pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
                      pi@ioBroker-RasPi:/opt/iobroker $ sudo npm i -g npm
                      /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
                      /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
                      npm@6.13.7 /usr/lib/node_modules/npm
                      pi@ioBroker-RasPi:/opt/iobroker $
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • N
                        newbie2007 last edited by Negalein

                        Habe jetzt versucht die Script Engine upzudaten, aber da gibts ne Meldung "falsche admin Version"
                        Was tun?
                        9fc84cf9-011d-4b1d-9209-145482e54a08-image.png

                        cash 1 Reply Last reply Reply Quote 0
                        • cash
                          cash Most Active @newbie2007 last edited by cash

                          @newbie2007 Die spannende Frage wäre also welche Admi- Version hast Du?

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @cash last edited by

                            @cash
                            Nicht spannend, weil im Screenshot zu sehen und einfach System auf latest umstellen, Admin updaten und dann den Rest.

                            cash 2 Replies Last reply Reply Quote 0
                            • cash
                              cash Most Active @Jan1 last edited by

                              @Jan1 Dann bin ich blind. Die Admi-Version sehe ich dort nicht. Und als Tipp auf latest umstellen halte ich auch für fragwürdig. Latest ist nichts anderes als Beta. Es sollten also nur User umstellen die wissen was sie tun und sich entsprechend auskennen. Normale User sollten ihr Produktiv System nicht auf Latest umstellen.

                              Aber jeder wie er mag.

                              Diginix 1 Reply Last reply Reply Quote 0
                              • cash
                                cash Most Active @Jan1 last edited by

                                @Jan1 Außerdem ist die 4.3.4 vom Javascript nicht mal im stable drin. Der Tipp auf latest umzustellen ist also eher sinnlos, da der User bereits latest nutzt....

                                J 1 Reply Last reply Reply Quote 0
                                • Diginix
                                  Diginix @cash last edited by Diginix

                                  @cash 3.7.8 steht doch oben rechts im Screenshot, da wo es bei dir in der Adminoberfläche auch immer steht.
                                  Und laut Adapterliste ist 4.3.4 im stable: http://download.iobroker.net/list.html

                                  Es ist tatsächlich ungünstig gelöst wenn Adapterversionen im stable Repo verfügbar sind, die Abhängigkeiten zu Adaptern aus dem latest Repo haben. Wie hier zum Admin, der in Version 4.x bisher nicht im stable ist.
                                  Statt das Repo auf latest=beta zu stellen, würde ich einfach mit dem Update warten.
                                  Wenn keine störenden Bugs existieren, was in stable ja nicht sein dürfte, sollte man auch keinen zwingenden Grund haben die Adapter zu aktualisieren.
                                  Interessant ist auch dass die javascript 4.3.4 schon 82 Tage alt ist und zu der Zeit gab es noch gar kein admin 4.x
                                  Also entweder ist das ein lokaler Bug bei @newbie2007 oder die 4.3.4 im stable Repo wurde in der jüngeren Vergangenheit noch mal angepasst.
                                  Was sagt @apollon77 dazu?

                                  cash N 2 Replies Last reply Reply Quote 0
                                  • cash
                                    cash Most Active @Diginix last edited by cash

                                    @Diginix Jau bin blind. Hatte die Version nicht gesehen. Die 4.3.4 ist nicht im stable. Habe gerade meins umgestellt und dann wird mir die 4.1.12 als verfügbar angezeigt. Ich bin allerdings auf der 4.3.4 und eigentlich auch schon relativ lange.

                                    Diginix 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @cash last edited by

                                      @cash
                                      Er kann nur mit dem neuen Admin auch den JS updaten, was nur geht wenn er den Admin im Latest hochzieht. Latest sollte wie Beta sein, ist es aber nicht, da im default sehr viele Adapter sind, die in der Version nicht mehr oder nur fehlerhaft laufen.
                                      Ich bin schon immer auf latest und hatte nie Probleme damit. Also alles gut und wenn Du anderer Meinung bist, ist das Deine Sache, aber nur so löst er sein Problem, womit das alles andere als sinnlos ist.

                                      1 Reply Last reply Reply Quote 0
                                      • Diginix
                                        Diginix @cash last edited by

                                        @cash Dann stimmt die offizielle Adapterliste nicht, die ja erst kürzliche eingeführt wurde. Merkwürdig.
                                        Aber bin selbst auf latest und alles läuft fehlerfrei. Daher weiß ich nicht was in stable wirklich verfügbar ist.

                                        cash 1 Reply Last reply Reply Quote 0
                                        • cash
                                          cash Most Active @Diginix last edited by

                                          @Diginix Das mit der Adapterliste wundert mich auch.

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

                                            Also das Stable Repository hat Admin 3.7.8 und Javascript 4.3.4 drin. Das sollte perfekt zusammenpassen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            663
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            141903
                                            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