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.
    • K
      klausiob @Thomas Braun last edited by klausiob

      @Thomas-Braun Installation der Pakete lief erstmal fehlerfrei durch. Dummerweise scheint iobroker trotz o.g. Fehler die Updates zu installieren. Daher mußte ich jetzt ein anderen Adapter nehmen. Da kommen jetzt andere Fehler, aber offenbar zum gleichen Thema "imageprocessing" :

      $ ./iobroker upgrade shelly
      Update shelly from @3.2.5 to @3.2.6
      NPM version: 6.14.4
      npm install iobroker.shelly@3.2.6 --loglevel error --prefix "/opt/iobroker" (System call)
      ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data > imgdOffset, "image data overlaps with another structure");
           ~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                               ^~~~
      ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
           ~~~~~~~~~~~~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                               ^~~~
      ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]     if (canvas->nBytes() > node::Buffer::kMaxLength) {         ~~~~~~~~~~~~~~~~~^~~~~~
      ERR!
       
      sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
      ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
      compilation terminated.
      make: *** [Release/obj.target/sharp/src/common.o] Fehler 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:191: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 Linux 4.14.79-v7+gyp 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/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      Killed
      ERROR: host.hsmart Cannot install iobroker.shelly@3.2.6: 137
      ERROR: process exited with code 25
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @klausiob last edited by

        @klausiob Was für ein System läuft da?

        lsb_release -a
        
        K 1 Reply Last reply Reply Quote 0
        • K
          klausiob @Thomas Braun last edited by

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

          lsb_release -a

          No LSB modules are available.
          Distributor ID: Raspbian
          Description:    Raspbian GNU/Linux 9.6 (stretch)
          Release:        9.6
          Codename:       stretch
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @klausiob last edited by

            @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
            Ich fürchte nur, das baut keiner für Stretch.

            K S 2 Replies Last reply Reply Quote 0
            • K
              klausiob @Thomas Braun last edited by

              @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
              Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
              VG klausiob

              Thomas Braun K 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @klausiob last edited by

                @klausiob
                Ich fahre ein raspbian Buster/stable bei mir. Ein dist-upgrade ist ja kein Hexenwerk.

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

                  @Homoran Ist es notwendig das rasbian stretch auf buster upzugraden, um die Fehler, die auch andere haben Fehlermeldung bei manuelles Update / Adapter zu vermeiden? Leider hat die Lösung gelöst - Was bedeudet diese Fehlermeldung? nicht funktioniert.

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

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

                    @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                    Ich fürchte nur, das baut keiner für Stretch.

                    Hallöchen,

                    ich häng mich hier mal mit dran. Nur an Stretch allein scheint es nicht zu liegen. Bei buster tritt auch diese Medlung auf.

                    rock64@rock64:/opt/iobroker$ iobroker upgrade backitup
                    Update backitup from @1.4.5 to @1.5.6
                    host.rock64 Adapter "system.adapter.backitup.0" is stopped.
                    NPM version: 6.14.4
                    npm install iobroker.backitup@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                    ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                    info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                    info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                    ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                     #include <vips/vips8>
                              ^~~~~~~~~~~~
                    compilation terminated.
                    make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                    gyp ERR! build error
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                    gyp ERR! System Linux 4.4.213-rockchip64
                    gyp 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/sharp
                    gyp ERR! node -v v12.16.3
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                    Update "system.adapter.backitup.0"
                    upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                    upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                    upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                    Adapter "backitup" updated
                    host.rock64 Adapter "system.adapter.backitup.0" is started
                    

                    Die Updates laufen trotz der Fehlermeldung.
                    Hardware: Rock64
                    JS-Controller: 3.0.20
                    Dist (stable buster):

                    rock64@rock64:/opt/iobroker$ lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Debian
                    Description:    Debian GNU/Linux 10 (buster)
                    Release:        10
                    Codename:       buster
                    

                    Node/NodeJS:

                    rock64@rock64:/opt/iobroker$ node -v
                    v12.16.3
                    rock64@rock64:/opt/iobroker$ nodejs -v
                    v12.16.3
                    

                    Grüße

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

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

                      Nur an Stretch allein scheint es nicht zu liegen.

                      Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

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

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

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

                        Nur an Stretch allein scheint es nicht zu liegen.

                        Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                        Ja scheint so 🙂
                        Hast du einen Tip/Link wie und wo man Hand anlegt um die Meldungen wegzubekommen?
                        Die Suche hat mir leider noch nicht weitergeholfen.

                        Grüße

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

                          @Smartuser
                          Leg mal so Hand an:

                          sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                          
                          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
                            Leg mal so Hand an:

                            sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                            

                            Danke für deine schnellen Rückmeldungen.👍
                            In dem Fall ist scheinbar alles schon in der aktuellsten Version vorhanden:

                            rock64@rock64:~$ sudo apt-get install build-essential libcairo2-dev libpango1.0-                                                                                                                                                             dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-0
                            [sudo] password for rock64:
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            build-essential is already the newest version (12.6).
                            libcairo2-dev is already the newest version (1.16.0-4).
                            libgif-dev is already the newest version (5.1.4-3).
                            libjpeg-dev is already the newest version (1:1.5.2-2).
                            librsvg2-dev is already the newest version (2.44.10-2.1).
                            libpango1.0-dev is already the newest version (1.42.4-7~deb10u1).
                            libpixman-1-0 is already the newest version (0.36.0-1).
                            libpixman-1-0 set to manually installed.
                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            rock64@rock64:~$
                            

                            Grüße

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

                              @Smartuser

                              libpixman-1-0 set to manually installed
                              

                              Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                              S K 2 Replies Last reply Reply Quote 0
                              • S
                                Smartuser @Thomas Braun last edited by

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

                                @Smartuser

                                libpixman-1-0 set to manually installed
                                

                                Musst du also mal manuell angelegt haben. Bei Upgrades wird der dann nicht mehr angepasst.

                                Moin ...
                                nein eigentlich nicht. Es ist ein frisch aufgesetztes Buster (Stable). Iobroker drauf, Backup eingespielt, proftp und cifs pakete drauf ... fertig.
                                Wenn libpixman manuell installiert wurde, müsste es bei der Installation von iobroker passiert sein.

                                Kann das sein?
                                Wie bekomme ich es behoben, so dass es wieder bei den upgrades mit angepasst wird?

                                Grüße

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

                                  @Thomas-Braun Habe auch nochmal die Essentials wie oben installiert. War auch alles aktuell, nur gif noch dazu installiert.
                                  Meldete auch

                                  libpixman-1-0 set to manually installed.
                                  

                                  obwohl ich nie was manuell installiert hatte.

                                  Distributor ID: Raspbian
                                  Description:    Raspbian GNU/Linux 9.6 (stretch)
                                  Release:        9.6
                                  Codename:       stretch
                                  

                                  Also bringt buster-Installation auch nichts?

                                  $ ./iobroker upgrade hs100
                                  Update hs100 from @1.1.2 to @1.1.5
                                  NPM version: 6.14.4npm install iobroker.hs100@1.1.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                  ERR!
                                   
                                  sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                                  info
                                   sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                  ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^compilation terminated.
                                  make: *** [Release/obj.target/sharp/src/common.o] Fehler 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:191: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 Linux 4.14.79-v7+
                                  gyp 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/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                  upload [3] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/words.js words.js application/javascript
                                  Adapter "system.adapter.hs100.0" restarted.
                                  Update "system.adapter.hs100.0"
                                  upload [2] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index_m.html index_m.html text/html
                                  upload [1] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index.html index.html text/html
                                  upload [0] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/hs100.png hs100.png image/png
                                  Adapter "hs100" updated
                                  process exited with code 0
                                  

                                  Problem bleibt bei fast jedem Adapteruodate. Problem liegt doch offenbar in dem Bereich.

                                  sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                                  info
                                   sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                  ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^compilation terminated.
                                  make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Smartuser last edited by Thomas Braun

                                    @Smartuser

                                    sudo apt update
                                    sudo apt dist-upgrade
                                    sudo apt install --reinstall libpixman-1-0 libpixman-1-dev
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @klausiob last edited by

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

                                      libvips >= 8.9.1

                                      Muss in dieser Version installiert sein. Das ist auf stretch aber blöder hantier. Da muss einiges umgebaut werden.

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

                                        @Thomas-Braun

                                        Hilft das hier weiter?
                                        https://sharp.pixelplumbing.com/install

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

                                          @klausiob Mir schon. Muss dir aber ja helfen...
                                          Von der Seite her weiß ich ja, das es blöder Hantier auf einem Stretch mit ARM-Architektur und glibc < 2.28 ist.

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

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

                                            @Smartuser

                                            sudo apt update
                                            sudo apt dist-upgrade
                                            sudo apt install --reinstall libpixman-1-0 libpixman-1-dev
                                            

                                            Hilft leider auch nicht.
                                            sudo apt update und sudo apt dist-upgrade durchgeführt, danach:

                                            rock64@rock64:~$ sudo apt install --reinstall libpixman-1-0 libpixman-1-dev
                                            Reading package lists... Done
                                            Building dependency tree
                                            Reading state information... Done
                                            0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
                                            Need to get 0 B/889 kB of archives.
                                            After this operation, 0 B of additional disk space will be used.
                                            (Reading database ... 42427 files and directories currently installed.)
                                            Preparing to unpack .../libpixman-1-0_0.36.0-1_arm64.deb ...
                                            Unpacking libpixman-1-0:arm64 (0.36.0-1) over (0.36.0-1) ...
                                            Preparing to unpack .../libpixman-1-dev_0.36.0-1_arm64.deb ...
                                            Unpacking libpixman-1-dev:arm64 (0.36.0-1) over (0.36.0-1) ...
                                            Setting up libpixman-1-0:arm64 (0.36.0-1) ...
                                            Setting up libpixman-1-dev:arm64 (0.36.0-1) ...
                                            Processing triggers for libc-bin (2.28-10) ...
                                            rock64@rock64:~$ 
                                            

                                            Ist sauber durchgelaufen, zur sicherheit reboot durchgeführt. Danach ein adapter upgrade gestartet.
                                            Das Ergebnis bleibt unverändert.

                                            rock64@rock64:/opt/iobroker$ iobroker upgrade rpi2
                                            Update rpi2 from @1.1.1 to @1.2.0
                                            NPM version: 6.14.4
                                            npm install iobroker.rpi2@1.2.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                            ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                                            info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                                            info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                            ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                                             #include <vips/vips8>
                                                      ^~~~~~~~~~~~
                                            compilation terminated.
                                            make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                            gyp ERR! build error
                                            gyp ERR! stack Error: `make` failed with exit code: 2
                                            gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                            gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                            gyp ERR! System Linux 4.4.213-rockchip64
                                            gyp 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/sharp
                                            gyp ERR! node -v v12.16.3
                                            gyp ERR! node-gyp -v v5.1.0
                                            gyp ERR! not ok
                                            upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
                                            Update "system.adapter.rpi2.0"
                                            upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi.png rpi.png image/png
                                            upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/index_m.html index_m.html text/html
                                            upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/index.html index.html text/html
                                            Adapter "rpi2" updated
                                            rock64@rock64:/opt/iobroker$
                                            
                                            

                                            Grüße

                                            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

                                            552
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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