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.
    • 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
                        • sigi234
                          sigi234 Forum Testing Most Active @bahnuhr last edited by

                          @bahnuhr

                          iobroker update - Repository updaten und schauen ob Update angeboten wird!
                          iobroker stop -ioBroker stoppen. Prüfen das keine Prozesse (auch ggf. Backups o.ä.) mehr laufen/hängen!
                          iobroker upgrade self - Das eigentliche Update
                          iobroker start - ioBroker wieder starten

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

                            Jetzt wirds noch komischer.

                            iobroker update hatte ich auch gemacht.
                            Dort stand bei js (installiert 2.1.0 und update 2.1.1)

                            Dann hatte ich ja upgedatet mit dem code 1.

                            Und jetzt neu probiert iobroker update.
                            Jetzt steht da:
                            e5b9fad9-27d4-4525-b4a2-9e46360aa2d4-image.png

                            Fazit:
                            Ich verstehe es nicht.
                            Hat er jetzt 2.1.1 installiert (offensichtlich ja)
                            Obwohl Fehlermeldung kam.
                            Äußerst komisch das Ganze.

                            Ach ja; bevor wieder Fragen kommen.
                            Dies probiere ich auf meinem neu aufgesetzten Testsystem.

                            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:

                              Jetzt wirds noch komischer.

                              iobroker update hatte ich auch gemacht.
                              Dort stand bei js (installiert 2.1.0 und update 2.1.1)

                              Dann hatte ich ja upgedatet mit dem code 1.

                              Und jetzt neu probiert iobroker update.
                              Jetzt steht da:
                              e5b9fad9-27d4-4525-b4a2-9e46360aa2d4-image.png

                              Fazit:
                              Ich verstehe es nicht.
                              Hat er jetzt 2.1.1 installiert (offensichtlich ja)
                              Obwohl Fehlermeldung kam.
                              Äußerst komisch das Ganze.

                              Ach ja; bevor wieder Fragen kommen.
                              Dies probiere ich auf meinem neu aufgesetzten Testsystem.

                              mfg
                              Dieter

                              Interessant.
                              https://forum.iobroker.net/topic/26892/update-anleitung-für-windows-js-controller

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

                                So, habe mal Dienste wieder gestartet.
                                Bei host steht nun:
                                6b66f1a9-e6fe-40a5-9ad9-0d6b8ba1c830-image.png

                                Update trotz Fehlermeldung nun doch gelaufen ???
                                Ich sag ja, äußerst merkwürdig.

                                mfg

                                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:

                                  Update trotz Fehlermeldung nun doch gelaufen ???

                                  Schaut so aus.

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

                                    Danke Sigi,
                                    vielleicht liest ja stabilo mit und kann was dazu sagen.

                                    mfg

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

                                      Eine Sache bekomme ich seit dem Upgrade auf js-controller 2 nicht gelöst:

                                      Wenn ich beim Login den Haken bei "Angemeldet bleiben" setze, funktioniert der Login nicht.

                                      Gibt es eine Möglichkeit, das Problem zu lösen? Wo kann ich denn ansetzen?
                                      Ich hatte nach dem Update Probleme mich überhaupt einzuloggen. Login schlug immer Fehl. Habe dann über Konsole die admin.0 Instanz gelöscht und neu hinzugefügt. Danach hat der Login wieder funktioniert. Aber nur wenn ich den Haken draußen lasse...

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

                                        @GiuseppeS Das hat mit dem Controller nichts zu tun. Scheinbar liegt das an der Web Version. Bitte mal bei den GitHub Issues schauen vom web Adapter.

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

                                          @apollon77
                                          Danke für den Hinweis. Kurz noch um sicher zu gehen:
                                          Kann es am WEB Adapter auch liegen wenn der Login sowohl beim WEB Port 8082 als auch beim Admin Port 8081 mit gesetztem Haken nicht funktioniert?

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

                                            @GiuseppeS 8081 ist normalerweise Admin Adapter. 8082 ist Web. Die haben getrennte settings. Trotzdem sind Login Mechanismen dort drin. Admin sollte so einen Haken gar nicht haben wenn ich es richtig weiß.

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

                                            Support us

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

                                            688
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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