Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Nach Nodejs Update kein Adapter mehr updatebar

    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

    Nach Nodejs Update kein Adapter mehr updatebar

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

      @tilly

      Keine root shell fahren.

      cd /opt/iobroker
      npm ls | grep -E 'github|ERR'
      

      anschauen.

      T Glasfaser 2 Replies Last reply Reply Quote 0
      • T
        tilly last edited by

        @homoran
        wenn ich adapter cloud updaten will, erhalte ich folgende Meldung.

        root@iobroker-ubuntu:/opt/iobroker# iobroker upgrade cloud
        
        This upgrade of "cloud" will introduce the following changes:
        ==========================================================================
        -> 4.2.1:
        Used new version of socket library.
        ==========================================================================
        
        Would you like to upgrade cloud from @4.2.0 to @4.2.1 now? [(y)es, (n)o]: y
        Update cloud from @4.2.0 to @4.2.1
        NPM version: 8.11.0
        Installing iobroker.cloud@4.2.1... (System call)
        host.iobroker-ubuntu Cannot install iobroker.cloud@4.2.1: 217
        
        
        Homoran 1 Reply Last reply Reply Quote 0
        • T
          tilly @Thomas Braun last edited by

          @thomas-braun

          wenn ich "npm ls | grep -E 'github|ERR'" ausführe:

          root@iobroker-ubuntu:/opt/iobroker# npm ls | grep -E 'github|ERR'
          npm ERR! code ELSPROBLEMS
          npm ERR! invalid: iobroker.alexa2@3.18.5 /opt/iobroker/node_modules/iobroker.alexa2
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-07-21T16_00_58_410Z-debug-0.log
          
          
          1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Thomas Braun last edited by

            @tilly

            @thomas-braun sagte in Nach Nodejs Update kein Adapter mehr updatebar:

            @tilly
            Keine root shell fahren.

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

              @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

              erhalte ich folgende Meldung.

              ich sehe

              @homoran sagte in Nach Nodejs Update kein Adapter mehr updatebar:

              mit dem Zusatz --debug

              nicht

              T 1 Reply Last reply Reply Quote 0
              • T
                tilly @Homoran last edited by

                @homoran
                ah jetzt verstanden

                root@iobroker-ubuntu:/opt/iobroker# iobroker upgrade cloud --debug              
                This upgrade of "cloud" will introduce the following changes:
                ==========================================================================
                -> 4.2.1:
                Used new version of socket library.
                ==========================================================================
                
                Would you like to upgrade cloud from @4.2.0 to @4.2.1 now? [(y)es, (n)o]: y
                Update cloud from @4.2.0 to @4.2.1
                NPM version: 8.11.0
                Installing iobroker.cloud@4.2.1... (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-07-21T16_40_57_944Z-debug-0.log
                host.iobroker-ubuntu Cannot install iobroker.cloud@4.2.1: 217
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @tilly last edited by

                  @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                  ah jetzt verstanden

                  Nur den root Login noch nicht.

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

                    @thomas-braun

                    nein weiß nicht was ich machen muss

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

                      @tilly Dich NICHT, niemals, gar nicht, nicht kurz und nicht 'nur dafür mal' als root anmelden.

                      Wechsel auf deinen Standarduser und nutze nur für systemnahe Aktionen sudo.

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

                        @tilly log dich nicht als root ein!
                        nimm den normalen User

                        wurde dir auch so bei der Grundinstallation gesagt

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tilly @Homoran last edited by

                          @homoran

                          ok mit einem anderen User ändert sich aber nichts

                          user@iobroker-ubuntu:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                          npm ERR! code ELSPROBLEMS
                          npm ERR! invalid: iobroker.alexa2@3.18.5 /opt/iobroker/node_modules/iobroker.alexa2
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/user/.npm/_logs/2022-07-21T18_14_04_807Z-debug-0.log
                          
                          
                          user@iobroker-ubuntu:/opt/iobroker$ iobroker upgrade cloud --debug
                          
                          This upgrade of "cloud" will introduce the following changes:
                          ==========================================================================
                          -> 4.2.1:
                          Used new version of socket library.
                          ==========================================================================
                          
                          Would you like to upgrade cloud from @4.2.0 to @4.2.1 now? [(y)es, (n)o]: y
                          Update cloud from @4.2.0 to @4.2.1
                          NPM version: 8.11.0
                          Installing iobroker.cloud@4.2.1... (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-07-21T18_10_03_414Z-debug-0.log
                          host.iobroker-ubuntu Cannot install iobroker.cloud@4.2.1: 217
                          
                          Glasfaser Thomas Braun 3 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @tilly last edited by

                            @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                            ok mit einem anderen User ändert sich aber nichts

                            Sollte auch nicht ...
                            nur als Login root kann man viel kaputt machen

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @tilly last edited by

                              @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abab' -> '/opt/iobroker/node_modules/.abab-bvmibCm3'

                              sudo rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
                              
                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @tilly last edited by

                                @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                                rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
                                

                                Weitere Verzeichnisse mit kryptischen Endungen analog dazu auch löschen.

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

                                  @glasfaser sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                                  @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                                  ok mit einem anderen User ändert sich aber nichts

                                  Sollte auch nicht ...
                                  nur als Login root kann man viel kaputt machen

                                  @tilly
                                  Vielleicht solltest du mal

                                  iobroker stop
                                  iobroker fix
                                  iobroker start 
                                  

                                  durchführen, um Rechteprobleme, die möglicherweise durch die Nutzung von root entstanden sind zu fixen.

                                  Wird an deinem momentanen Problem auch nichts ändern, und auch nicht unbedingt alle Schäden (wenn vorhanden) beheben.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tilly last edited by

                                    das sind so viele, kann ich die wirklich alle löschen?

                                    70f29d78-b11e-4d86-8b56-22e5f4f90b71-image.png

                                    iobroker stop
                                    iobroker fix
                                    iobroker start 
                                    

                                    habe ich gemacht

                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @tilly last edited by Glasfaser

                                      @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

                                      das sind so viele, kann ich die wirklich alle löschen?

                                      Werden alle nach einem upgade Versuch angezeigt , was du da zeigst im Screenshot

                                      npm ERR! ENOTEMPTY: directory not empty, rename
                                      
                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tilly @Glasfaser last edited by

                                        @glasfaser

                                        nein ich lösche ein Verzeichnis und versuche erneut einen Adapter upzudaten.
                                        Dann kommt wieder ein Ordner etc.

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

                                          @tilly

                                          In meinem System gibt es bis auf .bin keine Verzeichnisse, die mit Punkt anfangen. Ich vermute, die können dann alle weg.

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

                                            @thomas-braun

                                            ok dann sicher ich die Dateien mal und lösche dann alles

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            418
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs update adaper update
                                            6
                                            67
                                            6288
                                            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