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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

                                          @zeroqool

                                          War mir klar...

                                          iob nodejs-update 18
                                          

                                          ausführen und den Kram korrigieren lassen.

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

                                            @mcm57 Ich habe heute die Version 1.17.0 vom hm-rpc Adapter erhalten.
                                            Leider bleibt die invalid-Meldung bestehen.

                                            mcm1957 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            935
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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