Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker exit 25 bei Adapter-Update

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iobroker exit 25 bei Adapter-Update

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

      @thomas-braun

      mario@iobroker:/opt/iobroker$ npm ls zlib
      iobroker.inst@2.0.3 /opt/iobroker
      └─┬ iobroker.mihome-vacuum@4.1.1
        └── zlib@1.0.5
      
      mario@iobroker:/opt/iobroker$
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Siggi0904 last edited by

        @siggi0904

        npm prune
        npm ls
        
        S 3 Replies Last reply Reply Quote 0
        • S
          Siggi0904 @Thomas Braun last edited by

          @thomas-braun

          mario@iobroker:/opt/iobroker$ npm ls zlib
          iobroker.inst@2.0.3 /opt/iobroker
          └─┬ iobroker.mihome-vacuum@4.1.1
            └── zlib@1.0.5
          
          mario@iobroker:/opt/iobroker$ npm prune
          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
          npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.
          npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
          npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm WARN deprecated @azure/msal-node@1.18.4: A newer major version of this library is available. Please upgrade to the latest available version.
          npm ERR! code 127
          npm ERR! path /opt/iobroker/node_modules/zlib
          npm ERR! command failed
          npm ERR! command sh -c node-waf clean || true; node-waf configure build
          npm ERR! sh: 1: node-waf: not found
          npm ERR! sh: 1: node-waf: not found
          
          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T20_48_34_023Z-debug-0.log
          mario@iobroker:/opt/iobroker$
          
          
          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

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

            @thomas-braun

            mario@iobroker:/opt/iobroker$ npm ls
            iobroker.inst@2.0.3 /opt/iobroker
            ├── @types/caseless@0.12.5 extraneous
            ├── @types/request@2.48.12 extraneous
            ├── @types/tough-cookie@4.0.5 extraneous
            ├── coffeescript@2.7.0 extraneous
            ├── colors@1.4.0
            ├── fs-extra@7.0.1
            ├── iobroker.admin@6.13.16
            ├── iobroker.alarm@3.6.0
            ├── iobroker.alexa-timer-vis@0.3.0
            ├── iobroker.alexa2@3.26.4
            ├── iobroker.awtrix-light@0.16.0
            ├── iobroker.backitup@2.10.11
            ├── iobroker.cloud@4.4.1
            ├── iobroker.daswetter@3.1.13
            ├── iobroker.deconz@1.4.0
            ├── iobroker.discovery@4.4.0
            ├── iobroker.dwd@2.8.5
            ├── iobroker.email@1.2.2
            ├── iobroker.feiertage@1.1.4
            ├── iobroker.flot@1.12.0
            ├── iobroker.heatingcontrol@2.12.5
            ├── iobroker.hm-rega@4.0.0
            ├── iobroker.hm-rpc@1.16.0
            ├── iobroker.ical@1.13.3
            ├── iobroker.icons-mfd-svg@1.2.0
            ├── iobroker.iot@2.0.11
            ├── iobroker.javascript@7.8.0
            ├── iobroker.js-controller@5.0.19
            ├── iobroker.mihome-vacuum@4.1.1
            ├── iobroker.openweathermap@1.0.4
            ├── iobroker.ping@1.6.2
            ├── iobroker.scenes@2.3.9
            ├── iobroker.shelly@6.8.0
            ├── iobroker.simple-api@2.7.2
            ├── iobroker.socketio@6.6.0
            ├── iobroker.sonoff@3.0.3
            ├── iobroker.sql@2.2.0
            ├── iobroker.tankerkoenig@3.3.7
            ├── iobroker.tr-064@4.2.18
            ├── iobroker.trashschedule@3.2.0
            ├── iobroker.vis@1.5.4
            ├── iobroker.web@6.2.3
            ├── iobroker.ws@2.5.10
            ├── iobroker@2.0.3
            ├── jsonata@2.0.4 extraneous
            ├── node-inspect@2.0.0 extraneous
            ├── picocolors@1.0.0 extraneous
            ├── semver@5.7.2
            ├── typescript@5.3.3 extraneous
            ├── virtual-tsc@0.6.2 extraneous
            ├── wake_on_lan@1.0.0 extraneous
            └── yargs@7.1.2
            
            mario@iobroker:/opt/iobroker$
            
            
            1 Reply Last reply Reply Quote 0
            • S
              Siggi0904 @Thomas Braun last edited by

              @thomas-braun

              In der Datei /opt/iobroker/node_modules/zlib/configure steht node-waf configure
              Also ist zlib schuld?

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

                @siggi0904 sagte in iobroker exit 25 bei Adapter-Update:

                node-waf configure

                Möglich. Auf meinem System schaut es so aus:

                echad@chet:/opt/iobroker $ grep -r node-waf           
                node_modules/reinterval/.npmignore:# node-waf configuration
                node_modules/bindings/bindings.js:      // node-waf and gyp_addon (a.k.a node-gyp)
                node_modules/bindings/bindings.js:      // Legacy from node-waf, node <= 0.4.x
                node_modules/zlib/configure:node-waf configure
                node_modules/zlib/Makefile:     node-waf build
                node_modules/zlib/Makefile:     node-waf clean
                echad@chet:/opt/iobroker $ 
                

                Ich habe aber keine Fehler, wenn npm loslegt.

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

                  @thomas-braun in den Releases zu node-js 18.20 ist aber auch viel zlib Zeug dabei.
                  https://nodejs.org/en/blog/release/v18.20.0

                  Bei mir auch so:

                  mario@iobroker:/opt/iobroker$ grep -r node-waf
                  log/iobroker.2024-03-29.log:2024-03-29 18:56:47.899  - error: host.iobroker iobroker npm ERR! code 127npm ERR! path /opt/iobroker/node_modules/zlibnpm ERR! command failednpm ERR! command sh -c node-waf clean || true; node-waf configure buildnpm ERR! sh: 1: node-waf: not foundnpm ERR! sh: 1: node-waf: not foundnpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T17_50_31_979Z-debug-0.log
                  log/iobroker.2024-03-29.log:2024-03-29 19:09:10.732  - error: host.iobroker iobroker npm ERR! code 127npm ERR! path /opt/iobroker/node_modules/zlibnpm ERR! command failednpm ERR! command sh -c node-waf clean || true; node-waf configure buildnpm ERR! sh: 1: node-waf: not foundnpm ERR! sh: 1: node-waf: not foundnpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T18_03_29_073Z-debug-0.log
                  log/iobroker.2024-03-29.log:2024-03-29 20:25:32.516  - error: host.iobroker iobroker npm ERR! code 127npm ERR! path /opt/iobroker/node_modules/zlibnpm ERR! command failednpm ERR! command sh -c node-waf clean || true; node-waf configure buildnpm ERR! sh: 1: node-waf: not foundnpm ERR! sh: 1: node-waf: not foundnpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T19_19_31_663Z-debug-0.log
                  log/iobroker.2024-03-29.log:2024-03-29 20:58:12.865  - error: host.iobroker iobroker npm ERR! code 127npm ERR! path /opt/iobroker/node_modules/zlibnpm ERR! command failednpm ERR! command sh -c node-waf clean || true; node-waf configure buildnpm ERR! sh: 1: node-waf: not foundnpm ERR! sh: 1: node-waf: not foundnpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-29T19_52_59_224Z-debug-0.log
                  node_modules/zlib/configure:node-waf configure
                  node_modules/zlib/Makefile:     node-waf build
                  node_modules/zlib/Makefile:     node-waf clean
                  node_modules/bindings/bindings.js:      // node-waf and gyp_addon (a.k.a node-gyp)
                  node_modules/bindings/bindings.js:      // Legacy from node-waf, node <= 0.4.x
                  node_modules/node-rest-client/readme.md:**NOTE:** _Since version 0.8.0 node does not contain node-waf anymore. The node-zlib package which node-rest-client make use of, depends on node-waf.Fortunately since version 0.8.0 zlib is a core dependency of node, so since version 1.0 of node-rest-client the explicit dependency to "zlib" has been removed from package.json. therefore if you are using a version below 0.8.0 of node please use a versión below 1.0.0 of "node-rest-client". _
                  node_modules/reinterval/.npmignore:# node-waf configuration
                  mario@iobroker:/opt/iobroker$
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Siggi0904 last edited by

                    @siggi0904

                    Kommt aus dem Modul:

                    https://github.com/kkaefer/DEPRECATED-node-zlib

                    Das ist aber wie gesagt seit Jahren überholt.

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

                      @thomas-braun ja.

                      Deine Reihenfolge in der grep Ausgabe ist aber anders.
                      das npmignore kommt bei mir am Ende, bei dir als erstes.

                      Kann man die Verwendung irgendwie deaktivieren, dass das sauber durchläuft?

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

                        @siggi0904 sagte in iobroker exit 25 bei Adapter-Update:

                        Kann man die Verwendung irgendwie deaktivieren, dass das sauber durchläuft?

                        Der mihome-vacuum schleppt wohl zlib an. Keine Ahnung, ob man die Dependency dort herausnehmen kann/soll/muss.

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

                          @thomas-braun wenn iobroker mich die deinstallation machen lassen würde, könnte ich den adapter auch testweise deinstallieren.

                          da hat einer einfach gyp nachinstalliert.
                          https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues/904

                          Tja, wie nun weiter?

                          Ich habe beim mihome-adapter mal ein issue aufgemacht.
                          https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues/940

                          Cr4zyM1K4 created this issue in iobroker-community-adapters/ioBroker.mihome-vacuum

                          closed Fehler bei der Installation - code 127 #904

                          Siggi0904 created this issue in iobroker-community-adapters/ioBroker.mihome-vacuum

                          closed dependency of zlib get error with node-js 18.20 #940

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

                            @siggi0904 sagte in iobroker exit 25 bei Adapter-Update:

                            da hat einer einfach gyp nachinstalliert.

                            Da ging es aber auch um canvas. Und die Aktion da global irgendwas reinzuknüppeln war bestimmt auch nicht die eleganteste.

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

                              @thomas-braun Hallo Thomas, gibt es Ideen was ich noch machen könnte?

                              Ich steh irgendwie auf dem Schlauch.
                              Wie könnte man die Abhängigkeit aufheben?

                              Dank dir.

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

                                @siggi0904

                                Das müsste im Modul eingetragen werden. Vielleicht kann sich @mcm57 das mal anschauen. Nach meinem Dafürhalten könnte die Abhängigkeit da raus. Aber ich hab keine Ahnung vom Paketbau.

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

                                  @thomas-braun dann hoffe ich, dass @mcm57 mir da recht kurzfristig helfen kann.

                                  Ich habe auch schwer die Vermutung, dass ich den Adapter mihome-vacuum auch nicht einfach deinstallieren kann. Ich werde da wohl auch in den Fehler rennen.

                                  Da bin ich irgendwie gefangen und brauch Hilfe bei der Reparatur.
                                  Natürlich auch gern per PN und Teamviewer oder ähnliches.

                                  mcm1957 1 Reply Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @Siggi0904 last edited by

                                    @siggi0904
                                    Sorry damit du nicht umsonst wartest.
                                    Aber vor Di werd ich mur kaum was ansehen können.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Siggi0904 @mcm1957 last edited by

                                      @mcm57 Kein Thema, dann warte ich. Läuft ja alles, nur updates gehen nicht.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Siggi0904 last edited by

                                        @Thomas-Braun irgendwie zerlege ich mir hier gerade mein IOBroker.
                                        Im Guthub wurde mit geschrieben, dass ich das zlib anheben soll.
                                        Habs in der package.json angepasst.

                                        Nun ist IOBroker komplett nicht mehr erreichbar.

                                        login as: mario
                                        mario@192.168.178.64's password:
                                        Linux iobroker 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
                                        
                                        The programs included with the Debian GNU/Linux system are free software;
                                        the exact distribution terms for each program are described in the
                                        individual files in /usr/share/doc/*/copyright.
                                        
                                        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                        permitted by applicable law.
                                        Last login: Fri Mar 29 20:47:18 2024 from 192.168.178.41
                                        mario@iobroker:~$ nano /opt/iobroker/node_modules/io
                                        iobroker/                 iobroker.flot/            iobroker.simple-api/
                                        iobroker.admin/           iobroker.heatingcontrol/  iobroker.socketio/
                                        iobroker.alarm/           iobroker.hm-rega/         iobroker.sonoff/
                                        iobroker.alexa2/          iobroker.hm-rpc/          iobroker.sql/
                                        iobroker.alexa-timer-vis/ iobroker.ical/            iobroker.tankerkoenig/
                                        iobroker.awtrix-light/    iobroker.icons-mfd-svg/   iobroker.tr-064/
                                        iobroker.backitup/        iobroker.iot/             iobroker.trashschedule/
                                        iobroker.cloud/           iobroker.javascript/      iobroker.type-detector/
                                        iobroker.daswetter/       iobroker.js-controller/   iobroker.vis/
                                        iobroker.deconz/          iobroker.mihome-vacuum/   iobroker.web/
                                        iobroker.discovery/       iobroker.openweathermap/  iobroker.ws/
                                        iobroker.dwd/             iobroker.ping/            ioredis/
                                        iobroker.email/           iobroker.scenes/
                                        iobroker.feiertage/       iobroker.shelly/
                                        mario@iobroker:~$ ls /opt/iobroker/node_modules/iobroker.mihome-vacuum/
                                        admin  io-package.json  lib  LICENSE  main.js  package.json  README.md
                                        mario@iobroker:~$ nano /opt/iobroker/node_modules/iobroker.mihome-vacuum/package.json
                                        mario@iobroker:~$ nano /opt/iobroker/node_modules/iobroker.mihome-vacuum/package.json
                                        mario@iobroker:~$ iob upgrade mihome-vacuum@4.1.1
                                        Would you like to reinstall version 4.1.1 of mihome-vacuum now? [(y)es, (n)o]: y
                                        Update mihome-vacuum from @4.1.1 to @4.1.1
                                        NPM version: 10.5.0
                                        Installing iobroker.mihome-vacuum@4.1.1... (System call)
                                        npm ERR! code 127
                                        npm ERR! path /opt/iobroker/node_modules/zlib
                                        npm ERR! command failed
                                        npm ERR! command sh -c node-waf clean || true; node-waf configure build
                                        npm ERR! sh: 1: node-waf: not found
                                        npm ERR! sh: 1: node-waf: not found
                                        
                                        npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-03-31T12_32_38_352Z-debug-0.log
                                        host.iobroker Cannot install iobroker.mihome-vacuum@4.1.1: 127
                                        mario@iobroker:~$ npm ls zlib
                                        /home/mario
                                        └── (empty)
                                        
                                        mario@iobroker:~$ iob upgrade mihome-vacuum@4.1.1
                                        node:internal/modules/cjs/loader:1143
                                          throw err;
                                          ^
                                        
                                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                                            at Module._load (node:internal/modules/cjs/loader:981:27)
                                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                            at node:internal/main/run_main_module:28:49 {
                                          code: 'MODULE_NOT_FOUND',
                                          requireStack: []
                                        }
                                        
                                        Node.js v18.20.0
                                        mario@iobroker:~$
                                        
                                        
                                        mcm1957 1 Reply Last reply Reply Quote 0
                                        • mcm1957
                                          mcm1957 @Siggi0904 last edited by

                                          @siggi0904
                                          Wie ich schon im issue geschrieben habe ist

                                          • das Editieren der package.json keine tolle idee da bei der Installation das package.json des Paketsbund hiffentlich kuchtcdes Zielsystems verwendet wird
                                          • beim Ändern v package.json auch packaga-lock.json anzupassen ist.
                                          • ein Sprung vvzlib 1.x.x auf 3.x.x ohne check des Changelogs sehr mutigbust. Major Releases veinhaltennmeust knkompatible änderungen und sa muss ev der Adapter angepasst werden..

                                          Deinstallier mihome mal. Ich bezweifle dass der Adapter bzw zlib die primäre Fehlerursache ist. Es sind mit Sicherheit auchcschon zug andere User auf node 18. Wenn das Problem ohne mihome weg ist dann ibstalluer den Adapter neu. Und dann schau na bal was der Statzs ist.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Siggi0904 @mcm1957 last edited by

                                            @mcm57 wie geschrieben geht aktuell garnichts mehr.

                                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            696
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            113
                                            6334
                                            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