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

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

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

      @mcm57

      Weil der invalid ist:

      │   └── xmlbuilder@0.4.2 invalid: "https://github.com/hobbyquaker/xmlbuilder-js/tarball/29fe5030dc6852007dc8d1bfd5109d75f8da58d5" from node_modules/homematic-xmlrpc
      
      mcm1957 1 Reply Last reply Reply Quote 0
      • mcm1957
        mcm1957 @Thomas Braun last edited by mcm1957

        @thomas-braun
        Ja aber WARUM ist der invalid?

        Wobei es eigentlich egal ist - der Adapter lebt von homematic-xmlrpc und da ist 1.0.2 die neueste Version un die verlangt xmlbuilder@0.4.2.

        Und bei mir läßt sich der Adapter problemlos installieren:

        pi@pi4:~ $ iob add iobroker.hm-rpc
        NPM version: 10.2.4
        Installing iobroker.hm-rpc@1.16.0... (System call)
        
        added 12 packages in 17s
        
        154 packages are looking for funding
          run `npm fund` for details
        host.pi4 install adapter hm-rpc
        upload [281] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/homematic.png homematic.png image/png
        upload [250] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm_thumb.png icons/113_hmip-psm_thumb.png image/png
        upload [200] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/159_hmip-mod-rc8_thumb.png icons/159_hmip-mod-rc8_thumb.png image/png
        upload [150] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/204_hmip-drdi3_thumb.png icons/204_hmip-drdi3_thumb.png image/png
        upload [100] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/43_hm-cc-vd_thumb.png icons/43_hm-cc-vd_thumb.png image/png
        upload [90] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/52_hm-sec-sd-team_thumb.png icons/52_hm-sec-sd-team_thumb.png image/png
        upload [80] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/5_hm-lc-sw2-fm_thumb.png icons/5_hm-lc-sw2-fm_thumb.png image/png
        upload [70] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/6_hm-lc-bl1-sm_thumb.png icons/6_hm-lc-bl1-sm_thumb.png image/png
        upload [60] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/80_hm-sen-mdir-o_thumb.png icons/80_hm-sen-mdir-o_thumb.png image/png
        upload [50] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/88_hm-lc-sw4-ba-pcb_thumb.png icons/88_hm-lc-sw4-ba-pcb_thumb.png image/png
        upload [40] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/9_hm-ws550-us_thumb.png icons/9_hm-ws550-us_thumb.png image/png
        upload [30] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/OM55_DimmerSwitch_thumb.png icons/OM55_DimmerSwitch_thumb.png image/png
        upload [20] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hb-uni-sen-temp-ds18b20_thumb.png icons/hb-uni-sen-temp-ds18b20_thumb.png image/png
        upload [19] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-dim.png icons/hm-coupling-dim.png image/png
        upload [18] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-group.png icons/hm-coupling-group.png image/png
        upload [17] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-onoff.png icons/hm-coupling-onoff.png image/png
        upload [16] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-rgb-dim.png icons/hm-coupling-rgb-dim.png image/png
        upload [15] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-rgb.png icons/hm-coupling-rgb.png image/png
        upload [14] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-rgbw-dim.png icons/hm-coupling-rgbw-dim.png image/png
        upload [13] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-rgbw.png icons/hm-coupling-rgbw.png image/png
        upload [12] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-white-dim.png icons/hm-coupling-white-dim.png image/png
        upload [11] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-coupling-white.png icons/hm-coupling-white.png image/png
        upload [10] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-hue_gateway.png icons/hm-hue_gateway.png image/png
        upload [9] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm-lightify_gateway.png icons/hm-lightify_gateway.png image/png
        upload [8] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hm_resc-win-pcb-sc_thumb.png icons/hm_resc-win-pcb-sc_thumb.png image/png
        upload [7] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/hmip_brc2.png icons/hmip_brc2.png image/png
        upload [6] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/pc.png icons/pc.png image/png
        upload [5] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/sonos.png icons/sonos.png image/png
        upload [4] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/unknown_device_thumb.png icons/unknown_device_thumb.png image/png
        upload [3] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/index.html index.html text/html
        upload [2] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/index_m.html index_m.html text/html
        upload [1] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/jsonConfig.json jsonConfig.json application/json
        upload [0] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/words.js words.js application/javascript
        host.pi4 object _design/hm-rpc created/updated
        host.pi4 object system.adapter.hm-rpc created/updated
        host.pi4 create instance hm-rpc
        host.pi4 object system.adapter.hm-rpc.0.alive created
        host.pi4 object system.adapter.hm-rpc.0.connected created
        host.pi4 object system.adapter.hm-rpc.0.compactMode created
        host.pi4 object system.adapter.hm-rpc.0.cpu created
        host.pi4 object system.adapter.hm-rpc.0.cputime created
        host.pi4 object system.adapter.hm-rpc.0.memHeapUsed created
        host.pi4 object system.adapter.hm-rpc.0.memHeapTotal created
        host.pi4 object system.adapter.hm-rpc.0.memRss created
        host.pi4 object system.adapter.hm-rpc.0.uptime created
        host.pi4 object system.adapter.hm-rpc.0.inputCount created
        host.pi4 object system.adapter.hm-rpc.0.outputCount created
        host.pi4 object system.adapter.hm-rpc.0.eventLoopLag created
        host.pi4 object system.adapter.hm-rpc.0.sigKill created
        host.pi4 object system.adapter.hm-rpc.0.logLevel created
        host.pi4 object hm-rpc.0.updated created
        host.pi4 object hm-rpc.0.info created
        host.pi4 object hm-rpc.0.info.connection created
        host.pi4 Set default value of hm-rpc.0.info.connection: false
        host.pi4 object system.adapter.hm-rpc.0 created
        
        pi@pi4:/opt/iobroker $ npm ls xmlbuilder
        iobroker.inst@3.0.0 /opt/iobroker
        ├─┬ iobroker.hm-rpc@1.16.0
        │ └─┬ homematic-xmlrpc@1.0.2
        │   └── xmlbuilder@0.4.2
        ├─┬ iobroker.shelly@6.6.1
        │ ├─┬ xml2js@0.6.2
        │ │ └── xmlbuilder@11.0.1
        │ └── xmlbuilder@15.1.1
        ├─┬ iobroker.systeminfo@1.1.0
        │ └─┬ xml2js@0.6.2
        │   └── xmlbuilder@11.0.1
        └─┬ iobroker.tr-064@4.2.18
          └─┬ xml2js@0.4.23
            └── xmlbuilder@11.0.1
        
        pi@pi4:/opt/iobroker $
        

        OK node v18.19.1

        Check mal ob du https://github.com/hobbyquaker/xmlbuilder-js/tarball/29fe5030dc6852007dc8d1bfd5109d75f8da58d5 vom ioBroker hist aus erreichen kannst. NIcht dass da new Firewall o.ä. Zugriffe auf Github blocket. Alles schon dagewesen...

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

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

          Ja aber WARUM ist der invalid?

          Keine Ahnung. Ich sowas schon mal bei Adaptern aus dem github. Die werden dann auch als invalid angezeigt.
          Wenn dann irgendeiner der Adapter nochmal reingezogen wird sind auch die anderen Verweise wieder valide.

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

            @thomas-braun
            OK - na dann halt nochmal instzallieren.

            Im ioBroker Adapter seh ich wenig Chancen da was zu machen. Außer jemand hat Zeit und Lust den Basiscode (externe lib) zu froken, zu aktualisisern und zu testen - oder neu zu schreiben. Aber mal sehen.

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

              @siggi0904
              Ich habe seit kurzem das gleiche Problem. Ich bekomme 5 Adapter Updates angezeigt und bei jedem kommt die gleiche Fehlermeldung.

              $ iobroker upgrade socketio@6.6.1
              
              Update socketio from @6.6.0 to @6.6.1
              
              host.iobroker Adapter "system.adapter.socketio.0" is stopped.
              
              NPM version: 10.5.0
              
              Installing iobroker.socketio@6.6.1... (System call)
              
              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-04-06T09_30_24_064Z-debug-0.loghost.iobroker Cannot install iobroker.socketio@6.6.1: 127
              
              ERROR: Process exited with code 25
              
              iob nodejs-update
              

              Habe ich bereits gemacht. Keine Veränderung. Da muss doch allgemein etwas passiert sein.

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

                @zeroqool hast du denn den mihome-vacuum Adapter installiert?

                Der war, ich hoffe es, bei mir das Problem.
                Wenn du davon die Beta installierst, oder auf die stable 4.2.0 wartest behebt es das zlib Problem.

                Denn dann dürfte grep -r node-waf kein zlib mehr anzeigen.
                Ansonsten zeig mal, was bei npm ls zlib rauskommt.

                Z 2 Replies Last reply Reply Quote 0
                • Z
                  ZeroQool last edited by

                  @siggi0904 Glaube habe ein allg. Problem. Es läßt sich kein Adapter mehr installieren, die gleiche Fehlermeldung wie beim Update. Habe letztens alles mit iob nodejs-update aktualisiert. Sieht auch von den Versionen sauber aus.

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

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

                    npm ls zlib

                    root@iobroker:/opt/iobroker# npm ls zlib
                    iobroker.inst@2.0.2 /opt/iobroker
                    -- iobroker.mihome-vacuum@4.1.1 -- zlib@1.0.5

                    root@iobroker:/opt/iobroker#

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

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

                      grep -r node-waf

                      ist ein riesen Log aber mit Fehler:

                      b2324ad4-5fff-4550-a76e-147ef920af2f-image.png

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

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

                        root@iobroker:/opt/iobroker# npm ls zlib

                        NICHT als root herum hampeln. Und schon gar nicht im Verzeichnis von iobroker mit npm...
                        Logs auch nicht als Screenshot sonder als Text in CodeTags.

                        Als USER!

                        iob stop 
                        iob fix
                        iob update
                        
                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          ZeroQool @Thomas Braun last edited by ZeroQool

                          @thomas-braun OK, aber muss zugeben, dass ich den Proxmox Container seit mehreren Jahren so laufen habe.

                          iob stop && iob update && iob fix && iob upgrade self && iob start

                          Habe ich auch schon ausgeführt. aber keine Verbesserung. hatte vorher node 14 oder so u nun 18.20.1

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

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

                            dass ich den Proxmox Container seit mehreren Jahren so laufen habe.

                            Das heißt ja nix. Nur das du es dann halt seit Jahren falsch machst.

                            Habe ich auch schon ausgeführt. aber keine Verbesserung. hatte vorher node 14 oder so u nun 16

                            Zeigen. Und aktuell ist nodejs@18...
                            Zeig am besten mal den ganzen Quark...

                            iob stop 
                            iob fix 
                            iob diag
                            
                            Z 1 Reply Last reply Reply Quote 0
                            • Z
                              ZeroQool @Thomas Braun last edited by

                              @thomas-braun said in iobroker exit 25 bei Adapter-Update:

                              Das heißt ja nix. Nur das du es dann halt seit Jahren falsch machst.

                              library: loaded
                              Library version=2024-01-04

                              ==========================================================================

                              Welcome to the ioBroker installation fixer!
                              Script version: 2024-01-04
                              

                              ==========================================================================

                              ==========================================================================
                              Installing prerequisites (1/5)

                              Hit:1 http://ftp.debian.org/debian bookworm InRelease
                              Hit:2 http://security.debian.org bookworm-security InRelease
                              Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease
                              Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                              Reading package lists... Done

                              ==========================================================================
                              Checking ioBroker user and directory permissions (2/5)

                              Created /etc/sudoers.d/iobroker
                              Fixing directory permissions...

                              ==========================================================================
                              Check and cleanup npm temporary directories (3/5)

                              Done.

                              ==========================================================================
                              Database maintenance (4/5)

                              Checking for uncompressed JSONL databases... This might take a while!

                              Compressing /opt/iobroker/iobroker-data/states.jsonl
                              Compressing /opt/iobroker/iobroker-data/objects.jsonl
                              Compressed 2 JSONL files. Done

                              ==========================================================================
                              Checking autostart (5/5)

                              Enabling autostart...
                              Autostart enabled!

                              ==========================================================================

                              Your installation was fixed successfully
                              Run iobroker start to start ioBroker again!
                              

                              ==========================================================================

                              This script must not be run as root!
                              Please use your standard user!

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

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

                                This script must not be run as root!
                                Please use your standard user!

                                Auch da...
                                ALS USER ARBEITEN!!!!!!!!!

                                Z 1 Reply Last reply Reply Quote 0
                                • Z
                                  ZeroQool @Thomas Braun last edited by

                                  @thomas-braun said in iobroker exit 25 bei Adapter-Update:

                                  ALS USER ARBEITEN!!!!!!!!!

                                  OK, erstelle mir einen neuen User. Würde es etwas bringen auf eine andere NodeJS zu aktualisieren?

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

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

                                    OK, erstelle mir einen neuen User.

                                    In der Doku zum ioBroker steht wie es gemacht wird.

                                    Würde es etwas bringen auf eine andere NodeJS zu aktualisieren?

                                    Du bist doch (vermutlich) auf nodejs18. Das passt also.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      ZeroQool @Thomas Braun last edited by

                                      @thomas-braun Sorry hatte mich verschrieben, bin auf 18

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z
                                        ZeroQool @ZeroQool last edited by

                                        @zeroqool Habe es gelöst. Manuell NodeJS installiert und dann lief alles

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

                                          @zeroqool

                                          Zeig den Output von

                                          iob diag
                                          

                                          her. Deine Installation ist vermutlich jetzt krumm und schief...

                                          1 Reply Last reply Reply Quote 0
                                          • Z
                                            ZeroQool last edited by

                                            @thomas-braun Hast Recht:

                                            Copy text starting here:

                                            ======================= SUMMARY =======================
                                                                    v.2023-10-10
                                            
                                            
                                             Static hostname: iobroker
                                                   Icon name: computer-container
                                                     Chassis: container ☐
                                              Virtualization: lxc
                                            Operating System: Debian GNU/Linux 12 (bookworm)
                                                      Kernel: Linux 6.5.13-3-pve
                                                Architecture: x86-64
                                            
                                            Installation:           lxc
                                            Kernel:                 x86_64
                                            Userland:               amd64
                                            Timezone:               Europe/Berlin (CEST, +0200)
                                            User-ID:                1000
                                            X-Server:               false
                                            Boot Target:            graphical.target
                                            
                                            Pending OS-Updates:     0
                                            Pending iob updates:    2
                                            
                                            Nodejs-Installation:    /usr/bin/nodejs         v18.20.1
                                                                    /usr/local/bin/node             v18.0.0
                                                                    /usr/local/bin/npm              8.6.0
                                                                    /usr/local/bin/npx              8.6.0
                                                                    /usr/local/bin/corepack         0.10.0
                                            
                                            Recommended versions are nodejs 18.20.1 and npm 10.5.0
                                            *** nodejs is NOT correctly installed ***
                                            Wrong installation path detected. This needs to be fixed.
                                            
                                            Please check
                                            https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                                            for more information on how to fix these errors.
                                            
                                            MEMORY:
                                                           total        used        free      shared  buff/cache   available
                                            Mem:             10G        5.5G        2.2G        1.5M        3.1G        5.3G
                                            Swap:           8.6G        624M        8.0G
                                            Total:           19G        6.1G         10G
                                            
                                            Active iob-Instances:   55
                                            Active repo(s): Beta (latest)
                                            
                                            ioBroker Core:          js-controller           5.0.19
                                                                    admin                   6.13.16
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 192.168.178.83 (SSL), run as: admin
                                            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                                            
                                            Objects:                97434
                                            States:                 59358
                                            
                                            Size of iob-Database:
                                            
                                            91M     /opt/iobroker/iobroker-data/objects.jsonl
                                            37M     /opt/iobroker/iobroker-data/objects.json.migrated
                                            37M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                            69M     /opt/iobroker/iobroker-data/states.jsonl
                                            5.9M    /opt/iobroker/iobroker-data/states.json.migrated
                                            5.9M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            

                                            === Mark text until here for copying ===
                                            iobroker@iobroker:/opt/iobroker$

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            844
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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