Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository

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

      Hallo zusammen,

      ich kann das Update auf den js-controller 1.5.11 nicht ausführen.
      An sich habe ich noch eine alte Installation von September letzten Jahres, welche aber schon div. Updates bekommen hat.
      Bisher lief alles unter dem User Root auf einer Ubuntu 18.0.4 Instanz in meinem Proxmox.
      Ich habe dann den Installation Fixer ausgeführt. Hat soweit auch alles geklappt. Danke dafür!

      Es wird in diesem Schritt ja auch ein User iobroker angelegt. Wie kann ich mich denn damit einloggen (Passwort)? So wie ich nämlich verstanden habe, funktioniert das Update nur mit diesem User und nicht mit root (das ist ja nicht mehr gewollt).

      Das ausführen der folgenden Kommandos führt keine Veränderung an meiner Installation durch (eben mit root, da ich keine Ahnung habe wie ich mich mit dem iobroker User einloggen soll).

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

      Für eine kurze Hilfe wäre ich sehr dankbar 🙂

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

        Der User ist nicht zum einloggen da. nach dem Installation.-Fixer ist an sich alles so eingerichtet das relevante Befehle direkt als dieser User ausgeführt werden.

        Was ist denn die Ausgabe von iobroekr upgrade self?

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

          @apollon77 ah ok, das wusste ich nicht. Ist aber schon mal eine hilfreiche/nützliche Information. Vielen Dank.
          Hab es eben noch mal versucht und nun scheint es geklappt zu haben.

          Das Log besagt folgendes:

          root@ioBroker:/opt/iobroker# iobroker upgrade self
          Update js-controller from @1.4.2 to @1.5.11
          NPM version: 6.9.0
          npm install iobroker.js-controller@1.5.11 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
          npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself.
          npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
          
          Host "ioBroker" (linux) updated
          Execute: chmod -R 777 /opt/iobroker
          Chmod finished. Restart controller
          Starting node restart.js
          

          Diese "WARN"-Meldungen sind mir aber neu. Soll ich einfach ein Update der genannten Pakete machen?

          liv-in-sky apollon77 2 Replies Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Buddinski88 last edited by

            hallo @apollon77

            ich hätte eine verständnisfrage - für die konstellation von @Buddinski88

            wenn ich nach dem fixer im admin etwas mache, wird das mit dem neuen user ausgeführt - wenn ich auf dem terminal (mit root) eingeloggt bin und einen befehl (iobroker ....) eingebe - führt das dann auch der neue user aus, da ich ja einen iobroker befehl gegeben habe (quasi gleich wie mit admin)

            kann man das so verstehen?

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

              Guten Morgen,

              ich wollte heute mein System Updaten (js-controler/ node.js auf die 10) und da ist mir beim stoppen des iobrokers folgende Meldung aufgefallen, die ich vor dem des js-controlers nicht wahrgenommen habe.

              No "killall.sh" script found. Just stop.
              

              Ich konnte herausfinden dass das wohl in früheren Version schon mal ein Thema war, wie man das fixed habe ich jedoch nicht gefunden. Irgendwo muss ja die Dateizuordnung bzw. der pfad einfach falsch hinterlegt sein oder irre ich da?

              Bin wie immer für jede Hilfe dankbar.

              Btw. Mein IoB läuft in einer Debian VM als root somit sollten die Rechte eigentlich kein Problem sein.

              Peoples 1 Reply Last reply Reply Quote 0
              • andrix.iobroker
                andrix.iobroker last edited by

                Hallo Kollegen!
                Nach dem Update des js-controller auf 1.5.11 gab es zuerst einen Fehler beim Adapter js2fs. Ich habe diesen gelöscht, aber danach gibt es diesen Adapter in der Liste von Adaptern nicht mehr. Ich habe versucht, diesen aus eigener URL zu installieren, klappt es auch nicht, obwohl die Installation erfolgreich war. Ich habe auch versucht, das mit dem Befehl npm install iobroker.js2fs zu installieren. Auch das brachte nichts. Sowohl die Befehle npm install soef als auch npm i soef --production --prefix /opt/iobroker/node_modules/iobroker.js2fs sind ohne Erfolg. Ich bitte um Hilfe: wie kann man den Adapter js2fs wieder kriegen? Danke

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @andrix.iobroker last edited by

                  @andrix-iobroker
                  hier findest du nichts?
                  07b23117-fb67-4e41-a212-a74406f2edb7-image.png

                  1 Reply Last reply Reply Quote 0
                  • andrix.iobroker
                    andrix.iobroker last edited by

                    Hallo crunchip,
                    vielen Dank für die Nachricht.
                    Ja, finde ich auch. Aber nach der erfolgreichen Installation taucht dieser Adapter in der Liste gar nicht.js2fs_1.png
                    Was sollte man noch tun?

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

                      @Buddinski88 ne lass alles so. Müssen wenn die devs fixen.

                      B 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @liv-in-sky last edited by

                        @liv-in-sky korrekt. Für tiefere fragen dazu dann am besten im Thread zum neuen installer bzw Fixer nachlesen bzw dort fragen 😉

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @andrix.iobroker last edited by

                          @andrix-iobroker bei Adapter Installation von eigener url oder über GitHub Icon wird per default keine neue Instanz angelegt. Meinst du das du ihn unter „Adapter“ nicht findest oder unter „Instanzen“?
                          Wenn unter Adapter fehlt Versuch mal „iobroker upload js2fs“ sonst unter Adapter auf das + um eine Instanz anzulegen.

                          1 Reply Last reply Reply Quote 0
                          • andrix.iobroker
                            andrix.iobroker last edited by

                            Hallo appolon77!
                            Ich finde den Adapter unter "Adapter" nicht. Auch der Befehl "iobroker upload js2fs" hat nicht geholfen.
                            Zusätzlich habe ich Reboot gemacht. Kein Adapter js2fs in der Liste trotzdem.
                            Mein System: npm 6.4.1, node 8.16.0
                            Bitte um Hilfe.

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @andrix.iobroker last edited by

                              @andrix-iobroker wie ist denn die Ausgabe bei der Installation des Adapters?

                              1 Reply Last reply Reply Quote 0
                              • andrix.iobroker
                                andrix.iobroker last edited by

                                Die Ausgabe ist wie folgt:

                                $ ./iobroker url "https://github.com/soef/ioBroker.js2fs/tarball/master" js2fs
                                install https://github.com/soef/ioBroker.js2fs/tarball/master
                                npm install https://github.com/soef/ioBroker.js2fs/tarball/master --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
                                ../authenticate_pam.cc:30:10: fatal error: security/pam_appl.h: No such file or directory #include <security/pam_appl.h>
                                ^~~~~~~~~~~~~~~~~~~~~
                                compilation terminated.

                                make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
                                gyp
                                ERR! build error
                                gyp ERR! stack Error: make failed with exit code: 2gyp
                                ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at emitTwo (events.js:126:13)
                                gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                                gyp ERR!
                                stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                gyp ERR! System Linux 4.15.0-51-genericgyp
                                ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
                                gyp ERR! node -v v8.16.0
                                gyp ERR! node-gyp -v v3.8.0

                                gyp ERR! not ok
                                npm WARN
                                optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN
                                optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuildnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                                got /opt/iobroker/node_modules/iobroker.js2fs/admin
                                upload [2] js2fs.admin /opt/iobroker/node_modules/iobroker.js2fs/admin/words.js words.js application/javascript
                                upload [1] js2fs.admin /opt/iobroker/node_modules/iobroker.js2fs/admin/js2fs.png js2fs.png image/png
                                upload [0] js2fs.admin /opt/iobroker/node_modules/iobroker.js2fs/admin/index.html index.html text/html
                                process exited with code 0

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @andrix.iobroker last edited by

                                  @andrix-iobroker sieht an sich ok aus. Und es ist wirklich nicht gelistet? Auch alle Filter mal geprüft und so?

                                  1 Reply Last reply Reply Quote 0
                                  • andrix.iobroker
                                    andrix.iobroker last edited by

                                    Ja, der Adapter ist nicht zu finden (Suche bringt kein Ergebnis):

                                    js2fs_2.png

                                    crunchip 1 Reply Last reply Reply Quote 0
                                    • crunchip
                                      crunchip Forum Testing Most Active @andrix.iobroker last edited by

                                      @andrix-iobroker nichts zu finden Bei DienstProgrammen?
                                      ee61bd05-5082-47c2-847b-c3e46f38ac47-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • andrix.iobroker
                                        andrix.iobroker last edited by

                                        Verehrte Kollegen,
                                        vielen Dank: jetzt heißt der Adapter "Javascipt to file" und dieser ist vorhanden.
                                        Entschuldigung und einen schönen Abend noch!

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @andrix.iobroker last edited by

                                          @andrix-iobroker 😉

                                          1 Reply Last reply Reply Quote 0
                                          • Peoples
                                            Peoples @Peoples last edited by

                                            @Peoples sagte in [Diskussion] js-controller 1.5.11 ab sofort im Stable Repository:

                                            Guten Morgen,

                                            ich wollte heute mein System Updaten (js-controler/ node.js auf die 10) und da ist mir beim stoppen des iobrokers folgende Meldung aufgefallen, die ich vor dem des js-controlers nicht wahrgenommen habe.

                                            No "killall.sh" script found. Just stop.
                                            

                                            Ich konnte herausfinden dass das wohl in früheren Version schon mal ein Thema war, wie man das fixed habe ich jedoch nicht gefunden. Irgendwo muss ja die Dateizuordnung bzw. der pfad einfach falsch hinterlegt sein oder irre ich da?

                                            Bin wie immer für jede Hilfe dankbar.

                                            Btw. Mein IoB läuft in einer Debian VM als root somit sollten die Rechte eigentlich kein Problem sein.

                                            Hier hat keiner eine Idee?

                                            justr 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

                                            921
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            37
                                            158
                                            17377
                                            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