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 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
                • Thomas Braun
                  Thomas Braun Most Active @Smartuser last edited by Thomas Braun

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

                  Adapter "rpi2" updated

                  Hat doch funktioniert.

                  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:

                    Adapter "rpi2" updated

                    Hat doch funktioniert.

                    Ja ... die Updates funktionieren scheinbar immer. Das hatte ich oben auch so geschrieben:
                    Zitat: Die Updates laufen trotz der Fehlermeldung.

                    '________

                    Allerdings scheint es zum Beispiel beim iot adapter nicht richtig zu funktionieren:

                    rock64@rock64:~$ cd /opt/iobroker/
                    rock64@rock64:/opt/iobroker$ iobroker upgrade iot
                    Update iot from @1.4.12 to @1.4.14
                    host.rock64 Adapter "system.adapter.iot.0" is stopped.
                    NPM version: 6.14.4
                    npm install iobroker.iot@1.4.14 --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
                    Update "system.adapter.iot.0"
                    upload [20] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.814e5fd0.js.map static/js/runtime-main.814e5fd0.js.map application/json
                    upload [19] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.814e5fd0.js static/js/runtime-main.814e5fd0.js application/javascript
                    upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.25253be6.chunk.js.map static/js/main.25253be6.chunk.js.map application/json
                    upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.25253be6.chunk.js static/js/main.25253be6.chunk.js application/javascript
                    upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.d2785704.chunk.js.map static/js/2.d2785704.chunk.js.map application/json
                    upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.d2785704.chunk.js.LICENSE.txt static/js/2.d2785704.chunk.js.LICENSE.txt text/plain
                    upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.d2785704.chunk.js static/js/2.d2785704.chunk.js application/javascript
                    upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css.map static/css/main.d4bed9c6.chunk.css.map application/json
                    upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.d4bed9c6.chunk.css static/css/main.d4bed9c6.chunk.css text/css
                    upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css.map static/css/2.0302007b.chunk.css.map application/json
                    upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.0302007b.chunk.css static/css/2.0302007b.chunk.css text/css
                    upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/service-worker.js service-worker.js application/javascript
                    upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/precache-manifest.eb98f59fee6c2799b8871e4dd4a03e90.js precache-manifest.eb98f59fee6c2799b8871e4dd4a03e90.js application/javascript
                    upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                    upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                    upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                    upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                    upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                    upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                    upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                    upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                    Adapter "iot" updated
                    host.rock64 Adapter "system.adapter.iot.0" is started
                    rock64@rock64:/opt/iobroker$
                    
                    

                    Hier tritt neben (oder durch?) das libvibs-problem noch ein problem mit sharp auf.
                    Und dieser stört sich auch daran, er meldet im log immer:

                    iot.0	2020-05-09 11:00:08.814	warn	- /opt/iobroker/node_modules/iobroker.iot/main.js
                    iot.0	2020-05-09 11:00:08.814	warn	- /opt/iobroker/node_modules/iobroker.iot/lib/alexaCustomBlood.js
                    iot.0	2020-05-09 11:00:08.814	warn	- /opt/iobroker/node_modules/iobroker.iot/lib/getImage.js
                    iot.0	2020-05-09 11:00:08.814	warn	Require stack:
                    iot.0	2020-05-09 11:00:08.814	warn	(11435) Cannot initialize getImage: Error: Cannot find module 'sharp'
                    

                    Daher hätte ich gern die Fehler weg um auszuschließen, dass bei einigen Adaptern etwas schief läuft 🙂

                    Grüße

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

                      @Smartuser
                      libvips und sharp hängen zusammen. Haben beide mit Bildbearbeitung zu tun.
                      Dann lass uns mal genau schauen, mit was du da unterwegs bist:

                      ldd --version
                      lsb_release -a
                      uname -a
                      
                      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
                        libvips und sharp hängen zusammen. Haben beide mit Bildbearbeitung zu tun.
                        Dann lass uns mal genau schauen, mit was du da unterwegs bist:

                        ldd --version
                        lsb_release -a
                        uname -a
                        

                        Danke schonmal!
                        So sieht das Ganze aus:

                        rock64@rock64:~$ ldd --version
                        ldd (Debian GLIBC 2.28-10) 2.28
                        Copyright (C) 2018 Free Software Foundation, Inc.
                        This is free software; see the source for copying conditions.  There is NO
                        warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                        Written by Roland McGrath and Ulrich Drepper.
                        rock64@rock64:~$
                        
                        rock64@rock64:~$ lsb_release -a
                        No LSB modules are available.
                        Distributor ID: Debian
                        Description:    Debian GNU/Linux 10 (buster)
                        Release:        10
                        Codename:       buster
                        rock64@rock64:~$
                        
                        rock64@rock64:~$ uname -a
                        Linux rock64 4.4.213-rockchip64 #27 SMP Tue Apr 14 17:21:23 CEST 2020 aarch64 GNU/Linux
                        rock64@rock64:~$
                        

                        Grüße

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

                          @Smartuser Noch was vergessen...
                          Node ist sauber installiert? Und das System auch auf dem letzten Stand?

                          nodejs -v
                          sudo apt update && sudo apt dist-upgrade
                          
                          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 Noch was vergessen...
                            Node ist sauber installiert? Und das System auch auf dem letzten Stand?

                            nodejs -v
                            sudo apt update && sudo apt dist-upgrade
                            
                            rock64@rock64:~$ nodejs -v
                            v12.16.3
                            rock64@rock64:~$
                            

                            Interessant heute morgen brachte dist-upgrade keine Neuerungen, jetzt folgende:

                            rock64@rock64:~$ sudo apt update && sudo apt dist-upgrade
                            [sudo] password for rock64:
                            Get:1 http://httpredir.debian.org/debian buster InRelease [121 kB]
                            Get:2 http://security.debian.org buster/updates InRelease [65.4 kB]
                            Hit:4 https://deb.nodesource.com/node_12.x buster InRelease
                            Get:5 http://httpredir.debian.org/debian buster-updates InRelease [49.3 kB]
                            Get:6 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB]
                            Hit:3 https://apt.armbian.com buster InRelease
                            Get:7 http://httpredir.debian.org/debian buster/main arm64 Packages [10.5 MB]
                            Get:8 http://httpredir.debian.org/debian buster-backports/main arm64 Packages.diff/Index [27.8 kB]
                            Get:9 http://httpredir.debian.org/debian buster-backports/main armhf Packages.diff/Index [27.8 kB]
                            Get:10 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb).diff/Index [27.9 kB]
                            Get:11 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb).diff/Index [27.9 kB]
                            Get:12 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2020-05-09-1408.15.pdiff [198 B]
                            Get:13 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2020-05-09-1408.15.pdiff [199 B]
                            Get:12 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2020-05-09-1408.15.pdiff [198 B]
                            Get:13 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2020-05-09-1408.15.pdiff [199 B]
                            Get:14 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2020-05-09-1408.15.pdiff [241 B]
                            Get:14 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2020-05-09-1408.15.pdiff [241 B]
                            Get:15 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2020-05-09-1408.15.pdiff [242 B]
                            Get:15 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2020-05-09-1408.15.pdiff [242 B]
                            Get:16 http://httpredir.debian.org/debian buster/main armhf Packages [10.5 MB]
                            Get:17 http://httpredir.debian.org/debian buster/main armhf Contents (deb) [36.1 MB]
                            Get:18 http://httpredir.debian.org/debian buster/main arm64 Contents (deb) [36.3 MB]
                            Get:19 http://httpredir.debian.org/debian buster/contrib arm64 Packages [46.8 kB]
                            Get:20 http://httpredir.debian.org/debian buster/contrib armhf Packages [48.9 kB]
                            Get:21 http://httpredir.debian.org/debian buster/contrib arm64 Contents (deb) [84.8 kB]
                            Get:22 http://httpredir.debian.org/debian buster/contrib armhf Contents (deb) [85.5 kB]
                            Get:23 http://httpredir.debian.org/debian buster/non-free arm64 Packages [64.3 kB]
                            Get:24 http://httpredir.debian.org/debian buster/non-free armhf Packages [74.5 kB]
                            Get:25 http://httpredir.debian.org/debian buster/non-free armhf Contents (deb) [779 kB]
                            Get:26 http://httpredir.debian.org/debian buster/non-free arm64 Contents (deb) [773 kB]
                            Fetched 95.7 MB in 1min 9s (1,396 kB/s)
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            25 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            N: Repository 'http://httpredir.debian.org/debian buster InRelease' changed its 'Version' value from '10.3' to '10.4'
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            Calculating upgrade... Done
                            The following packages will be upgraded:
                              base-files distro-info-data fuse gir1.2-pango-1.0 iputils-arping iputils-ping libfuse2 libnss-myhostname libpam-systemd libpango-1.0-0 libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libsystemd0 libudev-dev
                              libudev1 linux-libc-dev pango1.0-tools proftpd-basic systemd systemd-sysv tzdata udev wpasupplicant
                            25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            Need to get 11.8 MB of archives.
                            After this operation, 50.2 kB of additional disk space will be used.
                            Do you want to continue? [Y/n] y
                            Get:1 http://httpredir.debian.org/debian buster/main arm64 base-files arm64 10.3+deb10u4 [69.8 kB]
                            Get:2 http://httpredir.debian.org/debian buster/main arm64 systemd-sysv arm64 241-7~deb10u4 [99.9 kB]
                            Get:3 http://httpredir.debian.org/debian buster/main arm64 libpam-systemd arm64 241-7~deb10u4 [200 kB]
                            Get:4 http://httpredir.debian.org/debian buster/main arm64 libudev-dev arm64 241-7~deb10u4 [110 kB]
                            Get:5 http://httpredir.debian.org/debian buster/main arm64 libsystemd0 arm64 241-7~deb10u4 [313 kB]
                            Get:6 http://httpredir.debian.org/debian buster/main arm64 libnss-myhostname arm64 241-7~deb10u4 [122 kB]
                            Get:7 http://httpredir.debian.org/debian buster/main arm64 systemd arm64 241-7~deb10u4 [3,256 kB]
                            Get:8 http://httpredir.debian.org/debian buster/main arm64 udev arm64 241-7~deb10u4 [1,246 kB]
                            Get:9 http://httpredir.debian.org/debian buster/main arm64 libudev1 arm64 241-7~deb10u4 [146 kB]
                            Get:10 http://httpredir.debian.org/debian buster/main arm64 tzdata all 2020a-0+deb10u1 [263 kB]
                            Get:11 http://httpredir.debian.org/debian buster/main arm64 iputils-ping arm64 3:20180629-2+deb10u1 [42.9 kB]
                            Get:12 http://httpredir.debian.org/debian buster/main arm64 distro-info-data all 0.41+deb10u2 [6,584 B]
                            Get:13 http://httpredir.debian.org/debian buster/main arm64 fuse arm64 2.9.9-1+deb10u1 [71.4 kB]
                            Get:14 http://httpredir.debian.org/debian buster/main arm64 libfuse2 arm64 2.9.9-1+deb10u1 [123 kB]
                            Get:15 http://httpredir.debian.org/debian buster/main arm64 pango1.0-tools arm64 1.42.4-8~deb10u1 [55.2 kB]
                            Get:16 http://httpredir.debian.org/debian buster/main arm64 libpango1.0-dev arm64 1.42.4-8~deb10u1 [139 kB]
                            Get:17 http://httpredir.debian.org/debian buster/main arm64 libpango-1.0-0 arm64 1.42.4-8~deb10u1 [179 kB]
                            Get:18 http://httpredir.debian.org/debian buster/main arm64 libpangoft2-1.0-0 arm64 1.42.4-8~deb10u1 [65.7 kB]
                            Get:19 http://httpredir.debian.org/debian buster/main arm64 libpangocairo-1.0-0 arm64 1.42.4-8~deb10u1 [54.0 kB]
                            Get:20 http://httpredir.debian.org/debian buster/main arm64 libpangoxft-1.0-0 arm64 1.42.4-8~deb10u1 [49.1 kB]
                            Get:21 http://httpredir.debian.org/debian buster/main arm64 gir1.2-pango-1.0 arm64 1.42.4-8~deb10u1 [55.8 kB]
                            Get:22 http://httpredir.debian.org/debian buster/main arm64 iputils-arping arm64 3:20180629-2+deb10u1 [20.2 kB]
                            Get:23 http://httpredir.debian.org/debian buster/main arm64 linux-libc-dev arm64 4.19.118-2 [1,332 kB]
                            Get:24 http://httpredir.debian.org/debian buster/main arm64 proftpd-basic arm64 1.3.6-4+deb10u5 [2,614 kB]
                            Get:25 http://httpredir.debian.org/debian buster/main arm64 wpasupplicant arm64 2:2.7+git20190128+0c1e29f-6+deb10u2 [1,166 kB]
                            Fetched 11.8 MB in 7s (1,719 kB/s)
                            Preconfiguring packages ...
                            (Reading database ... 42427 files and directories currently installed.)
                            Preparing to unpack .../base-files_10.3+deb10u4_arm64.deb ...
                            Unpacking base-files (10.3+deb10u4) over (10.3+deb10u3) ...
                            Setting up base-files (10.3+deb10u4) ...
                            Installing new version of config file /etc/debian_version ...
                            (Reading database ... 42427 files and directories currently installed.)
                            Preparing to unpack .../systemd-sysv_241-7~deb10u4_arm64.deb ...
                            Unpacking systemd-sysv (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../libpam-systemd_241-7~deb10u4_arm64.deb ...
                            Unpacking libpam-systemd:arm64 (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../libudev-dev_241-7~deb10u4_arm64.deb ...
                            Unpacking libudev-dev:arm64 (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../libsystemd0_241-7~deb10u4_arm64.deb ...
                            Unpacking libsystemd0:arm64 (241-7~deb10u4) over (241-7~deb10u3) ...
                            Setting up libsystemd0:arm64 (241-7~deb10u4) ...
                            (Reading database ... 42427 files and directories currently installed.)
                            Preparing to unpack .../libnss-myhostname_241-7~deb10u4_arm64.deb ...
                            Unpacking libnss-myhostname:arm64 (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../systemd_241-7~deb10u4_arm64.deb ...
                            Unpacking systemd (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../udev_241-7~deb10u4_arm64.deb ...
                            Unpacking udev (241-7~deb10u4) over (241-7~deb10u3) ...
                            Preparing to unpack .../libudev1_241-7~deb10u4_arm64.deb ...
                            Unpacking libudev1:arm64 (241-7~deb10u4) over (241-7~deb10u3) ...
                            Setting up libudev1:arm64 (241-7~deb10u4) ...
                            (Reading database ... 42427 files and directories currently installed.)
                            Preparing to unpack .../00-tzdata_2020a-0+deb10u1_all.deb ...
                            Unpacking tzdata (2020a-0+deb10u1) over (2019c-0+deb10u1) ...
                            Preparing to unpack .../01-iputils-ping_3%3a20180629-2+deb10u1_arm64.deb ...
                            Unpacking iputils-ping (3:20180629-2+deb10u1) over (3:20180629-2) ...
                            Preparing to unpack .../02-distro-info-data_0.41+deb10u2_all.deb ...
                            Unpacking distro-info-data (0.41+deb10u2) over (0.41+deb10u1) ...
                            Preparing to unpack .../03-fuse_2.9.9-1+deb10u1_arm64.deb ...
                            Unpacking fuse (2.9.9-1+deb10u1) over (2.9.9-1) ...
                            Preparing to unpack .../04-libfuse2_2.9.9-1+deb10u1_arm64.deb ...
                            Unpacking libfuse2:arm64 (2.9.9-1+deb10u1) over (2.9.9-1) ...
                            Preparing to unpack .../05-pango1.0-tools_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking pango1.0-tools (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../06-libpango1.0-dev_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking libpango1.0-dev:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../07-libpango-1.0-0_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking libpango-1.0-0:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../08-libpangoft2-1.0-0_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking libpangoft2-1.0-0:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../09-libpangocairo-1.0-0_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking libpangocairo-1.0-0:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../10-libpangoxft-1.0-0_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking libpangoxft-1.0-0:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../11-gir1.2-pango-1.0_1.42.4-8~deb10u1_arm64.deb ...
                            Unpacking gir1.2-pango-1.0:arm64 (1.42.4-8~deb10u1) over (1.42.4-7~deb10u1) ...
                            Preparing to unpack .../12-iputils-arping_3%3a20180629-2+deb10u1_arm64.deb ...
                            Unpacking iputils-arping (3:20180629-2+deb10u1) over (3:20180629-2) ...
                            Preparing to unpack .../13-linux-libc-dev_4.19.118-2_arm64.deb ...
                            Unpacking linux-libc-dev:arm64 (4.19.118-2) over (4.19.98-1+deb10u1) ...
                            Preparing to unpack .../14-proftpd-basic_1.3.6-4+deb10u5_arm64.deb ...
                            Unpacking proftpd-basic (1.3.6-4+deb10u5) over (1.3.6-4+deb10u4) ...
                            Preparing to unpack .../15-wpasupplicant_2%3a2.7+git20190128+0c1e29f-6+deb10u2_arm64.deb ...
                            Unpacking wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u2) over (2:2.7+git20190128+0c1e29f-6+deb10u1) ...
                            Setting up distro-info-data (0.41+deb10u2) ...
                            Setting up libpango-1.0-0:arm64 (1.42.4-8~deb10u1) ...
                            Setting up linux-libc-dev:arm64 (4.19.118-2) ...
                            Setting up systemd (241-7~deb10u4) ...
                            Setting up libfuse2:arm64 (2.9.9-1+deb10u1) ...
                            Setting up iputils-arping (3:20180629-2+deb10u1) ...
                            Setting up tzdata (2020a-0+deb10u1) ...
                            
                            Current default time zone: 'Etc/UTC'
                            Local time is now:      Sat May  9 19:43:46 UTC 2020.
                            Universal Time is now:  Sat May  9 19:43:46 UTC 2020.
                            Run 'dpkg-reconfigure tzdata' if you wish to change it.
                            
                            Setting up wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u2) ...
                            Setting up proftpd-basic (1.3.6-4+deb10u5) ...
                            usermod: no changes
                            Setting up udev (241-7~deb10u4) ...
                            update-initramfs: deferring update (trigger activated)
                            Setting up libnss-myhostname:arm64 (241-7~deb10u4) ...
                            Setting up libudev-dev:arm64 (241-7~deb10u4) ...
                            Setting up libpangoft2-1.0-0:arm64 (1.42.4-8~deb10u1) ...
                            Setting up iputils-ping (3:20180629-2+deb10u1) ...
                            Setting up libpangocairo-1.0-0:arm64 (1.42.4-8~deb10u1) ...
                            Setting up fuse (2.9.9-1+deb10u1) ...
                            update-initramfs: deferring update (trigger activated)
                            Setting up systemd-sysv (241-7~deb10u4) ...
                            Setting up libpangoxft-1.0-0:arm64 (1.42.4-8~deb10u1) ...
                            Setting up pango1.0-tools (1.42.4-8~deb10u1) ...
                            Setting up gir1.2-pango-1.0:arm64 (1.42.4-8~deb10u1) ...
                            Setting up libpango1.0-dev:arm64 (1.42.4-8~deb10u1) ...
                            Setting up libpam-systemd:arm64 (241-7~deb10u4) ...
                            Processing triggers for man-db (2.8.5-2) ...
                            Processing triggers for dbus (1.12.16-1) ...
                            Processing triggers for libc-bin (2.28-10) ...
                            Processing triggers for initramfs-tools (0.133+deb10u1) ...
                            update-initramfs: Generating /boot/initrd.img-4.4.213-rockchip64
                            update-initramfs: Converting to u-boot format
                            rock64@rock64:~$
                            

                            Leider zu früh gefreut, ich hab danach einen reboot ausgeführt, aber der Fehler besteht weiterhin.
                            Hier beim Upgrade vom WEB-Adapter:

                            rock64@rock64:/opt/iobroker$ iobroker upgrade web
                            Update web from @3.0.7 to @3.0.8
                            host.rock64 Adapter "system.adapter.web.0" is stopped.
                            NPM version: 6.14.4
                            npm install iobroker.web@3.0.8 --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] web.admin /opt/iobroker/node_modules/iobroker.web/admin/words.js words.js application/javascript
                            upload [2] web.admin /opt/iobroker/node_modules/iobroker.web/admin/web.png web.png image/png
                            upload [1] web.admin /opt/iobroker/node_modules/iobroker.web/admin/index_m.html index_m.html text/html
                            upload [0] web.admin /opt/iobroker/node_modules/iobroker.web/admin/index.html index.html text/html
                            upload [350] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/vader/images/ui-bg_highlight-hard_55_555555_1x100.png lib/css/themes/jquery-ui/vader/images/ui-bg_highlight-hard_55_555555_1x100.png image/png
                            upload [300] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png lib/css/themes/jquery-ui/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png image/png
                            upload [250] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png image/png
                            upload [200] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/hot-sneaks/images/ui-icons_ffeb33_256x240.png lib/css/themes/jquery-ui/hot-sneaks/images/ui-icons_ffeb33_256x240.png image/png
                            upload [150] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/eggplant/images/ui-icons_ebccce_256x240.png lib/css/themes/jquery-ui/eggplant/images/ui-icons_ebccce_256x240.png image/png
                            upload [100] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png lib/css/themes/jquery-ui/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png image/png
                            upload [90] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-light/images/ui-icons_cd0a0a_256x240.png lib/css/themes/jquery-ui/custom-light/images/ui-icons_cd0a0a_256x240.png image/png
                            upload [80] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-light/images/ui-bg_glass_55_fbf9ee_1x400.png lib/css/themes/jquery-ui/custom-light/images/ui-bg_glass_55_fbf9ee_1x400.png image/png
                            upload [70] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/custom-dark/images/ui-bg_highlight-soft_40_62bfe1_1x100.png lib/css/themes/jquery-ui/custom-dark/images/ui-bg_highlight-soft_40_62bfe1_1x100.png image/png
                            upload [60] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/cupertino/images/ui-icons_2e83ff_256x240.png lib/css/themes/jquery-ui/cupertino/images/ui-icons_2e83ff_256x240.png image/png
                            upload [50] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png lib/css/themes/jquery-ui/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png image/png
                            upload [40] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png lib/css/themes/jquery-ui/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png image/png
                            upload [30] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-icons_ffcf29_256x240.png lib/css/themes/jquery-ui/black-tie/images/ui-icons_ffcf29_256x240.png image/png
                            upload [20] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png image/png
                            upload [19] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_40_111111_1x400.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_glass_40_111111_1x400.png image/png
                            upload [18] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_flat_65_ffffff_40x100.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_flat_65_ffffff_40x100.png image/png
                            upload [17] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png lib/css/themes/jquery-ui/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png image/png
                            upload [16] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/style.css lib/css/style.css text/css
                            upload [15] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/materialize.css lib/css/materialize.css text/css
                            upload [14] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ui.jqgrid-4.5.4.css lib/css/jqGrid/ui.jqgrid-4.5.4.css text/css
                            upload [13] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ellipsis-xbl.xml lib/css/jqGrid/ellipsis-xbl.xml application/xml
                            upload [12] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/iob/selectID.css.map lib/css/iob/selectID.css.map application/json
                            upload [11] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/iob/selectID.css lib/css/iob/selectID.css text/css
                            upload [10] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.min.css lib/css/fancytree/ui.fancytree.min.css text/css
                            upload [9] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.min-win7.css lib/css/fancytree/ui.fancytree.min-win7.css text/css
                            upload [8] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.jquery.min.css lib/css/fancytree/ui.fancytree.jquery.min.css text/css
                            upload [7] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/state.png lib/css/fancytree/state.png image/png
                            upload [6] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/loading.gif lib/css/fancytree/loading.gif image/gif
                            upload [5] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/icons.gif lib/css/fancytree/icons.gif image/gif
                            upload [4] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/device.png lib/css/fancytree/device.png image/png
                            upload [3] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/channel.png lib/css/fancytree/channel.png image/png
                            upload [2] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/bootstrap.min.css lib/css/bootstrap.min.css text/css
                            upload [1] web /opt/iobroker/node_modules/iobroker.web/www/index.html index.html text/html
                            upload [0] web /opt/iobroker/node_modules/iobroker.web/www/admin/img/admin.png admin/img/admin.png image/png
                            Update "system.adapter.web.0"
                            Adapter "web" updated
                            host.rock64 Adapter "system.adapter.web.0" is started
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Smartuser last edited by

                              @Smartuser Das ist klar, das auch ein dist-upgrade da nichts ändert. Du hast ja noch gar nichts kompiliert.

                              Allerdings hast du da einen ziemlichen Wildwuchs in deinen Paketquellen.

                              Gut (oder auch nicht), versuchen wir zu bauen:

                              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 0
                              • S
                                Smartuser @Thomas Braun last edited by

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

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

                                Wie gesagt ist ein "frisches" Image gewesen.😊 Von hier

                                rock64@rock64:/opt/iobroker$ 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-8~deb10u1).
                                libpixman-1-0 is already the newest version (0.36.0-1).
                                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                rock64@rock64:/opt/iobroker$
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Smartuser last edited by Thomas Braun

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

                                  Wie gesagt ist ein "frisches" Image gewesen.

                                  Das heißt ja nix. Die Pakete sind überwiegend -dev. Normalerweise sind die nicht installiert. Wie dem auch sei.

                                  cd /opt/iobroker
                                  npm i sharp
                                  
                                  S 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:

                                    cd /opt/iobroker
                                    npm i sharp

                                    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)
                                    
                                    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
                                    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
                                    ../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
                                    make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                    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
                                    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"})
                                    
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the sharp@0.25.2 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-05-09T20_10_27_487Z-debug.log
                                    rock64@rock64:/opt/iobroker$
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Smartuser last edited by Thomas Braun

                                      @Smartuser

                                      sudo apt install libvips-dev
                                      

                                      [Edit:] Ich sehe gerade, die dürfte zu alt sein.

                                      apt policy libvips-dev
                                      
                                      S 2 Replies Last reply Reply Quote 0
                                      • S
                                        Smartuser @Thomas Braun last edited by

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

                                        sudo apt install libvips-dev

                                        Ok ... jetzt wurde eine Menge sauber, ohne Fehler installiert

                                        0 upgraded, 120 newly installed, 0 to remove and 0 not upgraded.
                                        Need to get 58.5 MB of archives.
                                        After this operation, 218 MB of additional disk space will be used.
                                        
                                        

                                        Ich spar mir mal den ganzen log. 😉

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

                                          @Smartuser Wooo... Da zieht libvips aber einiges mit...

                                          cd /opt/iobroker 
                                          npm i libvips
                                          
                                          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:

                                            npm i libvips

                                            Hmmm ....

                                            rock64@rock64:/opt/iobroker$ npm i libvips
                                            
                                            > 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)
                                            
                                            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
                                            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
                                            In file included from ../src/common.cc:23:
                                            /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                             #include <glib-object.h>
                                                      ^~~~~~~~~~~~~~~
                                            compilation terminated.
                                            make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                            make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                            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
                                            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"})
                                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp):
                                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
                                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                            
                                            + libvips@0.0.2
                                            added 1 package in 101.931s
                                            
                                            22 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            rock64@rock64:/opt/iobroker$
                                            
                                            
                                            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

                                            761
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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