Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Error 25 bei Adapterupdates nach Node.JS 16.15.1 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

    Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Soldierofoc last edited by

      @soldierofoc sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

      Da ich nur die beiden Websites besucht habe, kommen diese nur als Anleitung in Frage:

      unsere ist ok, der Hai ist für nict ganz konforme Dinge (um es vorsichtig zu formulieren) bekannt

      S 1 Reply Last reply Reply Quote 1
      • S
        Soldierofoc @Homoran last edited by

        @homoran
        In Ordnung...wenn ich mir meine Statements durchschaue in der Console, dann sollte ich aber tatsächlich eure Anleitung herangezogen haben (als erste Möglichkeit).
        Die elzershark-Website bzw. Anleitung habe ich dann erst genutzt, als die oben genannte Thematik aufgetreten ist und ich bzgl. Fix/NPM Rebuild geschaut hatte.

        Wenn ich das (mit meinem Laien-Wissen) richtig deute, dann sollte doch "nur" noch npm Probleme machen bzw. package-log.json?
        Weshalb da noch der boschebike-Adapter drin auftaucht, welchen ich nur sehr kurz einmal installiert hatte, erschließt sich mir hier auch nicht wirklich?

        Installing iobroker.heizoel@1.0.3... (System call)
        npm WARN old lockfile
        npm WARN old lockfile The package-lock.json file was created with an old version of npm,
        npm WARN old lockfile so supplemental metadata must be fetched from the registry.
        npm WARN old lockfile
        npm WARN old lockfile This is a one-time fix-up, please be patient...
        npm WARN old lockfile
        npm WARN old lockfile Error: An unknown git error occurred
        npm WARN old lockfile     at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
        npm WARN old lockfile     at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26
        npm WARN old lockfile     at runMicrotasks (<anonymous>)
        npm WARN old lockfile     at processTicksAndRejections (node:internal/process/task_queues:96:5)
        npm WARN old lockfile  Could not fetch metadata for iobroker.boschebike@git+ssh://git@github.com/gaudes/ioBroker.boschebike.git#caab76421a131da61a7a8bbb8cd07bad28711e3e GitUnknownError: An unknown git error occurred
        
        Homoran 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active last edited by

          @homoran sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

          unsere ist ok, der Hai ist für nict ganz konforme Dinge (um es vorsichtig zu formulieren) bekannt

          Wenn ich alleine schon die 3 und 4 Zeile aus dem Krampf lese...

          sudo npm cache verify
          sudo chown -R iobroker /opt/iobroker
          

          Das ist Schwachsinn im Quadrat. Da wundert es mich auch nicht weiter, wenn der Rest dann komplett in die Hose geht.

          1 Reply Last reply Reply Quote 1
          • S
            Soldierofoc last edited by

            @thomas-braun said in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

            npm cache verify

            Dann habe ich schön in die Sche*** gegriffen.
            Habe ich irgendeine Möglichkeit das nun noch glatt zu ziehen?

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Soldierofoc last edited by Homoran

              @soldierofoc sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

              npm Probleme machen bzw. package-log.json?

              @soldierofoc sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

              The package-lock.json file was created with an old version of npm,

              üblicherweise hilft jetzt löschen der Datei und nochmal versuchen, die müsste dann gür das aktuelle npm neu gebaut werden, vorausgesetzt die Rechte und Pfade stimmen

              S 1 Reply Last reply Reply Quote 0
              • S
                Soldierofoc @Homoran last edited by

                @homoran

                Habe nun mal package-log.json gelöscht und neu aufbauen lassen.
                Nun erhalte ich die Meldung zumindest nicht mehr in der ganzen Ausprägung.

                So wie es jetzt ausschaut, habe ich aber nun keinen Ansatz mehr?

                
                server@Server:/opt/iobroker$ iobroker add heizoel auto --host Server --debug
                NPM version: 8.11.0
                Installing iobroker.heizoel@1.0.3... (System call)
                npm ERR! code 128
                npm ERR! An unknown git error occurred
                npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/gaudes/ioBroker.boschebike.git
                npm ERR! git@github.com: Permission denied (publickey).
                npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.
                npm ERR!
                npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen
                npm ERR! und das Repository existiert.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-06-22T11_57_24_531Z-debug-0.log
                host.Server Cannot install iobroker.heizoel@1.0.3: 128
                
                
                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Soldierofoc last edited by Thomas Braun

                  @soldierofoc

                  cd /opt/iobroker 
                  sudo -H -u iobroker npm uninstall iobroker.boschebike
                  

                  macht?

                  [Edit:] Fehlendes 'e' ergänzt... Dann funzt das auch... 🙂 Sorry!

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

                    @thomas-braun said in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                    sudo -H -u iobroker npm uninstall iobroker.boschbike

                    Leider die gleiche Message:

                    server@Server:/opt/iobroker$ sudo -H -u iobroker npm uninstall iobroker.boschbike
                    npm ERR! code 128
                    npm ERR! An unknown git error occurred
                    npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/gaudes/ioBroker.boschebike.git
                    npm ERR! git@github.com: Permission denied (publickey).
                    npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.
                    npm ERR!
                    npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen
                    npm ERR! und das Repository existiert.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-06-22T12_03_00_081Z-debug-0.log
                    server@Server:/opt/iobroker$
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Soldierofoc last edited by

                      @soldierofoc sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                      Habe nun mal package-log.json g

                      ich hoffe die package-lock.json

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Soldierofoc @Homoran last edited by

                        @homoran
                        Sorry, ja natürlich die package-lock.json 😉

                        Anbei ein großes Dankeschön bis hier her für eure bereits erfolgte Hilfe. Wäre spitze, wenn ihr mir hier noch voll weiterhelft :)!

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

                          @soldierofoc said in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                          @thomas-braun said in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                          sudo -H -u iobroker npm uninstall iobroker.boschbike

                          Leider die gleiche Message:

                          server@Server:/opt/iobroker$ sudo -H -u iobroker npm uninstall iobroker.boschbike
                          npm ERR! code 128
                          npm ERR! An unknown git error occurred
                          npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/gaudes/ioBroker.boschebike.git
                          npm ERR! git@github.com: Permission denied (publickey).
                          npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.
                          npm ERR!
                          npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen
                          npm ERR! und das Repository existiert.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2022-06-22T12_03_00_081Z-debug-0.log
                          server@Server:/opt/iobroker$
                          
                          

                          Habe gerade nochmal dein Statement geprüft... es hat ein "e" in boschebike gefehlt 😉

                          sudo -H -u iobroker npm uninstall iobroker.boschbike

                          Nun schaut es gut aus!

                          iobroker add heizoel auto --host Server --debug
                          NPM version: 8.11.0
                          Installing iobroker.heizoel@1.0.3... (System call)
                          
                          added 1 package in 2s
                          
                          142 packages are looking for funding
                            run `npm fund` for details
                          host.Server install adapter heizoel
                          upload [4] heizoel.admin /opt/iobroker/node_modules/iobroker.heizoel/admin/admin.d.ts admin.d.ts video/mp2t
                          upload [3] heizoel.admin /opt/iobroker/node_modules/iobroker.heizoel/admin/heizoel.png heizoel.png image/png
                          upload [2] heizoel.admin /opt/iobroker/node_modules/iobroker.heizoel/admin/index_m.html index_m.html text/html
                          upload [1] heizoel.admin /opt/iobroker/node_modules/iobroker.heizoel/admin/style.css style.css text/css
                          upload [0] heizoel.admin /opt/iobroker/node_modules/iobroker.heizoel/admin/words.js words.js application/javascript
                          host.Server object system.adapter.heizoel created/updated
                          host.Server create instance heizoel
                          host.Server object system.adapter.heizoel.0.alive created
                          host.Server object system.adapter.heizoel.0.connected created
                          host.Server object system.adapter.heizoel.0.compactMode created
                          host.Server object system.adapter.heizoel.0.cpu created
                          host.Server object system.adapter.heizoel.0.cputime created
                          host.Server object system.adapter.heizoel.0.memHeapUsed created
                          host.Server object system.adapter.heizoel.0.memHeapTotal created
                          host.Server object system.adapter.heizoel.0.memRss created
                          host.Server object system.adapter.heizoel.0.uptime created
                          host.Server object system.adapter.heizoel.0.inputCount created
                          host.Server object system.adapter.heizoel.0.outputCount created
                          host.Server object system.adapter.heizoel.0.eventLoopLag created
                          host.Server object system.adapter.heizoel.0.sigKill created
                          host.Server object system.adapter.heizoel.0.logLevel created
                          host.Server object heizoel.0.info created
                          host.Server object heizoel.0.info.connection created
                          host.Server object heizoel.0.dynamicAmount created
                          host.Server Set default value of heizoel.0.info.connection: false
                          host.Server object system.adapter.heizoel.0 created
                          
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Soldierofoc @Soldierofoc last edited by

                            Dennoch ein kurzes Lessons-Learned für mich?

                            Ausschließlich bei einem Update vorgehen wie hier unter Punkt 4 beschrieben, richtig?

                            https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

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

                              @soldierofoc

                              Ich würde (aber ich bin da vielleicht ein wenig voreingenommen...) die Anleitung aus meiner Signatur empfehlen.

                              Aber wichtigste 'lesson-learned' ist eh: Finger weg von Elzershark-Anleitungen!
                              Da steht durchweg Murks drin.

                              1 Reply Last reply Reply Quote 2
                              • S
                                Soldierofoc last edited by

                                Vielen Dank für eure Unterstützung/Hilfe!
                                Werde nächstes mal dann etwas vorsichtiger vorgehen, wobei mir immer noch unklar ist, woher die unsaubere (im falschen Pfad) Node-Installation her kam...

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

                                  @soldierofoc sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                                  woher die unsaubere (im falschen Pfad) Node-Installation her kam...

                                  Das wüsste ich auch mal gerne...

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

                                    @thomas-braun ich habe die gleichen Probleme zur Zeit mit drei Adapter, die mit Error 25 bei dem Update fehlschlagen.

                                    1. Info Adapter
                                    2. Telegram Adapter
                                    3. Web-Server

                                    Ich habe gestern mein System auf Debian11 Bullseye, Nodejs 16 und NPM 8 angehoben:

                                    xx@iobroker-prod:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
                                    /usr/bin/nodejs
                                    v16.15.1
                                    /usr/bin/node
                                    v16.15.1
                                    /usr/bin/npm
                                    8.11.0
                                    nodejs:
                                      Installiert:           16.15.1-deb-1nodesource1
                                      Installationskandidat: 16.15.1-deb-1nodesource1
                                      Versionstabelle:
                                     *** 16.15.1-deb-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         14.19.3-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
                                         12.22.5~dfsg-2~11u1 500
                                            500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages
                                            500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                    
                                    

                                    Ich habe den Verlauf hier nach bestem Wissen und Gewissen verfolgt, komme aber nicht weiter. Wenn ich den Info Adapter update mit

                                    iobroker upgrade info --debug
                                    
                                    

                                    dann bekomme ich folgendes:

                                    This upgrade of "info" will introduce the following changes:
                                    ==========================================================================
                                    -> 1.9.19:
                                    Fix audio, USB, bluetooth and printer view
                                    ==========================================================================
                                    
                                    Would you like to upgrade info from @1.9.18 to @1.9.19 now? [(y)es, (n)o]: y
                                    Update info from @1.9.18 to @1.9.19
                                    NPM version: 8.11.0
                                    Installing iobroker.info@1.9.19... (System call)
                                    npm ERR! code ENOTEMPTY
                                    npm ERR! syscall rename
                                    npm ERR! path /opt/iobroker/node_modules/abab
                                    npm ERR! dest /opt/iobroker/node_modules/.abab-bvmibCm3
                                    npm ERR! errno -39
                                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abab' -> '/opt/iobroker/node_modules/.abab-bvmibCm3'
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-06-24T08_42_05_829Z-debug-0.log
                                    host.iobroker-prod Cannot install iobroker.info@1.9.19: 217
                                    
                                    

                                    Debug Telegram Update

                                    xx@iobroker-prod:~$ iobroker upgrade telegram --debug
                                    
                                    This upgrade of "telegram" will introduce the following changes:
                                    ==========================================================================
                                    -> 1.12.6:
                                    Fix crash cases reported by Sentry
                                    
                                    -> 1.12.5:
                                    Fix crash cases reported by Sentry
                                    
                                    -> 1.12.4:
                                    Fix crash cases reported by Sentry
                                    
                                    -> 1.12.3:
                                    Make sure also not set states can be queried - will return "State not set" in this case!
                                    ==========================================================================
                                    
                                    Would you like to upgrade telegram from @1.12.2 to @1.12.6 now? [(y)es, (n)o]: y
                                    Update telegram from @1.12.2 to @1.12.6
                                    NPM version: 8.11.0
                                    Installing iobroker.telegram@1.12.6... (System call)
                                    npm ERR! code ENOTEMPTY
                                    npm ERR! syscall rename
                                    npm ERR! path /opt/iobroker/node_modules/abab
                                    npm ERR! dest /opt/iobroker/node_modules/.abab-bvmibCm3
                                    npm ERR! errno -39
                                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abab' -> '/opt/iobroker/node_modules/.abab-bvmibCm3'
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-06-24T09_17_07_612Z-debug-0.log
                                    host.iobroker-prod Cannot install iobroker.telegram@1.12.6: 217
                                    

                                    Debug Web Update

                                    xx@iobroker-prod:~$ iobroker upgrade web --debug
                                    
                                    This upgrade of "web" will introduce the following changes:
                                    ==========================================================================
                                    -> 4.3.0:
                                    Added support of rest-api
                                    ==========================================================================
                                    
                                    Would you like to upgrade web from @4.2.3 to @4.3.0 now? [(y)es, (n)o]: y
                                    Update web from @4.2.3 to @4.3.0
                                    host.iobroker-prod Adapter "system.adapter.web.0" is stopped.
                                    NPM version: 8.11.0
                                    Installing iobroker.web@4.3.0... (System call)
                                    npm ERR! code ENOTEMPTY
                                    npm ERR! syscall rename
                                    npm ERR! path /opt/iobroker/node_modules/abbrev
                                    npm ERR! dest /opt/iobroker/node_modules/.abbrev-5eNud0FY
                                    npm ERR! errno -39
                                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-06-24T09_20_20_797Z-debug-0.log
                                    host.iobroker-prod Cannot install iobroker.web@4.3.0: 217
                                    
                                    

                                    Was kann ich tun, um die Fehler zu beheben?

                                    crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • crunchip
                                      crunchip Forum Testing Most Active @taba_luga last edited by crunchip

                                      @taba_luga sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                                      ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'

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

                                        @taba_luga sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                                        Was kann ich tun, um die Fehler zu beheben?

                                        Verzeichnisse umbenennen.
                                        Und das node16-Repository nochmal anlegen oder die nodesource.list bearbeiten. Das fehlt bei dir und das node16-Paket hängt gerade in der Luft.

                                        T 2 Replies Last reply Reply Quote 0
                                        • T
                                          taba_luga @Thomas Braun last edited by

                                          @thomas-braun Danke für die schnelle Info!

                                          Ich habe das Gefühl, dass das eine Endloskette wird.
                                          Sobald ich ein Verzeichnis umbenannt habe, kommt beim erneuten ausführen von

                                          iobroker upgrade info --debug
                                          

                                          jedes mal ein neues Verzeichnis, das umbenannt werden möchte. Ist das so richtig? In dem Ordner node_modules
                                          sind ein paar Unterordner vorhanden, falls die jetzt alle umbenannt werden wollen. 😉

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

                                            @taba_luga sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                                            Ist das so richtig?

                                            Ja.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            910
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            errormeldung nodejs 16.15.1
                                            15
                                            169
                                            15730
                                            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