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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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.
    • Homoran
      Homoran Global Moderator Administrators @lost in translation last edited by

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

      ch hoffe mal, die ganzen Warnungen kann ich ignorieren

      JA

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @lost in translation last edited by

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

        dass stop und update bei Dir in umgekehrter Reihenfolge aufgeführt sind.

        Das ist egal.
        Beim Update lädt er nur die neuesten Infos zu den Adaptern

        1 Reply Last reply Reply Quote 0
        • G
          GiuseppeS last edited by

          Hi, folgendes ist mir aufgefallen:

          Adapter mqtt-Client muss auf mindestens Version 1.2 sein. Im stable repo ist die letzte Version allerdings noch bei 1.1.x
          Bedeutet, es muss hier ein Update aus dem latest-Repo erfolgen, wenn der js-controller 2.x verwendet wird.
          Bitte oben in Liste übernehmen 😉

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

            @GiuseppeS wenn es nicht ist was Genazinos der Fehler?

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

              @apollon77
              Ich verstehe deine Antwort nicht 🤷‍♂️

              Der Fehler mit der 1.1.1 war jedenfalls, dass der Adapter die vorgegeben Subscriptions nicht korrekt verarbeitet hatte und teilweise "terminated" im Log erschien. Manchmal kam auch gar keine Fehlermeldung, allerdings wurden die States nicht empfangen.
              Im Changelog vom Adapter steht bei der Version 1.2.0, dass Änderungen für js-controller 2.0 eingeflossen sind. Da ich das repo immer auf default und nicht auf latest stelle, war mir das nun aufgefallen.

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

                @GiuseppeS Ich vermute es sollte heißen "Wenn es nicht geht, was ist der Fehler?"

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

                  @AlCalzone Ja mein handy hat den text versaut 😞 Sorry

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

                    brauche nix mehr, ja da gabs wohl einen commit. Füge inzu

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

                      Hallo,

                      wie macht man ein Update unter Win (von 2.1.0 auf 2.1.1) ?

                      Unter Host steht:
                      a599b396-3e66-4751-a125-f428f43da5c6-image.png

                      Und im Installer find ich kein Update Punkt:
                      f7f547eb-8412-4df1-aee4-60b7989e76c9-image.png

                      Überseh ich irgendwas?

                      mfg
                      Dieter

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

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

                        Überseh ich irgendwas?

                        Punkt 2

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

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

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

                          Überseh ich irgendwas?

                          Punkt 2

                          Hallo Sigi,
                          das hatte ich schon mal probiert.

                          Da hatte er eine neue Instanz angelegt.

                          ich probiers nochmal.

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

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

                            Da hatte er eine neue Instanz angelegt.

                            Das macht er immer. Zunächst wird einen neue installiert und dann die alten Daten (iobroker-data) reingespielt. So sehe ich das .

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

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

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

                              Da hatte er eine neue Instanz angelegt.

                              Das macht er immer.

                              Was ????

                              Dann hab ich ja 2 iob installiert.

                              Das will ich doch nicht.

                              Ich möchte doch nur die bestehende updaten.

                              Geht das nicht ???

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

                                Weiterhin ist die Folge, dass der Installationspfad nicht mehr passt.

                                Folglich muss ich dann manuell Scripte ändern !!!

                                Nicht gut.

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

                                  Bleibt bei dem manuellen Weg der Pfad bestehen ?
                                  d6c65b7d-9427-4fcd-83fe-0aeabd145611-image.png

                                  Müsste ja eigentlich.

                                  Dann scheidet für mich die Updates über den Installer aus.

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

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

                                    Dann scheidet für mich die Updates über den Installer aus.

                                    Ja, ich hatte schon mal 6 Instanzen.
                                    Aber ich habe es in der cmd gemacht.
                                    Da müsste @Stabilostick was dazu sagen.

                                    Screenshot (907).png

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

                                      So, der manuelle Weg scheint nicht zu klappen.

                                      C:\Program Files\iobroker\SmartHome>iobroker upgrade self
                                      Update js-controller from @2.1.0 to @2.1.1
                                      NPM version: 6.11.3
                                      npm install iobroker.js-controller@2.1.1 --unsafe-perm --loglevel error --prefix "C:/Program Files/iobroker/SmartHome" (System call)
                                      gyp ERR! build error
                                      gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
                                      gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:193:23)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                      gyp ERR! System Windows_NT 10.0.18362
                                      gyp ERR! command "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe" "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                                      gyp ERR! cwd C:\Program Files\iobroker\SmartHome\node_modules\iobroker.js-controller\node_modules\unix-dgram
                                      gyp ERR! node -v v10.17.0
                                      gyp ERR! node-gyp -v v5.0.3
                                      gyp ERR! not ok
                                      Starting node restart.js
                                      

                                      exit code: 1

                                      Bitte mal prüfen ob hier ein Problem vorliegt.
                                      Und evtl. Lösung wie man sinnvoll updatet (ohne neue Pfade zu erzeugen).

                                      mfg

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

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

                                        So, der manuelle Weg scheint nicht zu klappen.

                                        C:\Program Files\iobroker\SmartHome>iobroker upgrade self
                                        Update js-controller from @2.1.0 to @2.1.1
                                        NPM version: 6.11.3
                                        npm install iobroker.js-controller@2.1.1 --unsafe-perm --loglevel error --prefix "C:/Program Files/iobroker/SmartHome" (System call)
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
                                        gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:193:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Windows_NT 10.0.18362
                                        gyp ERR! command "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe" "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                                        gyp ERR! cwd C:\Program Files\iobroker\SmartHome\node_modules\iobroker.js-controller\node_modules\unix-dgram
                                        gyp ERR! node -v v10.17.0
                                        gyp ERR! node-gyp -v v5.0.3
                                        gyp ERR! not ok
                                        Starting node restart.js
                                        

                                        exit code: 1

                                        Bitte mal prüfen ob hier ein Problem vorliegt.
                                        Und evtl. Lösung wie man sinnvoll updatet (ohne neue Pfade zu erzeugen).

                                        mfg

                                        iob stoppen! Schau in der Computerverwaltung unter Dienste das er nicht läuft.

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

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

                                          iob stoppen!

                                          hatte vorher dienst beendet.
                                          Und mit iobroker status geprüft ob noch was läuft.

                                          Also: iob war gestoppt!

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

                                            4d0e2733-fd64-4a9b-9e9c-bb132c9b9399-image.png

                                            sigi234 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

                                            666
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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