Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update mehr möglich mit Node.js 16

    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

    Kein Update mehr möglich mit Node.js 16

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

      @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

      gefühlt soll ich 100 Ordner umbennen.

      Nicht umbenennen, löschen.

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

        @thomas-braun gibts da eine Möglichkeit schneller alle Ordner rauszufinden oder wirklich jedesmal npm prune ausführen

        root@iobroker:/opt/iobroker# npm prune
        sudo: unable to resolve host iobroker: Name or service not known
        npm ERR! code ENOTEMPTY
        npm ERR! syscall rename
        npm ERR! path /opt/iobroker/node_modules/coffee-compiler
        npm ERR! dest /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY
        npm ERR! errno -39
        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/coffee-compiler' -> '/opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY'
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T08_39_21_493Z-debug-0.log
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @tobasium last edited by Thomas Braun

          @tobasium
          Mit prune findest du die zu löschenden Verzeichnisse soweit ich weiß nicht.

          Edith:

          rm -rf /opt/iobroker/node_modules/.coffee-compiler-H6FiAEHY
          
          tobasium 1 Reply Last reply Reply Quote 0
          • tobasium
            tobasium @Thomas Braun last edited by

            @thomas-braun ja das geht aber nicht gut. Verzeichnis ist weg aber jetzt kommt der hier. lösche ich jetzt ist der io tot

            root@iobroker:/opt/iobroker# npm prune
            sudo: unable to resolve host iobroker: Name or service not known
            npm ERR! code ENOTEMPTY
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
            npm ERR! dest /opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba
            npm ERR! errno -39
            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller' -> '/opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T08_42_43_262Z-debug-0.log
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @tobasium last edited by

              @tobasium

              Den iobroker solltest du während dessen auch stoppen.

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

                @thomas-braun ja ich bin im maintenace on, das passt doch auch oder?

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

                  @tobasium

                  Was ist maintenance on?

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

                    @thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.

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

                      @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                      @thomas-braun naja ist ja ein buanet docker über maintenance on wird iobroker beendet.

                      Kenne ich gerade auch nicht was du damit meinst

                      Einfach , den ioBroker stoppen :

                      pkill -u iobroker
                      
                      tobasium 1 Reply Last reply Reply Quote 0
                      • tobasium
                        tobasium @Glasfaser last edited by

                        @glasfaser jo hab ich das macht der befehl auch

                        1 Reply Last reply Reply Quote 0
                        • tobasium
                          tobasium last edited by

                          Also ich geh jetzt alle fehler bei npm prune durch das wird erstmal dauern. Melde mich wen ich durch bin.

                          1 Reply Last reply Reply Quote 0
                          • tobasium
                            tobasium last edited by Negalein

                            @Glasfaser @thomas-braun

                            so also npm prune läuft jetzt durch, keine Fehler mehr:

                            changed 8 packages in 2m

                            129 packages are looking for funding
                            run npm fund for details

                            root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                            sudo: unable to resolve host iobroker: Name or service not known
                            npm ERR! code ELSPROBLEMS
                            npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T09_12_05_196Z-debug-0.log
                            

                            Updates / Downgrades laufen noch nicht:

                            $ iobroker upgrade milight-smart-light@1.2.1 --debug
                            
                            Update milight-smart-light from @1.2.2 to @1.2.1
                            
                            NPM version: 8.11.0
                            
                            Installing iobroker.milight-smart-light@1.2.1... (System call)
                            
                            npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_09_18_542Z-debug-0.log
                            
                            host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217
                            
                            ERROR: Process exited with code 25
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @tobasium last edited by

                              @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                              ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo

                              Weiter die Verzeichnisse mit den kryptischen Endungen löschen...

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

                                @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                                Deinstalliere den js-controller mal und dann neu installieren .

                                inkl.

                                Lösch die Datei /opt/iobroler/package-lock.json

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

                                  @glasfaser wie deinstalliere ich den? da steh ich auf dem schlauch

                                  Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @tobasium last edited by

                                    @tobasium

                                    iob del js-controller
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @tobasium last edited by

                                      @tobasium

                                      Ich würde den erstmal drüber klatschen.
                                      iobroker stoppen.

                                      cd /opt/iobroker
                                      npm install iobroker.js-controller
                                      
                                      tobasium 1 Reply Last reply Reply Quote 0
                                      • tobasium
                                        tobasium @Thomas Braun last edited by Negalein

                                        @thomas-braun hab ich gemacht

                                        root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                                        sudo: unable to resolve host iobroker: Name or service not known
                                        

                                        downgrade geht aber immer noch nicht:

                                        $ iobroker upgrade milight-smart-light@1.2.1 --debug
                                        
                                        Update milight-smart-light from @1.2.2 to @1.2.1
                                        
                                        NPM version: 8.11.0Installing iobroker.milight-smart-light@1.2.1... (System call)
                                        
                                        npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_26_39_068Z-debug-0.log
                                        
                                        host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217
                                        
                                        ERROR: Process exited with code 25
                                        

                                        Mod-Edit: Code in </> Code-Tag gepackt!

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

                                          @tobasium

                                          immer weiter Löschen ,

                                          hat er auch schon oben geschrieben

                                          @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                                          @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                                          ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo

                                          Weiter die Verzeichnisse mit den kryptischen Endungen löschen...

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

                                            @glasfaser kann hier nichts schief gehen? ich kann ja nicht auf gut glück ordner löschen oder?

                                            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            500
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            node js
                                            16
                                            335
                                            35360
                                            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