Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update js-controller 1.0.3 -> 1.1.1

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Update js-controller 1.0.3 -> 1.1.1

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

      Hallo,

      ich habe das Update vom js-controller vorgenommen von 1.0.3 auf 1.1.1. nach der Anleitung:

      cd /opt/iobroker
      sudo iobroker stop
      sudo iobroker update
      sudo iobroker upgrade self
      sudo iobroker start
      

      Nach der letzten Zeile gibt es Fehler, dass js-controller nicht vorhanden ist.

      Habe dann noch gemacht:
      > npm install iobroker.js-controller
      Und dann schließlich:

      sudo iobroker start
      

      Läuft!

      Nicht wirklich ein Fehler. Eventuell sollte man den einen Satz in der Anleitung mit aufnehmen? Aber ging auch mal ohne (glaube ich).

      Edit: ist nur beim brix so. Beim Pi3 läuft das Update so durch wie beschrieben.

      1 Reply Last reply Reply Quote 0
      • D
        DeepCore last edited by

        Hab's mal auf einem Testsystem unter Windows 7 versucht. Dabei kommen zum Schluss Fehlermeldungen zu "unix-dgram" und "ursa" …

        ! iobroker upgrade self ! node node_modules/iobroker.js-controller/iobroker.js upgrade self npm install iobroker.js-controller@1.1.1 --production --prefix "c:/broker" (System call) gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd c:\broker\node_modules\iobroker.js-controller\node_modules\unix-dgram gyp ERR! node -v v6.10.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd c:\broker\node_modules\iobroker.js-controller\node_modules\ursa gyp ERR! node -v v6.10.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules\iobroker.js-controller\node_modules\unix-dgram): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules\iobroker.js-controller\node_modules\ursa): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 Host "User-PC" (win32) updated Starting node restart.js !
        Ist nicht ganz so schlimm.

        Aber diesmal hat es geklappt, dass ioBroker nach dem Upgrade selber wieder gestartet wurde! 😄

        1 Reply Last reply Reply Quote 0
        • A
          andyb last edited by

          Ist das Update auf 1.1.1 so unspektakulär?

          Mann liest hier im Forum null davon, auch kein Aufruf zum testen :?:

          Läuft es überall oder hat es fast keiner drauf?

          1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active last edited by

            ich habs gestern gemcht .. läuft..zumindest nichts aufgefallen

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

              @andyb:

              Ist das Update auf 1.1.1 so unspektakulär?

              Mann liest hier im Forum null davon, auch kein Aufruf zum testen :?:

              Läuft es überall oder hat es fast keiner drauf? `

              Ich denke Bluefox kam noch nicht dazu es ins Forum zu packen 😞

              https://github.com/ioBroker/ioBroker.js … 2017-06-29

              Hauptthemen sind eine Änderung bei Multihost (die aber laut einem anderen scheinbar nicht so tut wie in Changelog) und verbesserungen beim Rechtehandling

              1 Reply Last reply Reply Quote 0
              • blauholsten
                blauholsten Developer last edited by

                @apollon77:

                Hauptthemen sind eine Änderung bei Multihost (die aber laut einem anderen scheinbar nicht so tut wie in Changelog) und verbesserungen beim Rechtehandling `
                Jetzt weiß ich warum mein Slave sich gestern nach dem Update des Masters nicht mehr starten ließ…..

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

                  Laut Bluefox bitte 1.1.2 nehmen/testen

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

                    @apollon77:

                    Laut Bluefox bitte 1.1.2 nehmen/testen `
                    Läuft bereits (bisher ohne Probleme)

                    1 Reply Last reply Reply Quote 0
                    • C
                      csamaggi last edited by

                      Komisch mir wird auf meinem IO unter Host garnicht angezeigt dass es da neue gibt noch immer 1.0.3.

                      MFG Maggi

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

                        Mit wird das Update angezeigt. Werde ich am Wochenende Mal in Angriff nehmen

                        Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • C
                          csamaggi last edited by

                          Sehr komisch habe eben mal geschaut ob ich mein IO updaten kann über Konsole aber nichts er sagt mir das 1.0.3 die aktuellste Version ist.

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

                            Welches Repository hast Du eingestellt? (In den ioBroker-Haupteinstellungen) Wenn "stable" dann kann das sein. Ich denke es ist noch im "latest" drin

                            Ingo F

                            1 Reply Last reply Reply Quote 0
                            • C
                              csamaggi last edited by

                              Es stand bei mir "default".

                              MFG Maggi

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

                                Hallo,

                                wollte auch gerade mal das Update durchführen. Habe (zum Glück..??) vorher mir die Beiträge hier von wegen Multihostbetrieb durchgelesen und vorab mal die von Bluefox im Changelog beschriebene Änderung getestet:

                                ` > (bluefox) BREAKING Changes: For multihost systems the user MUST explicit allow connections from other IPs in /opt/iobroker/iobroker-data/iobroker.json

                                "host": "127.0.0.1",

                                =>

                                "host": "0.0.0.0",

                                for objects (line 11) and for states (line 21). `

                                Allerdings startet mit dieser Einstellung ("0.0.0.0") ioBroker überhaupt nicht mehr…

                                Was sollte ich denn jetzt am besten tun? Klappt mit Version 1.0.3 wieder allles? Muss ich da trotzdem die im Changelog beschriebene Änderung durchführen?

                                Ich brauche einen funktionierenden Multihostbetrieb!

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

                                  @Thisoft:

                                  Hallo,

                                  wollte auch gerade mal das Update durchführen. Habe (zum Glück..??) vorher mir die Beiträge hier von wegen Multihostbetrieb durchgelesen und vorab mal die von Bluefox im Changelog beschriebene Änderung getestet:

                                  ` > (bluefox) BREAKING Changes: For multihost systems the user MUST explicit allow connections from other IPs in /opt/iobroker/iobroker-data/iobroker.json

                                  "host": "127.0.0.1",

                                  =>

                                  "host": "0.0.0.0",

                                  for objects (line 11) and for states (line 21). `

                                  Allerdings startet mit dieser Einstellung ("0.0.0.0") ioBroker überhaupt nicht mehr…

                                  Was sollte ich denn jetzt am besten tun? Klappt mit Version 1.0.3 wieder allles? Muss ich da trotzdem die im Changelog beschriebene Änderung durchführen?

                                  Ich brauche einen funktionierenden Multihostbetrieb! `
                                  Eigentlich für diejenige die nicht wissen, wie man bestimmte Version installiert, ist "latest" nicht gedacht.

                                  Man kann jede version so installieren:

                                  cd /opt/iobroker
                                  iobroker stop
                                  npm i iobroker.js-controller@1.0.3
                                  iobroker start
                                  

                                  Was genau geht da mit 1.1.2?

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

                                    Hallo Bluefox,

                                    ich befürchte wir verstehen uns falsch 😉 Meine Frage, ob in Version 1.0.3 wieder alles funktioniert war ein Tippfehler - ich meinte Version 1.1.3 - sorry!

                                    Ich wollte nur die im Changelog als "Must have" beschriebene Änderung der Hostadresse auf "0.0.0.0" vorab testen weil mir das etwas kritisch vorkommt. Das Ergebnis des Tests war eben dass der js-controller (noch auf Version 1.0.3) gar nicht mehr startet. Oder funktioniert das erst ab Version 1.1.2 ??

                                    Danke für Deine Hilfe

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dtp last edited by

                                      Bekomme stets folgende Fehlermeldung, wenn ich eine Version des js-conrtroller installieren will, die über der 1.0.3 liegt.

                                      996_2017-07-22_15h36_17.png

                                      Jemand ne Idee, was ich machen kann? Brauche node.js 4.8.3 oder größer für die Homebridge.

                                      Gruß,

                                      Thorsten

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

                                        npm cache clean schon versucht?

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dtp last edited by

                                          Gerade versucht. Liefert aber dieselbe Fehlermeldung.

                                          ioBroker ließ sich dann nur noch starten durch manuelle Installation des js-controllers mit

                                          npm i iobroker.js-controller@1.0.3
                                          
                                          

                                          Gruß,

                                          Thorsten

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dtp last edited by

                                            Die Fehlermeldung bleibt übrigens auch mit node.js 6.11.1 bestehen.

                                            996_2017-07-23_16h58_26.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            956
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            34
                                            6533
                                            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