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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2 jetzt für alle im Stable

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

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

      Ich habe ioBroker in einem Docker Container laufen.

      Habe ich auch. (buanet Image)
      Falls Du den auch hast, ich stoppe immer mit

      pkill io
      

      zum starten, ich starte dann den gesamten Container neu

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

        Hi @NetFritz
        ich habe ioBroker daher wieder aus meiner Syno geschmissen. Die Befehle in der Konsole bei der Syno sind abweichend zu den "normalen" Linux-Befehlen (Syno verwendet glaub ich nen Linux-lite oder sowas).
        VG Thorsten

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

          Hallo,
          wenn ich den JS-Controller von 2.1.1 auf die aktuelle 2.2.8 updaten möchte, dann bricht er mit einer Fehlermeldung ab.
          Die Logdatei ist im Anhang.
          Was Kann ich tun?

          Gruß
          Uwe
          2020-02-12T13_46_19_850Z-debug.log

          
          438 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@2.2.8" "--unsafe-perm" "--loglevel" "error" "--prefix" "/opt/iobroker"
          439 verbose node v10.16.3
          440 verbose npm  v6.9.0
          441 error code EINTEGRITY
          442 error errno EINTEGRITY
          443 error Invalid response body while trying to fetch https://registry.npmjs.org/pako: Integrity verification failed for sha512-siMsela4gjxPekLxxmPXXubk8loaq45MHrsV4PGDgg+Hb1OB7UuRjKIjFW9lqRcAXTHBWwnQ9LupDRzNs58nxQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/b2/23/2c7a56b8823c4f7a42f1c663d75ee6e4f25a1aab8e4c1ebb15e0f183820f876f5381ed4b918ca223156f65a917005d31c15b09d0f4bba90d1ccdb39f27c5)
          444 verbose exit [ 1, true ]
          Neuschwansteini AlCalzone 2 Replies Last reply Reply Quote 0
          • Neuschwansteini
            Neuschwansteini @newbie2007 last edited by

            @newbie2007
            hmm hat dein iobroker keine Internet-Connection ??
            hast du vorher den Fixer drüber laufen lassen??
            Welches System? VM ? Docker?

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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