Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update js-controller und node.js

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update js-controller und node.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Smartuser last edited by Thomas Braun

      @Smartuser
      Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
      Muss sich einer anschauen, der in node tiefer drin ist.
      Auf meinem Raspberry mit ARMV7l Architektur baut der Kram.
      Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

      S 1 Reply Last reply Reply Quote 1
      • S
        Smartuser @Thomas Braun last edited by

        @Thomas-Braun sagte in Update js-controller und node.js:

        @Smartuser
        Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
        Muss sich einer anschauen, der in node tiefer drin ist.
        Auf meinem Raspberry mit ARMV71 Architektur baut der Kram.
        Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

        Ok .... danke für deine Mühe. 👍 👍 👏
        Eventuell nehm ich mal ein ayufan Image für den Rock64, vielleicht geht es damit

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Smartuser last edited by

          @Smartuser
          Ich installier mir das OS immer selber. Dann weiß ich auch mehr oder weniger was da läuft.

          AlCalzone 1 Reply Last reply Reply Quote 1
          • AlCalzone
            AlCalzone Developer @Thomas Braun last edited by

            @Thomas-Braun @Smartuser
            libvips ist gar kein npm-Paket. Da könnt ihr lange probieren
            ==> https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball

            Danach kann sharp rebuilded werden.

            Thomas Braun 1 Reply Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @AlCalzone last edited by Thomas Braun

              @AlCalzone Arrrgh! Schwerer Denkfehler von mir! Danke fürs aufwecken!
              Nur warum liegt das bei mir alles im node?

              pi@raspberrypi:~ $ locate libvips
              /home/iobroker/.npm/_libvips
              /home/iobroker/.npm/_libvips/libvips-8.9.0-linux-armv7.tar.gz
              /home/iobroker/.npm/_libvips/libvips-8.9.1-linux-armv7.tar.gz
              /opt/iobroker/node_modules/sharp/build/Release/.deps/Release/obj.target/libvips-cpp.stamp.d
              /opt/iobroker/node_modules/sharp/build/Release/obj.target/libvips-cpp.stamp
              /opt/iobroker/node_modules/sharp/build/libvips-cpp.target.mk
              /opt/iobroker/node_modules/sharp/install/libvips.js
              /opt/iobroker/node_modules/sharp/lib/libvips.js
              /opt/iobroker/node_modules/sharp/src/libvips
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VConnection.cpp
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VError.cpp
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VImage.cpp
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/VInterpolate.cpp
              /opt/iobroker/node_modules/sharp/src/libvips/cplusplus/vips-operators.cpp
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips-cpp.so.42.12.1
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42
              /opt/iobroker/node_modules/sharp/vendor/lib/libvips.so.42.12.1
              

              Und sharp ist bei mir drin:

              pi@raspberrypi:/opt/iobroker $ npm list sharp --depth=2
              iobroker.inst@2.0.3 /opt/iobroker
              └─┬ iobroker.iot@1.4.14
                └── sharp@0.25.2
              
              S AlCalzone 2 Replies Last reply Reply Quote 1
              • S
                Smartuser @Thomas Braun last edited by

                @Thomas-Braun @AlCalzone

                Viele Dank euch Beiden. Ich konnte jetzt erfolgreich die aktuelle libvips-version bauen.
                Jetzt funktioniert alles. 🙂 👍

                Ich habe es wie folgt gemacht:

                cd /tmp
                wget https://github.com/libvips/libvips/releases/download/v8.9.2/vips-8.9.2.tar.gz
                tar xf vips-8.9.2.tar.gz
                cd vips-8.9.2
                ./configure
                make
                sudo make install
                sudo ldconfig
                

                Danach Sharp installiert.

                cd /opt/iobroker
                npm i sharp
                

                Ohne Errors - Log:

                rock64@rock64:/opt/iobroker$ npm i sharp
                > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
                > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
                info sharp Detected globally-installed libvips v8.9.2
                info sharp Building from source via node-gyp
                make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
                  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
                  COPY Release/nothing.a
                  TOUCH Release/obj.target/libvips-cpp.stamp
                  CXX(target) Release/obj.target/sharp/src/common.o
                  CXX(target) Release/obj.target/sharp/src/metadata.o
                  CXX(target) Release/obj.target/sharp/src/stats.o
                  CXX(target) Release/obj.target/sharp/src/operations.o
                  CXX(target) Release/obj.target/sharp/src/pipeline.o
                  CXX(target) Release/obj.target/sharp/src/utilities.o
                  CXX(target) Release/obj.target/sharp/src/sharp.o
                  SOLINK_MODULE(target) Release/obj.target/sharp.node
                  COPY Release/sharp.node
                make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                + sharp@0.25.2
                added 4 packages from 112 contributors in 137.029s
                22 packages are looking for funding
                  run `npm fund` for details
                rock64@rock64:/opt/iobroker$
                

                Zur Sicherheit nochmal den "Fixer" ausgeführt. Wahrscheinlich nicht notwendig, aber schadet ja auch nicht 🙂

                iobroker stop
                iobroker fix
                iobroker start
                

                Grüße

                1 Reply Last reply Reply Quote 1
                • AlCalzone
                  AlCalzone Developer @Thomas Braun last edited by

                  @Thomas-Braun Zeile 5-22 ist alles das sharp-Modul
                  2-4 bin ich mir nicht sicher, sieht aber nach vorkompilierten binaries aus, die ggf von sharp bei der Installation heruntergeladen werden.

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

                    @Smartuser habe Deine Installation auf meinen Raspi mit rasbian stretch ausgeführt. Hat zwar ganz schön lang gedauert. Besonders die sharp-Installation. Dabei war meine Netzwerkverbindung noch abgebrochen.

                     $ npm list sharp --depth=2
                    iobroker.inst@1.3.1 /opt/iobroker
                    ├─┬ iobroker.iot@1.4.10
                    │ └── sharp@0.25.2  deduped
                    └── sharp@0.25.2
                    
                    

                    Habe jetzt so 5 Adapter upgedatet und die obigen Fehlermeldungen sind weg. Danke an alle.

                    VG klausiob

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

                      @Smartuser: Auch ich hatte diese lästige Meldungen und habe deine Installation auf meinen Raspi mit rasbian stretch ebenfalls ausgeführt. Alles wieder im Lot.. 🙂

                      pi@MyRasPi:/opt/iobroker $ npm list sharp --depth=2
                      iobroker.inst@1.1.2 /opt/iobroker
                      ├─┬ iobroker.iot@1.4.14
                      │ └── sharp@0.25.2  deduped
                      └── sharp@0.25.2
                      

                      Nochmals Danke ...
                      Gruss..

                      Henry

                      1 Reply Last reply Reply Quote 1
                      • W
                        Wing.Stefan last edited by

                        Wie kann ich auf Synology im Docker den JS-Controller updaten?

                        Die gefundenen Anleitungen waren für Linux Windows usw. Im Syno Docker gibt es kein Sudo und kein SToppen von iobroker weil dann geht nichts mehr.
                        suche daher schritt für schritt Anleitung
                        Danke

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Wing.Stefan last edited by Glasfaser

                          @maestro sagte in Update js-controller und node.js:

                          und kein SToppen von iobroker weil dann geht nichts mehr.

                          was meinst du damit !?

                          pkill io
                          iobroker update
                          iobroker upgrade self
                          iobroker start
                          
                          W 1 Reply Last reply Reply Quote 1
                          • W
                            Wing.Stefan @Glasfaser last edited by Wing.Stefan

                            @Glasfaser

                            die befehle bringen nichst weil das pkill io oder kill io nichts macht, ab befehl 3 sagt er nämlich das noch etwas läuft

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Wing.Stefan last edited by

                              @maestro sagte in Update js-controller und node.js:

                              die befehle bringen nichst weil das pkill io

                              Klar geht das ...!!

                              Bist du auch in der richtigen Docker Konsole .

                              Zeige mal ein Screenshot

                              W 1 Reply Last reply Reply Quote 1
                              • W
                                Wing.Stefan @Glasfaser last edited by

                                @Glasfaser konsole2.JPG konsole1.JPG

                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @Wing.Stefan last edited by

                                  @maestro

                                  gib mal ein

                                  iobroker stop
                                  pkill io
                                  

                                  aber mehrmals

                                  und dann

                                  ps auxww|grep io
                                  
                                  W 1 Reply Last reply Reply Quote 1
                                  • W
                                    Wing.Stefan @Glasfaser last edited by Wing.Stefan

                                    @Glasfaser said in Update js-controller und node.js:

                                    ps auxww|grep io

                                    root@iobroker:/opt/iobroker# iobroker stop
                                    iobroker controller daemon is not running
                                    root@iobroker:/opt/iobroker# ^C
                                    root@iobroker:/opt/iobroker# pkill io#
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# pkill io
                                    root@iobroker:/opt/iobroker# ps auxww|grep io
                                    root 1 0.0 0.0 7044 1444 pts/0 Ss+ 16:26 0:00 /bin/bash /opt/scripts/iobroker_startup.sh
                                    iobroker 436 2.8 0.4 862128 78244 pts/0 Sl+ 16:26 0:24 iobroker.js-controller
                                    iobroker 458 1.0 0.4 862236 77696 pts/0 Sl+ 16:26 0:09 io.admin.0
                                    iobroker 473 0.2 0.1 610404 32740 pts/0 Sl+ 16:26 0:01 io.discovery.0
                                    iobroker 488 0.3 0.2 680584 37396 pts/0 Sl+ 16:26 0:03 io.info.0
                                    iobroker 507 0.7 0.2 678264 38040 pts/0 Sl+ 16:26 0:06 io.loxone.0
                                    iobroker 990 1.2 0.2 888508 48192 pts/0 Sl+ 16:26 0:10 io.alexa2.0
                                    iobroker 1005 1.2 0.5 687080 96532 pts/0 Sl+ 16:26 0:10 io.javascript.0
                                    iobroker 1020 0.2 0.2 611312 33644 pts/0 Sl+ 16:27 0:01 io.simple-api.0
                                    iobroker 1035 0.3 0.2 699868 43328 pts/0 Sl+ 16:27 0:03 io.tuya.0
                                    root 1127 0.0 0.0 6404 980 pts/1 S+ 16:40 0:00 grep io

                                    root@iobroker:/opt/iobroker# iobroker upgrade self
                                    Controller is running. Please stop ioBroker first.

                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @Wing.Stefan last edited by Glasfaser

                                      @maestro

                                      sehr merkwürdig , das noch etwas läuft ...

                                      kill -9 <prozessid>
                                      

                                      also

                                      kill -9 436
                                      
                                      kill -9 458
                                      

                                      usw.

                                      schau aber mit .. nach ober er dann weg ist

                                      ps auxww|grep io
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • W
                                        Wing.Stefan last edited by

                                        @Glasfaser said in Update js-controller und node.js:

                                        kill -9 <prozessid>

                                        Danke dir, danach konnte ich upgrade starten und auch mit iobroker start den iobroker starten. Meldung ist weg die js-controller 3 version ist installiert.
                                        Vielen Dank nochmals und ein schönes Wochenende

                                        Glasfaser 1 Reply Last reply Reply Quote 1
                                        • Glasfaser
                                          Glasfaser @Wing.Stefan last edited by

                                          @maestro sagte in Update js-controller und node.js:

                                          Danke dir,

                                          Sehr gerne ...

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

                                            Hallo Gemeinde
                                            Mir wird das js-controller Update angeboten.

                                            Auswahl_001.png

                                            Darf/soll ich das machen, ohne das Probleme entstehn? Alle Adapter sind auf dem neuesten Stand.

                                            Thomas Braun 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

                                            424
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            update js-controller node.js
                                            10
                                            93
                                            60910
                                            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