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.
    • FredF
      FredF Most Active Forum Testing @lost in translation last edited by

      @lost-in-translation
      Es ist kein ioBroker stop zu sehen...
      Im 1. Beitrag dieses Posts steht:
      18120f2e-3ac2-4d3c-a768-8bb2e0069641-grafik.png

      lost in translation 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @lost in translation last edited by

        @lost-in-translation du hat scheinbar kein git installiert und ein Adapter von dir (oniv) braucht das scheinbar. Das hat mit dem Controller direkt nichts zu tun. Das ist ein PM was immer beim installieren oder aktualisieren von Paketen den gesamten Abhängigkeitsbaum prüfen will. Und an der Stelle schlägt das in diesem einen Adapter fehlt am besten git installieren (apt install git)

        lost in translation 1 Reply Last reply Reply Quote 0
        • lost in translation
          lost in translation @apollon77 last edited by

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

          @lost-in-translation du hat scheinbar kein git installiert und ein Adapter von dir (oniv) braucht das scheinbar. Das hat mit dem Controller direkt nichts zu tun. Das ist ein PM was immer beim installieren oder aktualisieren von Paketen den gesamten Abhängigkeitsbaum prüfen will. Und an der Stelle schlägt das in diesem einen Adapter fehlt am besten git installieren (apt install git)

          Ich hab jetzt mal den onvif adapter deinstalliert.
          Und jetzt hat die Sequenz funktioniert. ioBroker ist jetzt updated.

          pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker upgrade self
          Update js-controller from @1.5.14 to @2.1.1
          NPM version: 6.4.1
          npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
          ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
          ../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                               argv);
                                   ^
          In file included from ../src/unix_dgram.cc:5:0:
          ../../nan/nan.h:1024:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
          ../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                               0, NULL);
                                      ^
          In file included from ../src/unix_dgram.cc:5:0:
          ../../nan/nan.h:1024:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          
          Host "ioBroker-RasPi" (linux) updated
          Execute: chmod -R 777 /opt/iobroker
          chmod: Beim Setzen der Zugriffsrechte für '/opt/iobroker/backups': Die Operation ist nicht erlaubt
          Chmod finished. Restart controller
          Starting node restart.js
          pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker start
          

          Ich hoffe mal, die ganzen Warnungen kann ich ignorieren 🙂

          ciao

          frank

          Homoran 1 Reply Last reply Reply Quote 0
          • lost in translation
            lost in translation @FredF last edited by

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

            @lost-in-translation
            Es ist kein ioBroker stop zu sehen...
            Im 1. Beitrag dieses Posts steht:
            18120f2e-3ac2-4d3c-a768-8bb2e0069641-grafik.png

            schon klar, ich hatte ja nur den Schritt gepostet, der schief ging. Die Schritte mit Stop und dann update hatte ich gemacht.
            Etwas merkwürdig finde ich, dass stop und update bei Dir in umgekehrter Reihenfolge aufgeführt sind.

            ciao

            frank

            Homoran 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:

              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
                                            • First post
                                              Last post

                                            Support us

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

                                            643
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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